/*
 * Reposition (2026): editorial layouts for the rewritten pages.
 * Built from the Claude Design output in design/claude/ (brief: design/home-asset-pack/README.md).
 * Identity is unchanged: Fira Sans for display, Rubik for text, the three brand colours,
 * black and white, square corners, and the tri-colour hairline. One warm neutral is added
 * as a page tint. Every block root carries .rp (main, header, menu, footer), and everything
 * is scoped under it, so pages that do not use these blocks are untouched.
 */

.rp {
  --rp-purple: #940964;
  --rp-green: #0c9476;
  --rp-green-deep: #0a7a62;
  --rp-amber: #eaa119;
  --rp-amber-deep: #96620a;
  --rp-ink: #101010;
  --rp-tint: #f4f2ee;
  --rp-rule: rgba(16, 16, 16, 0.14);
  --rp-soft: #3d3d3d;
  --rp-gutter: clamp(20px, 5.5vw, 80px);
  --rp-space: clamp(72px, 11vw, 160px);
  --rp-display: "Fira Sans", sans-serif;
  --rp-text: "Rubik", sans-serif;
  --rp-ease: cubic-bezier(0.7, 0, 0.2, 1);
  --rp-ease-out: cubic-bezier(0.2, 0.6, 0.2, 1);
  color: var(--rp-ink);
  font-family: var(--rp-text);
  -webkit-font-smoothing: antialiased;
}

.rp *, .rp *::before, .rp *::after { box-sizing: border-box; }
.rp h1, .rp h2, .rp h3, .rp p, .rp ul, .rp figure, .rp blockquote { margin: 0; padding: 0; border: 0; color: inherit; font-style: normal; }
.rp ul, .rp ol { list-style: none; margin: 0; padding: 0; }
.rp a, .rp a:visited, .rp a:hover, .rp a:focus, .rp a:active { text-decoration: none; color: inherit; }
.rp a:focus-visible, .rp button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.rp img { display: block; max-width: 100%; }
.rp button { appearance: none; border: 0; border-radius: 0; background: none; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.rp svg { display: block; flex: none; }

.rp-home { overflow-x: clip; background: #fff; }
/* Content is 1680 wide at most; the gutters sit outside that. */
.rp-wrap { display: block; width: 100%; max-width: 1840px; margin: 0 auto; padding-left: var(--rp-gutter); padding-right: var(--rp-gutter); }
.rp-section { padding: var(--rp-space) 0; }
.rp-section--tint { background: var(--rp-tint); }
.rp-section--ink { background: var(--rp-ink); color: #fff; }

/* --- type ---------------------------------------------------------------- */
.rp-label { display: flex; align-items: center; gap: 12px; font: 500 13px/1 var(--rp-text); letter-spacing: 0.14em; text-transform: uppercase; }
.rp-label::before { content: ""; flex: none; width: 24px; height: 1px; background: currentColor; }
.rp-h2 { font: 500 clamp(30px, 3.4vw, 49px)/1.05 var(--rp-display); letter-spacing: -0.025em; }
.rp-statement { font: 500 clamp(38px, 6.2vw, 89px)/1 var(--rp-display); letter-spacing: -0.035em; text-wrap: balance; }

/* --- links, buttons, arrows ---------------------------------------------- */
.rp-link { flex: none; display: inline-block; padding: 16px 0 6px; border-bottom: 2px solid currentColor; font: 500 15px/1 var(--rp-text); white-space: nowrap; transition: color 0.25s, border-color 0.25s; }
.rp a.rp-link:hover { color: var(--rp-purple); }
.rp a.rp-link--light, .rp a.rp-link--light:visited { color: #fff; }
.rp a.rp-link--light:hover { color: var(--rp-amber); }

/* Buttons: a solid block, a label and a thin long arrow. A colour wipes in from the left on hover and the arrow slides out. */
.rp-btn {
  display: inline-flex; align-items: center; gap: 28px; padding: 21px 28px;
  background-color: #fff; background-image: linear-gradient(var(--rp-purple), var(--rp-purple)); background-repeat: no-repeat; background-size: 0% 100%;
  font: 500 15px/1 var(--rp-text); white-space: nowrap;
  transition: background-size 0.45s var(--rp-ease), color 0.3s, background-color 0.35s, gap 0.35s, padding 0.35s;
}
.rp a.rp-btn, .rp a.rp-btn:visited { color: var(--rp-ink); }
.rp a.rp-btn:hover, .rp a.rp-btn:focus-visible { background-size: 100% 100%; color: #fff; gap: 38px; padding-right: 18px; }
.rp-btn--amber { background-image: linear-gradient(var(--rp-amber), var(--rp-amber)); }
.rp a.rp-btn--amber:hover, .rp a.rp-btn--amber:focus-visible { color: var(--rp-ink); }
.rp-btn--sm { gap: 16px; padding: 14px 18px; font-size: 14px; }
.rp a.rp-btn--sm:hover, .rp a.rp-btn--sm:focus-visible { gap: 16px; padding-right: 18px; }
.rp-arrow--back { transform: scaleX(-1); }

/* Tri-colour line: a hairline, not a band. */
.rp-bars { display: flex; height: 3px; width: 100%; }
.rp-bars span { flex: 1; }
.rp-bars .purpl { background: var(--rp-purple); }
.rp-bars .gren { background: var(--rp-green); }
.rp-bars .yelow { background: var(--rp-amber); }

/* Section heading with a link on the right. */
.rp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 24px; margin-bottom: clamp(32px, 4vw, 64px); }
.rp-head .rp-link { margin-bottom: 8px; }

/* Fade-up on scroll. reposition.js adds .rp-reveal only to elements below the fold, then removes it once shown. */
.rp-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s var(--rp-ease-out) !important; }
.rp-reveal.is-in { opacity: 1; transform: none; }

/* Skip link: the old theme shifts it off the top of the screen even when focused. Bring it into view for keyboard users. */
.enc_skip_link:focus { transform: none; left: 5px; outline: 2px solid var(--rp-ink, #101010); }

/* --- header -------------------------------------------------------------- */
.rp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 980;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 18px var(--rp-gutter);
  background: transparent; color: #fff; border-bottom: 1px solid transparent;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.admin-bar .rp-header { top: 32px; }
.rp-header.is-scrolled { background: #fff; color: var(--rp-ink); border-bottom-color: rgba(16, 16, 16, 0.1); }
.rp-header__logo { display: grid; flex: none; }
.rp-header__logo img { grid-area: 1 / 1; height: 40px; width: auto; transition: opacity 0.35s; }
.rp-header__logo-colour { opacity: 0; }
.rp-header.is-scrolled .rp-header__logo-white { opacity: 0; }
.rp-header.is-scrolled .rp-header__logo-colour { opacity: 1; }
.rp-header__nav { display: flex; gap: clamp(22px, 2.2vw, 36px); margin-left: auto; font: 400 15px/1 var(--rp-text); }
.rp-header__nav a { padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color 0.25s; }
.rp-header__nav a:hover, .rp-header__nav a[aria-current] { border-bottom-color: currentColor; }
.rp-header__end { display: flex; align-items: center; gap: 8px; flex: none; }
/* Phone numbers, as on the previous site. They drop out when the bar gets tight; the phone menu and footer still carry them. */
.rp-header__phones { display: flex; align-items: center; gap: 8px; margin-right: 20px; font: 400 14px/1 var(--rp-text); white-space: nowrap; }
.rp-header__phones span { opacity: 0.5; }
.rp-header__phones a { padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color 0.25s; }
.rp-header__phones a:hover { border-bottom-color: currentColor; }
@media (max-width: 1239px) { .rp-header__phones { display: none; } }
.rp-header.is-scrolled .rp-btn { background-color: var(--rp-ink); }
.rp .rp-header.is-scrolled a.rp-btn, .rp-header.is-scrolled a.rp-btn { color: #fff; }
.rp .rp-burger { display: none; width: 44px; height: 44px; flex-direction: column; align-items: flex-end; justify-content: center; gap: 7px; }
.rp-burger span { display: block; width: 26px; height: 2px; background: currentColor; }
.rp-burger span + span { width: 18px; }

/* Phone and tablet menu: a full dark sheet. */
.rp-menu { position: fixed; inset: 0; z-index: 990; display: flex; flex-direction: column; padding: 18px var(--rp-gutter) 32px; background: var(--rp-ink); color: #fff; overflow-y: auto; }
.rp-menu[hidden] { display: none; }
.admin-bar .rp-menu { top: 32px; }
.rp-menu__top { display: flex; align-items: center; justify-content: space-between; }
.rp-menu__top img { height: 40px; width: auto; }
.rp .rp-menu__close { height: 44px; font: 500 13px/1 var(--rp-text); letter-spacing: 0.14em; text-transform: uppercase; }
.rp-menu__nav { display: flex; flex-direction: column; gap: 6px; margin-top: 48px; font: 500 40px/1.15 var(--rp-display); letter-spacing: -0.03em; }
.rp .rp-menu__nav a:hover, .rp .rp-menu__nav a[aria-current] { color: var(--rp-amber); }
.rp-menu__foot { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 8px; font: 400 15px/1.5 var(--rp-text); color: #cfcfcf; }
html.rp-menu-open { overflow: hidden; }
/* Pages without a dark hero: the header is solid from the start and the content starts below it.
   (The old script set this margin from the old header's height.) */
.margin_header { margin-top: 79px; }

/* --- hero ---------------------------------------------------------------- */
.rp-hero { position: relative; height: clamp(660px, 100vh, 960px); background: var(--rp-ink); color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.rp-hero__media { position: absolute; inset: 0; }
/* Three pieces of work cross-fade, each drifting in slightly while it is on show. */
.rp-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transform: scale(1); transition: opacity 1.2s ease, transform 7s linear; }
.rp-hero__media img.is-on { opacity: 1; transform: scale(1.05); }
.rp-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 16, 16, 0.55) 0%, rgba(16, 16, 16, 0.35) 35%, rgba(16, 16, 16, 0.88) 100%); }
.rp-hero__inner { position: relative; padding-bottom: clamp(32px, 4vw, 56px); }
.rp .rp-hero__title { margin-top: clamp(20px, 2.4vw, 36px); max-width: 11.5em; font: 500 clamp(44px, 8.2vw, 118px)/0.98 var(--rp-display); letter-spacing: -0.035em; text-wrap: balance; color: #fff; }
.rp-hero__title span { color: var(--rp-amber); }
.rp-hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin-top: clamp(28px, 4vw, 64px); }
.rp-hero__sub { flex: 1 1 320px; max-width: 540px; font: 400 clamp(16px, 1.35vw, 20px)/1.5 var(--rp-text); text-wrap: pretty; }
.rp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.rp-hero .rp-bars { position: relative; }

/* --- what we add --------------------------------------------------------- */
.rp .rp-add .rp-statement { margin-top: clamp(24px, 2.6vw, 40px); max-width: 11em; }
.rp .rp-add__intro { margin: clamp(32px, 4.5vw, 72px) 0 0 auto; max-width: 520px; font: 400 clamp(17px, 1.4vw, 20px)/1.5 var(--rp-text); text-wrap: pretty; }
.rp .rp-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 32px; margin-top: clamp(56px, 7.5vw, 120px); }
/* A hairline with a short colour mark that runs the full width on hover. */
.rp-point {
  --c: var(--rp-purple);
  display: flex; flex-direction: column; gap: 14px; padding-top: clamp(24px, 2.2vw, 32px);
  background-image: linear-gradient(var(--c), var(--c)), linear-gradient(rgba(16, 16, 16, 0.2), rgba(16, 16, 16, 0.2));
  background-repeat: no-repeat; background-position: top left; background-size: 48px 3px, 100% 1px;
  transition: background-size 0.5s var(--rp-ease);
}
.rp-point:nth-child(2) { --c: var(--rp-green); }
.rp-point:nth-child(3) { --c: var(--rp-amber); }
.rp-point:nth-child(4) { --c: var(--rp-ink); }
.rp-point:hover { background-size: 100% 3px, 100% 1px; }
.rp-point h3 { font: 500 clamp(22px, 2vw, 29px)/1.1 var(--rp-display); letter-spacing: -0.02em; }
.rp .rp-point p { max-width: 280px; font: 400 16px/1.5 var(--rp-text); color: var(--rp-soft); }

/* --- who we work with: three full-width rows ----------------------------- */
.rp-audiences { padding-bottom: 0; }
.rp-audiences__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 20px 32px; padding-bottom: clamp(36px, 4.5vw, 72px); }
.rp-audiences__head .rp-label { flex: 0 1 25%; min-width: 220px; }
.rp-audiences__head .rp-h2 { flex: 1 1 300px; }
.rp-index { border-bottom: 1px solid var(--rp-rule); }
.rp-index__row {
  display: block; border-top: 1px solid var(--rp-rule);
  background-image: linear-gradient(var(--rp-purple), var(--rp-purple)); background-repeat: no-repeat; background-position: bottom; background-size: 100% 0%;
  transition: background-size 0.5s var(--rp-ease), color 0.3s;
}
.rp-index__row--gren { background-image: linear-gradient(var(--rp-green-deep), var(--rp-green-deep)); }
.rp-index__row--yelow { background-image: linear-gradient(var(--rp-amber), var(--rp-amber)); }
.rp a.rp-index__row:hover, .rp a.rp-index__row:focus-visible { background-size: 100% 100%; color: #fff; }
.rp a.rp-index__row--yelow:hover, .rp a.rp-index__row--yelow:focus-visible { color: var(--rp-ink); }
.rp-index__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; padding-top: clamp(24px, 3vw, 44px); padding-bottom: clamp(24px, 3vw, 44px); }
.rp-index__name { flex: 1 1 420px; font: 500 clamp(40px, 6.95vw, 100px)/1 var(--rp-display); letter-spacing: -0.035em; }
.rp-index__des { flex: 1 1 300px; max-width: 440px; font: 400 clamp(16px, 1.25vw, 18px)/1.5 var(--rp-text); text-wrap: pretty; }
.rp-index__go { flex: 0 0 auto; margin-left: auto; display: flex; align-items: center; gap: 16px; font: 500 15px/1 var(--rp-text); }
.rp-index__go svg { transition: transform 0.35s var(--rp-ease-out); }
.rp-index__row:hover .rp-index__go svg { transform: translateX(6px); }

/* --- recent work: one lead card, two beside it ---------------------------- */
.rp-work__grid { display: flex; flex-wrap: wrap; gap: 56px 32px; align-items: stretch; }
.rp-work__side { flex: 5 1 300px; min-width: 0; display: flex; flex-direction: column; gap: clamp(48px, 4.5vw, 72px); }
.rp-card { display: block; min-width: 0; }
.rp-card--lead { flex: 7 1 480px; display: flex; flex-direction: column; }
.rp-card__media { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--rp-tint); }
.rp-card--lead .rp-card__media { flex: 1 1 auto; aspect-ratio: 4 / 3; }
.rp-card__media img, .rp-card__media video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 0.9s var(--rp-ease-out); }
.rp-card:hover .rp-card__media img, .rp-card:hover .rp-card__media video { transform: scale(1.05); }
.rp-card__media video { object-position: top; }
.rp-card__media--whole img { object-fit: contain; }
.rp-card__audience { display: block; margin-top: 24px; font: 500 13px/1 var(--rp-text); letter-spacing: 0.14em; text-transform: uppercase; }
.rp-card__audience--purpl { color: var(--rp-purple); }
.rp-card__audience--gren { color: var(--rp-green-deep); }
.rp-card__audience--yelow { color: var(--rp-amber-deep); }
.rp-card__title { display: block; margin-top: 14px; max-width: 18em; font: 500 clamp(22px, 2.3vw, 33px)/1.1 var(--rp-display); letter-spacing: -0.02em; text-wrap: balance; }
.rp-card__des { display: block; margin-top: 10px; font: 400 16px/1.5 var(--rp-text); color: var(--rp-soft); }
.rp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rp-tags span { padding: 7px 14px; border: 1px solid rgba(16, 16, 16, 0.3); border-radius: 99px; font: 400 13px/1 var(--rp-text); }

/* --- clients: crisp black marks on white, no boxes ------------------------ */
.rp-clients { padding-top: 0; }
.rp-clients .rp-label { margin-bottom: clamp(24px, 3vw, 48px); }
.rp-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 2vw, 32px) clamp(12px, 2vw, 32px); }
.rp-logo { aspect-ratio: 320 / 170; display: flex; align-items: center; justify-content: center; padding: 9% 14%; }
.rp-logo img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.6) brightness(0.55); }

/* --- what we build: big list ---------------------------------------------- */
.rp-build { padding: clamp(72px, 9vw, 136px) 0; }
.rp-build__inner { display: flex; flex-wrap: wrap; gap: 36px 32px; }
.rp-build__side { flex: 0 1 25%; min-width: 220px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-top: clamp(0px, 1.4vw, 22px); }
.rp-biglist { flex: 1 1 320px; min-width: 0; }
.rp-biglist a {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(8px, 1vw, 14px) 0;
  font: 500 clamp(28px, 4.4vw, 63px)/1.08 var(--rp-display); letter-spacing: -0.03em;
  transition: padding-left 0.4s var(--rp-ease-out), color 0.25s;
}
.rp .rp-biglist a:hover { padding-left: clamp(12px, 2vw, 32px); color: var(--rp-purple); }

/* --- testimonials: one quote at a time, on black --------------------------- */
.rp-quotes { padding: clamp(72px, 9vw, 136px) 0; }
.rp-quotes__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rp-quotes__nav { display: flex; align-items: center; gap: 8px; }
.rp-quotes__count { margin-right: 12px; font: 500 13px/1 var(--rp-text); letter-spacing: 0.14em; font-variant-numeric: tabular-nums; }
.rp .rp-quotes__btn { width: 48px; height: 44px; display: flex; align-items: center; justify-content: center; transition: transform 0.3s, color 0.25s; }
.rp .rp-quotes__btn:hover { transform: translateX(5px); color: var(--rp-amber); }
.rp .rp-quotes__btn--prev:hover { transform: translateX(-5px); }
/* All quotes share one grid cell, so the block is as tall as the longest and nothing jumps. */
.rp-quotes__stage { display: grid; margin-top: clamp(36px, 4.5vw, 72px); }
.rp-quote { grid-area: 1 / 1; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s 0.28s; }
.rp-quote.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s ease 0.28s, transform 0.3s ease 0.28s, visibility 0s 0.28s; }
.rp .rp-quote blockquote { max-width: 1180px; font: 400 clamp(24px, 3.1vw, 45px)/1.22 var(--rp-display); letter-spacing: -0.02em; text-wrap: pretty; color: #fff; }
/* Longer quotes drop a size so they read as a paragraph, not a wall. */
.rp .rp-quote--m blockquote { font-size: clamp(22px, 2.6vw, 38px); }
.rp .rp-quote--l blockquote { font-size: clamp(19px, 2.1vw, 30px); }
.rp-quote figcaption { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-top: auto; padding-top: clamp(32px, 4vw, 56px); }
.rp-quote__who { display: flex; flex-direction: column; gap: 6px; font: 400 15px/1.4 var(--rp-text); color: #c9c9c9; }
.rp-quote__who strong { font: 500 17px/1.3 var(--rp-text); color: #fff; }
.rp-quote__logo { width: auto; height: auto; max-width: clamp(120px, 12vw, 170px); max-height: clamp(44px, 4.6vw, 64px); object-fit: contain; }
.rp-quotes__dots { display: flex; gap: 6px; margin-top: clamp(18px, 2vw, 34px); }
.rp .rp-quotes__dots button { flex: 1; max-width: 72px; height: 44px; display: flex; align-items: center; }
.rp-quotes__dots span { width: 100%; height: 2px; background: rgba(255, 255, 255, 0.3); transition: background 0.3s; }
.rp-quotes__dots .is-on span { background: var(--rp-amber); }

/* --- articles: one lead, two beside it ------------------------------------ */
.rp-articles__grid { display: flex; flex-wrap: wrap; gap: 48px 32px; align-items: flex-start; }
.rp-articles__side { flex: 5 1 300px; min-width: 0; display: flex; flex-direction: column; gap: clamp(32px, 3.4vw, 48px); }
.rp-article { display: flex; gap: clamp(16px, 1.8vw, 24px); align-items: flex-start; min-width: 0; }
.rp-article--lead { flex: 7 1 480px; display: block; }
.rp-article__media { flex: 0 0 40%; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--rp-tint); }
.rp-article--lead .rp-article__media { aspect-ratio: 16 / 9; }
.rp-article__media img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 0.9s var(--rp-ease-out); }
.rp-article:hover .rp-article__media img { transform: scale(1.05); }
.rp-article__text { display: block; min-width: 0; }
.rp-article__meta { display: block; font: 500 12px/1.4 var(--rp-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rp-soft); }
.rp-article__title { display: block; margin-top: 10px; font: 500 clamp(18px, 1.55vw, 22px)/1.2 var(--rp-display); letter-spacing: -0.01em; text-wrap: pretty; transition: color 0.25s; }
.rp-article--lead .rp-article__meta { margin-top: 24px; font-size: 13px; }
.rp-article--lead .rp-article__title { margin-top: 14px; max-width: 16em; font: 500 clamp(24px, 2.9vw, 42px)/1.08 var(--rp-display); letter-spacing: -0.025em; text-wrap: balance; }
.rp-article:hover .rp-article__title { color: var(--rp-purple); }

/* --- newsletter ------------------------------------------------------------ */
.rp-news { padding: clamp(56px, 7vw, 104px) 0; }
.rp-news__inner { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 36px 64px; }
.rp-news__inner .rp-h2 { flex: 1 1 380px; max-width: 15em; text-wrap: balance; }
.rp-news__form { flex: 1 1 320px; min-width: 0; max-width: 560px; display: flex; flex-direction: column; gap: 18px; margin: 0; }
.rp-news__form label { font: 500 13px/1 var(--rp-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rp-ink); }
.rp-news__field { display: flex; align-items: stretch; border-bottom: 2px solid var(--rp-ink); }
.rp .rp-news__field input[type="email"] { flex: 1; width: 0; min-width: 0; height: 60px; padding: 0; border: 0; border-radius: 0; outline: 0; box-shadow: none; background: transparent; font: 400 19px/1 var(--rp-text); color: var(--rp-ink); }
.rp .rp-news__field input::placeholder { color: #6b6b6b; opacity: 1; }
.rp .rp-news__field button { flex: none; display: inline-flex; align-items: center; gap: 20px; padding: 0 0 0 20px; font: 500 15px/1 var(--rp-text); color: var(--rp-ink); transition: gap 0.35s, color 0.25s; }
.rp .rp-news__field button:hover { gap: 30px; color: var(--rp-purple); background: none; }
.rp-news__trap { position: absolute; left: -5000px; }

/* --- closing call to action ------------------------------------------------ */
.rp-cta { padding: var(--rp-space) 0 clamp(64px, 8vw, 120px); }
.rp .rp-cta__title { margin-top: clamp(24px, 2.6vw, 40px); max-width: 9.5em; font: 500 clamp(42px, 8.4vw, 121px)/0.98 var(--rp-display); letter-spacing: -0.035em; color: #fff; }
.rp .rp-cta__title a { color: #fff; text-decoration-thickness: 0.04em; text-underline-offset: 0.1em; transition: color 0.3s; }
.rp .rp-cta__title a:hover { color: var(--rp-amber); text-decoration: underline; text-decoration-thickness: 0.04em; }
.rp-cta__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin-top: clamp(36px, 5vw, 80px); }
.rp-cta__foot p { flex: 1 1 300px; max-width: 480px; font: 400 clamp(17px, 1.4vw, 20px)/1.5 var(--rp-text); text-wrap: pretty; }

/* --- footer ---------------------------------------------------------------- */
footer.rp-footer { background: var(--rp-ink); color: #fff; padding: 0; text-align: left; }
.rp-footer__inner { padding-top: clamp(48px, 5.5vw, 80px); padding-bottom: 36px; }
.rp-footer__cols { display: flex; flex-wrap: wrap; gap: 48px 32px; }
.rp-footer__about { flex: 2 1 320px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.rp-footer__about img { height: 48px; width: auto; }
.rp .rp-footer__about p { max-width: 400px; text-align: left; font: 400 16px/1.55 var(--rp-text); color: #d6d6d6; text-wrap: pretty; }
.rp-footer__col { flex: 1 1 180px; display: flex; flex-direction: column; align-items: flex-start; font: 400 16px/1.4 var(--rp-text); }
.rp-footer__head { margin-bottom: 10px; font: 500 13px/1 var(--rp-text); letter-spacing: 0.14em; text-transform: uppercase; }
.rp-footer__col a { padding: 9px 0; transition: color 0.25s; }
.rp-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: clamp(48px, 6vw, 96px); font: 500 13px/1 var(--rp-text); letter-spacing: 0.14em; text-transform: uppercase; }
.rp-footer__social { display: flex; gap: 28px; }
.rp-footer__social a { padding: 15px 0; transition: color 0.25s; }
.rp .rp-footer__col a:hover, .rp .rp-footer__social a:hover { color: var(--rp-amber); }

/* --- audience pages (Agencies, Institutions, Business) ----------------------
   Design: design/claude/.../Encyte {Agencies,Institutions,Business} v2.dc.html.
   One layout; each page sets its colours:
     --au       the brand colour (marks, the block behind the hero picture)
     --au-fill  the colour that fills things (card hover, closing band), --au-on the text on it
     --au-deep  the colour when it has to carry text on white */
.rp-page { overflow-x: clip; background: #fff; --au: var(--rp-purple); --au-fill: var(--rp-purple); --au-on: #fff; --au-deep: var(--rp-purple); --word-scale: 1; --how-mark: #fff; }
.rp-tone-purpl { --au: var(--rp-purple); --au-fill: var(--rp-purple); --au-on: #fff; --au-deep: var(--rp-purple); }
.rp-page--institutions, .rp-tone-gren { --au: var(--rp-green); --au-fill: var(--rp-green-deep); --au-on: #fff; --au-deep: var(--rp-green-deep); --word-scale: 0.72; --how-mark: var(--rp-green); }
.rp-page--business, .rp-tone-yelow { --au: var(--rp-amber); --au-fill: var(--rp-amber); --au-on: var(--rp-ink); --au-deep: var(--rp-amber-deep); --how-mark: var(--rp-amber); }
.rp-page a.rp-link:hover { color: var(--au-deep); }
.rp-page a.rp-link--light:hover { color: var(--rp-amber); }
.rp-page .rp-section { padding: clamp(72px, 10vw, 144px) 0; }
.rp-page .rp-work, .rp-page .rp-social { padding: var(--rp-space) 0; }

/* Ink button for white backgrounds; the audience colour wipes in. */
.rp-btn--ink { background-color: var(--rp-ink); background-image: linear-gradient(var(--au-fill, var(--rp-purple)), var(--au-fill, var(--rp-purple))); }
.rp a.rp-btn--ink, .rp a.rp-btn--ink:visited { color: #fff; }
.rp a.rp-btn--ink:hover, .rp a.rp-btn--ink:focus-visible { color: var(--au-on, #fff); }

/* Hero: white. The audience's name runs up the left edge in outline; text left, picture right with a colour block behind its corner. */
.rp-phero { --edge: 0px; position: relative; overflow: hidden; background: #fff; padding: clamp(112px, 10vw, 160px) var(--rp-gutter) clamp(56px, 6vw, 96px) calc(var(--rp-gutter) + var(--edge)); }
.rp-phero__word { display: none; }
.rp-phero__inner { position: relative; max-width: 1680px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 56px clamp(32px, 5vw, 96px); }
.rp-phero__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.rp .rp-phero__title { margin-top: clamp(20px, 2.2vw, 32px); max-width: 10.5em; font: 500 clamp(40px, 5.4vw, 78px)/1 var(--rp-display); letter-spacing: -0.035em; text-wrap: balance; color: var(--rp-ink); }
.rp .rp-phero__sub { margin: clamp(20px, 2.2vw, 32px) 0 clamp(28px, 3vw, 44px); max-width: 520px; font: 400 clamp(16px, 1.35vw, 20px)/1.5 var(--rp-text); text-wrap: pretty; }
.rp-phero__media { flex: 1 1 400px; min-width: 0; position: relative; padding: 0 0 clamp(14px, 1.6vw, 24px) clamp(14px, 1.6vw, 24px); }
.rp-phero__block { position: absolute; left: 0; bottom: 0; width: 38%; height: 46%; background: var(--au); }
.rp-phero__img { display: block; position: relative; overflow: hidden; aspect-ratio: 5 / 5.4; background: var(--rp-tint); }
.rp-phero__img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* Stacked (tablet): the picture runs the full width, so it is a wide crop rather than a tall one. */
@media (min-width: 600px) and (max-width: 999px) {
  .rp-phero__img { aspect-ratio: 16 / 9; }
}
@media (min-width: 1024px) {
  .rp-phero { --edge: 4.5vw; }
  /* Just above the breakpoint the strip for the word narrows the row: let the columns shrink instead of stacking. */
  .rp-phero__text { flex-basis: 380px; }
  .rp-phero__media { flex-basis: 340px; }
  /* Sized so the word just fills the strip to the left of the text. */
  .rp-phero__word {
    display: block; position: absolute; left: -0.3em; top: clamp(88px, 8vw, 120px); writing-mode: vertical-rl; white-space: nowrap;
    font: 500 calc((var(--rp-gutter) + var(--edge) - 16px) / 0.664 * var(--word-scale))/1 var(--rp-display); letter-spacing: -0.02em;
    color: transparent; -webkit-text-stroke: 1px #c9c9c9; pointer-events: none; user-select: none;
  }
}

/* Trusted by: a slow, looping strip of this audience's clients. It pauses under the pointer. */
.rp-trust { padding: 0 0 clamp(40px, 4.5vw, 64px); background: #fff; }
.rp-trust .rp-label { margin-bottom: clamp(12px, 1.6vw, 24px); }
.rp-trust__strip { overflow: hidden; }
.rp-trust__track { display: flex; width: max-content; animation: rp-marquee 48s linear infinite; will-change: transform; }
.rp-trust__strip:hover .rp-trust__track { animation-play-state: paused; }
.rp-trust__logo { flex: none; width: clamp(130px, 13vw, 190px); aspect-ratio: 320 / 170; margin-right: clamp(40px, 6vw, 104px); display: flex; align-items: center; justify-content: center; padding: 10px 14px; }
.rp-trust__logo img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.6) brightness(0.55); }
@keyframes rp-marquee { to { transform: translateX(-50%); } }

/* What we build: white tiles on the tint that fill with the audience colour from the bottom. */
.rp .rp-build2 .rp-statement { margin-top: clamp(24px, 2.6vw, 40px); max-width: 12em; }
.rp .rp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: clamp(16px, 1.7vw, 24px); margin-top: clamp(48px, 6vw, 96px); }
.rp-tiles li {
  display: flex; flex-direction: column; gap: 14px; min-height: clamp(220px, 20vw, 300px); padding: clamp(24px, 2.2vw, 36px);
  background-color: #fff; background-image: linear-gradient(var(--au-fill), var(--au-fill)); background-repeat: no-repeat; background-position: bottom; background-size: 100% 0%;
  color: var(--rp-ink); transition: background-size 0.5s var(--rp-ease), color 0.3s;
}
.rp-tiles li:hover { background-size: 100% 100%; color: var(--au-on); }
.rp-tiles__mark { width: 48px; height: 3px; background: currentColor; }
.rp-tiles h3 { margin-top: auto; font: 500 clamp(24px, 2.1vw, 31px)/1.08 var(--rp-display); letter-spacing: -0.02em; text-wrap: balance; }
.rp .rp-tiles p { font: 400 16px/1.5 var(--rp-text); text-wrap: pretty; color: inherit; }

/* Why: a large heading beside a grid of tinted cards that turn ink on hover. An odd one out runs the full width. */
.rp-why__inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 64px; }
.rp-why__side { flex: 1 1 300px; max-width: 520px; display: flex; flex-direction: column; gap: clamp(20px, 2vw, 28px); }
.rp .rp-why__side .rp-h2 { font: 500 clamp(38px, 5vw, 72px)/1 var(--rp-display); letter-spacing: -0.035em; text-wrap: balance; }
.rp .rp-reasons { flex: 2 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(16px, 1.7vw, 24px); }
.rp-reasons li { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: clamp(200px, 17vw, 260px); padding: clamp(24px, 2.2vw, 36px); background: var(--rp-tint); color: var(--rp-ink); transition: background 0.3s, color 0.3s; }
.rp-reasons li:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: clamp(160px, 13vw, 200px); }
.rp-reasons li:hover { background: var(--rp-ink); color: #fff; }
.rp-reasons h3 { font: 500 clamp(24px, 2.3vw, 33px)/1.08 var(--rp-display); letter-spacing: -0.02em; text-wrap: balance; }
.rp .rp-reasons p { max-width: 340px; font: 400 16px/1.5 var(--rp-text); text-wrap: pretty; color: inherit; }

/* Recent work: label, statement and link above the homepage's lead-and-two block. */
.rp-page .rp-work .rp-work__head { margin-top: clamp(24px, 2.6vw, 40px); gap: 16px 32px; }
.rp .rp-work__title { margin-top: clamp(24px, 2.6vw, 40px); max-width: 12em; }
.rp-page .rp-work .rp-work__title + .rp-work__head { margin-top: clamp(24px, 3vw, 44px); }
.rp .rp-work__intro { flex: 1 1 300px; max-width: 480px; font: 400 clamp(17px, 1.4vw, 20px)/1.5 var(--rp-text); text-wrap: pretty; }
.rp-page .rp-card__media { background: #fff; }
.rp-page .rp-card__audience { color: var(--au-deep); line-height: 1.4; }
.rp-page .rp-card__title { margin-top: 12px; }
.rp-page .rp-card--lead .rp-card__title { font-size: clamp(24px, 2.9vw, 42px); }
/* Work that cannot be named or shown: the description on a plain panel that fills with the audience colour on hover. */
.rp-work__grid--panels { gap: 32px; }
.rp-work__grid--panels .rp-work__side { gap: 32px; }
.rp-panel {
  flex: 1 1 auto; min-width: 0; min-height: clamp(240px, 20vw, 300px); display: flex; align-items: flex-end; padding: clamp(24px, 2.6vw, 40px);
  background-color: var(--rp-ink); background-image: linear-gradient(var(--au-fill), var(--au-fill)); background-repeat: no-repeat; background-position: bottom; background-size: 100% 0%;
  color: #fff; transition: background-size 0.55s var(--rp-ease), color 0.3s;
}
.rp-panel--lead { flex: 7 1 480px; min-height: clamp(340px, 44vw, 640px); }
.rp-panel--light { background-color: #fff; color: var(--rp-ink); }
.rp-panel:hover { background-size: 100% 100%; color: var(--au-on); }
.rp .rp-panel p { max-width: 13em; font: 500 clamp(22px, 2.3vw, 33px)/1.08 var(--rp-display); letter-spacing: -0.025em; text-wrap: balance; color: inherit; }
.rp .rp-panel--lead p { max-width: 15em; font-size: clamp(26px, 3.4vw, 49px); }

/* Social innovation (Institutions): intro on the left, linked projects on the right, on ink. */
.rp-social__inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px 64px; }
.rp-social__side { flex: 1 1 320px; max-width: 540px; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 2vw, 28px); }
.rp-social__side .rp-h2 { text-wrap: balance; }
.rp .rp-social__intro { font: 400 clamp(16px, 1.25vw, 18px)/1.55 var(--rp-text); text-wrap: pretty; }
.rp-projects { flex: 1.5 1 480px; min-width: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.24); }
.rp-projects a {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(22px, 2.2vw, 32px) 0; border-top: 1px solid rgba(255, 255, 255, 0.24);
  background-image: linear-gradient(var(--au-fill), var(--au-fill)); background-repeat: no-repeat; background-position: bottom; background-size: 100% 0%;
  transition: background-size 0.5s var(--rp-ease), padding-left 0.4s var(--rp-ease-out), padding-right 0.4s var(--rp-ease-out);
}
.rp .rp-projects a, .rp .rp-projects a:visited, .rp .rp-projects a:hover { color: #fff; }
.rp-projects a:hover { background-size: 100% 100%; padding-left: clamp(16px, 1.8vw, 28px); padding-right: clamp(16px, 1.8vw, 28px); }
.rp-projects a > span { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rp-projects__title { max-width: 22em; font: 500 clamp(21px, 2vw, 29px)/1.14 var(--rp-display); letter-spacing: -0.02em; text-wrap: balance; }
.rp-projects__sub { font: 400 15px/1.45 var(--rp-text); }

/* How we work: a picture beside the steps, which run down a line with a square at each. On ink, except on Institutions
   (where the social innovation band above is already ink). */
.rp-how { background: var(--rp-ink); color: #fff; --how-line: rgba(255, 255, 255, 0.3); }
.rp-page--institutions .rp-how { background: #fff; color: var(--rp-ink); --how-line: rgba(16, 16, 16, 0.3); }
.rp-how__inner { display: flex; flex-wrap: wrap; align-items: stretch; gap: 56px clamp(32px, 6vw, 112px); }
.rp-how__media { flex: 1 1 380px; min-width: 0; min-height: clamp(320px, 40vw, 640px); position: relative; overflow: hidden; background: var(--rp-tint); }
.rp-how__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.rp-how__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.rp .rp-how__text h2 { margin-bottom: clamp(36px, 4.5vw, 72px); font: 500 clamp(38px, 5vw, 72px)/1 var(--rp-display); letter-spacing: -0.035em; }
.rp-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 0 0 clamp(28px, 3vw, 44px) clamp(28px, 3vw, 44px); border-left: 1px solid var(--how-line); }
.rp-steps li:last-child { padding-bottom: 0; border-left-color: transparent; }
.rp-steps li::before { content: ""; position: absolute; left: -5px; top: 0.55em; width: 9px; height: 9px; background: var(--how-mark); }
.rp-steps h3 { font: 500 clamp(22px, 2.1vw, 30px)/1.12 var(--rp-display); letter-spacing: -0.02em; }
.rp .rp-steps p { max-width: 440px; font: 400 16px/1.5 var(--rp-text); text-wrap: pretty; color: inherit; }

/* Closing call to action: on the audience colour; headline left, sentence and button right. */
.rp-acta { padding: clamp(64px, 8vw, 120px) 0; background: var(--au-fill); color: var(--au-on); }
.rp-acta__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px 64px; }
.rp-acta__lead { flex: 3 1 480px; min-width: 0; }
.rp .rp-acta__lead h2:first-child { margin-top: 0; }
.rp .rp-acta__lead h2 { margin-top: clamp(20px, 2.2vw, 32px); max-width: 10em; font: 500 clamp(40px, 6.2vw, 89px)/1 var(--rp-display); letter-spacing: -0.035em; text-wrap: balance; }
.rp .rp-acta__lead h2 a, .rp .rp-acta__lead h2 a:visited { color: var(--au-on); text-decoration-thickness: 0.04em; text-underline-offset: 0.1em; }
.rp .rp-acta__lead h2 a:hover { color: var(--au-on); text-decoration: underline; text-decoration-thickness: 0.04em; }
.rp-acta__side { flex: 1 1 300px; max-width: 420px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.rp .rp-acta__side p { font: 400 clamp(17px, 1.4vw, 20px)/1.5 var(--rp-text); text-wrap: pretty; }
/* The button reverses against the band: white with an ink wipe, or (on amber) ink with a white wipe. */
.rp-btn--onfill { background-color: #fff; background-image: linear-gradient(var(--rp-ink), var(--rp-ink)); }
.rp a.rp-btn--onfill, .rp a.rp-btn--onfill:visited { color: var(--rp-ink); }
.rp a.rp-btn--onfill:hover, .rp a.rp-btn--onfill:focus-visible { color: #fff; }
.rp-page--business .rp-btn--onfill, .rp-tone-yelow .rp-btn--onfill { background-color: var(--rp-ink); background-image: linear-gradient(#fff, #fff); }
.rp-page--business a.rp-btn--onfill, .rp-page--business a.rp-btn--onfill:visited, .rp-tone-yelow a.rp-btn--onfill, .rp-tone-yelow a.rp-btn--onfill:visited { color: #fff; }
.rp-page--business a.rp-btn--onfill:hover, .rp-page--business a.rp-btn--onfill:focus-visible, .rp-tone-yelow a.rp-btn--onfill:hover, .rp-tone-yelow a.rp-btn--onfill:focus-visible { color: var(--rp-ink); }

/* Audience pages in black and white (Charith 2026-11-22): colours only, the layouts above are unchanged.
   White sections with outlined boxes in place of the tint; the closing band on ink, as on the service pages. */
.rp-page--audience .rp-section--tint { background: #fff; }
.rp-page--audience .rp-tiles li, .rp-page--audience .rp-reasons li, .rp-page--audience .rp-panel--light { box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.25); }
.rp-page--audience .rp-reasons li { background: #fff; }
.rp-page--audience .rp-reasons li:hover { background: var(--rp-ink); }
.rp-page--audience .rp-card__media { background: var(--rp-tint); }
/* How we work goes white on all three, so it does not run into the ink closing band. */
.rp-page--audience { --how-mark: var(--au); }
.rp-page--audience .rp-how { background: #fff; color: var(--rp-ink); --how-line: rgba(16, 16, 16, 0.3); }
.rp-page--audience .rp-acta { background: var(--rp-ink); color: #fff; }
.rp.rp-page--audience .rp-acta__lead h2 a, .rp.rp-page--audience .rp-acta__lead h2 a:visited { color: #fff; }
.rp.rp-page--audience .rp-acta__lead h2 a:hover { color: var(--rp-amber); }
.rp-page--audience .rp-btn--onfill { background-color: #fff; background-image: linear-gradient(var(--rp-amber), var(--rp-amber)); }
.rp-page--audience a.rp-btn--onfill, .rp-page--audience a.rp-btn--onfill:visited, .rp-page--audience a.rp-btn--onfill:hover, .rp-page--audience a.rp-btn--onfill:focus-visible { color: var(--rp-ink); }

/* --- service pages (the hub and the six services) ----------------------------
   The six service pages (design: Encyte Service Page.dc.html): black and white, outlined boxes in place of the tint,
   the page colour for marks and hover fills. Hero, steps and work cards are the audience page parts. */
.rp-page--service { --word-scale: 1; }
.rp-page--service .rp-phero .rp-label a:hover { color: var(--au-deep); }
/* A taller touch target without moving the label. */
.rp-page--service .rp-phero .rp-label a { padding: 14px 0; margin: -14px 0; }

/* List: outlined rows. The heading leads; a sentence, where there is one, sits to its right. */
.rp-list { padding: clamp(64px, 8vw, 120px) 0 clamp(72px, 10vw, 144px); background: #fff; }
.rp-list .rp-label { margin-bottom: clamp(20px, 2.2vw, 32px); }
.rp .rp-list__title { margin-bottom: clamp(32px, 4vw, 64px); max-width: 11em; font: 500 clamp(38px, 5vw, 72px)/1 var(--rp-display); letter-spacing: -0.035em; text-wrap: balance; }
.rp .rp-rows { display: flex; flex-direction: column; gap: clamp(10px, 1.2vw, 16px); }
.rp-rows li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px clamp(24px, 4vw, 72px); padding: clamp(22px, 2.6vw, 40px) clamp(20px, 2.8vw, 44px);
  background-color: #fff; box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.25);
  background-image: linear-gradient(var(--au-fill), var(--au-fill)); background-repeat: no-repeat; background-position: bottom; background-size: 100% 0%;
  color: var(--rp-ink); transition: background-size 0.5s var(--rp-ease), color 0.3s;
}
.rp-rows li:hover { background-size: 100% 100%; color: var(--au-on); }
.rp-rows__mark { flex: none; width: 48px; height: 3px; background: var(--au); transition: background 0.3s; }
.rp-rows li:hover .rp-rows__mark { background: currentColor; }
.rp-rows__text { flex: 1 1 0; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px clamp(24px, 4vw, 72px); }
.rp-rows h3 { flex: 1 1 340px; min-width: 0; font: 500 clamp(24px, 2.9vw, 42px)/1.06 var(--rp-display); letter-spacing: -0.025em; text-wrap: balance; }
.rp .rp-rows p { flex: 1 1 300px; min-width: 0; max-width: 460px; font: 400 clamp(16px, 1.25vw, 18px)/1.5 var(--rp-text); text-wrap: pretty; color: inherit; }

/* Text (Platforms): on ink. */
.rp-plat { background: var(--rp-ink); color: #fff; }
.rp-plat .rp-label { margin-bottom: clamp(20px, 2.2vw, 32px); }
.rp .rp-plat .rp-h2 { max-width: 10em; text-wrap: balance; }
.rp .rp-plat__lead { margin-top: clamp(40px, 6vw, 96px); font: 500 clamp(44px, 8.6vw, 124px)/0.98 var(--rp-display); letter-spacing: -0.04em; }
.rp-plat__lead span { display: block; }
.rp-plat__lead em { font-style: normal; color: var(--au); }
.rp-plat__body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px clamp(32px, 4vw, 64px); max-width: 1080px; margin: clamp(40px, 5vw, 80px) 0 0 auto; }
.rp .rp-plat__body p { font: 400 clamp(16px, 1.25vw, 18px)/1.6 var(--rp-text); text-wrap: pretty; color: inherit; }

/* Statements: large lines, each under a short mark that runs the full width on hover. */
.rp-says { background: #fff; }
.rp-says .rp-label { margin-bottom: clamp(20px, 2.2vw, 32px); }
.rp .rp-says .rp-h2 { margin-bottom: clamp(40px, 5vw, 80px); }
.rp .rp-says__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 5vw, 80px) clamp(24px, 4vw, 64px); }
.rp-says__grid li {
  padding-top: clamp(24px, 2.4vw, 36px); color: var(--rp-ink);
  background-image: linear-gradient(var(--au), var(--au)); background-repeat: no-repeat; background-position: top left; background-size: 48px 3px;
  transition: background-size 0.5s var(--rp-ease), color 0.25s;
}
.rp-says__grid li:hover { background-size: 100% 3px; color: var(--au-deep); }
.rp .rp-says__line { max-width: 12em; font: 500 clamp(28px, 3.6vw, 52px)/1.05 var(--rp-display); letter-spacing: -0.03em; text-wrap: balance; color: inherit; }
.rp .rp-says__more { margin-top: 14px; max-width: 460px; font: 400 clamp(16px, 1.25vw, 18px)/1.5 var(--rp-text); color: var(--rp-ink); }
/* Where statements follow a list directly, one section's spacing is enough. */
.rp-list + .rp-says { padding-top: 0; }

/* Recent work, on white. */
.rp-page--service .rp-work { background: #fff; }
.rp-page--service .rp-work .rp-work__head { margin-top: 0; }
.rp-page--service .rp-card__media { background: var(--rp-tint); }

/* Other services: five small outlined links, each filling with its own colour (.rp-tone-* on the item). */
.rp-others { padding: 0 0 clamp(72px, 10vw, 144px); background: #fff; }
.rp-others__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(20px, 2.2vw, 32px); }
.rp-others__head .rp-link { padding-top: 14px; }
/* Five across on a wide screen; one column once the row is narrower than 900px. */
.rp-others__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(150px, (900px - 100%) * 999, 100%), 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.rp-others__item {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: clamp(112px, 12vw, 176px); padding: clamp(18px, 1.8vw, 26px);
  background-color: #fff; box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.25);
  background-image: linear-gradient(var(--au-fill), var(--au-fill)); background-repeat: no-repeat; background-position: bottom; background-size: 100% 0%;
  transition: background-size 0.5s var(--rp-ease), color 0.3s;
}
.rp a.rp-others__item, .rp a.rp-others__item:visited { color: var(--rp-ink); }
.rp a.rp-others__item:hover, .rp a.rp-others__item:focus-visible { background-size: 100% 100%; color: var(--au-on); }
.rp-others__mark { width: 36px; height: 3px; background: var(--au); transition: background 0.3s; }
.rp-others__item:hover .rp-others__mark { background: currentColor; }
.rp-others__name { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; font: 500 clamp(20px, 1.7vw, 24px)/1.12 var(--rp-display); letter-spacing: -0.02em; text-wrap: balance; }
.rp-others__name svg { margin-bottom: 0.35em; transition: transform 0.35s var(--rp-ease-out); }
.rp-others__item:hover .rp-others__name svg { transform: translateX(4px); }

/* Closing band on a service page: ink; headline (under its label, when it has one) left, button right. The headline turns amber. */
.rp-acta__end { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; }
.rp-acta__end .rp-acta__lead { flex: 1 1 420px; }
.rp .rp-acta__end .rp-acta__lead h2 { max-width: 8em; }
.rp .rp-acta--ink .rp-acta__lead h2 a, .rp .rp-acta--ink .rp-acta__lead h2 a:visited { color: #fff; }
.rp .rp-acta--ink .rp-acta__lead h2 a:hover { color: var(--rp-amber); }
.rp-acta__end .rp-btn { flex: none; margin-bottom: clamp(0px, 0.8vw, 12px); }

/* Services landing page (design: Encyte Services.dc.html).
   The six services: the lead as a feature (picture and large name), the others as rows (thumbnail, name, line, arrow).
   Each is outlined and fills with its own colour from the bottom on hover; .rp-tone-* on the item sets that colour. */
.rp-page--service .rp-phero__title { max-width: 9em; }
.rp-svc { padding: clamp(64px, 8vw, 120px) 0 clamp(72px, 10vw, 144px); background: #fff; }
.rp-svc .rp-label { margin-bottom: clamp(24px, 2.6vw, 40px); }
.rp-svc__list { display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 20px); }
.rp-svc__item {
  display: grid; grid-template-columns: clamp(104px, 19vw, 300px) minmax(0, 1fr);
  background-color: #fff; box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.25);
  background-image: linear-gradient(var(--au-fill), var(--au-fill)); background-repeat: no-repeat; background-position: bottom; background-size: 100% 0%;
  transition: background-size 0.5s var(--rp-ease), color 0.3s;
}
.rp a.rp-svc__item, .rp a.rp-svc__item:visited { color: var(--rp-ink); }
.rp a.rp-svc__item:hover, .rp a.rp-svc__item:focus-visible { background-size: 100% 100%; color: var(--au-on); }
.rp-svc__media { display: block; position: relative; overflow: hidden; min-height: clamp(128px, 13vw, 200px); }
.rp-svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 0.9s var(--rp-ease-out); }
.rp-svc__item:hover .rp-svc__media img { transform: scale(1.05); }
.rp-svc__text { display: flex; flex-wrap: wrap; align-items: center; gap: 10px clamp(24px, 3vw, 56px); padding: clamp(18px, 2.6vw, 44px); }
.rp-svc__text h3 { flex: 1 1 300px; min-width: 0; font: 500 clamp(24px, 2.9vw, 42px)/1.06 var(--rp-display); letter-spacing: -0.025em; text-wrap: balance; }
.rp-svc__line { flex: 1 1 260px; min-width: 0; max-width: 420px; font: 400 clamp(16px, 1.2vw, 17px)/1.5 var(--rp-text); text-wrap: pretty; }
.rp-svc__text svg { margin-left: auto; transition: transform 0.35s var(--rp-ease-out); }
.rp-svc__item:hover .rp-svc__text svg { transform: translateX(8px); }
/* The lead service. */
.rp-svc__item--lead { display: flex; flex-wrap: wrap; }
.rp-svc__item--lead .rp-svc__media { flex: 1 1 420px; min-width: 0; min-height: clamp(240px, 36vw, 560px); }
.rp-svc__item--lead .rp-svc__text { flex: 1 1 420px; min-width: 0; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: clamp(14px, 1.6vw, 24px); padding: clamp(24px, 4.4vw, 72px); }
.rp-svc__mark { width: 48px; height: 3px; background: currentColor; margin-bottom: clamp(24px, 4vw, 64px); }
.rp-svc__item--lead h2 { margin-top: auto; max-width: 7em; font: 500 clamp(38px, 5vw, 72px)/1 var(--rp-display); letter-spacing: -0.035em; text-wrap: balance; }
.rp-svc__item--lead .rp-svc__line { flex: none; max-width: 440px; font-size: clamp(17px, 1.4vw, 20px); }
.rp-svc__item--lead .rp-svc__text svg { margin-left: 0; }

/* Who we work with, on the Services page: three outlined cards, each filling with its audience's colour. */
.rp-who { background: #fff; }
.rp .rp-who .rp-h2 { margin-bottom: clamp(32px, 4vw, 64px); }
.rp-who__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 1.7vw, 24px); }
.rp-who__card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: clamp(240px, 22vw, 330px); padding: clamp(24px, 2.2vw, 36px);
  background-color: #fff; box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.25);
  background-image: linear-gradient(var(--au-fill), var(--au-fill)); background-repeat: no-repeat; background-position: bottom; background-size: 100% 0%;
  transition: background-size 0.5s var(--rp-ease), color 0.3s;
}
.rp a.rp-who__card, .rp a.rp-who__card:visited { color: var(--rp-ink); }
.rp a.rp-who__card:hover, .rp a.rp-who__card:focus-visible { background-size: 100% 100%; color: var(--au-on); }
.rp-who__mark { width: 48px; height: 3px; background: var(--au-fill); transition: background 0.3s; }
.rp-who__card:hover .rp-who__mark { background: currentColor; }
.rp-who__card h3 { margin-top: auto; font: 500 clamp(34px, 3.6vw, 52px)/1 var(--rp-display); letter-spacing: -0.03em; }
.rp-who__line { max-width: 400px; font: 400 16px/1.5 var(--rp-text); text-wrap: pretty; }
.rp-who__go { display: flex; align-items: center; gap: 16px; margin-top: 6px; font: 500 15px/1 var(--rp-text); }
.rp-who__go svg { transition: transform 0.35s var(--rp-ease-out); }
.rp-who__card:hover .rp-who__go svg { transform: translateX(6px); }

/* Closing band on the Services page: ink, with the headline and button on one line. */
.rp-acta--ink { background: var(--rp-ink); color: #fff; }
.rp-acta__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 64px; }
.rp .rp-acta__row h2 { font: 500 clamp(40px, 6.2vw, 89px)/1 var(--rp-display); letter-spacing: -0.035em; }
.rp .rp-acta__row h2 a, .rp .rp-acta__row h2 a:visited, .rp .rp-acta__row h2 a:hover { color: #fff; text-decoration-thickness: 0.04em; text-underline-offset: 0.1em; }
.rp .rp-acta__row h2 a:hover { text-decoration: underline; text-decoration-thickness: 0.04em; }
.rp-acta__side:only-child, .rp-page--service .rp-acta__side { justify-content: flex-end; }

/* --- about --------------------------------------------------------------------
   Built from the audience and service page parts (hero, steps, rows, statement, closing band), plus the blocks below. */
.rp-who-we .rp-label { margin-bottom: clamp(20px, 2.2vw, 32px); }
.rp .rp-who-we__lead { max-width: 15em; font: 500 clamp(32px, 4.6vw, 66px)/1.04 var(--rp-display); letter-spacing: -0.035em; text-wrap: balance; }
.rp-who-we__body { display: flex; flex-direction: column; gap: clamp(16px, 1.6vw, 24px); max-width: 720px; margin: clamp(40px, 5vw, 80px) 0 0 auto; }
.rp .rp-who-we__body p { font: 400 clamp(17px, 1.35vw, 20px)/1.55 var(--rp-text); text-wrap: pretty; }
.rp .rp-who-we__links { display: flex; flex-wrap: wrap; gap: 4px 32px; }
.rp .rp-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px clamp(24px, 4vw, 64px); margin-top: clamp(56px, 7vw, 112px); }
.rp-nums li { display: flex; flex-direction: column; gap: 12px; padding-top: clamp(20px, 2vw, 28px); background: linear-gradient(var(--rp-ink), var(--rp-ink)) top left / 48px 3px no-repeat; }
.rp-nums__no { font: 500 clamp(56px, 7.4vw, 106px)/0.95 var(--rp-display); letter-spacing: -0.04em; }
.rp-nums__what { font: 400 clamp(16px, 1.25vw, 18px)/1.4 var(--rp-text); }

.rp-quality__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 64px; }
.rp .rp-quality .rp-says__line { flex: 1 1 420px; }
.rp-quality__side { flex: 0 1 360px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.rp .rp-quality__side p { font: 400 clamp(17px, 1.35vw, 20px)/1.5 var(--rp-text); }
.rp-quality + .rp-values { padding-top: 0; }

.rp .rp-places .rp-statement { margin-bottom: clamp(32px, 4vw, 64px); }
.rp-places__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px 32px; }
.rp-place { display: flex; flex-direction: column; gap: 12px; }
.rp-place__media { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 12px; background: var(--rp-tint); }
.rp-place__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.rp-place h3 { font: 500 clamp(24px, 2.9vw, 42px)/1.1 var(--rp-display); letter-spacing: -0.02em; }
.rp .rp-place p { max-width: 480px; font: 400 clamp(16px, 1.25vw, 18px)/1.5 var(--rp-text); text-wrap: pretty; }
.rp .rp-place__contact { display: flex; flex-wrap: wrap; gap: 0 28px; font-weight: 500; }
.rp-place__contact a { padding: 8px 0; }
.rp .rp-place__contact a:hover { color: var(--au-deep); }

.rp-about-clients { padding-top: 0 !important; }
.rp-about-clients .rp-label { margin-bottom: clamp(20px, 2.2vw, 32px); }

/* FieldSmart: one outlined link that fills with amber. */
.rp-also { padding: 0 0 clamp(72px, 10vw, 144px); background: #fff; }
.rp-also__link {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: clamp(22px, 2.6vw, 40px) clamp(20px, 2.8vw, 44px);
  background-color: #fff; box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.25);
  background-image: linear-gradient(var(--rp-amber), var(--rp-amber)); background-repeat: no-repeat; background-position: bottom; background-size: 100% 0%;
  transition: background-size 0.5s var(--rp-ease);
}
.rp a.rp-also__link, .rp a.rp-also__link:visited, .rp a.rp-also__link:hover { color: var(--rp-ink); }
.rp a.rp-also__link:hover, .rp a.rp-also__link:focus-visible { background-size: 100% 100%; }
.rp-also__name { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); font: 500 clamp(28px, 3.6vw, 52px)/1 var(--rp-display); letter-spacing: -0.03em; }
.rp-also__name svg { transition: transform 0.35s var(--rp-ease-out); }
.rp-also__link:hover .rp-also__name svg { transform: translateX(8px); }

/* --- tablet ----------------------------------------------------------------- */
@media (max-width: 1023px) {
  .rp-header__nav { display: none; }
  .margin_header { margin-top: 81px; }
  .rp .rp-burger { display: flex; }
  .rp .rp-points { grid-template-columns: repeat(2, 1fr); }
  .rp-logos { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 782px) {
  .admin-bar .rp-header, .admin-bar .rp-menu { top: 46px; }
}

/* --- phone ------------------------------------------------------------------ */
@media (max-width: 680px) {
  .rp-logos { grid-template-columns: repeat(3, 1fr); }
  .rp-logo { padding: 6% 4%; }
}
@media (max-width: 520px) {
  .rp .rp-points { grid-template-columns: 1fr; }
  .rp-quotes__count { display: none; }
}
/* The narrowest phones (320px): the header and the longest button labels have to fit. */
@media (max-width: 359px) {
  .rp-header { gap: 12px; }
  .rp-header__logo img, .rp-menu__top img { height: 32px; }
  .rp-btn:not(.rp-btn--sm) { gap: 16px; padding: 18px 20px; }
}

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

/* --- enquiry forms: the "Which best describes you?" dropdown ---------------
   Styled to match the underlined text fields of the existing forms (.form_sec). */
.form_sec .wpforms_field select {
  appearance: none; -webkit-appearance: none; width: 100%; height: auto; padding: 8px 28px 8px 0;
  border: 0; border-bottom: 2px solid; border-radius: 0; outline: 0; box-shadow: none; cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none' stroke='%23101010' stroke-width='1.6'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center;
  font: 400 18px/1.2 "Rubik", sans-serif; color: inherit;
}
.form_sec_white_text .wpforms_field select {
  color: #fff; border-bottom-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
}
.form_sec .wpforms_field select option { color: #101010; background: #fff; }
.form_sec .wpforms_field select:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* ==========================================================================
   Case study (single-work-<slug>.php, template-parts/case-study/).
   Design: design/claude/.../Encyte Case Study - Land Bank.dc.html. Order and media treatment follow the last
   eight published case studies (docs/case-studies/reference-study.md): the product first, on the client's
   colour (--cs, text on it --cs-on), then short text sections alternating with media.
   Frames are drawn here, so media files are plain screens.
   ========================================================================== */
.rp-page--case { --au: var(--rp-ink); --au-fill: var(--cs); --au-on: var(--cs-on); --au-deep: var(--rp-ink); }
.rp-page--case.rp-tone-purpl { --au-deep: var(--rp-purple); }
.rp-page--case.rp-tone-gren { --au-deep: var(--rp-green-deep); }
.rp-page--case.rp-tone-yelow { --au-deep: var(--rp-amber-deep); }
.rp-page--case .rp-wrap { max-width: 1840px; }
.rp-page--case > section > .rp-wrap, .rp-page--case > section > figure.rp-wrap { max-width: calc(1680px + 2 * var(--rp-gutter)); }

/* A screen: the picture or recording, cropped by its slot. */
.rp-cs-screen { display: block; position: relative; overflow: hidden; background: var(--rp-tint); }
.rp-cs-screen img, .rp-cs-screen video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top; }

/* Browser frame: a translucent ring, then a white window with a tab strip and a toolbar. */
.rp-cs-browser { display: block; padding: clamp(4px, 0.6vw, 9px); background: rgba(255, 255, 255, 0.4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9); border-radius: clamp(12px, 1.75vw, 27px); }
.rp-cs-browser__in { display: block; overflow: hidden; background: #fff; border-radius: clamp(8px, 1.15vw, 18px); color: var(--rp-ink); }
.rp-cs-browser__tabs { display: flex; align-items: flex-end; gap: clamp(4px, 0.55vw, 8px); height: clamp(24px, 2.9vw, 44px); padding: 0 clamp(10px, 1.3vw, 20px); background: rgba(16, 16, 16, 0.08); }
.rp-cs-browser__tabs > i { flex: none; align-self: center; width: clamp(6px, 0.75vw, 11px); aspect-ratio: 1; border-radius: 50%; background: var(--rp-purple); }
.rp-cs-browser__tabs > i:nth-child(2) { background: var(--rp-green); }
.rp-cs-browser__tabs > i:nth-child(3) { background: var(--rp-amber); }
.rp-cs-browser__tab { display: flex; align-items: center; gap: clamp(5px, 0.6vw, 9px); width: clamp(84px, 15vw, 230px); height: 78%; margin-left: clamp(8px, 1.3vw, 20px); padding: 0 clamp(8px, 1vw, 15px); background: #fff; border-radius: clamp(6px, 0.8vw, 12px) clamp(6px, 0.8vw, 12px) 0 0; }
.rp-cs-browser__tab b { flex: none; width: clamp(6px, 0.7vw, 10px); aspect-ratio: 1; border-radius: 3px; background: rgba(16, 16, 16, 0.3); }
.rp-cs-browser__tab u { width: 58%; height: clamp(4px, 0.45vw, 7px); border-radius: 99px; background: rgba(16, 16, 16, 0.14); }
.rp-cs-glyph { flex: none; width: clamp(9px, 1.05vw, 16px); height: auto; opacity: 0.8; }
.rp-cs-glyph--plus { align-self: center; margin-left: clamp(4px, 0.5vw, 8px); opacity: 0.4; }
.rp-cs-glyph--forward { opacity: 0.3; }
.rp-cs-browser__bar { display: flex; align-items: center; gap: clamp(8px, 1.2vw, 18px); height: clamp(26px, 3.2vw, 48px); padding: 0 clamp(10px, 1.3vw, 20px); border-bottom: 1px solid rgba(16, 16, 16, 0.1); }
.rp-cs-browser__address { flex: 1; display: flex; align-items: center; gap: clamp(5px, 0.6vw, 9px); height: 62%; padding: 0 clamp(8px, 1vw, 15px); border-radius: 99px; background: rgba(16, 16, 16, 0.07); }
.rp-cs-browser__address b { flex: none; width: clamp(5px, 0.5vw, 8px); aspect-ratio: 1; border-radius: 50%; background: rgba(16, 16, 16, 0.4); }
.rp-cs-browser__address u { width: min(30%, 300px); height: clamp(4px, 0.45vw, 7px); border-radius: 99px; background: rgba(16, 16, 16, 0.16); }
.rp-cs-browser .rp-cs-screen { background: #fff; }

/* Phone frame: a translucent ring, a white body with a speaker bar, the screen with rounded lower corners. */
.rp-cs-phone { display: block; width: clamp(240px, 25vw, 350px); max-width: 100%; padding: clamp(5px, 0.6vw, 8px); background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); border-radius: clamp(36px, 3.6vw, 50px); }
.rp-cs-phone__in { display: block; position: relative; padding: clamp(26px, 2.6vw, 36px) clamp(8px, 0.8vw, 11px) clamp(8px, 0.8vw, 11px); background: #fff; border-radius: clamp(30px, 3vw, 42px); }
.rp-cs-phone__in > i { position: absolute; top: clamp(10px, 1.05vw, 15px); left: 39%; width: 22%; height: 6px; border-radius: 99px; background: rgba(16, 16, 16, 0.18); }
.rp-cs-phone .rp-cs-screen { aspect-ratio: 9 / 18.5; border-radius: clamp(8px, 0.9vw, 12px) clamp(8px, 0.9vw, 12px) clamp(22px, 2.2vw, 31px) clamp(22px, 2.2vw, 31px); box-shadow: 0 0 0 1px rgba(16, 16, 16, 0.14); background: #fff; }

/* Lead */
.rp-cs-lead { padding: calc(76px + clamp(24px, 3.5vw, 52px)) 0 clamp(28px, 4.5vw, 68px); background: var(--cs); }
.rp-cs-lead .rp-cs-screen { aspect-ratio: 2 / 1; }

/* Title and facts */
.rp-cs-title { padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); }
.rp .rp-cs-title .rp-label a { padding: 14px 0; margin: -14px 0; transition: color 0.25s; }
.rp .rp-cs-title .rp-label a:hover { color: var(--au-deep); }
.rp-cs-title__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px clamp(32px, 5vw, 96px); margin-top: clamp(16px, 2vw, 28px); }
.rp .rp-cs-title h1 { flex: 7 1 480px; min-width: 0; max-width: 11em; font: 500 clamp(38px, 5vw, 72px)/1.02 var(--rp-display); letter-spacing: -0.035em; text-wrap: balance; color: var(--rp-ink); }
.rp .rp-cs-title__sum { flex: 4 1 300px; min-width: 0; max-width: 460px; margin-bottom: 6px; font: 400 clamp(16px, 1.25vw, 18px)/1.5 var(--rp-text); text-wrap: pretty; }
.rp-cs-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(140px, (1000px - 100%) * 999, 34%), 1fr)); gap: 1px; padding: 1px; margin-top: clamp(32px, 3.5vw, 52px); background: rgba(16, 16, 16, 0.25); }
.rp-cs-facts div { min-width: 0; padding: clamp(18px, 1.8vw, 26px); background: #fff; }
.rp-cs-facts dt { font: 500 13px/1 var(--rp-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rp-soft); }
.rp .rp-cs-facts dd { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 14px 0 0; font: 500 clamp(16px, 1.25vw, 18px)/1.35 var(--rp-text); text-wrap: pretty; }
.rp .rp-cs-facts dd a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: color 0.25s; }
.rp .rp-cs-facts dd a:hover { color: var(--au-deep); }

/* Pictures */
.rp-cs-pics figure { margin: 0; min-width: 0; }
.rp-cs-pics--pair { padding-bottom: clamp(64px, 8vw, 120px); }
.rp-cs-pics--pair .rp-cs-pics__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(16px, 2.2vw, 32px); }
.rp-cs-pics--pair figure:first-child { flex: 3 1 360px; }
.rp-cs-pics--pair figure:first-child .rp-cs-screen { aspect-ratio: 3 / 2; }
.rp-cs-pics--pair figure:last-child { flex: 2 1 240px; }
.rp-cs-pics--pair figure:last-child .rp-cs-screen { aspect-ratio: 1 / 1; }
.rp-cs-pics--trio { padding-bottom: clamp(72px, 10vw, 144px); }
.rp-cs-pics--trio .rp-cs-pics__grid { display: flex; flex-wrap: wrap; gap: clamp(12px, 1.4vw, 20px); }
.rp-cs-pics--trio figure { flex: 1 1 clamp(160px, (680px - 100vw) * 999, 100%); }
.rp-cs-pics--trio .rp-cs-screen { aspect-ratio: 8 / 11; }
@media (max-width: 679px) {
  .rp-cs-pics--trio .rp-cs-screen { aspect-ratio: 4 / 3; }
}
/* Wide: the frame runs off the bottom of the colour block. */
.rp-cs-pics--wide { overflow: hidden; padding-top: clamp(28px, 5vw, 72px); background: var(--cs); }
.rp-cs-pics--wide figure { margin-bottom: calc(-1 * clamp(14px, 2vw, 30px)); }
.rp-cs-pics--wide .rp-cs-screen { aspect-ratio: 5 / 2; }
.rp-cs-pics--pair .rp-cs-screen, .rp-cs-pics--trio .rp-cs-screen { box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.25); } /* pale screens and drawings need an edge on white */
.rp-cs-pics--pair .rp-cs-screen img, .rp-cs-pics--trio .rp-cs-screen img { inset: 1px; width: calc(100% - 2px); height: calc(100% - 2px); }
.rp-cs-pics--flat { padding-bottom: clamp(28px, 5vw, 72px); }
.rp-cs-pics--flat figure { margin-bottom: 0; }
.rp-cs-pics--wide + .rp-cs-pics--trio, .rp-cs-pics--wide + .rp-cs-pics--pair { padding-top: clamp(16px, 2.2vw, 32px); }

/* Staged media: a window or a row of phones floating whole on a backdrop (the client's colour when the page sets one). */
.rp-page--staged .rp-cs-lead, .rp-cs-pics--stage, .rp-cs-pics--phones { background-color: var(--cs-stage, var(--cs)); background-image: radial-gradient(90% 120% at 12% 0%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 60%), radial-gradient(70% 90% at 100% 100%, rgba(16, 16, 16, 0.22), rgba(16, 16, 16, 0) 65%); overflow: hidden; }
.rp-page--staged .rp-cs-lead { padding-bottom: clamp(40px, 6vw, 96px); }
.rp-cs-pics--stage { padding: clamp(40px, 6vw, 96px) 0; }
.rp-page--staged .rp-cs-lead .rp-cs-browser, .rp-cs-pics--stage .rp-cs-browser { width: min(100%, 1180px, 78vw + 60px); margin: 0 auto; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 clamp(20px, 3.4vw, 54px) clamp(40px, 6vw, 96px) clamp(-28px, -1.6vw, -12px) rgba(16, 16, 16, 0.55); }
.rp-cs-pics--stage .rp-cs-screen { aspect-ratio: 2 / 1; }
.rp-cs-pics--phones { padding: clamp(40px, 5.5vw, 88px) 0 clamp(56px, 8vw, 128px); }
.rp-cs-pics--phones .rp-cs-pics__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.6vw, 44px); max-width: 1180px; margin: 0 auto; }
.rp-cs-pics--phones.rp-cs-pics--n3 .rp-cs-pics__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 880px; }
.rp-cs-pics--phones figure:nth-child(even) { transform: translateY(clamp(20px, 3.6vw, 56px)); }
.rp-cs-pics--phones .rp-cs-phone { width: 100%; background: rgba(255, 255, 255, 0.3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 clamp(16px, 2.4vw, 36px) clamp(28px, 4vw, 60px) clamp(-20px, -1.2vw, -10px) rgba(16, 16, 16, 0.5); border-radius: clamp(22px, 3vw, 44px); }
.rp-cs-pics--phones .rp-cs-phone__in { padding: clamp(16px, 2.2vw, 30px) clamp(5px, 0.7vw, 10px) clamp(5px, 0.7vw, 10px); border-radius: clamp(18px, 2.5vw, 37px); }
.rp-cs-pics--phones .rp-cs-phone__in > i { top: clamp(6px, 0.85vw, 12px); height: clamp(3px, 0.4vw, 6px); }
.rp-cs-pics--phones .rp-cs-phone .rp-cs-screen { border-radius: clamp(5px, 0.7vw, 10px) clamp(5px, 0.7vw, 10px) clamp(14px, 1.9vw, 28px) clamp(14px, 1.9vw, 28px); }
.rp .rp-cs-pics__note { margin-top: clamp(20px, 2.6vw, 36px); text-align: center; font: 500 13px/1.4 var(--rp-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cs-stage-on, #fff); }
.rp-cs-pics--phones .rp-cs-pics__note { margin-top: clamp(44px, 6vw, 92px); }
@media (max-width: 679px) {
  .rp-cs-pics--phones:not(.rp-cs-pics--n3) .rp-cs-pics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; max-width: 420px; }
  .rp-cs-pics--phones:not(.rp-cs-pics--n3) .rp-cs-phone { border-radius: 30px; }
  .rp-cs-pics--phones:not(.rp-cs-pics--n3) .rp-cs-phone__in { padding: 22px 7px 7px; border-radius: 25px; }
  .rp-cs-pics--phones:not(.rp-cs-pics--n3) .rp-cs-phone .rp-cs-screen { border-radius: 7px 7px 19px 19px; }
  .rp-cs-pics--n3 .rp-cs-pics__grid { gap: 10px; }
}

/* Text: The client, The problem */
.rp-cs-text { padding-bottom: clamp(56px, 7vw, 104px); }
.rp-cs-text--large { padding-bottom: clamp(64px, 8vw, 120px); }
.rp-cs-text__row { display: flex; flex-wrap: wrap; gap: 20px 32px; }
.rp .rp-cs-text h2.rp-label { flex: 1 1 200px; min-width: 0; align-self: flex-start; padding-top: 8px; }
.rp .rp-cs-text--large h2.rp-label { padding-top: 12px; }
.rp-cs-text__body { flex: 2.05 1 420px; min-width: 0; }
.rp .rp-cs-text__body p { max-width: 860px; font: 400 clamp(16px, 1.35vw, 19px)/1.55 var(--rp-text); text-wrap: pretty; }
.rp .rp-cs-text__body p + p { margin-top: 1em; }
.rp .rp-cs-text--large .rp-cs-text__body p:first-child { font: 500 clamp(24px, 2.5vw, 36px)/1.15 var(--rp-display); letter-spacing: -0.02em; }
.rp .rp-cs-text--large .rp-cs-text__body p + p { margin-top: clamp(20px, 2vw, 28px); }

/* What we built */
.rp-list.rp-cs-built { padding: clamp(72px, 10vw, 144px) 0; }
.rp .rp-cs-built .rp-label { margin-bottom: 0; }
.rp .rp-cs-built .rp-list__title { max-width: 12em; margin: clamp(20px, 2.2vw, 32px) 0 0; font: 500 clamp(34px, 4.6vw, 66px)/1.02 var(--rp-display); letter-spacing: -0.03em; }
.rp .rp-cs-built__intro { max-width: 720px; margin: clamp(16px, 1.8vw, 24px) 0 clamp(32px, 3.5vw, 48px); font: 400 clamp(16px, 1.25vw, 18px)/1.5 var(--rp-text); text-wrap: pretty; }
.rp-cs-built .rp-rows li { padding: clamp(22px, 2.4vw, 36px) clamp(20px, 2.8vw, 44px); }
.rp-cs-built .rp-rows__mark { background: currentColor; }

/* How it was delivered: on ink, the phone on the left */
.rp-page .rp-cs-how { background: var(--rp-ink); color: #fff; }
.rp-cs-how__row { display: flex; flex-wrap: wrap; align-items: center; gap: 56px clamp(32px, 5vw, 96px); }
.rp-cs-how__media { flex: 5 1 280px; min-width: 0; margin: 0; display: flex; justify-content: flex-start; padding-left: clamp(0px, 3vw, 44px); }
.rp-cs-how__text { flex: 7 1 380px; min-width: 0; }
.rp-cs-how__media > .rp-cs-screen { width: min(100%, 440px); aspect-ratio: 8 / 11; border-radius: clamp(10px, 1.2vw, 16px); background: #fff; } /* a section of a desktop screen, where a phone would not suit the product */
.rp-cs-how .rp-label { margin-bottom: clamp(28px, 3vw, 48px); }
.rp-cs-how li { padding: clamp(24px, 2.4vw, 36px) 0; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.rp-cs-how h3 { font: 500 clamp(24px, 2.2vw, 31px)/1.1 var(--rp-display); letter-spacing: -0.02em; }
.rp .rp-cs-how li p { margin-top: 12px; max-width: 460px; font: 400 clamp(16px, 1.25vw, 18px)/1.5 var(--rp-text); color: #e4e4e4; text-wrap: pretty; }
.rp .rp-cs-how__stack { padding-top: clamp(24px, 2.4vw, 36px); border-top: 1px solid rgba(255, 255, 255, 0.25); font: 400 16px/1.5 var(--rp-text); color: #e4e4e4; }
.rp-cs-how__stack span { margin-right: 10px; font: 500 13px/1 var(--rp-text); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }

/* Result */
.rp-page .rp-cs-result { padding: clamp(72px, 10vw, 144px) 0 clamp(56px, 7vw, 104px); }
.rp .rp-cs-result__line { margin-top: clamp(20px, 2.2vw, 32px); max-width: 14em; font: 500 clamp(34px, 4.4vw, 63px)/1.05 var(--rp-display); letter-spacing: -0.03em; text-wrap: balance; }
.rp .rp-cs-result__more { display: flex; flex-wrap: wrap; gap: clamp(10px, 1.2vw, 16px); margin-top: clamp(32px, 4vw, 64px); }
.rp-cs-result__more li { flex: 1 1 260px; padding: clamp(20px, 2.2vw, 32px); box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.25); font: 400 clamp(16px, 1.25vw, 18px)/1.5 var(--rp-text); }

/* Quote: on ink (not in the Land Bank design; in the homepage testimonial style) */
.rp-page .rp-cs-quote { background: var(--rp-ink); color: #fff; }
.rp-cs-quote figure { margin: 0 auto; }
.rp .rp-cs-quote blockquote { max-width: 1180px; margin: 0; padding: 0; border: 0; font: 400 clamp(24px, 3.1vw, 45px)/1.22 var(--rp-display); letter-spacing: -0.02em; text-wrap: pretty; color: #fff; }
.rp-cs-quote figcaption { margin-top: clamp(24px, 3vw, 40px); font: 500 17px/1.3 var(--rp-text); }

/* More work: two cards side by side */
.rp-page .rp-cs-related { padding: clamp(24px, 3vw, 48px) 0 clamp(72px, 10vw, 144px); }
.rp-page .rp-cs-related .rp-work__head { margin: 0 0 clamp(28px, 3.5vw, 56px); gap: 16px 32px; }
.rp-cs-related__grid { display: flex; flex-wrap: wrap; gap: 48px 32px; }
.rp-cs-related__grid .rp-card { flex: 1 1 320px; }
.rp-cs-related .rp-card__audience { color: var(--au-deep); line-height: 1.4; }
.rp-cs-related .rp-card__title { margin-top: 12px; }

/* ==========================================================================
   Work (ourwork.php): every case study on one page, with an audience filter.
   The grid is dense on purpose, so the amount of work shows at a glance.
   ========================================================================== */
.rp-wk-top { padding: clamp(112px, 10vw, 160px) 0 clamp(32px, 4vw, 56px); }
.rp-wk-top__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px clamp(32px, 5vw, 96px); margin-top: clamp(16px, 2vw, 28px); }
.rp .rp-wk-top h1 { flex: 7 1 480px; min-width: 0; max-width: 10em; font: 500 clamp(40px, 5.4vw, 78px)/1 var(--rp-display); letter-spacing: -0.035em; text-wrap: balance; color: var(--rp-ink); }
.rp .rp-wk-top p:not(.rp-label) { flex: 4 1 300px; min-width: 0; max-width: 460px; margin-bottom: 6px; font: 400 clamp(16px, 1.25vw, 18px)/1.5 var(--rp-text); text-wrap: pretty; }
.rp-wk { padding-bottom: clamp(72px, 10vw, 144px); }

/* Filter: a quiet row of names with a small count; the chosen one is ink with a line in its colour. */
.rp-wk-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 clamp(24px, 3.2vw, 52px); margin: clamp(8px, 1.5vw, 20px) 0 clamp(28px, 3.5vw, 48px); border-bottom: 1px solid var(--rp-rule); }
.rp .rp-wk-filter a {
  position: relative; display: inline-flex; align-items: flex-start; gap: 6px; padding: 14px 0 16px; margin-bottom: -1px;
  color: #6e6e6e; font: 500 clamp(18px, 1.7vw, 24px)/1 var(--rp-display); letter-spacing: -0.015em; white-space: nowrap; transition: color 0.25s;
}
.rp .rp-wk-filter a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--au, var(--rp-ink)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--rp-ease); }
.rp .rp-wk-filter a:hover, .rp .rp-wk-filter a[aria-current] { color: var(--rp-ink); }
.rp .rp-wk-filter a[aria-current]::after { transform: scaleX(1); }
.rp .rp-wk-filter > a:first-child { --au: var(--rp-ink); }

.rp .rp-wk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(32px, 3.5vw, 56px) clamp(16px, 2vw, 32px); }
@media (min-width: 1200px) {
  .rp .rp-wk-grid { grid-template-columns: repeat(4, 1fr); }
}
.rp-wk-grid li { min-width: 0; }
.rp-wk-grid li[hidden] { display: none; }
.rp-wk-grid .rp-card__media { aspect-ratio: 4 / 3; }
.rp-wk-card__text { display: block; }
.rp-wk-grid .rp-card__audience { margin-top: 18px; font-size: 12px; line-height: 1.4; }
.rp-wk-grid .rp-card__title { margin-top: 8px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.15; }
/* Phones: a picture beside the text, so many case studies fit on a screen. */
@media (max-width: 599px) {
  .rp .rp-wk-grid { gap: 0; }
  .rp-wk-grid li { border-top: 1px solid var(--rp-rule); }
  .rp-wk-grid li:last-child { border-bottom: 1px solid var(--rp-rule); }
  .rp-wk-grid .rp-card { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
  .rp-wk-grid .rp-card__media { flex: none; width: 34%; }
  .rp-wk-card__text { flex: 1; min-width: 0; }
  .rp-wk-grid .rp-card__audience { margin-top: 0; font-size: 11px; letter-spacing: 0.1em; }
  .rp-wk-grid .rp-card__title { margin-top: 6px; font-size: 16px; }
}
.rp-wk-empty { padding: clamp(32px, 5vw, 72px) 0; }
.rp-wk-empty[hidden] { display: none; }
.rp .rp-wk-empty p { max-width: 20em; margin-bottom: 16px; font: 500 clamp(24px, 2.6vw, 38px)/1.1 var(--rp-display); letter-spacing: -0.025em; }
.rp.rp-page--work .rp-card__audience { color: var(--rp-soft); }
.rp.rp-page--work .rp-card__audience--purpl { color: var(--rp-purple); }
.rp.rp-page--work .rp-card__audience--gren { color: var(--rp-green-deep); }
.rp.rp-page--work .rp-card__audience--yelow { color: var(--rp-amber-deep); }
@media (min-width: 600px) and (max-width: 1199px) {
  .rp .rp-wk-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
/* Phones: the filter stays on one line and scrolls sideways if it must. */
@media (max-width: 599px) {
  .rp-wk-filter { flex-wrap: nowrap; gap: 0 20px; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--rp-gutter)); padding-right: var(--rp-gutter); }
  .rp-wk-filter::-webkit-scrollbar { display: none; }
  .rp .rp-wk-filter a { font-size: 17px; margin-bottom: 0; }
}
/* The filter stays under the header while the list scrolls. */
.rp-wk-filter { position: sticky; top: var(--rp-header-h, 77px); z-index: 20; background: #fff; }
.admin-bar .rp-wk-filter { top: calc(var(--rp-header-h, 77px) + 32px); }
/* The old theme makes <body> a scroll container (overflow-x: hidden), which stops anything sticking. On this page it clips instead. */
body.page-template-ourwork { overflow-x: clip; overflow-y: visible; }
