/* =========================================================
   Hands In Harmony – redesign mockup
   Friendly, polished, accessible. One signature element (the house-and-hand frame),
   everything else quiet. Motion: one hero entrance + press feedback only.
   ========================================================= */

@font-face { font-family: "Averia Sans Libre"; src: url("../fonts/averia-sans-libre-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Body: Lexend, designed for reading ease, with plain friendly numerals */
@font-face { font-family: "Lexend"; src: url("../fonts/lexend-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("../fonts/lexend-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("../fonts/lexend-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  /* Palette */
  --blue: #3346a8;      /* brand blue, deepened slightly for contrast (7:1 on white) */
  --ink: #1b2245;       /* headings and strong text */
  --text: #333a5c;      /* body text */
  --sky: #eef1fb;       /* alternate section wash */
  --mist: #dbe2f8;      /* house frame fill */
  --blue-light: #4b5fc0; /* house frame on the blue hero */
  --sky-strong: #c9d3f4; /* soft accent on blue: ticks, stats */
  --navy: #26348a;       /* second blue: depth behind hero art */
  --white: #fff;

  /* Type */
  --display: "Averia Sans Libre", "Trebuchet MS", sans-serif;
  --body: "Lexend", "Segoe UI", Arial, sans-serif;
  --fs-body: 1.125rem;   /* 18px: Lexend is wide, so this matches the old 19px visually */
  --fs-small: 1rem;
  --lh: 1.6;

  /* Motion (Emil Kowalski's curves) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-weight: 300; font-size: var(--fs-body); line-height: var(--lh); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }

p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--ink); margin: 0 0 .45em; letter-spacing: -.01em; text-wrap: balance; }
h3 { font-size: 1.45rem; line-height: 1.2; }
.rd-h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.1; }
.rd-wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.rd-small { font-size: var(--fs-small); }
.rd-skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 50; border-radius: 8px; }
.rd-skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #8fa3ea; outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons: one primary colour, press feedback ---------- */
.rd-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 1.05rem/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease; }
.rd-btn:active { transform: scale(0.97); }
.rd-btn--white { background: var(--white); color: var(--blue); }
.rd-btn--blue { background: var(--blue); color: var(--white); }
.rd-btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.rd-btn--outline-light { border-color: rgba(255,255,255,.7); color: var(--white); }
@media (hover: hover) {
  .rd-btn--white:hover { background: var(--sky); }
  .rd-btn--blue:hover { background: #2a3b92; }
  .rd-btn--outline:hover { background: var(--sky); }
  .rd-btn--outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
}
.rd-link { font-weight: 700; }
.rd-link--light { color: var(--white); }

/* ---------- Utility strip + header ---------- */
.rd-utility { background: var(--ink); color: rgba(255,255,255,.8); font-size: .9rem; }
.rd-utility__inner { display: flex; justify-content: flex-end; gap: 28px; padding: 8px 0; }
.rd-utility a { color: var(--white); text-decoration: none; font-weight: 700; }
.rd-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid #e6e9f5; }
.rd-header__inner { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.rd-logo img { width: 150px; }
.rd-nav { margin-left: auto; }
.rd-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.rd-nav a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 1.02rem; transition: background-color 200ms ease; }
@media (hover: hover) { .rd-nav a:hover { background: var(--sky); } }
.rd-header__call { min-height: 46px; padding: 0 20px; font-size: 1rem; }
.rd-menu { display: none; width: 46px; height: 46px; border: 0; background: var(--sky); border-radius: 50%; padding: 15px 12px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.rd-menu span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 200ms var(--ease-out); }
.rd-menu[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.rd-menu[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.rd-hero { position: relative; padding: 64px 0; overflow: hidden; background: var(--blue); color: rgba(255,255,255,.9); isolation: isolate; }
.rd-hero__depth { position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: 52%; height: 100%; fill: var(--navy); }
.rd-hero h1 { color: var(--white); font-size: clamp(2.6rem, 5vw, 4.3rem); line-height: 1.02; margin-bottom: .35em; }
.rd-hero .rd-btn--outline { border-color: rgba(255,255,255,.75); color: var(--white); }
@media (hover: hover) { .rd-hero .rd-btn--outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); } }
.rd-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.rd-hero__copy { padding: 8px 0; }
.rd-hero__lead { font-size: 1.3rem; line-height: 1.55; max-width: 31em; color: rgba(255,255,255,.9); }
.rd-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 32px; }
.rd-trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 1.02rem; }
.rd-trust li { position: relative; padding-left: 30px; }
.rd-trust li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%233346a8' stroke-width='3' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.rd-trust a { color: inherit; text-decoration: none; }
.rd-trust a:hover strong { text-decoration: underline; }
.rd-trust strong { color: var(--white); }
.rd-hero__jobs { margin: 36px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); font-size: 1rem; color: rgba(255,255,255,.8); max-width: 34em; }
.rd-hero__jobs a { color: var(--white); }

/* Art: the characters, centred, in front of a faint watermark of the real logo icon */
.rd-hero__art { position: relative; width: 100%; max-width: 660px; aspect-ratio: 1; justify-self: center; align-self: center; margin: -24px 0; }
@media (min-width: 1300px) { .rd-hero__art { width: 112%; margin-right: -6%; } }
.rd-hero__mark { position: absolute; left: 6%; top: 2%; width: 88%; opacity: .1; }
.rd-hero__people { position: absolute; left: 6%; bottom: 6%; width: 88%; }
.rd-hero__ground { position: absolute; left: 14%; right: 14%; bottom: 5%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(8,14,58,.45), rgba(8,14,58,0)); }

/* The one orchestrated moment: hero entrance on load */
@keyframes rdUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rdPeople { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rd-in { animation: rdUp 520ms var(--ease-out) both; animation-delay: calc(var(--i) * 70ms + 80ms); }
@keyframes rdFromRight { from { transform: translateX(14%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rdMark { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: .1; } }
.rd-hero__depth { animation: rdFromRight 900ms var(--ease-out) both; }
.rd-hero__mark { animation: rdMark 900ms var(--ease-out) 200ms both; }
.rd-hero__ground { animation: rdUp 600ms var(--ease-out) 300ms both; }
.rd-hero__people { animation: rdPeople 700ms var(--ease-out) 300ms both; }

/* ---------- Services: two equal cards with identical structure, so headings and links line up ---------- */
.rd-services { padding: 96px 0; background: var(--sky); }
.rd-services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; align-items: stretch; }
.rd-service { display: flex; flex-direction: column; border-radius: 28px; padding: 36px 40px 40px; }
.rd-service__art { height: 170px; margin-bottom: 24px; display: flex; align-items: flex-end; }
.rd-service__art img { height: 100%; width: auto; }
.rd-service h3 { font-size: 1.55rem; margin-bottom: .4em; }
.rd-service--home { background: var(--white); }
.rd-service--reable { background: var(--blue); color: rgba(255,255,255,.9); }
.rd-service--reable h3 { color: var(--white); }
.rd-service .rd-link { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.rd-stat { margin: 6px 0 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25); line-height: 1.35; }
.rd-stat strong { display: block; font-family: var(--display); font-size: 3.6rem; line-height: 1; color: var(--white); margin-bottom: 6px; }
.rd-list { padding-left: 1.1em; margin: 0 0 24px; }
.rd-list li { margin-bottom: 6px; }
.rd-list li::marker { color: var(--blue); }

/* ---------- Steps ---------- */
.rd-steps { padding: 96px 0; }
.rd-steps__list { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 36px 0 0; }
.rd-steps__list li { counter-increment: step; position: relative; padding: 0 28px 0 0; }
.rd-steps__list li::before { content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: var(--white); font: 700 1.4rem/1 var(--display); margin-bottom: 20px; position: relative; z-index: 1; }
.rd-steps__list li:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--mist) 0 8px, transparent 8px 14px); }
.rd-steps__list h3 { font-size: 1.35rem; }
.rd-steps__list p { margin: 0; }

/* ---------- Areas ---------- */
.rd-areas { padding: 0 0 96px; }
.rd-areas__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; background: var(--ink); color: rgba(255,255,255,.85); border-radius: 32px; padding: 56px; }
.rd-areas h2 { color: var(--white); }
.rd-areas .rd-btn--blue { background: var(--white); color: var(--blue); }
.rd-areas__offices { display: grid; gap: 18px; }
.rd-office { background: rgba(255,255,255,.06); border-radius: 18px; padding: 24px 26px; }
.rd-office h3 { color: var(--white); font-size: 1.25rem; margin-bottom: .3em; }
.rd-towns { margin: 0; }

/* ---------- Voices ---------- */
.rd-voices { padding: 96px 0; background: var(--sky); }
.rd-quote { margin: 0; }
.rd-quote blockquote { margin: 0 0 14px; }
.rd-quote figcaption { font-weight: 700; color: var(--ink); font-size: var(--fs-small); }
.rd-quote--feature { position: relative; max-width: 900px; margin: 36px 0 48px; padding-left: 64px; }
.rd-quote--feature::before { content: "\201C"; position: absolute; left: 0; top: -18px; font: 700 7rem/1 var(--display); color: var(--blue); }
.rd-quote--feature blockquote { font-family: var(--display); font-size: clamp(1.45rem, 2.3vw, 1.95rem); line-height: 1.35; color: var(--ink); }
.rd-voices__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.rd-voices__pair .rd-quote { background: var(--white); border-radius: 20px; padding: 28px 30px; }

/* ---------- Proof ---------- */
.rd-proof { padding: 96px 0; }
.rd-proof__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.rd-logos { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin-top: 18px; }
.rd-logos img { width: 120px; }
@media (max-width: 640px) {
  /* 2 x 2 grid of logos on phones, large enough to read */
  .rd-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; justify-items: center; }
  .rd-logos img { width: 100%; max-width: 170px; }
}
.rd-cqc { display: grid; gap: 18px; justify-items: center; }

/* ---------- Jobs: a contained panel, image balanced left, facts in a row ---------- */
.rd-jobs { padding: 0 0 96px; }
.rd-jobs__panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: center; background: var(--blue); color: rgba(255,255,255,.9); border-radius: 32px; padding: 56px 64px 56px 40px; }
.rd-jobs__depth { position: absolute; z-index: -1; inset: 0 auto 0 0; width: 40%; height: 100%; fill: var(--navy); }
.rd-jobs__art { position: relative; aspect-ratio: 716 / 982; max-height: 440px; justify-self: center; height: 100%; }
.rd-jobs__art img { position: relative; height: 100%; width: auto; max-width: none; }
.rd-jobs__ground { position: absolute; left: 6%; right: 6%; bottom: 0; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(8,14,58,.45), rgba(8,14,58,0)); }
.rd-jobs h2 { color: var(--white); margin-bottom: .3em; }
.rd-jobs__lead { font-size: 1.2rem; margin-bottom: 28px; }
.rd-facts { display: grid; grid-template-columns: 1.3fr 1fr 1fr; margin: 0 0 22px; border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.rd-facts div { padding: 18px 20px 18px 0; }
.rd-facts div + div { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.22); }
.rd-facts dt { font-size: .95rem; color: rgba(255,255,255,.75); margin-bottom: 4px; }
.rd-facts dd { margin: 0; font: 700 1.2rem/1.3 var(--display); color: var(--white); }
/* Narrower screens: facts become label / value rows so nothing wraps awkwardly */
@media (max-width: 1180px) {
  .rd-facts { grid-template-columns: 1fr; }
  .rd-facts div, .rd-facts div + div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-left: 0; }
  .rd-facts div + div { border-top: 1px solid rgba(255,255,255,.22); }
  .rd-facts dt { margin: 0; }
  .rd-facts dd { text-align: right; }
}
.rd-jobs__note { font-size: 1rem; color: rgba(255,255,255,.85); margin-bottom: 26px; }
.rd-jobs__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Enquiry ---------- */
.rd-enquire { padding: 96px 0; background: var(--sky); }
.rd-enquire__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.rd-enquire__phone { margin-top: 30px; padding: 24px 26px; border-radius: 20px; background: var(--white); }
.rd-enquire__phone p { margin: 0; }
.rd-enquire__phone .rd-bignum { display: inline-block; font: 700 2rem/1.3 var(--display); text-decoration: none; margin: 4px 0; }
.rd-enquire__phone .rd-small a { font-weight: 600; }
.rd-enquire__form { background: var(--white); border-radius: 28px; padding: 36px; }
/* restyle the shared form partial */
.rd .form { display: grid; gap: 16px; }
.rd .form label { display: grid; gap: 6px; font-weight: 700; color: var(--ink); font-size: 1rem; }
.rd .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rd .form input[type=text], .rd .form input[type=email], .rd .form input[type=tel], .rd .form textarea { width: 100%; font: 400 1.1rem var(--body); padding: 13px 15px; border: 1.5px solid #c9d0ea; border-radius: 12px; background: var(--white); color: var(--ink); transition: border-color 160ms ease, box-shadow 160ms ease; }
.rd .form textarea { min-height: 120px; resize: vertical; }
.rd .form input:focus, .rd .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(51,70,168,.15); }
.rd .form .btn { display: flex; justify-content: center; align-items: center; min-height: 54px; border: 0; border-radius: 999px; background: var(--blue); color: var(--white); font: 700 1.1rem var(--body); cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.rd .form .btn:active { transform: scale(0.97); }
.rd .form__note { font-size: .92rem; margin: 0; color: var(--text); }
.rd .form__error { background: #fde8ee; color: #8a1235; border-radius: 10px; padding: 12px 14px; margin: 0; }
.rd .hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.rd-footer { background: var(--ink); color: rgba(255,255,255,.75); font-size: 1rem; padding: 64px 0 0; }
.rd-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .9fr; gap: 40px; }
.rd-footer__logo { width: 150px; margin-bottom: 16px; }
.rd-footer h2 { font-family: var(--body); font-size: 1.05rem; color: var(--white); margin-bottom: 12px; letter-spacing: 0; }
.rd-footer a { color: rgba(255,255,255,.9); }
.rd-footer ul { list-style: none; padding: 0; margin: 0; }
.rd-footer li { margin-bottom: 6px; }
.rd-footer__base { margin-top: 48px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }

/* ---------- Mobile call bar ---------- */
.rd-callbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .rd-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid #e6e9f5; display: none; }
  .rd-nav.is-open { display: block; }
  .rd-nav ul { flex-direction: column; padding: 10px 24px 18px; }
  .rd-nav a { padding: 12px 6px; font-size: 1.1rem; border-radius: 0; border-bottom: 1px solid #eef0f8; }
  .rd-menu { display: flex; }
  .rd-header__call { margin-left: auto; }
  .rd-steps__list { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .rd-steps__list li:nth-child(2)::after { display: none; }
}
@media (max-width: 900px) {
  .rd-hero__grid, .rd-services__grid, .rd-areas__grid, .rd-proof__grid, .rd-enquire__grid { grid-template-columns: 1fr; }
  /* Phones and small tablets: text and actions only, so the call button is on screen straight away */
  .rd-hero__art, .rd-hero__depth { display: none; }
  .rd-hero { padding: 44px 0 40px; }
  .rd-hero { padding-top: 28px; }
  .rd-service__art { height: 140px; }
  .rd-areas__grid { padding: 36px 28px; border-radius: 24px; }
  .rd-voices__pair { grid-template-columns: 1fr; }
  .rd-quote--feature { padding-left: 0; padding-top: 48px; }
  .rd-jobs__panel { grid-template-columns: 1fr; gap: 28px; padding: 40px 32px; border-radius: 24px; }
  .rd-jobs__depth { display: none; }
  .rd-jobs__art { max-height: 260px; }
  .rd-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --fs-body: 1.09rem; }
  .rd-wrap { width: min(100% - 36px, var(--wrap)); }
  .rd-utility { display: none; }
  .rd-header__inner { min-height: 70px; gap: 12px; }
  .rd-logo img { width: 118px; }
  .rd-header__call { display: none; }
  .rd-menu { margin-left: auto; }
  .rd-hero h1 { font-size: 2.45rem; }
  .rd-hero__lead { font-size: 1.15rem; }
  .rd-hero__actions .rd-btn { width: 100%; justify-content: center; }
  .rd-services, .rd-steps, .rd-voices, .rd-proof, .rd-enquire { padding: 64px 0; }
  .rd-areas, .rd-jobs { padding-bottom: 64px; }
  .rd-jobs__panel { padding: 32px 22px; }
  .rd-jobs__actions .rd-btn { width: 100%; justify-content: center; }
  .rd-service { padding: 28px 24px; border-radius: 22px; }
  .rd-steps__list { grid-template-columns: 1fr; }
  .rd-steps__list li { padding: 0 0 0 72px; min-height: 52px; }
  .rd-steps__list li::before { position: absolute; left: 0; top: 0; }
  .rd-steps__list li::after { display: none; }
  .rd .form__row { grid-template-columns: 1fr; }
  .rd-enquire__form { padding: 24px 20px; }
  .rd-footer__grid { grid-template-columns: 1fr; }
  .rd-footer { padding-bottom: 76px; }
  /* Fixed contact bar: the two things people come to do */
  .rd-callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid #e6e9f5; }
  .rd-callbar a { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform 160ms var(--ease-out); }
  .rd-callbar a:active { transform: scale(0.97); }
  .rd-callbar a:first-child { background: var(--blue); color: var(--white); }
  .rd-callbar a:last-child { background: var(--white); color: var(--blue); border: 2px solid var(--blue); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rd-in, .rd-hero__depth, .rd-hero__mark, .rd-hero__ground, .rd-hero__people { animation: none; }
  .rd-btn, .rd .form .btn, .rd-callbar a { transition: none; }
}

/* =========================================================
   Inner pages
   Same system as the homepage: blue and white, one entrance in the hero,
   cards that line up, consistent type. Sections alternate white / sky.
   ========================================================= */

/* Page hero: shorter than the homepage, same blues and entrance */
.rd-hero--page { padding: 56px 0 64px; }
.rd-hero--page h1 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); line-height: 1.05; }
.rd-hero--page .rd-hero__art { max-width: 480px; margin: -8px 0; }
@media (min-width: 1300px) { .rd-hero--page .rd-hero__art { width: 100%; margin-right: 0; } }
.rd-hero--page .rd-hero__actions { margin-bottom: 0; }
.rd-hero--text .rd-hero__grid { grid-template-columns: minmax(0, 760px); }
.rd-hero--text .rd-hero__depth { width: 34%; }
.rd-crumbs { display: flex; gap: 10px; font-size: .95rem; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.rd-crumbs a { color: var(--white); }

/* Sections */
.rd-section { padding: 88px 0; }
.rd-section--sky { background: var(--sky); }
.rd-section--tight { padding: 64px 0; }
.rd-section__intro { max-width: 46em; margin-bottom: 36px; }
.rd-section__intro p:last-child { margin-bottom: 0; }

/* Readable text column */
.rd-prose { max-width: 46em; }
.rd-prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.15; margin-top: 1.4em; }
.rd-prose h2:first-child { margin-top: 0; }
.rd-prose h3 { margin-top: 1.4em; }
.rd-prose ul, .rd-prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.rd-prose li { margin-bottom: 6px; }
.rd-prose li::marker { color: var(--blue); }

/* Text beside an illustration, vertically centred */
.rd-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.rd-split--flip { grid-template-columns: .85fr 1.15fr; }
.rd-split--flip > .rd-split__art { order: -1; }
.rd-split__art { justify-self: center; position: relative; }
.rd-split__art img { max-height: 420px; width: auto; }
.rd-split__art .rd-art-ground { position: absolute; left: 10%; right: 10%; bottom: -2%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(27,34,69,.18), rgba(27,34,69,0)); z-index: -1; }

/* Cards: identical structure so headings and text line up across a row */
.rd-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.rd-cards--2 { grid-template-columns: repeat(2, 1fr); }
.rd-cards--3 { grid-template-columns: repeat(3, 1fr); }
.rd-card { display: flex; flex-direction: column; background: var(--white); border-radius: 24px; padding: 30px 30px 32px; }
.rd-section:not(.rd-section--sky) .rd-card { background: var(--sky); }
.rd-card h3 { font-size: 1.35rem; margin-bottom: .35em; }
.rd-card p:last-child { margin-bottom: 0; }
.rd-card .rd-link, .rd-card .rd-btn { margin-top: auto; align-self: flex-start; }
.rd-card .rd-card__body { margin-bottom: 22px; }
.rd-card--blue { background: var(--blue) !important; color: rgba(255,255,255,.9); }
.rd-card--blue h3 { color: var(--white); }

/* Tick list (vetting, benefits) */
.rd-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rd-ticks--2 { grid-template-columns: 1fr 1fr; column-gap: 40px; }
.rd-ticks li { position: relative; padding-left: 34px; }
.rd-ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }

/* Callout panel in navy (used for "areas" style blocks on inner pages) */
.rd-panel { background: var(--ink); color: rgba(255,255,255,.85); border-radius: 32px; padding: 56px; }
.rd-panel h2, .rd-panel h3 { color: var(--white); }
.rd-panel .rd-btn--blue { background: var(--white); color: var(--blue); }
.rd-panel__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }

/* People (About) */
.rd-people { display: grid; gap: 24px; }
.rd-person { display: grid; grid-template-columns: 180px 1fr; gap: 36px; align-items: start; background: var(--white); border-radius: 28px; padding: 36px; }
.rd-person img { width: 180px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.rd-person h3 { margin-bottom: .1em; }
.rd-person__role { font-weight: 600; color: var(--blue); margin-bottom: 14px; }
.rd-person p:last-child { margin-bottom: 0; }

/* Contact: office cards */
.rd-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rd-officecard { background: var(--white); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; }
.rd-officecard h2 { font-size: 1.8rem; margin-bottom: .2em; }
.rd-officecard__areas { margin-bottom: 22px; }
.rd-officecard dl { margin: 0 0 24px; display: grid; gap: 0; border-top: 1px solid #e3e7f5; }
.rd-officecard dl div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid #e3e7f5; }
.rd-officecard dt { color: var(--text); }
.rd-officecard dd { margin: 0; font-weight: 400; color: var(--ink); }
.rd-map { margin-top: auto; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--sky); display: grid; place-items: center; text-align: center; padding: 20px; }
.rd-map iframe { width: 100%; height: 100%; border: 0; }
.rd-map p { margin: 0 0 12px; font-size: var(--fs-small); }

/* Documents list (policies, trademark) */
.rd-docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rd-docs li { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--sky); border-radius: 20px; padding: 22px 26px; }
.rd-docs h2, .rd-docs h3 { font-size: 1.25rem; margin: 0 0 2px; }
.rd-docs p { margin: 0; font-size: var(--fs-small); }
.rd-certs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.rd-certs img { border-radius: 12px; border: 1px solid #e3e7f5; }

/* Job pages */
.rd-jobfacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 30px 0 0; border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); max-width: 640px; }
.rd-jobfacts div { padding: 16px 20px 16px 0; }
.rd-jobfacts div + div { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.22); }
.rd-jobfacts dt { font-size: .95rem; color: rgba(255,255,255,.75); }
.rd-jobfacts dd { margin: 0; font: 700 1.2rem/1.3 var(--display); color: var(--white); }
.rd-apply { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.rd-apply__form { background: var(--white); border-radius: 28px; padding: 36px; }
.rd .form fieldset { border: 0; padding: 0; margin: 0; }
.rd .form legend { font-weight: 600; color: var(--ink); font-size: 1rem; margin-bottom: 8px; line-height: 1.4; }
.rd .form .check { display: flex; flex-direction: row; gap: 12px; align-items: flex-start; font-weight: 300; color: var(--text); font-size: 1rem; }
.rd .form .check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--blue); flex: none; }

/* Simple confirmation pages */
.rd-confirm { text-align: center; max-width: 40em; margin: 0 auto; }
.rd-confirm img { max-width: 420px; margin: 0 auto 28px; }
.rd-confirm .rd-btn { margin: 6px; }

/* Footer: link columns plus an offices row */
.rd-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.rd-footer__about p { margin-bottom: 12px; }
.rd-footer__offices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.rd-footer__offices p { margin: 0; }
.rd-footer__offices strong { color: var(--white); font-weight: 600; }
.rd-footer__base { margin-top: 28px; }

/* Bold text uses Lexend 600 */
strong, b { font-weight: 600; }

@media (max-width: 1080px) {
  .rd-cards--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .rd-split, .rd-split--flip, .rd-panel__grid, .rd-offices, .rd-apply { grid-template-columns: 1fr; gap: 32px; }
  .rd-split__art { display: none; }  /* decorative illustrations are left out on phones and small tablets */
  .rd-hero--page { padding: 40px 0 44px; }
  .rd-panel { padding: 36px 28px; border-radius: 24px; }
  .rd-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .rd-section { padding: 60px 0; }
  .rd-cards--2, .rd-cards--3 { grid-template-columns: 1fr; }
  .rd-ticks--2 { grid-template-columns: 1fr; }
  .rd-hero--page h1 { font-size: 2.2rem; }
  .rd-person { grid-template-columns: 1fr; gap: 18px; padding: 26px 22px; }
  .rd-person img { width: 120px; }
  .rd-officecard { padding: 26px 22px; }
  .rd-officecard dl div { grid-template-columns: 1fr; gap: 2px; }
  .rd-docs li { flex-direction: column; align-items: flex-start; }
  .rd-certs { grid-template-columns: 1fr; }
  .rd-jobfacts { grid-template-columns: 1fr; }
  .rd-jobfacts div, .rd-jobfacts div + div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-left: 0; }
  .rd-jobfacts div + div { border-top: 1px solid rgba(255,255,255,.22); }
  .rd-apply__form { padding: 24px 20px; }
  .rd-footer__offices { grid-template-columns: 1fr; }
  .rd-footer__grid { grid-template-columns: 1fr; }
}
.rd-section__note { max-width: 46em; margin: 32px 0 0; }
.rd-hero--page .rd-jobfacts + .rd-hero__actions { margin-top: 28px; }
.rd-card--wide { padding: 36px 40px; }
.rd-apply__form--sky { background: var(--sky); }
.rd-logos--card { margin-top: auto; grid-template-columns: repeat(4, 1fr); }
.rd-logos--card img { background: var(--white); border-radius: 12px; }
@media (max-width: 640px) { .rd-logos--card { grid-template-columns: 1fr 1fr; } .rd-card--wide { padding: 26px 22px; } }
.rd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rd-rounded { border-radius: 20px; margin-top: 12px; }
.rd-confirm p { font-size: 1.15rem; }
/* Inner hero illustrations vary in shape, so fit them inside the square art box */
.rd-hero--page .rd-hero__people { top: 4%; bottom: 7%; height: 89%; width: 88%; object-fit: contain; object-position: center bottom; }
.rd-split--top { align-items: start; }
.rd-footer__grid { align-items: start; }
.rd-confirm img { width: 100%; height: auto; }
/* Keep the white / sky rhythm: if the section before the enquiry block is sky, flip the enquiry block to white */
.rd-section--sky + .rd-enquire { background: var(--white); }
.rd-section--sky + .rd-enquire .rd-enquire__form, .rd-section--sky + .rd-enquire .rd-enquire__phone { background: var(--sky); }
.rd-section--sky + .rd-enquire .form input, .rd-section--sky + .rd-enquire .form textarea { background: var(--white); }
.rd-logos--card { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-self: stretch; }
.rd-logos--card img { width: 100%; max-width: none; }


/* =========================================================
   Inner page layouts, round two: each page's structure follows its job
   ========================================================= */

/* Landing header: shorter than the homepage so the content starts sooner */
.rd-hero--page { padding: 48px 0 56px; }
.rd-hero--text .rd-hero__grid { grid-template-columns: minmax(0, 780px); }
/* Slim header for utility pages: no depth shape, no entrance beyond the text */
.rd-hero--slim { padding: 32px 0 40px; }
.rd-hero--slim h1 { font-size: clamp(2rem, 3.2vw, 2.8rem); margin-bottom: .2em; }
.rd-hero--slim .rd-hero__lead { font-size: 1.15rem; }
.rd-hero--slim .rd-hero__actions { margin-top: 20px; }

/* Side panel beside prose */
.rd-aside { background: var(--sky); border-radius: 24px; padding: 30px 32px; }
.rd-section--sky .rd-aside { background: var(--white); }
.rd-aside h3 { margin-bottom: 16px; }
.rd-split--narrowleft { grid-template-columns: .8fr 1.2fr; }
.rd-split__deco { display: block; width: 190px; height: auto; margin-top: 28px; }

/* Definition rows (key facts, values) */
.rd-defs { margin: 0; display: grid; }
.rd-defs div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #d9def3; }
.rd-defs div:first-child { padding-top: 0; }
.rd-defs div:last-child { border-bottom: 0; padding-bottom: 0; }
.rd-defs dt { font-weight: 600; color: var(--ink); }
.rd-defs dd { margin: 0; }
.rd-defs--stack div { grid-template-columns: 1fr; gap: 2px; }

/* Accordion (care types, FAQ) */
.rd-acc { display: grid; gap: 10px; }
.rd-acc details { background: var(--sky); border-radius: 18px; }
.rd-acc--white details, .rd-section--sky .rd-acc details { background: var(--white); }
.rd-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font: 700 1.25rem/1.3 var(--display); color: var(--ink); border-radius: 18px; }
.rd-acc summary::-webkit-details-marker { display: none; }
.rd-acc summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='2.6' d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform 200ms var(--ease-out); }
.rd-acc details[open] summary::after { transform: rotate(180deg); }
.rd-acc summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.rd-acc__body { padding: 0 24px 22px; }
.rd-acc__body p:last-child { margin-bottom: 0; }
.rd-faqwrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: start; }

/* Funding chooser: one question, the matching answer */
.rd-chooser { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.rd-chooser__opts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.rd-chip { font: 600 1.05rem var(--body); padding: 14px 22px; border-radius: 999px; border: 2px solid var(--blue); background: var(--white); color: var(--blue); cursor: pointer; transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
.rd-chip:active { transform: scale(.97); }
.rd-chip[aria-pressed="true"] { background: var(--blue); color: var(--white); }
.rd-chip:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.rd-chooser__panels { display: grid; gap: 16px; }
.rd-chooser__panel { background: var(--white); border-radius: 24px; padding: 30px 32px; }
.rd-chooser__panel p:last-of-type { margin-bottom: 18px; }
.js .rd-chooser__panels:not(.has-choice) .rd-chooser__panel { opacity: .55; }
.js .rd-chooser__panels.has-choice .rd-chooser__panel[hidden] { display: none; }
.rd-chooser__panel.is-shown { animation: rdUp 260ms var(--ease-out) both; }

/* Numbered timeline: a real sequence */
.rd-timeline { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.rd-timeline::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; border-top: 2px dashed #b9c2e8; }
.rd-timeline li { position: relative; counter-increment: step; }
.rd-timeline li::before { content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: var(--white); font: 700 1.2rem var(--display); margin-bottom: 18px; position: relative; box-shadow: 0 0 0 6px var(--sky); }
.rd-timeline h3 { font-size: 1.3rem; }
.rd-timeline p { margin: 0; }

/* Four qualities as plain definitions, not cards */
.rd-qualities { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.rd-qualities div { border-top: 3px solid var(--blue); padding-top: 16px; }
.rd-qualities dt { font: 700 1.3rem/1.3 var(--display); color: var(--ink); margin-bottom: 6px; }
.rd-qualities dd { margin: 0; }

/* Our story: years down the left */
.rd-story { list-style: none; padding: 0; margin: 0; max-width: 820px; }
.rd-story li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid #d3daf2; }
.rd-story li:first-child { padding-top: 0; }
.rd-story p { margin: 0; }
.rd-story__year { font: 700 1.6rem/1.2 var(--display); color: var(--blue); }

/* Team grid */
.rd-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.rd-member img { width: 150px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-bottom: 18px; }
.rd-member h3 { margin-bottom: 0; }
.rd-member__role { font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.rd-member__more summary { cursor: pointer; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.rd-member__more[open] summary { margin-bottom: 14px; }
.rd-member__email { font-size: var(--fs-small); overflow-wrap: anywhere; }

/* Two offices in one band */
.rd-officeband { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border-radius: 28px; }
.rd-officeband > div { padding: 36px 40px; display: flex; flex-direction: column; }
.rd-officeband > div + div { border-left: 1px solid #e3e7f5; }
.rd-officeband .rd-small { margin: auto 0 10px; padding-top: 8px; font-weight: 600; color: var(--ink); }
.rd-officeband .rd-logos--card img { background: none; }

/* Jobs: two roles side by side, divided rather than boxed */
.rd-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 3px solid var(--blue); }
.rd-roles article { padding: 28px 40px 0 0; }
.rd-roles article + article { padding: 28px 0 0 40px; border-left: 1px solid #e3e7f5; }
.rd-roles__where { font-weight: 600; color: var(--blue); margin-bottom: 4px; }
.rd-roles h3 { font-size: 1.6rem; }
.rd-pay { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.rd-pay__big { font: 700 clamp(2.2rem, 4vw, 3.2rem)/1.1 var(--display); color: var(--blue); margin: 10px 0 18px; }
.rd-pay__big span { font: 400 1.2rem var(--body); color: var(--text); }
.rd-pay .rd-ticks { background: var(--white); border-radius: 24px; padding: 32px; }
.rd .form select { width: 100%; font: 400 1.1rem var(--body); padding: 13px 15px; border: 1.5px solid #c9d0ea; border-radius: 12px; background: var(--white); color: var(--ink); }
.rd .form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(51,70,168,.15); }

/* Closing call to action band */
.rd-cta { display: grid; grid-template-columns: 1.2fr auto; gap: 40px; align-items: center; background: var(--blue); color: rgba(255,255,255,.9); border-radius: 32px; padding: 48px 56px; }
.rd-cta h2 { color: var(--white); margin-bottom: .3em; }
.rd-cta p { margin: 0; max-width: 34em; }
.rd-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 1080px) {
  .rd-timeline { grid-template-columns: 1fr 1fr; }
  .rd-timeline::before { display: none; }
  .rd-team { grid-template-columns: 1fr 1fr; }
  .rd-cta { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .rd-split--narrowleft, .rd-chooser, .rd-faqwrap, .rd-pay { grid-template-columns: 1fr; gap: 28px; }
  .rd-split__deco { display: none; }
  .rd-roles { grid-template-columns: 1fr; }
  .rd-roles article, .rd-roles article + article { padding: 24px 0; border-left: 0; }
  .rd-roles article + article { border-top: 1px solid #e3e7f5; }
  .rd-officeband { grid-template-columns: 1fr; }
  .rd-officeband > div + div { border-left: 0; border-top: 1px solid #e3e7f5; }
}
@media (max-width: 640px) {
  .rd-timeline, .rd-team, .rd-qualities { grid-template-columns: 1fr; }
  .rd-story li { grid-template-columns: 70px 1fr; gap: 14px; }
  .rd-story__year { font-size: 1.3rem; }
  .rd-defs div { grid-template-columns: 1fr; gap: 2px; }
  .rd-aside, .rd-chooser__panel, .rd-pay .rd-ticks { padding: 24px 22px; }
  .rd-officeband > div { padding: 26px 22px; }
  .rd-cta { padding: 32px 24px; border-radius: 24px; }
  .rd-cta__actions .rd-btn { width: 100%; justify-content: center; }
  .rd-acc summary { font-size: 1.12rem; padding: 18px 20px; }
  .rd-acc__body { padding: 0 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .rd-acc summary::after, .rd-chip { transition: none; }
  .rd-chooser__panel.is-shown { animation: none; }
}
@media (max-width: 640px) { .rd-logos--card { grid-template-columns: 1fr 1fr; } }
.js .rd-chooser__panels:not(.has-choice) .rd-chooser__panel { opacity: .7; }

/* =========================================================
   Illustrated people, desktop and mobile.
   Rule: a person always stands on something (a panel edge or the hero floor), never floats.
   ========================================================= */

/* "Peek": a person standing on the top edge of a panel */
.rd-peek { position: relative; margin-top: 150px; }
.rd-peek__img { position: absolute; right: 28px; bottom: calc(100% - 6px); height: 170px; width: auto; pointer-events: none; }
.rd-peek--wide .rd-peek__img { height: 130px; }
.rd-pay .rd-peek .rd-ticks { margin: 0; }
.rd-cta.rd-peek { margin-top: 120px; }
.rd-cta .rd-peek__img { right: 56px; }

/* Mobile and small tablets: bring the hero people back, standing on the bottom edge of the blue */
@media (max-width: 900px) {
  .rd-hero__art { display: block; width: min(300px, 78%); max-width: none; aspect-ratio: 1; margin: 24px auto -44px; justify-self: center; }
  .rd-hero--page .rd-hero__art { width: min(260px, 70%); margin-bottom: -48px; }
  .rd-hero__mark { display: none; }
  .rd-hero__people { left: 4%; width: 92%; bottom: 4%; }
  .rd-hero__ground { bottom: 3%; }
  .rd-split__deco { display: block; width: 130px; margin: 20px 0 0; }
  .rd-peek { margin-top: 128px; }
  .rd-peek__img { height: 140px; right: 20px; }
  .rd-peek--wide .rd-peek__img { height: 110px; }
  .rd-cta.rd-peek { margin-top: 110px; }
  .rd-cta .rd-peek__img { right: 24px; }
}
/* Homepage keeps its mobile hero text-only (the service cards carry the people there) */
@media (max-width: 900px) { .rd-hero:not(.rd-hero--page) .rd-hero__art { display: none; } }

/* Illustrations about 25% larger (David, 19 Nov) */
.rd-hero--page .rd-hero__art { max-width: 580px; margin: -24px 0; }
.rd-split__deco { width: 240px; }
.rd-peek { margin-top: 186px; }
.rd-peek__img { height: 214px; }
.rd-peek--wide .rd-peek__img { height: 165px; }
.rd-cta.rd-peek { margin-top: 160px; }
@media (max-width: 900px) {
  .rd-hero--page .rd-hero__art { width: min(330px, 86%); margin: 20px auto -40px; }
  .rd-split__deco { width: 170px; }
  .rd-peek { margin-top: 158px; }
  .rd-peek__img { height: 174px; }
  .rd-peek--wide .rd-peek__img { height: 135px; }
  .rd-cta.rd-peek { margin-top: 140px; }
}

/* Inner page heroes: bigger figure, sitting closer to the text (David, 19 Nov) */
.rd-hero--page:not(.rd-hero--text) .rd-hero__grid { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 16px; }
.rd-hero--page .rd-hero__art { max-width: 660px; justify-self: start; margin: -40px 0 -32px; }
@media (min-width: 1300px) { .rd-hero--page .rd-hero__art { width: 100%; } }
@media (max-width: 900px) {
  .rd-hero--page:not(.rd-hero--text) .rd-hero__grid { grid-template-columns: 1fr; gap: 0; }
  .rd-hero--page .rd-hero__art { width: min(400px, 100%); justify-self: center; margin: 0 auto -40px; }
}
@media (max-width: 900px) {
  /* Size the figure by its own height so there's no empty square above it */
  .rd-hero--page .rd-hero__art { aspect-ratio: auto; width: 100%; margin: 12px 0 -40px; }
  .rd-hero--page .rd-hero__people { position: relative; inset: auto; display: block; width: auto; max-width: 100%; height: 330px; margin: 0 auto; object-fit: contain; }
  .rd-hero--page .rd-hero__ground { left: 22%; right: 22%; bottom: 1%; height: 26px; }
}
@media (min-width: 901px) { .rd-hero--page .rd-hero__art { max-width: 600px; } }
