/*
Theme Name: RePollinate Impact
Theme URI: https://www.repollinate.org.uk/
Author: RePollinate redesign project
Description: A lightweight, accessible and Hostinger-ready WordPress theme for RePollinate, balancing public mission, community impact and corporate partnership.
Version: 1.47.9
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: repollinate-impact
Tags: accessibility-ready, custom-logo, custom-menu, featured-images, full-width-template, block-styles, wide-blocks
*/

:root {
  --rp-ink: #17332a;
  --rp-green: #12392a;
  --rp-green-2: #1f5b42;
  --rp-green-3: #dbe9df;
  --rp-gold: #f2c34e;
  --rp-gold-soft: #f8e6ad;
  --rp-cream: #f7f4ea;
  --rp-paper: #fffdf7;
  --rp-white: #ffffff;
  --rp-heather: #735d79;
  --rp-muted: #617067;
  --rp-line: rgba(23, 51, 42, 0.16);
  --rp-shadow: 0 24px 70px rgba(18, 57, 42, 0.12);
  --rp-shadow-sm: 0 12px 35px rgba(18, 57, 42, 0.09);
  --rp-radius-sm: 14px;
  --rp-radius: 24px;
  --rp-radius-lg: 38px;
  --rp-content: 760px;
  --rp-wide: 1180px;
  --rp-gutter: clamp(20px, 4vw, 48px);
  --rp-section: clamp(68px, 7.5vw, 112px);
  --rp-font: Inter, Aptos, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --rp-serif: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  color: var(--rp-ink);
  background: var(--rp-cream);
  font-family: var(--rp-font);
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--rp-green-2);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--rp-green);
}

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

::selection {
  color: var(--rp-green);
  background: var(--rp-gold-soft);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.65em;
  color: var(--rp-green);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 { font-size: clamp(2.7rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2.15rem, 4.2vw, 4.1rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 2.15rem); }
h4 { font-size: 1.22rem; }

p {
  margin: 0 0 1.25em;
}

ul,
ol {
  margin: 0 0 1.5em;
  padding-left: 1.25em;
}

blockquote {
  margin: 2rem 0;
}

hr {
  height: 1px;
  border: 0;
  background: var(--rp-line);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 14px 18px;
  clip: auto;
  color: var(--rp-green);
  background: var(--rp-gold);
  border-radius: 8px;
  font-weight: 700;
}

.rp-container,
.site-main > .page-header,
.site-main > .archive-header,
.site-main > .search-header {
  width: min(calc(100% - (2 * var(--rp-gutter))), var(--rp-wide));
  margin-inline: auto;
}

.rp-container--narrow {
  width: min(calc(100% - (2 * var(--rp-gutter))), var(--rp-content));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 253, 247, 0.95);
  border-bottom: 1px solid rgba(23, 51, 42, 0.1);
  backdrop-filter: blur(16px);
}

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

.rp-header__inner {
  display: grid;
  grid-template-columns: minmax(170px, 220px) 1fr auto;
  align-items: center;
  min-height: 86px;
  gap: clamp(18px, 2.5vw, 36px);
}

.site-branding a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-branding img {
  width: min(220px, 34vw);
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}

.site-title {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.primary-navigation {
  justify-self: end;
}

.primary-navigation ul {
  display: flex;
  align-items: center;
  gap: clamp(15px, 1.75vw, 25px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation a {
  position: relative;
  display: block;
  padding: 31px 0 28px;
  color: var(--rp-ink);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-navigation a::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--rp-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-navigation a:hover::after,
.primary-navigation .current-menu-item > a::after,
.primary-navigation .current_page_item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.rp-header__cta {
  white-space: nowrap;
}

.rp-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--rp-green);
  background: transparent;
  border: 1px solid var(--rp-line);
  border-radius: 12px;
  cursor: pointer;
}

.rp-menu-toggle svg { width: 24px; }

/* Buttons */
.rp-button,
.wp-block-button__link,
button.rp-button,
input[type="submit"].rp-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 23px;
  color: var(--rp-white);
  background: var(--rp-green);
  border: 2px solid var(--rp-green);
  border-radius: 999px;
  box-shadow: none;
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border 160ms ease;
}

.rp-button:hover,
.wp-block-button__link:hover,
button.rp-button:hover,
input[type="submit"].rp-button:hover {
  color: var(--rp-green);
  background: var(--rp-gold);
  border-color: var(--rp-gold);
  transform: translateY(-2px);
}

.rp-button--small {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.86rem;
}

.rp-button--light {
  color: var(--rp-green);
  background: var(--rp-gold);
  border-color: var(--rp-gold);
}

.rp-button--light:hover {
  color: var(--rp-green);
  background: var(--rp-white);
  border-color: var(--rp-white);
}

.rp-button--ghost {
  color: var(--rp-green);
  background: transparent;
  border-color: rgba(18, 57, 42, 0.28);
}

.rp-button--ghost:hover {
  color: var(--rp-green);
  background: var(--rp-green-3);
  border-color: var(--rp-green-3);
}

.rp-button--ghost-light {
  color: var(--rp-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.rp-button--ghost-light:hover {
  color: var(--rp-green);
  background: var(--rp-white);
  border-color: var(--rp-white);
}

.rp-arrow {
  font-size: 1.15em;
  line-height: 1;
}

/* Content shell */
.site-main {
  min-height: 55vh;
}

.entry-header,
.page-header,
.archive-header,
.search-header {
  padding: clamp(64px, 8vw, 110px) 0 38px;
}

.entry-header__inner {
  width: min(calc(100% - (2 * var(--rp-gutter))), var(--rp-content));
  margin-inline: auto;
}

.entry-title {
  margin-bottom: 0.28em;
}

.entry-meta {
  color: var(--rp-muted);
  font-size: 0.92rem;
}

.entry-content > :where(*:not(.alignwide):not(.alignfull)),
.entry-footer,
.post-navigation,
.comments-area {
  width: min(calc(100% - (2 * var(--rp-gutter))), var(--rp-content));
  margin-inline: auto;
}

.entry-content > .alignwide {
  width: min(calc(100% - (2 * var(--rp-gutter))), var(--rp-wide));
  margin-inline: auto;
}

.entry-content > .alignfull {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.entry-content::after {
  display: table;
  clear: both;
  content: "";
}

.single .entry-content,
.page:not(.home) .entry-content:not(:has(.rp-section:first-child)) {
  padding-bottom: var(--rp-section);
}

.entry-content figure {
  margin-top: 2.4rem;
  margin-bottom: 2.4rem;
}

.entry-content img {
  border-radius: var(--rp-radius);
}

.wp-caption-text,
figcaption {
  margin-top: 10px;
  color: var(--rp-muted);
  font-size: 0.83rem;
  text-align: left;
}

/* RePollinate composition classes */
.rp-section {
  position: relative;
  overflow: clip;
  padding: var(--rp-section) 0;
}

.rp-section--tight {
  padding: clamp(54px, 7vw, 88px) 0;
}

.rp-section--paper { background: var(--rp-paper); }
.rp-section--cream { background: var(--rp-cream); }
.rp-section--green { color: rgba(255, 255, 255, 0.87); background: var(--rp-green); }
.rp-section--green h1,
.rp-section--green h2,
.rp-section--green h3,
.rp-section--green h4 { color: var(--rp-white); }
.rp-section--gold { background: var(--rp-gold); }
.rp-section--mist { background: var(--rp-green-3); }

.rp-section--botanical::after {
  position: absolute;
  right: -120px;
  bottom: -80px;
  width: min(680px, 55vw);
  aspect-ratio: 16 / 8;
  content: "";
  opacity: 0.12;
  background: url("assets/images/botanical-pattern.webp") right bottom / contain no-repeat;
  pointer-events: none;
}

.rp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--rp-green-2);
  font-size: 0.77rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rp-kicker::before {
  width: 34px;
  height: 3px;
  content: "";
  background: var(--rp-gold);
  border-radius: 999px;
}

.rp-section--green .rp-kicker { color: var(--rp-gold); }

.rp-display {
  max-width: 16ch;
  margin-bottom: 0.4em;
  text-wrap: balance;
}

.rp-lead {
  max-width: 65ch;
  color: var(--rp-muted);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.58;
}

.rp-section--green .rp-lead { color: rgba(255, 255, 255, 0.76); }

.rp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.rp-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: start;
  gap: 42px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.rp-section-heading h2 { margin-bottom: 0; }
.rp-section-heading p { margin-bottom: 3px; color: var(--rp-muted); }
.rp-section--green .rp-section-heading p { color: rgba(255,255,255,.7); }

/* Hero */
.rp-hero {
  position: relative;
  overflow: clip;
  padding: clamp(48px, 5.5vw, 78px) 0 clamp(58px, 6vw, 88px);
  color: var(--rp-ink);
  background:
    radial-gradient(circle at 88% 12%, rgba(242, 195, 78, .2), transparent 24%),
    linear-gradient(135deg, var(--rp-cream) 0%, var(--rp-paper) 72%);
  isolation: isolate;
}

.rp-hero::before {
  position: absolute;
  z-index: -1;
  top: 24px;
  right: -120px;
  width: min(720px, 52vw);
  aspect-ratio: 16 / 8;
  content: "";
  opacity: .08;
  background: url("assets/images/botanical-pattern.webp") right top / contain no-repeat;
  pointer-events: none;
}

.rp-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(430px, 1.06fr);
  align-items: center;
  gap: clamp(46px, 6vw, 84px);
}

.rp-hero__content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.rp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: var(--rp-green-2);
  font-size: .76rem;
  font-weight: 840;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rp-hero__eyebrow > span {
  width: 44px;
  height: 3px;
  background: var(--rp-gold);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(242, 195, 78, .13);
}

.rp-hero__content h1 {
  max-width: 11.3ch;
  margin-bottom: .3em;
  color: var(--rp-green);
  font-size: clamp(3.15rem, 5.25vw, 5.7rem);
  line-height: .96;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.rp-hero__content .rp-lead {
  max-width: 59ch;
  margin-bottom: 0;
  color: var(--rp-muted);
  font-size: clamp(1.08rem, 1.45vw, 1.26rem);
  line-height: 1.62;
}

.rp-button--gold {
  color: var(--rp-green);
  background: var(--rp-gold);
  border-color: var(--rp-gold);
  box-shadow: 0 13px 32px rgba(18, 57, 42, .12);
}

.rp-button--gold:hover {
  color: var(--rp-white);
  background: var(--rp-green);
  border-color: var(--rp-green);
}

.rp-hero__pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 660px;
  margin-top: clamp(34px, 4vw, 52px);
  border-top: 1px solid var(--rp-line);
  border-left: 1px solid var(--rp-line);
}

.rp-hero__pillars > span {
  min-width: 0;
  padding: 18px 19px;
  background: rgba(255, 255, 255, .48);
  border-right: 1px solid var(--rp-line);
  border-bottom: 1px solid var(--rp-line);
}

.rp-hero__pillars strong,
.rp-hero__pillars small {
  display: block;
}

.rp-hero__pillars strong {
  margin-bottom: 2px;
  color: var(--rp-green);
  font-size: .86rem;
  line-height: 1.3;
}

.rp-hero__pillars small {
  color: var(--rp-muted);
  font-size: .72rem;
  line-height: 1.38;
}

.rp-hero__visual {
  position: relative;
  min-width: 0;
  padding: 0 0 28px 28px;
}

.rp-hero__visual::before {
  position: absolute;
  z-index: -1;
  top: 28px;
  right: -22px;
  bottom: 2px;
  left: 0;
  content: "";
  background: var(--rp-gold);
  border-radius: 42px 42px 42px 132px;
}

.rp-hero__image {
  position: relative;
  overflow: hidden;
  border-radius: 38px 38px 38px 132px;
  box-shadow: 0 34px 90px rgba(18, 57, 42, .2);
}

.rp-hero__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 54%, rgba(5, 35, 24, .18));
  pointer-events: none;
}

.rp-hero__image img {
  width: 100%;
  height: clamp(455px, 39vw, 570px);
  object-fit: cover;
  object-position: 50% center;
  border-radius: 0;
}

.rp-hero__image-label {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  width: min(390px, 76%);
  padding: 21px 23px;
  color: rgba(255, 255, 255, .78);
  background: var(--rp-green);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  box-shadow: 0 20px 54px rgba(18, 57, 42, .22);
}

.rp-hero__image-label span,
.rp-hero__image-label strong {
  display: block;
}

.rp-hero__image-label span {
  margin-bottom: 8px;
  color: var(--rp-gold);
  font-size: .68rem;
  font-weight: 840;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rp-hero__image-label strong {
  color: var(--rp-white);
  font-size: clamp(1.08rem, 1.6vw, 1.34rem);
  line-height: 1.35;
  letter-spacing: -.018em;
}

/* Mission-first homepage introduction */
.rp-home-about {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(50px, 8vw, 112px);
}

.rp-home-about__media {
  position: relative;
  padding-bottom: 26px;
}

.rp-home-about .rp-image-frame::after {
  right: auto;
  left: -18px;
  background: var(--rp-green-3);
}

.rp-home-about .rp-founder-note {
  position: absolute;
  z-index: 3;
  right: -18px;
  bottom: 0;
  max-width: 290px;
  margin: 0;
  background: var(--rp-gold);
  box-shadow: var(--rp-shadow-sm);
}

.rp-home-about__copy h2 {
  max-width: 15ch;
}

.rp-home-team-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 16px 18px;
  color: var(--rp-green);
  background: var(--rp-green-3);
  border: 1px solid rgba(23, 51, 42, .1);
  border-radius: 18px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.rp-home-team-link:hover {
  color: var(--rp-green);
  background: #e7f0e9;
  box-shadow: var(--rp-shadow-sm);
  transform: translateY(-2px);
}

.rp-home-team-link__faces {
  display: flex;
  align-items: center;
  padding-left: 8px;
}

.rp-home-team-link__faces img {
  width: 46px;
  height: 46px;
  margin-left: -8px;
  object-fit: cover;
  border: 3px solid var(--rp-paper);
  border-radius: 50%;
}

.rp-home-team-link strong,
.rp-home-team-link small {
  display: block;
}

.rp-home-team-link strong {
  margin-bottom: 2px;
  font-size: .9rem;
}

.rp-home-team-link small {
  color: var(--rp-muted);
  font-size: .75rem;
  line-height: 1.38;
}

.rp-home-team-link__arrow {
  font-size: 1.25rem;
  font-weight: 800;
}

/* Corporate invitation deliberately placed after About, What We Do and Work in Action */
.rp-corporate-home {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(48px, 7vw, 96px);
  padding: clamp(38px, 5vw, 66px);
  overflow: hidden;
  color: rgba(255, 255, 255, .82);
  background: var(--rp-green);
  border-radius: var(--rp-radius-lg);
  box-shadow: var(--rp-shadow);
}

.rp-corporate-home::after {
  position: absolute;
  right: -120px;
  bottom: -80px;
  width: min(620px, 50vw);
  aspect-ratio: 16 / 8;
  content: "";
  opacity: .12;
  background: url("assets/images/botanical-pattern.webp") right bottom / contain no-repeat;
  pointer-events: none;
}

.rp-corporate-home__intro,
.rp-corporate-home__services {
  position: relative;
  z-index: 1;
}

.rp-corporate-home h2,
.rp-corporate-home h3 {
  color: var(--rp-white);
}

.rp-corporate-home h2 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 3.8vw, 3.8rem);
}

.rp-corporate-home .rp-kicker {
  color: var(--rp-gold);
}

.rp-corporate-home .rp-lead {
  color: rgba(255, 255, 255, .74);
}

.rp-corporate-home__services {
  display: grid;
  gap: 13px;
}

.rp-corporate-home__services article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 22px 23px;
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}

.rp-corporate-home__services article > span {
  display: inline-flex;
  width: 39px;
  height: 39px;
  align-items: center;
  justify-content: center;
  color: var(--rp-green);
  background: var(--rp-gold);
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 840;
}

.rp-corporate-home__services h3 {
  margin-bottom: 5px;
  font-size: 1.08rem;
}

.rp-corporate-home__services p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: .83rem;
  line-height: 1.5;
}

/* Charity credential, deliberately placed after mission and delivery evidence */
.rp-charity-panel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(30px, 5vw, 56px);
  overflow: hidden;
  background: linear-gradient(135deg, var(--rp-cream), #eef3ed);
  border: 1px solid rgba(23, 51, 42, .12);
  border-radius: var(--rp-radius-lg);
  box-shadow: var(--rp-shadow-sm);
}

.rp-charity-panel::after {
  position: absolute;
  right: -80px;
  bottom: -60px;
  width: 340px;
  aspect-ratio: 16 / 8;
  content: "";
  opacity: .08;
  background: url("assets/images/botanical-pattern.webp") right bottom / contain no-repeat;
  pointer-events: none;
}

.rp-charity-panel__mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: clamp(78px, 8vw, 104px);
  aspect-ratio: 1;
  place-items: center;
  color: var(--rp-green);
  background: var(--rp-gold);
  border: 9px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(23, 51, 42, .12), 0 16px 34px rgba(18, 57, 42, .12);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 860;
  letter-spacing: -.04em;
}

.rp-charity-panel__copy {
  position: relative;
  z-index: 1;
}

.rp-charity-panel__copy .rp-kicker {
  margin-bottom: 10px;
}

.rp-charity-panel__copy h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.rp-charity-panel__copy p {
  max-width: 690px;
  margin: 0;
  color: var(--rp-muted);
  font-size: .94rem;
}

.rp-charity-panel__actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 14px;
}

.rp-text-link {
  color: var(--rp-green);
  font-size: .85rem;
  font-weight: 780;
  text-decoration: none;
}

.rp-text-link:hover {
  text-decoration: underline;
}

/* Cards */
.rp-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rp-card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rp-card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.rp-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  overflow: hidden;
  color: var(--rp-ink);
  background: var(--rp-white);
  border: 1px solid rgba(23, 51, 42, 0.1);
  border-radius: var(--rp-radius);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.rp-card:hover {
  border-color: rgba(23, 51, 42, 0.2);
  box-shadow: var(--rp-shadow-sm);
  transform: translateY(-5px);
}

.rp-card__number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  color: var(--rp-green);
  background: var(--rp-gold);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 830;
}

.rp-card h3 { margin-bottom: 12px; font-size: clamp(1.35rem, 2vw, 1.78rem); }
.rp-card p { margin-bottom: 24px; color: var(--rp-muted); font-size: 0.94rem; line-height: 1.58; }
.rp-card__link { margin-top: auto; color: var(--rp-green); font-size: 0.88rem; font-weight: 780; text-decoration: none; }
.rp-card__link:hover { text-decoration: underline; }

.rp-route-label {
  display: inline-block;
  margin-bottom: 17px;
  color: var(--rp-green-2);
  font-size: .7rem;
  font-weight: 830;
  letter-spacing: .09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.rp-card--green {
  color: rgba(255,255,255,.82);
  background: var(--rp-green);
  border-color: var(--rp-green);
}
.rp-card--green h3 { color: var(--rp-white); }
.rp-card--green p { color: rgba(255,255,255,.72); }
.rp-card--green .rp-card__link { color: var(--rp-gold); }

.rp-card--gold { background: var(--rp-gold); border-color: var(--rp-gold); }

.rp-feature-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.rp-feature-list li {
  position: relative;
  padding-left: 29px;
}

.rp-feature-list li::before {
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 14px;
  height: 14px;
  content: "";
  background: var(--rp-gold);
  border: 4px solid rgba(242, 195, 78, 0.26);
  border-radius: 50%;
  background-clip: padding-box;
}

/* Split sections and image cards */
.rp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}

.rp-split--top { align-items: start; }
.rp-split--reverse > :first-child { order: 2; }

.rp-image-frame {
  position: relative;
}

.rp-image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--rp-radius-lg);
  box-shadow: var(--rp-shadow);
}

.rp-image-frame--portrait img { aspect-ratio: 4 / 5; }

.rp-image-frame::after {
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 56%;
  height: 48%;
  content: "";
  background: var(--rp-gold);
  border-radius: var(--rp-radius);
}

.rp-media-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: repeat(2, minmax(180px, 1fr));
  gap: 16px;
}

.rp-media-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--rp-radius);
}

.rp-media-grid img:first-child { grid-row: 1 / 3; }

/* Founders and team */
.rp-image-frame--landscape img {
  aspect-ratio: 12 / 7;
}

.rp-founder-note {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 24px;
  padding: 16px 20px;
  color: var(--rp-green);
  background: var(--rp-gold-soft);
  border-radius: var(--rp-radius-sm);
}

.rp-founder-note strong {
  font-size: 1rem;
}

.rp-founder-note span {
  color: var(--rp-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.rp-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rp-team-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: var(--rp-white);
  border: 1px solid rgba(23, 51, 42, 0.11);
  border-radius: var(--rp-radius);
  box-shadow: var(--rp-shadow-sm);
}

.rp-team-card__photo {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--rp-green-3);
}

.rp-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  transition: transform 240ms ease;
}

.rp-team-card:hover .rp-team-card__photo img {
  transform: scale(1.025);
}

.rp-team-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
}

.rp-team-card__role {
  display: block;
  margin-bottom: 9px;
  color: var(--rp-green-2);
  font-size: 0.73rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rp-team-card h3 {
  margin-bottom: 17px;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.rp-team-card p {
  margin-bottom: 16px;
  color: var(--rp-muted);
  font-size: 0.91rem;
  line-height: 1.62;
}

.rp-team-card__contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--rp-green);
  font-size: 0.84rem;
  font-weight: 780;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.rp-team-card__contact::before {
  content: "@";
  color: var(--rp-green-2);
}

.rp-team-card__contact:hover {
  text-decoration: underline;
}

/* Case study / impact */
.rp-case {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: stretch;
  overflow: hidden;
  background: #0d2f22;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--rp-radius-lg);
  box-shadow: 0 30px 90px rgba(0,0,0,.18);
}

.rp-case__media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 0;
}

.rp-case__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 76px);
}

.rp-case__body h2 { max-width: 12ch; }
.rp-case__body p { color: rgba(255,255,255,.72); }


.rp-case--hmp {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.rp-case--hmp .rp-case__body {
  justify-content: flex-start;
  padding-top: clamp(40px, 3.5vw, 48px);
}

.rp-case--hmp .rp-case__body h2 {
  max-width: 17ch;
}

.rp-case__media--duo {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-height: 760px;
}

.rp-case__phase {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.rp-case__phase:last-child {
  border-bottom: 0;
}

.rp-case__media--duo .rp-case__phase img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
}

.rp-case__media--duo .rp-case__phase:first-child img {
  object-position: center 58%;
}


.rp-case__phase figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(13,47,34,.88);
  color: var(--rp-white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.rp-stat-grid.rp-stat-grid--hmp {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0;
}

.rp-stat-grid--hmp .rp-stat {
  padding: 18px;
}

.rp-stat-grid--hmp .rp-stat strong {
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
}

.rp-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0;
}

.rp-stat {
  padding: 22px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
}

.rp-stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--rp-gold);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.rp-stat span { color: rgba(255,255,255,.68); font-size: 0.82rem; line-height: 1.35; }

.rp-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

.rp-metric {
  padding: 30px;
  background: var(--rp-white);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
}

.rp-metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--rp-green);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.rp-metric span { color: var(--rp-muted); font-size: 0.9rem; line-height: 1.45; }
.rp-metric small { display: block; margin-top: 13px; color: var(--rp-muted); font-size: .72rem; }

/* Timeline */
.rp-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 52px;
  counter-reset: rp-step;
}

.rp-step {
  position: relative;
  padding: 66px 24px 0 0;
  counter-increment: rp-step;
}

.rp-step::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  content: counter(rp-step, decimal-leading-zero);
  color: var(--rp-green);
  background: var(--rp-gold);
  border-radius: 50%;
  font-size: 0.74rem;
  font-weight: 850;
}

.rp-step::after {
  position: absolute;
  top: 22px;
  right: 0;
  left: 46px;
  height: 1px;
  content: "";
  background: rgba(255,255,255,.22);
}

.rp-step:last-child::after { display: none; }
.rp-step h3 { margin-bottom: 10px; font-size: 1.1rem; letter-spacing: -0.02em; }
.rp-step p { margin: 0; color: rgba(255,255,255,.67); font-size: 0.85rem; line-height: 1.5; }

/* Quotes */
.rp-quote {
  position: relative;
  max-width: 930px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 78px);
  background: var(--rp-white);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-lg);
  box-shadow: var(--rp-shadow-sm);
}

.rp-quote::before {
  position: absolute;
  top: 18px;
  left: 35px;
  color: var(--rp-gold);
  content: "“";
  font-family: var(--rp-serif);
  font-size: 8rem;
  line-height: 1;
  opacity: 0.9;
}

.rp-quote blockquote {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--rp-green);
  font-family: var(--rp-serif);
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  line-height: 1.42;
}

.rp-quote cite {
  display: block;
  margin-top: 24px;
  color: var(--rp-muted);
  font-family: var(--rp-font);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Compact testimonial cards when quotes are used in the homepage grid. */
.rp-card-grid--3 .rp-quote {
  width: 100%;
  max-width: none;
  min-height: 100%;
  margin: 0;
  padding: 54px 32px 32px;
  border-radius: 24px;
}

.rp-card-grid--3 .rp-quote::before {
  top: 12px;
  left: 26px;
  font-size: 5.4rem;
}

.rp-card-grid--3 .rp-quote blockquote {
  font-size: clamp(1.12rem, 1.55vw, 1.38rem);
  line-height: 1.52;
}

.rp-card-grid--3 .rp-quote cite {
  margin-top: 22px;
  font-size: .72rem;
  line-height: 1.45;
}

/* Chips, governance and tables */
.rp-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.rp-chip-list li {
  padding: 8px 13px;
  color: var(--rp-green);
  background: var(--rp-green-3);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 760;
}

.rp-governance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
}

.rp-governance__item {
  padding: 26px 30px;
  background: var(--rp-white);
  border-right: 1px solid var(--rp-line);
  border-bottom: 1px solid var(--rp-line);
}
.rp-governance__item:nth-child(2n) { border-right: 0; }
.rp-governance__item:nth-last-child(-n+2) { border-bottom: 0; }
.rp-governance__item small { display: block; margin-bottom: 6px; color: var(--rp-muted); font-size: .72rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.rp-governance__item strong { color: var(--rp-green); font-size: 1.05rem; }

.rp-source-note {
  margin-top: 18px;
  color: var(--rp-muted);
  font-size: 0.74rem;
}

/* FAQ */
.rp-faq {
  display: grid;
  gap: 12px;
}

.rp-faq details {
  overflow: hidden;
  background: var(--rp-white);
  border: 1px solid var(--rp-line);
  border-radius: 15px;
}

.rp-faq summary {
  position: relative;
  padding: 21px 58px 21px 24px;
  color: var(--rp-green);
  font-weight: 770;
  cursor: pointer;
  list-style: none;
}

.rp-faq summary::-webkit-details-marker { display: none; }
.rp-faq summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  transform: translateY(-50%);
}
.rp-faq details[open] summary::after { content: "–"; }
.rp-faq details > div { padding: 0 24px 23px; color: var(--rp-muted); }
.rp-faq details p:last-child { margin-bottom: 0; }

/* Contact form */
.rp-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(38px, 7vw, 92px);
}

.rp-contact-panel {
  padding: clamp(28px, 4vw, 46px);
  background: var(--rp-white);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-lg);
  box-shadow: var(--rp-shadow-sm);
}

.rp-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}

.rp-field { display: grid; gap: 8px; }
.rp-field--full { grid-column: 1 / -1; }
.rp-field label { color: var(--rp-green); font-size: 0.82rem; font-weight: 760; }
.rp-field label span { color: var(--rp-muted); font-weight: 500; }

.rp-field input,
.rp-field select,
.rp-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  color: var(--rp-ink);
  background: var(--rp-paper);
  border: 1px solid rgba(23,51,42,.24);
  border-radius: 10px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.rp-field textarea { min-height: 150px; resize: vertical; }
.rp-field input:focus,
.rp-field select:focus,
.rp-field textarea:focus { border-color: var(--rp-green-2); box-shadow: 0 0 0 4px rgba(31,91,66,.12); }

.rp-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--rp-muted);
  font-size: .78rem;
  line-height: 1.45;
}
.rp-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--rp-green); }

.rp-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.rp-turnstile {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.rp-turnstile .cf-turnstile {
  width: 100%;
  max-width: 100%;
}

.rp-notice {
  margin-bottom: 24px;
  padding: 14px 17px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 650;
}
.rp-notice--success { color: #174d35; background: #dff3e7; border: 1px solid #a9d9ba; }
.rp-notice--error { color: #7a2424; background: #fde8e8; border: 1px solid #edb7b7; }

/* Posts */
.rp-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}

.rp-post-card {
  overflow: hidden;
  background: var(--rp-white);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.rp-post-card:hover { box-shadow: var(--rp-shadow-sm); transform: translateY(-4px); }
.rp-post-card__media { display: block; overflow: hidden; }
.rp-post-card__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 0; transition: transform 250ms ease; }
.rp-post-card:hover .rp-post-card__media img { transform: scale(1.025); }
.rp-post-card__body { padding: 24px; }
.rp-post-card__meta { margin-bottom: 9px; color: var(--rp-muted); font-size: .73rem; font-weight: 730; letter-spacing: .06em; text-transform: uppercase; }
.rp-post-card h2, .rp-post-card h3 { margin-bottom: 10px; font-size: 1.35rem; }
.rp-post-card h2 a, .rp-post-card h3 a { color: var(--rp-green); text-decoration: none; }
.rp-post-card p { margin-bottom: 18px; color: var(--rp-muted); font-size: .88rem; line-height: 1.55; }

.rp-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
  width: min(calc(100% - (2 * var(--rp-gutter))), var(--rp-wide));
  margin: 0 auto var(--rp-section);
}

.pagination,
.posts-navigation,
.post-navigation {
  margin-top: 44px;
  margin-bottom: 72px;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* CTA band */
.rp-cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 36px;
  padding: clamp(34px, 5vw, 62px);
  overflow: hidden;
  color: rgba(255,255,255,.78);
  background: var(--rp-green);
  border-radius: var(--rp-radius-lg);
  box-shadow: var(--rp-shadow);
}

.rp-cta-band::after {
  position: absolute;
  right: -30px;
  bottom: -80px;
  width: 380px;
  height: 230px;
  content: "";
  opacity: .11;
  background: url("assets/images/botanical-pattern.webp") right bottom/contain no-repeat;
}
.rp-cta-band h2 { position: relative; z-index: 1; max-width: 15ch; margin: 0 0 8px; color: var(--rp-white); font-size: clamp(2rem, 4vw, 3.5rem); }
.rp-cta-band p { position: relative; z-index: 1; max-width: 60ch; margin: 0; }
.rp-cta-band .rp-actions { position: relative; z-index: 2; margin: 0; }

/* Footer */
.site-footer {
  color: rgba(255,255,255,.7);
  background: #0b281d;
}

.rp-footer__main {
  display: grid;
  grid-template-columns: 1.45fr .7fr .7fr 1fr;
  gap: clamp(34px, 6vw, 82px);
  padding: clamp(72px, 9vw, 115px) 0 58px;
}

.rp-footer__brand img {
  width: min(240px, 80%);
  margin-bottom: 24px;
}

.rp-footer__brand p { max-width: 42ch; font-size: .9rem; }
.rp-footer__heading { margin-bottom: 19px; color: var(--rp-white); font-size: .78rem; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; }
.rp-footer__menu { margin: 0; padding: 0; list-style: none; }
.rp-footer__menu li { margin-bottom: 10px; }
.rp-footer__menu a { color: rgba(255,255,255,.73); font-size: .88rem; text-decoration: none; }
.rp-footer__menu a:hover { color: var(--rp-gold); }
.rp-footer__contact a { color: var(--rp-white); }

.rp-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255,255,255,.11);
  font-size: .75rem;
}

.rp-footer__bottom-links { display: flex; flex-wrap: wrap; gap: 18px; }
.rp-footer__bottom a { color: rgba(255,255,255,.72); text-decoration: none; }

/* 404 and empty states */
.rp-empty {
  width: min(calc(100% - (2 * var(--rp-gutter))), var(--rp-content));
  margin: 0 auto;
  padding: var(--rp-section) 0;
  text-align: center;
}


/* Homepage v1.3 layout refinements */
.rp-hero__visual {
  margin: 0;
}

.rp-home-about__points {
  display: grid;
  margin-top: 30px;
  border-top: 1px solid var(--rp-line);
}

.rp-home-about__points > div {
  display: grid;
  grid-template-columns: minmax(125px, .42fr) minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rp-line);
}

.rp-home-about__points strong,
.rp-home-about__points span {
  display: block;
}

.rp-home-about__points strong {
  color: var(--rp-green);
  font-size: .88rem;
}

.rp-home-about__points span {
  color: var(--rp-muted);
  font-size: .82rem;
  line-height: 1.48;
}

.rp-corporate-home__note {
  max-width: 58ch;
  margin: 24px 0 0;
  padding: 15px 17px;
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  font-size: .82rem;
  line-height: 1.5;
}

.rp-corporate-home .rp-actions {
  position: relative;
  z-index: 2;
}


/* Homepage support pathways */
.rp-section--why {
  padding: clamp(58px, 6vw, 86px) 0;
  background:
    linear-gradient(135deg, rgba(219, 233, 223, .84), rgba(247, 244, 234, .96)),
    var(--rp-green-3);
  border-top: 1px solid rgba(18, 57, 42, .08);
  border-bottom: 1px solid rgba(18, 57, 42, .08);
}

.rp-why {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(38px, 6vw, 78px);
}

.rp-why__intro {
  padding-top: 6px;
}

.rp-why__intro .rp-display {
  max-width: 13.5ch;
}

.rp-why__intro .rp-lead {
  max-width: 54ch;
  margin-bottom: 24px;
  font-size: clamp(1.03rem, 1.3vw, 1.18rem);
}

.rp-why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.rp-why__grid article {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: clamp(22px, 2.5vw, 29px);
  background: rgba(255, 253, 247, .88);
  border: 1px solid rgba(18, 57, 42, .12);
  border-radius: 20px;
  box-shadow: 0 14px 38px rgba(18, 57, 42, .06);
}

.rp-why__grid article > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--rp-green);
  background: var(--rp-gold);
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 860;
  letter-spacing: .04em;
}

.rp-why__grid h3 {
  margin: 2px 0 7px;
  color: var(--rp-green);
  font-size: 1.04rem;
  line-height: 1.24;
}

.rp-why__grid p {
  margin: 0;
  color: var(--rp-muted);
  font-size: .86rem;
  line-height: 1.55;
}

.rp-section--support {
  position: relative;
  padding: clamp(58px, 6vw, 88px) 0;
  overflow: clip;
  color: rgba(255, 255, 255, .82);
  background:
    radial-gradient(circle at 90% 10%, rgba(242, 195, 78, .19), transparent 28%),
    var(--rp-green);
}

.rp-section--support::after {
  position: absolute;
  right: -80px;
  bottom: -72px;
  width: min(620px, 54vw);
  aspect-ratio: 16 / 8;
  content: "";
  opacity: .08;
  background: url("assets/images/botanical-pattern.webp") right bottom / contain no-repeat;
  pointer-events: none;
}

.rp-support {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: center;
  gap: clamp(38px, 7vw, 92px);
}

.rp-support .rp-kicker {
  color: var(--rp-gold);
}

.rp-support__copy h2 {
  max-width: 17ch;
  margin: 0 0 16px;
  color: var(--rp-white);
  font-size: clamp(2.25rem, 4.4vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -.047em;
  text-wrap: balance;
}

.rp-support__copy p {
  max-width: 66ch;
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-size: clamp(1.02rem, 1.4vw, 1.17rem);
  line-height: 1.62;
}

.rp-support__actions {
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  backdrop-filter: blur(8px);
}

.rp-support__actions .rp-actions {
  margin-top: 0;
}

.rp-support__note {
  margin: 18px 2px 0;
  color: rgba(255, 255, 255, .58);
  font-size: .76rem;
  line-height: 1.48;
}

/* Responsive */
@media (max-width: 1220px) {
  .rp-header__inner { grid-template-columns: minmax(160px, 220px) auto auto; }
  .rp-menu-toggle { display: inline-flex; justify-self: end; }
  .primary-navigation {
    position: absolute;
    top: 100%;
    right: var(--rp-gutter);
    left: var(--rp-gutter);
    display: none;
    padding: 14px;
    background: var(--rp-paper);
    border: 1px solid var(--rp-line);
    border-radius: 16px;
    box-shadow: var(--rp-shadow-sm);
  }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { display: grid; gap: 0; }
  .primary-navigation a { padding: 13px 12px; border-radius: 9px; }
  .primary-navigation a:hover { background: var(--rp-green-3); }
  .primary-navigation a::after { display: none; }
  .rp-header__cta { justify-self: end; }
  .rp-hero__layout { grid-template-columns: minmax(0, .94fr) minmax(390px, 1.06fr); gap: 44px; }
  .rp-hero__content h1 { font-size: clamp(3.15rem, 5.9vw, 5.35rem); }
  .rp-home-about { gap: 58px; }
  .rp-corporate-home { gap: 48px; }
  .rp-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rp-metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rp-timeline { grid-template-columns: repeat(3, 1fr); gap: 32px 0; }
  .rp-step:nth-child(3)::after { display: none; }
  .rp-footer__main { grid-template-columns: 1.25fr repeat(2,.7fr); }
  .rp-footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  .rp-header__inner { min-height: 74px; grid-template-columns: 1fr auto; }
  .rp-header__cta { display: none; }
  .site-branding img { max-height: 45px; }
  .rp-hero { padding: 48px 0 66px; }
  .rp-hero__layout { grid-template-columns: 1fr; gap: 40px; }
  .rp-hero__content h1 { max-width: 11.8ch; font-size: clamp(3.15rem, 10.5vw, 5.2rem); }
  .rp-hero__visual { width: min(100%, 660px); padding-left: 26px; }
  .rp-hero__image img { height: clamp(390px, 72vw, 520px); }
  .rp-home-about, .rp-corporate-home { grid-template-columns: 1fr; }
  .rp-why, .rp-support { grid-template-columns: 1fr; }
  .rp-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-support__actions { max-width: 620px; }
  .rp-home-about__media { width: min(100%, 660px); }
  .rp-home-about__copy { order: -1; }
  .rp-home-about .rp-founder-note { right: 10px; }
  .rp-corporate-home { padding: 42px; }
  .rp-charity-panel { grid-template-columns: auto minmax(0, 1fr); }
  .rp-charity-panel__actions { grid-column: 1 / -1; align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .rp-section-heading { grid-template-columns: 1fr; gap: 18px; }
  .rp-split, .rp-case, .rp-contact-grid { grid-template-columns: 1fr; }
  .rp-split--reverse > :first-child { order: initial; }
  .rp-case__media img { min-height: 380px; max-height: 500px; }
  .rp-case__media--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 300px; min-height: 0; }
  .rp-case__media--duo .rp-case__phase { border-right: 1px solid rgba(255,255,255,.12); border-bottom: 0; }
  .rp-case__media--duo .rp-case__phase:last-child { border-right: 0; }
  .rp-case__media--duo .rp-case__phase img { min-height: 0; max-height: none; }
  .rp-timeline { grid-template-columns: repeat(2,1fr); }
  .rp-step:nth-child(3)::after { display: block; }
  .rp-step:nth-child(2n)::after { display: none; }
  .rp-card-grid--3, .rp-team-grid, .rp-post-grid, .rp-archive-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rp-cta-band { grid-template-columns: 1fr; }
  .rp-footer__main { grid-template-columns: repeat(2, 1fr); }
  .rp-footer__brand { grid-column: 1 / -1; }
  .rp-footer__bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --rp-gutter: 18px; }
  body { font-size: 16px; }
  .rp-actions { align-items: stretch; flex-direction: column; }
  .rp-actions .rp-button { width: 100%; }
  .rp-hero { padding: 40px 0 54px; }
  .rp-hero__eyebrow { align-items: flex-start; font-size: .66rem; letter-spacing: .09em; line-height: 1.45; }
  .rp-hero__eyebrow > span { width: 28px; margin-top: .5em; }
  .rp-hero__content h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .rp-hero__pillars { grid-template-columns: 1fr; }
  .rp-hero__visual { padding: 0 0 24px 18px; }
  .rp-hero__visual::before { top: 18px; right: -12px; border-radius: 28px 28px 28px 76px; }
  .rp-hero__image { border-radius: 28px 28px 28px 76px; }
  .rp-hero__image img { height: 350px; object-position: 57% center; }
  .rp-hero__image-label { width: calc(100% - 30px); padding: 20px; border-radius: 18px; }
  .rp-home-about .rp-founder-note { position: relative; right: auto; bottom: auto; max-width: none; margin: -8px 14px 0; }
  .rp-home-team-link { grid-template-columns: 1fr auto; }
  .rp-home-team-link__faces { grid-column: 1 / -1; }
  .rp-corporate-home { padding: 28px; border-radius: 26px; }
  .rp-corporate-home__services article { grid-template-columns: 1fr; }
  .rp-corporate-home__services article > span { width: 36px; height: 36px; }
  .rp-charity-panel { grid-template-columns: 1fr; padding: 27px; }
  .rp-charity-panel__mark { width: 76px; }
  .rp-charity-panel__actions { grid-column: auto; align-items: stretch; flex-direction: column; }
  .rp-charity-panel__actions .rp-button { width: 100%; }
  .rp-why__grid { grid-template-columns: 1fr; }
  .rp-why__grid article { padding: 22px; }
  .rp-support__actions { padding: 22px; }
  .rp-card-grid, .rp-card-grid--2, .rp-card-grid--3, .rp-team-grid,
  .rp-metric-grid, .rp-stat-grid, .rp-governance, .rp-post-grid, .rp-archive-grid,
  .rp-form, .rp-footer__main { grid-template-columns: 1fr; }
  .rp-governance__item { border-right: 0; border-bottom: 1px solid var(--rp-line) !important; }
  .rp-governance__item:last-child { border-bottom: 0 !important; }
  .rp-timeline { grid-template-columns: 1fr; }
  .rp-step::after { display: none !important; }
  .rp-step { padding-right: 0; }
  .rp-case__media img { min-height: 300px; }
  .rp-case__media--duo { grid-template-columns: 1fr; grid-template-rows: repeat(2, 240px); }
  .rp-case__media--duo .rp-case__phase { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .rp-case__media--duo .rp-case__phase:last-child { border-bottom: 0; }
  .rp-case__media--duo .rp-case__phase img { min-height: 0; }
  .rp-stat-grid.rp-stat-grid--hmp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-media-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .rp-media-grid img:first-child { grid-row: auto; }
  .rp-media-grid img { aspect-ratio: 4/3; }
  .rp-footer__brand, .rp-footer__contact { grid-column: auto; }
}


/* Utility refinements */
.search-form {
  display: flex;
  align-items: stretch;
  gap: 10px;
  max-width: 620px;
  margin-top: 28px;
}

.search-form label { flex: 1; }
.search-field {
  width: 100%;
  min-height: 48px;
  padding: 11px 16px;
  color: var(--rp-ink);
  background: var(--rp-white);
  border: 1px solid var(--rp-line);
  border-radius: 999px;
}

.navigation.pagination,
.post-navigation {
  margin-top: 44px;
  margin-bottom: var(--rp-section);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  color: var(--rp-green);
  background: var(--rp-white);
  border: 1px solid var(--rp-line);
  border-radius: 999px;
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
  color: var(--rp-white);
  background: var(--rp-green);
  border-color: var(--rp-green);
}

.rp-card > img:first-child {
  width: calc(100% + (2 * clamp(26px, 3vw, 38px)));
  max-width: none;
  height: 220px;
  margin: calc(-1 * clamp(26px, 3vw, 38px)) calc(-1 * clamp(26px, 3vw, 38px)) 30px;
  object-fit: cover;
  border-radius: var(--rp-radius) var(--rp-radius) 0 0;
}

@media (max-width: 560px) {
  .search-form { flex-direction: column; }
  .search-form .rp-button { width: 100%; }
}


@media (max-width: 560px) {
  .rp-home-about__points > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .rp-corporate-home__note {
    margin-top: 20px;
  }

  .rp-card-grid--3 .rp-quote {
    padding: 50px 26px 28px;
  }
}

/* v1.3 homepage alignment and anchored-section fixes */
.rp-section[id] {
  scroll-margin-top: 112px;
}

.rp-home-about {
  align-items: start;
}

.rp-home-about__media {
  margin-top: 52px;
}

.rp-home-about .rp-image-frame--landscape img {
  aspect-ratio: 4 / 3;
}

@media (max-width: 782px) {
  .rp-section[id] {
    scroll-margin-top: 92px;
  }

  .rp-home-about__media {
    margin-top: 0;
  }
}

/* v1.8 client feedback refinements */
.home #how-we-work .rp-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home #how-we-work .rp-card {
  color: rgba(255,255,255,.82);
  background: var(--rp-green);
  border-color: var(--rp-green);
}

.home #how-we-work .rp-card h3 { color: var(--rp-white); }
.home #how-we-work .rp-card p { color: rgba(255,255,255,.74); }
.home #how-we-work .rp-card .rp-card__link { color: var(--rp-gold); }

@media (max-width: 960px) {
  .home #how-we-work .rp-card-grid { grid-template-columns: 1fr; }
}

.rp-why__grid,
.rp-why__grid--stacked {
  grid-template-columns: 1fr;
}

/* v1.8 homepage flow and evidence alignment refinements */
.home #why-it-matters,
.home #why-it-matters * {
  font-family: var(--rp-font) !important;
}

.home #why-it-matters .rp-why {
  align-items: start;
}

.home #why-it-matters .rp-why__grid article {
  display: block;
  min-width: 0;
  padding: clamp(24px, 2.7vw, 32px);
}

.home #why-it-matters .rp-why__grid article > span:not(.rp-evidence-source) {
  display: none;
}

.home #why-it-matters .rp-why__grid article > div {
  display: block;
  min-width: 0;
}

.home #why-it-matters .rp-why__grid h3,
.home #why-it-matters .rp-why__grid p,
.home #why-it-matters .rp-why__grid em,
.home #why-it-matters .rp-why__grid cite,
.home #why-it-matters .rp-evidence-source {
  max-width: none;
  font-style: normal !important;
  text-align: left;
  overflow-wrap: anywhere;
}

.home #why-it-matters .rp-why__grid h3 {
  margin: 0 0 9px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.home #why-it-matters .rp-why__grid p {
  margin: 0;
  color: var(--rp-ink);
  font-size: .94rem;
  line-height: 1.62;
}

.home #why-it-matters .rp-why__grid em,
.home #why-it-matters .rp-why__grid cite,
.home #why-it-matters .rp-evidence-source {
  display: block;
  width: 100%;
  margin: 12px 0 0;
  color: var(--rp-muted);
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.45;
}

.home #get-involved .rp-card {
  min-height: 100%;
}

.home .rp-card-grid--2 .rp-quote {
  min-height: 0;
}

@media (max-width: 782px) {
  .home #why-it-matters .rp-why__grid article {
    padding: 23px;
  }
}

.home #why-it-matters .rp-evidence-source {
  height: auto;
  min-height: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  place-items: initial;
  letter-spacing: normal;
  text-transform: none;
}


/* v1.9 About page opening refinement */
.page:not(.home) .entry-content > .rp-about-opening:first-child {
  margin-top: 0;
  padding-top: clamp(42px, 5vw, 72px);
}

.page:not(.home) .entry-content > p:empty:first-child,
.page:not(.home) .entry-content > p:first-child:has(> br:only-child) {
  display: none;
}

.rp-about-opening__title {
  max-width: 13ch;
  font-size: clamp(2.45rem, 4.7vw, 4.6rem);
}


/* v1.11 Why This Matters card visual consistency */
.home #why-it-matters .rp-why__grid article {
  background: var(--rp-green);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--rp-white);
  border-radius: var(--rp-radius);
  box-shadow: var(--rp-shadow-sm);
}

.home #why-it-matters .rp-why__grid article,
.home #why-it-matters .rp-why__grid article * {
  font-family: var(--rp-font) !important;
}

.home #why-it-matters .rp-why__grid h3,
.home #why-it-matters .rp-why__grid p {
  color: var(--rp-white);
}

.home #why-it-matters .rp-why__grid em,
.home #why-it-matters .rp-why__grid cite,
.home #why-it-matters .rp-evidence-source {
  color: rgba(255,255,255,0.82);
  font-style: normal !important;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}


/* v1.12 - presentation-only homepage changes. No WordPress post content is modified. */
.home #why-it-matters .rp-why__grid article {
  background: var(--rp-green) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  color: var(--rp-white) !important;
  font-family: var(--rp-font) !important;
  font-size: 1rem !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.58 !important;
}

.home #why-it-matters .rp-why__grid article,
.home #why-it-matters .rp-why__grid article * {
  font-family: var(--rp-font) !important;
  font-style: normal !important;
  letter-spacing: normal !important;
}

.home #why-it-matters .rp-why__grid article > div,
.home #why-it-matters .rp-why__grid article p,
.home #why-it-matters .rp-why__grid article h3 {
  color: var(--rp-white) !important;
  font-family: var(--rp-font) !important;
}

.home #why-it-matters .rp-why__grid article p,
.home #why-it-matters .rp-why__grid article > div {
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.58 !important;
}

.home #why-it-matters .rp-why__grid article .rp-evidence-source,
.home #why-it-matters .rp-why__grid article cite,
.home #why-it-matters .rp-why__grid article em {
  display: block !important;
  width: 100% !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  color: rgba(255,255,255,0.82) !important;
  background: transparent !important;
  font-family: var(--rp-font) !important;
  font-size: .82rem !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  text-transform: none !important;
  box-shadow: none !important;
}

/* Client-requested homepage removals. Hidden visually only; saved page copy remains intact. */
.home #get-involved {
  display: none !important;
}

@supports selector(section:has(.rp-charity-panel)) {
  .home section:has(.rp-charity-panel) {
    display: none !important;
  }
}


/* v1.13 exact former-site team biography presentation */
.rp-team-card__body blockquote {
  margin: 18px 0;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--rp-green-2);
}
.rp-team-card__body blockquote p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: var(--rp-muted);
}
.rp-team-card__body .rp-team-card__contact-line {
  margin-top: 18px;
}


/* v1.20 homepage Ways We Work feature */
.rp-section--ways-work {
  background: var(--rp-cream);
}

.rp-workways__heading {
  margin-bottom: clamp(34px, 4.5vw, 54px);
}

.rp-workways__heading h2 {
  max-width: 18ch;
  margin: 0;
  color: var(--rp-green);
  font-size: clamp(2.35rem, 4.6vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.rp-workways-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
}

.rp-workways-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  color: var(--rp-ink);
  background: var(--rp-white);
  border: 1px solid rgba(23, 51, 42, 0.09);
  border-radius: var(--rp-radius);
  box-shadow: 0 1px 0 rgba(255,255,255,.72) inset;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.rp-workways-card:hover {
  border-color: rgba(23, 51, 42, 0.18);
  box-shadow: var(--rp-shadow-sm);
  transform: translateY(-5px);
}

.rp-workways-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--rp-green-3);
}

.rp-workways-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  border-radius: 0;
  transition: transform 300ms ease;
}

.rp-workways-card:hover .rp-workways-card__image img {
  transform: scale(1.025);
}

.rp-workways-card:first-child .rp-workways-card__image img {
  object-position: 50% 48%;
}

.rp-workways-card__body {
  display: flex;
  min-height: clamp(245px, 20vw, 300px);
  flex: 1;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
}

.rp-workways-card__number {
  display: inline-flex;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(34px, 4vw, 54px);
  color: var(--rp-green);
  background: var(--rp-gold);
  border-radius: 50%;
  font-size: .82rem;
  font-weight: 830;
}

.rp-workways-card h3 {
  max-width: 16ch;
  margin: 0 0 30px;
  color: var(--rp-green);
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.rp-workways-card__link {
  margin-top: auto;
  color: var(--rp-green);
  font-size: .9rem;
  font-weight: 780;
  text-decoration: none;
}

.rp-workways-card__link:hover {
  text-decoration: underline;
}

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

  .rp-workways-card {
    display: grid;
    grid-template-columns: minmax(220px, .85fr) minmax(0, 1.15fr);
  }

  .rp-workways-card__image {
    height: 100%;
    min-height: 320px;
    aspect-ratio: auto;
  }

  .rp-workways-card__body {
    min-height: 320px;
  }
}

@media (max-width: 620px) {
  .rp-workways-card {
    display: flex;
  }

  .rp-workways-card__image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .rp-workways-card__body {
    min-height: 250px;
  }
}

/* v1.21 corporate-first homepage workflow and Ways We Work refinements */
.rp-section--ways-work {
  background: var(--rp-cream);
}

.rp-section--ways-work .rp-workways__heading {
  margin-bottom: clamp(34px, 5vw, 58px);
}

.rp-section--ways-work .rp-workways__heading h2 {
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4.2vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.rp-section--ways-work .rp-workways__heading > p {
  max-width: 46ch;
  margin-top: 4px;
  font-size: clamp(.98rem, 1.2vw, 1.08rem);
  line-height: 1.62;
}

.rp-workways-grid {
  align-items: stretch;
}

.rp-workways-card {
  height: 100%;
  min-height: 0;
}

.rp-workways-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 0;
  flex: 0 0 auto;
}

.rp-workways-card__image img {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

.rp-workways-card:first-child .rp-workways-card__image img {
  object-position: 50% 48%;
}

.rp-workways-card:nth-child(2) .rp-workways-card__image img {
  object-position: 50% 50%;
}

.rp-workways-card:nth-child(3) .rp-workways-card__image img {
  object-position: 50% 52%;
}

.rp-workways-card__body {
  min-height: 350px;
  padding: clamp(26px, 2.7vw, 34px);
}

.rp-workways-card__number {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
}

.rp-workways-card h3 {
  min-height: 2.2em;
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2vw, 1.95rem);
  line-height: 1.06;
}

.rp-workways-card__body p {
  margin: 0 0 24px;
  color: #334f46;
  font-size: clamp(.94rem, 1vw, .99rem);
  line-height: 1.58;
}

.rp-workways-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}

.rp-workways__route-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(30px, 4vw, 42px);
  padding-top: 28px;
  color: var(--rp-muted);
  border-top: 1px solid var(--rp-line);
}

.rp-workways__route-cta strong {
  color: var(--rp-green);
  font-size: 1.02rem;
}

.rp-workways__route-cta a {
  color: var(--rp-green);
  font-weight: 800;
  text-decoration: none;
}

.rp-workways__route-cta a:hover {
  text-decoration: underline;
}

/* Make hash-linked corporate routes land below the sticky header. */
#sponsor-community-project,
#improve-land-you-manage,
#commission-bespoke-project,
#partner-form {
  scroll-margin-top: 118px;
}

@media (max-width: 960px) {
  .rp-workways-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rp-workways-card {
    display: flex;
  }

  .rp-workways-card__image {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .rp-workways-card__body {
    min-height: 0;
  }
}

@media (max-width: 782px) {
  .rp-header__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
  }

  .rp-header__cta {
    display: inline-flex;
    justify-self: end;
    min-height: 40px;
    padding: 8px 14px;
    font-size: .8rem;
  }

  .rp-section--ways-work .rp-workways__heading {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
  }

  .rp-section--ways-work .rp-workways__heading h2 {
    max-width: 12ch;
  }

  .rp-workways-card__body {
    padding: 24px;
  }

  .rp-workways-card__number {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
  }

  .rp-workways-card h3 {
    min-height: 0;
    margin-bottom: 13px;
    font-size: 1.7rem;
  }

  .rp-workways__route-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 30px;
    padding-top: 24px;
  }
}

@media (max-width: 560px) {
  .site-branding img {
    width: min(150px, 42vw);
    max-height: 40px;
  }

  .rp-header__inner {
    min-height: 72px;
    gap: 8px;
  }

  .rp-header__cta {
    min-height: 38px;
    padding: 7px 12px;
    font-size: .76rem;
  }

  .rp-menu-toggle {
    width: 40px;
    height: 40px;
  }

  .rp-section--ways-work {
    padding-top: 54px;
    padding-bottom: 64px;
  }

  .rp-workways-grid {
    gap: 20px;
  }
}

@media (max-width: 390px) {
  .site-branding img {
    width: min(132px, 38vw);
  }

  .rp-header__cta {
    padding-inline: 10px;
  }
}

/* v1.23 Corporate Partnerships conversion-page refinement */
.rp-corporate-hero-v123__layout {
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(42px, 6vw, 82px);
}

.rp-corporate-hero-v123 .rp-display {
  max-width: 13.5ch;
  font-size: clamp(2.8rem, 5.1vw, 5rem);
}

.rp-corporate-hero-v123__image {
  min-height: 440px;
}

.rp-corporate-hero-v123__image img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.rp-corporate-section-heading h2 {
  max-width: 15ch;
}

.rp-corporate-workways-grid .rp-workways-card__body {
  min-height: 390px;
}

.rp-corporate-workways-grid .rp-workways-card h3 {
  margin-bottom: 10px;
}

.rp-corporate-card-label {
  display: block;
  margin: 0 0 16px;
  color: var(--rp-green);
  font-size: .87rem;
  line-height: 1.35;
}

.rp-corporate-route-help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: clamp(30px, 4vw, 44px);
  padding: 20px 24px;
  color: var(--rp-muted);
  background: rgba(255,255,255,.48);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-sm);
}

.rp-corporate-route-help strong,
.rp-corporate-route-help a {
  color: var(--rp-green);
}

.rp-corporate-route-help a {
  font-weight: 800;
  text-decoration: none;
}

.rp-corporate-route-help a:hover {
  text-decoration: underline;
}

.rp-corporate-trust {
  padding-top: clamp(54px, 6vw, 82px);
  padding-bottom: clamp(54px, 6vw, 82px);
}

.rp-corporate-trust__layout {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.rp-corporate-trust__intro h2 {
  max-width: 13ch;
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.rp-corporate-trust__intro p {
  max-width: 43ch;
  margin-bottom: 0;
  color: var(--rp-muted);
}

.rp-corporate-partner-marks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rp-partner-mark {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: var(--rp-green);
  background: var(--rp-cream);
  border: 1px solid rgba(23,51,42,.1);
  border-radius: 18px;
  text-align: center;
}

.rp-partner-mark--official {
  overflow: hidden;
  background: #fff;
}

.rp-partner-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 70px;
  object-fit: contain;
}

.rp-partner-logo--hp {
  max-width: 78px;
  max-height: 78px;
}

.rp-partner-logo--intel {
  max-width: 128px;
  max-height: 52px;
}

.rp-partner-logo--nature {
  max-width: 154px;
  max-height: 78px;
}

.rp-partner-logo--community {
  max-width: 174px;
  max-height: 72px;
}

.rp-partner-mark--hp .rp-partner-mark__hp {
  display: inline-flex;
  width: 66px;
  height: 66px;
  align-items: center;
  justify-content: center;
  border: 3px solid currentColor;
  border-radius: 50%;
  font-size: 1.75rem;
  font-weight: 820;
  font-style: italic;
  letter-spacing: -.12em;
  text-transform: lowercase;
}

.rp-partner-mark--intel > span:first-child {
  font-size: clamp(1.7rem, 2.4vw, 2.45rem);
  font-weight: 750;
  letter-spacing: -.06em;
  text-transform: lowercase;
}

.rp-partner-mark--nature {
  flex-direction: column;
  gap: 5px;
  font-size: 1.35rem;
  font-weight: 760;
  line-height: 1.05;
}

.rp-partner-mark__leaf {
  color: var(--rp-green-2);
  font-size: 1.7rem;
  line-height: 1;
  transform: rotate(45deg);
}

.rp-partner-mark--community {
  flex-direction: column;
  gap: 2px;
  line-height: 1.08;
}

.rp-partner-mark--community small {
  color: var(--rp-muted);
  font-size: .66rem;
  font-weight: 760;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rp-partner-mark--community strong {
  color: var(--rp-green);
  font-size: 1.08rem;
}


.rp-corporate-proof__heading h2 {
  max-width: 16ch;
}

.rp-corporate-proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
}

.rp-corporate-proof__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  overflow: hidden;
}

.rp-corporate-proof__media--single {
  grid-template-columns: 1fr;
}

.rp-corporate-proof__media--single img {
  object-position: center 48%;
}

.rp-corporate-proof__media figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
}

.rp-corporate-proof__media img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.rp-corporate-proof__media figure:first-child img {
  object-position: center 58%;
}

.rp-corporate-proof__media figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 11px;
  color: var(--rp-white);
  background: rgba(13,47,34,.88);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.rp-corporate-proof__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rp-corporate-proof__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rp-corporate-proof__stats > div {
  min-height: 126px;
  padding: 20px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
}

.rp-corporate-proof__stats strong {
  display: block;
  margin-bottom: 7px;
  color: var(--rp-gold);
  font-size: clamp(1.6rem, 2.2vw, 2.25rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.rp-corporate-proof__stats span {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  line-height: 1.38;
}

.rp-corporate-proof__note {
  margin: 22px 0 18px;
  color: rgba(255,255,255,.68);
  font-size: .76rem;
  line-height: 1.5;
}

.rp-corporate-final-cta .rp-kicker {
  color: var(--rp-green);
}

.rp-corporate-final-cta .rp-lead {
  color: rgba(23,51,42,.78);
}

.rp-corporate-final-cta__actions {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}

.rp-corporate-final-cta__actions .rp-text-link {
  font-size: .9rem;
}

@media (max-width: 1080px) {
  .rp-corporate-partner-marks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rp-corporate-proof__grid {
    grid-template-columns: 1fr;
  }

  .rp-corporate-proof__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .rp-corporate-hero-v123__layout,
  .rp-corporate-trust__layout {
    grid-template-columns: 1fr;
  }

  .rp-corporate-hero-v123__image,
  .rp-corporate-hero-v123__image img {
    min-height: 360px;
  }

  .rp-corporate-workways-grid .rp-workways-card__body {
    min-height: 0;
  }
}

@media (max-width: 782px) {
  .rp-corporate-route-help {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .rp-corporate-proof__media {
    grid-template-columns: 1fr 1fr;
  }

  .rp-corporate-proof__media img {
    min-height: 320px;
  }

  .rp-corporate-proof__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .rp-corporate-hero-v123 .rp-display {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .rp-corporate-hero-v123__image,
  .rp-corporate-hero-v123__image img {
    min-height: 280px;
  }

  .rp-corporate-partner-marks {
    grid-template-columns: 1fr 1fr;
  }

  .rp-partner-mark {
    min-height: 98px;
    padding: 14px;
  }

  .rp-partner-logo--hp {
    max-width: 64px;
    max-height: 64px;
  }

  .rp-partner-logo--intel {
    max-width: 108px;
    max-height: 44px;
  }

  .rp-partner-logo--nature {
    max-width: 128px;
    max-height: 66px;
  }

  .rp-partner-logo--community {
    max-width: 142px;
    max-height: 60px;
  }

  .rp-corporate-proof__media {
    grid-template-columns: 1fr;
  }

  .rp-corporate-proof__media img {
    min-height: 260px;
    aspect-ratio: 4 / 3;
  }

  .rp-corporate-proof__stats {
    grid-template-columns: 1fr 1fr;
  }

  .rp-corporate-proof__stats > div {
    min-height: 112px;
    padding: 16px;
  }
}


/* v1.30: official partner logos inside the client-authored delivery section */
.rp-corporate-partner-marks--delivery { margin: 28px 0 34px; }

/* v1.31 - client-approved September 2026 mock-up additions. */
.rp-hero__image-label.rp-hero__image-label--quote {
  width: min(430px, 82%);
  padding: 18px 22px;
}

.rp-hero__image-label--quote strong {
  font-family: var(--rp-serif);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.42;
}

.rp-hero__image-label--quote small {
  display: block;
  margin-top: 9px;
  color: rgba(255,255,255,.68);
  font-size: .72rem;
  line-height: 1.35;
}

.rp-case-study-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rp-case-study-gallery--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rp-case-study-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: var(--rp-white);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  box-shadow: var(--rp-shadow-sm);
}

.rp-case-study-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.rp-case-study-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.rp-case-study-card__body h3 {
  margin-bottom: 10px;
}

.rp-case-study-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 18px;
}

.rp-case-study-card__meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--rp-green-3);
  font-size: .72rem;
  font-weight: 760;
}

.rp-case-study-card__body .rp-card__link {
  margin-top: auto;
}

.rp-case-study-card--placeholder {
  border: 2px dashed rgba(23,51,42,.2);
  box-shadow: none;
  background: rgba(255,255,255,.42);
}

.rp-case-study-feature {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  gap: clamp(40px,6vw,80px);
  align-items: center;
}

.rp-case-study-feature--reverse {
  grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
}

.rp-case-study-feature__copy {
  min-width: 0;
}

.rp-case-study-feature__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.rp-case-study-feature__media figure {
  margin: 0;
}

.rp-case-study-feature__media img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: var(--rp-radius);
}

.rp-case-study-feature__media figure:first-child:nth-last-child(3) {
  grid-column: span 2;
}

.rp-case-study-feature__media figcaption {
  padding: 7px 4px 0;
  color: var(--rp-muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rp-brief-placeholder {
  min-height: 78px;
  padding: 26px 28px;
  border: 2px dashed rgba(23,51,42,.24);
  border-radius: var(--rp-radius);
  background: rgba(242,195,78,.12);
}

.rp-brief-placeholder strong {
  display: block;
  margin-bottom: 6px;
  color: var(--rp-green);
}

.rp-brief-placeholder p {
  margin: 0;
  color: var(--rp-muted);
}

.rp-local-authority-case {
  display: grid;
  grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  gap: 46px;
  align-items: start;
}

.rp-local-authority-case .rp-image-frame img {
  height: 420px;
  object-fit: cover;
}

.rp-local-authority-case__details {
  display: grid;
  gap: 24px;
}

.rp-local-authority-case__details .rp-metric-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.rp-template-placeholder {
  padding: 34px;
  border: 2px dashed rgba(23,51,42,.18);
  border-radius: var(--rp-radius-lg);
  background: rgba(255,255,255,.55);
}

.rp-template-placeholder h3 {
  margin-bottom: 8px;
}

.rp-template-placeholder .rp-placeholder-line {
  height: 12px;
  margin: 12px 0;
  border-radius: 999px;
  background: rgba(23,51,42,.09);
}

.rp-template-placeholder .rp-placeholder-line:nth-child(3) { width: 88%; }
.rp-template-placeholder .rp-placeholder-line:nth-child(4) { width: 68%; }

.rp-image-placeholder {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 28px;
  text-align: center;
  background: #e8ece8;
  border: 2px dashed rgba(23,51,42,.26);
  color: var(--rp-ink);
  font-weight: 800;
  letter-spacing: .01em;
}

.rp-image-placeholder small {
  display: block;
  margin-top: 7px;
  color: var(--rp-muted);
  font-weight: 600;
  letter-spacing: 0;
}

.rp-workways-card__image .rp-image-placeholder {
  height: 100%;
  min-height: 255px;
  border: 0;
  border-radius: 0;
}

.rp-card > .rp-image-placeholder {
  width: 100%;
  min-height: 220px;
  border-width: 0 0 2px;
  border-radius: 0;
}

.rp-corporate-routes .rp-workways-card__image img {
  height: 255px;
  object-fit: cover;
}

.rp-corporate-hero-v123__image img {
  object-position: center;
}

.rp-faq details[open] summary {
  margin-bottom: 10px;
}

@media (max-width: 1100px) {
  .rp-case-study-gallery--four {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 900px) {
  .rp-case-study-gallery,
  .rp-case-study-feature,
  .rp-case-study-feature--reverse,
  .rp-local-authority-case {
    grid-template-columns: 1fr;
  }

  .rp-case-study-feature__media img {
    height: 240px;
  }
}

@media (max-width: 700px) {
  .rp-case-study-gallery--four {
    grid-template-columns: 1fr;
  }
}

/* Keep the approved mock-up card actions aligned consistently. */
.rp-card__link { display: inline-flex; }


/* --------------------------------------------------------------------------
   v1.33 client amendments - supplied RePollinate palette and case-study UI
   Palette: Heather Grey #69636E, Sage #819585, Maize #E7C446,
            Cornflower #335A95, Foxglove #EEC1CA.
   -------------------------------------------------------------------------- */
:root {
  --rp-heather: #69636E;
  --rp-sage: #819585;
  --rp-maize: #E7C446;
  --rp-cornflower: #335A95;
  --rp-foxglove: #EEC1CA;
  --rp-gold: #E7C446;
  --rp-gold-soft: #F7EBC0;
  --rp-muted: #69636E;
  --rp-line: rgba(105, 99, 110, .18);
}

a { color: var(--rp-cornflower); }
.rp-kicker { color: var(--rp-cornflower); }
.rp-kicker::before { background: var(--rp-maize); }
.rp-section--mist { background: #EEF2EF; }
.rp-section--gold { background: var(--rp-maize); }
.rp-quote::before { color: var(--rp-maize); }
.rp-button:not(.rp-button--light):not(.rp-button--ghost):not(.rp-button--ghost-light):not(.rp-button--gold) {
  color: #fff;
  background: var(--rp-cornflower);
  border-color: var(--rp-cornflower);
}
.rp-button:not(.rp-button--light):not(.rp-button--ghost):not(.rp-button--ghost-light):not(.rp-button--gold):hover {
  color: #fff;
  background: var(--rp-heather);
  border-color: var(--rp-heather);
}
.rp-button--gold { color: #2d2b28; background: var(--rp-maize); border-color: var(--rp-maize); }
.rp-button--gold:hover { color: #fff; background: var(--rp-cornflower); border-color: var(--rp-cornflower); }

.rp-workways__intro {
  max-width: 52ch;
  margin: 18px 0 0;
  color: var(--rp-muted);
  font-size: clamp(1rem, 1.2vw, 1.14rem);
}
.rp-section--ways-work .rp-workways__heading > div { max-width: 820px; }
.rp-section--ways-work .rp-workways__heading { grid-template-columns: 1fr; }

.rp-founder-figure { margin: 0; }
.rp-founder-figure figcaption,
.rp-captioned-image figcaption {
  margin-top: 10px;
  color: var(--rp-heather);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.rp-captioned-image { margin: 0; }

.rp-brief-placeholder--readable {
  color: #37343a;
  background: rgba(255,255,255,.96);
  border-color: var(--rp-maize);
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
}
.rp-brief-placeholder--readable strong,
.rp-brief-placeholder--readable p { color: #37343a; }
.rp-stninians-quote-layout { align-items: center; }
.rp-quote--stninians { max-width: none; margin: 0; }

.rp-local-authority-intro {
  max-width: 780px;
  margin-top: 24px;
  font-family: var(--rp-font);
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  font-weight: 500;
  line-height: 1.58;
  white-space: normal;
}
.rp-local-authority-heading h2 { max-width: 22ch; }
.rp-local-authority-heading > p { max-width: 55ch; }
.rp-local-authority-metrics { margin: 38px 0; }
.rp-quote--case-study { margin-top: 44px; }

.rp-case-study-feature__media--four {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin: 0 0 38px;
}
.rp-case-study-feature__media--four figure,
.rp-case-study-feature__media--stack figure,
.rp-mini-gallery figure { margin: 0; }
.rp-case-study-feature__media--four img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--rp-radius);
}
.rp-case-study-feature__media--stack {
  display: grid;
  gap: 14px;
}
.rp-case-study-feature__media--stack img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--rp-radius);
}
.rp-case-study-feature__media--stack figure:last-child img { object-fit: contain; background: #fff; }

.rp-falkirk-sites { display: grid; gap: 28px; }
.rp-falkirk-site {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-lg);
  box-shadow: var(--rp-shadow-sm);
}
.rp-falkirk-site__copy { padding: 30px 32px 20px; }
.rp-falkirk-site__copy h3 { margin-bottom: 8px; }
.rp-falkirk-site__copy p { max-width: 68ch; margin: 0; color: var(--rp-muted); }
.rp-mini-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2px; }
.rp-mini-gallery img { width: 100%; height: 250px; object-fit: cover; border-radius: 0; }
.rp-mini-gallery figcaption { padding: 8px 12px 12px; margin: 0; font-size: .7rem; font-weight: 800; text-transform: uppercase; }

.rp-partner-groups { display: grid; gap: 28px; margin-bottom: 42px; }
.rp-partner-group__label {
  margin-bottom: 12px;
  color: var(--rp-heather);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.rp-corporate-partner-marks--brandset { grid-template-columns: repeat(5,minmax(0,1fr)); }
.rp-corporate-partner-marks--brandset .rp-partner-mark { min-height: 108px; padding: 14px; }
.rp-corporate-partner-marks--brandset .rp-partner-logo { max-width: 100%; max-height: 72px; }

@media (max-width: 980px) {
  .rp-corporate-partner-marks--brandset { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .rp-case-study-feature__media--four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .rp-corporate-partner-marks--brandset { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rp-case-study-feature__media--four,
  .rp-mini-gallery { grid-template-columns: 1fr; }
  .rp-case-study-feature__media--four img,
  .rp-mini-gallery img { height: 260px; }
}
.rp-brechin-feature-list { margin-bottom: 34px; }


/* --------------------------------------------------------------------------
   v1.34 client review corrections - Clackmannanshire, Bee Beds and imagery
   -------------------------------------------------------------------------- */
.rp-brechin-lead-photo { margin: 30px 0 36px; }
.rp-brechin-lead-photo .rp-image-frame img { width:100%; height: clamp(320px, 48vw, 560px); object-fit: cover; object-position:center; }
.rp-case-study-feature__media--three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:0 0 38px; }
.rp-case-study-feature__media--three figure { margin:0; }
.rp-case-study-feature__media--three img { width:100%; height:300px; object-fit:cover; border-radius:var(--rp-radius); }
.rp-case-study-feature__media--three figcaption { padding:7px 4px 0; color:var(--rp-muted); font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.rp-clacks-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); margin: 26px 0 34px; }
.rp-clacks-gallery { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:0 0 36px; }
.rp-clacks-gallery figure { margin:0; overflow:hidden; background:#fff; border:1px solid var(--rp-line); border-radius:var(--rp-radius); }
.rp-clacks-gallery img { width:100%; height:220px; object-fit:cover; display:block; }
.rp-clacks-gallery figcaption { padding:9px 11px 11px; color:var(--rp-heather); font-size:.68rem; font-weight:800; line-height:1.25; text-transform:none; }
.rp-clacks-copy { columns:2; column-gap:42px; margin-top:12px; }
.rp-clacks-copy p { break-inside:avoid; }
.rp-bee-case-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.rp-bee-case-card { overflow:hidden; background:#fff; border:1px solid var(--rp-line); border-radius:var(--rp-radius-lg); box-shadow:var(--rp-shadow-sm); }
.rp-bee-case-card__media { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; }
.rp-bee-case-card__media img { width:100%; height:210px; object-fit:cover; display:block; }
.rp-bee-case-card__body { padding:26px 28px 30px; }
.rp-bee-case-card__body h3 { margin-bottom:10px; }
.rp-bee-case-card__body p { margin-bottom:0; color:var(--rp-muted); }
.rp-tricky-feature { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); gap:42px; align-items:start; margin-top:38px; padding:34px; background:#fff; border:1px solid var(--rp-line); border-radius:var(--rp-radius-lg); box-shadow:var(--rp-shadow-sm); }
.rp-tricky-feature__copy h3 { font-size:clamp(1.7rem,3vw,2.5rem); margin:8px 0 18px; }
.rp-tricky-feature__copy p:last-child { margin-bottom:0; }
@media (max-width:980px){ .rp-clacks-gallery{grid-template-columns:repeat(2,minmax(0,1fr));} .rp-tricky-feature{grid-template-columns:1fr;} }
@media (max-width:760px){ .rp-bee-case-grid,.rp-case-study-feature__media--three{grid-template-columns:1fr;} .rp-clacks-copy{columns:1;} .rp-clacks-gallery{grid-template-columns:1fr 1fr;} }
@media (max-width:520px){ .rp-clacks-gallery{grid-template-columns:1fr;} .rp-bee-case-card__media{grid-template-columns:1fr;} }


/* --------------------------------------------------------------------------
   v1.35 client review refinements
   -------------------------------------------------------------------------- */
.rp-brechin-gallery--with-quote {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:0 0 24px;
}
.rp-brechin-gallery--with-quote figure { margin:0; }
.rp-brechin-gallery--with-quote .rp-brechin-gallery__wide { grid-column:span 2; }
.rp-brechin-gallery--with-quote img { width:100%; height:300px; object-fit:cover; border-radius:var(--rp-radius); }
.rp-brechin-gallery--with-quote figcaption { padding:7px 4px 0; color:var(--rp-muted); font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.rp-brechin-gallery--with-quote .rp-brechin-gallery__quote {
  grid-column:2 / span 2;
  margin:0;
  min-height:300px;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:30px 34px;
}
.rp-brechin-gallery--with-quote .rp-brechin-gallery__quote blockquote { margin-bottom:18px; }

.rp-clacks-story .rp-clacks-metrics { margin-bottom:42px; }
.rp-clacks-story-row {
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:46px;
  align-items:center;
  padding:42px;
  margin:0 0 30px;
  background:#fff;
  border:1px solid var(--rp-line);
  border-radius:var(--rp-radius-lg);
  box-shadow:var(--rp-shadow-sm);
}
.rp-clacks-story-row--reverse .rp-clacks-story-copy { order:2; }
.rp-clacks-story-row--reverse .rp-clacks-story-media { order:1; }
.rp-clacks-story-row--green { background:var(--rp-green); border-color:transparent; }
.rp-clacks-story-row--green .rp-clacks-story-copy,
.rp-clacks-story-row--green .rp-clacks-story-copy h3,
.rp-clacks-story-row--green .rp-clacks-story-copy p { color:#fff; }
.rp-clacks-story-row--green .rp-kicker { color:var(--rp-maize); }
.rp-clacks-story-copy h3 { font-size:clamp(1.8rem,3vw,2.7rem); line-height:1.04; margin:8px 0 18px; }
.rp-clacks-story-copy p:last-child { margin-bottom:0; }
.rp-clacks-story-media { display:grid; gap:12px; }
.rp-clacks-story-media--three { grid-template-columns:repeat(2,minmax(0,1fr)); }
.rp-clacks-story-media--three .rp-clacks-story-media__wide { grid-column:span 2; }
.rp-clacks-story-media--two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.rp-clacks-story-media figure { margin:0; }
.rp-clacks-story-media img { width:100%; height:235px; object-fit:cover; display:block; border-radius:var(--rp-radius); }
.rp-clacks-story-media__wide img { height:270px; }
.rp-clacks-story-media figcaption { padding:7px 4px 0; color:var(--rp-muted); font-size:.68rem; font-weight:800; letter-spacing:.04em; }
.rp-clacks-story-row--green .rp-clacks-story-media figcaption { color:rgba(255,255,255,.78); }
.rp-clacks-testimonial { margin:36px auto 0; max-width:980px; }

.rp-bee-cases--location-led .rp-bee-case-grid { margin-top:0; }
.rp-bee-cases--location-led .rp-bee-case-card__body h3 { font-size:clamp(1.45rem,2.3vw,2.1rem); line-height:1.05; }
.rp-bee-cases--location-led .rp-bee-case-card__body .rp-kicker { color:var(--rp-cornflower); }

.rp-tricky-case-list { display:grid; gap:34px; }
.rp-tricky-case {
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:42px;
  align-items:start;
  padding:38px;
  background:#fff;
  border:1px solid var(--rp-line);
  border-radius:var(--rp-radius-lg);
  box-shadow:var(--rp-shadow-sm);
}
.rp-tricky-case--reverse .rp-tricky-case__copy { order:2; }
.rp-tricky-case--reverse .rp-tricky-case__media { order:1; }
.rp-tricky-case--green { background:var(--rp-green); border-color:transparent; }
.rp-tricky-case--green .rp-tricky-case__copy,
.rp-tricky-case--green .rp-tricky-case__copy h3,
.rp-tricky-case--green .rp-tricky-case__copy p { color:#fff; }
.rp-tricky-case--green .rp-route-label { color:var(--rp-maize); }
.rp-tricky-case__copy h3 { font-size:clamp(1.85rem,3vw,2.7rem); line-height:1.03; margin:9px 0 18px; }
.rp-tricky-case__copy p:last-child { margin-bottom:0; }
.rp-tricky-case__media { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.rp-tricky-case__media figure { margin:0; }
.rp-tricky-case__media figure:first-child:nth-last-child(3),
.rp-tricky-case__media figure:first-child:nth-last-child(2) { grid-column:span 2; }
.rp-tricky-case__media img { width:100%; height:245px; object-fit:cover; display:block; border-radius:var(--rp-radius); }
.rp-tricky-case__media figure:first-child:nth-last-child(3) img,
.rp-tricky-case__media figure:first-child:nth-last-child(2) img { height:310px; }
.rp-tricky-case__media .rp-tricky-media__contain img { object-fit:contain; background:#fff; }
.rp-tricky-case__media figcaption { padding:7px 4px 0; color:var(--rp-muted); font-size:.68rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.rp-tricky-case--green .rp-tricky-case__media figcaption { color:rgba(255,255,255,.78); }

@media (max-width:980px){
  .rp-clacks-story-row,.rp-tricky-case { grid-template-columns:1fr; }
  .rp-clacks-story-row--reverse .rp-clacks-story-copy,.rp-clacks-story-row--reverse .rp-clacks-story-media,
  .rp-tricky-case--reverse .rp-tricky-case__copy,.rp-tricky-case--reverse .rp-tricky-case__media { order:initial; }
}
@media (max-width:760px){
  .rp-brechin-gallery--with-quote { grid-template-columns:1fr; }
  .rp-brechin-gallery--with-quote .rp-brechin-gallery__wide,
  .rp-brechin-gallery--with-quote .rp-brechin-gallery__quote { grid-column:auto; }
  .rp-clacks-story-row,.rp-tricky-case { padding:26px; }
  .rp-clacks-story-media--three,.rp-clacks-story-media--two,.rp-tricky-case__media { grid-template-columns:1fr; }
  .rp-clacks-story-media--three .rp-clacks-story-media__wide,
  .rp-tricky-case__media figure:first-child:nth-last-child(3),
  .rp-tricky-case__media figure:first-child:nth-last-child(2) { grid-column:auto; }
}

/* --------------------------------------------------------------------------
   v1.37 clean live-baseline presentation - 24 September 2026
   Built from the current theme + current database export.
   Sage is used for large colour surfaces; dark ink is retained for readable
   text. No stored WordPress page content is rewritten by this release.
   -------------------------------------------------------------------------- */
:root {
  --rp-sage-surface: #819585;
  --rp-sage-ink: #0B281D;
  --rp-sage-soft: #E6ECE8;
  --rp-heather: #69636E;
  --rp-maize: #E7C446;
  --rp-cornflower: #335A95;
  --rp-foxglove: #EEC1CA;
}

/* Sage replaces the old dark-green backgrounds, not dark text on pale pages. */
.rp-section--green,
.rp-corporate-home,
.rp-card--green,
.rp-cta-band,
.rp-clacks-story-row--green,
.rp-tricky-case--green,
.rp-hero__image-label,
.site-footer {
  background: var(--rp-sage-surface) !important;
  border-color: var(--rp-sage-surface) !important;
  color: var(--rp-sage-ink) !important;
}
.rp-section--green :is(h1,h2,h3,h4,p,li,strong,a,.rp-lead,.rp-kicker),
.rp-corporate-home :is(h1,h2,h3,h4,p,li,strong,a,.rp-kicker),
.rp-card--green :is(h1,h2,h3,h4,p,li,strong,a,.rp-kicker),
.rp-cta-band :is(h1,h2,h3,h4,p,li,strong,a,.rp-kicker),
.rp-clacks-story-row--green :is(h1,h2,h3,h4,p,li,strong,a,.rp-kicker),
.rp-tricky-case--green :is(h1,h2,h3,h4,p,li,strong,a,.rp-route-label),
.rp-hero__image-label *,
.site-footer :is(h1,h2,h3,h4,p,li,strong,a) {
  color: var(--rp-sage-ink) !important;
}
.rp-section--green .rp-kicker::before,
.rp-clacks-story-row--green .rp-kicker::before { background: var(--rp-maize) !important; }

/* Keep high-contrast palette buttons rather than sage-on-sage controls. */
.rp-button:not(.rp-button--light):not(.rp-button--ghost):not(.rp-button--ghost-light):not(.rp-button--gold),
.wp-block-button__link,
button.rp-button,
input[type="submit"].rp-button {
  color: #fff !important;
  background: var(--rp-cornflower) !important;
  border-color: var(--rp-cornflower) !important;
}
.rp-button:not(.rp-button--light):not(.rp-button--ghost):not(.rp-button--ghost-light):not(.rp-button--gold):hover,
.wp-block-button__link:hover,
button.rp-button:hover,
input[type="submit"].rp-button:hover {
  color: #fff !important;
  background: var(--rp-heather) !important;
  border-color: var(--rp-heather) !important;
}
.rp-button--gold { color: var(--rp-sage-ink) !important; background: var(--rp-maize) !important; border-color: var(--rp-maize) !important; }
.rp-button--gold:hover { color: #fff !important; background: var(--rp-cornflower) !important; border-color: var(--rp-cornflower) !important; }

/* Beds for Bees: one clean, predictable card layout. */
#beds-for-bees-case-studies .rp-bee-v137-heading {
  display: block;
  margin: 0 0 34px;
}
#beds-for-bees-case-studies .rp-bee-v137-heading h2 { margin: 0; }
#beds-for-bees-case-studies .rp-bee-case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}
#beds-for-bees-case-studies .rp-bee-case-card {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, .94fr);
  grid-template-areas: "location location" "media copy";
  gap: 22px 34px;
  align-items: start;
  padding: 34px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-lg);
  box-shadow: var(--rp-shadow-sm);
}
#beds-for-bees-case-studies .rp-bee-case-card:nth-child(even) {
  grid-template-columns: minmax(300px, .94fr) minmax(0, 1.06fr);
  grid-template-areas: "location location" "copy media";
  background: rgba(129,149,133,.10);
}
#beds-for-bees-case-studies .rp-bee-case-location-v137 {
  grid-area: location;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--rp-maize);
}
#beds-for-bees-case-studies .rp-bee-case-location-v137 h3 {
  margin: 0;
  color: var(--rp-green);
  font-size: clamp(1.75rem, 2.7vw, 2.5rem);
  line-height: 1.08;
}
#beds-for-bees-case-studies .rp-bee-case-card__media {
  grid-area: media;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  min-width: 0;
}
#beds-for-bees-case-studies .rp-bee-case-card__media:empty { display: none; }
#beds-for-bees-case-studies .rp-bee-case-card__media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--rp-radius);
}
#beds-for-bees-case-studies .rp-bee-case-card__body {
  grid-area: copy;
  display: block !important;
  min-width: 0;
  align-self: center;
  color: var(--rp-ink);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.7;
}
#beds-for-bees-case-studies .rp-bee-case-card__body > * { position: static !important; transform: none !important; }

/* Larger projects: guarantee the HMP image and consistent cards. */
#biodiversity-case-studies .rp-case-study-gallery { align-items: stretch; }
#biodiversity-case-studies .rp-case-study-card > img,
#hmp-yoi-stirling > .rp-hmp-card-image-v137 {
  display: block !important;
  width: 100% !important;
  height: 220px !important;
  min-height: 220px !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
}

/* Design for tricky spaces: no forced min-heights, no spanning surprises. */
#design-for-tricky-spaces .rp-tricky-case {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: start;
  padding: 32px;
}
#design-for-tricky-spaces .rp-tricky-case--reverse .rp-tricky-case__copy { order: 2; }
#design-for-tricky-spaces .rp-tricky-case--reverse .rp-tricky-case__media { order: 1; }
#design-for-tricky-spaces .rp-tricky-case__copy { min-width: 0; }
#design-for-tricky-spaces .rp-tricky-case__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  align-content: start;
  min-width: 0;
}
#design-for-tricky-spaces .rp-tricky-case__media figure { margin: 0; grid-column: auto !important; }
#design-for-tricky-spaces .rp-tricky-case__media img {
  display: block;
  width: 100%;
  height: 235px;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover;
  border-radius: var(--rp-radius);
}
/* Dundee: two photos above one full-width design graphic. */
#design-for-tricky-spaces .rp-tricky-case:first-child .rp-tricky-case__media figure:nth-child(3) { grid-column: 1 / -1 !important; }
#design-for-tricky-spaces .rp-tricky-case:first-child .rp-tricky-media__contain img {
  height: auto !important;
  max-height: 330px !important;
  object-fit: contain !important;
  padding: 8px;
  background: #fff;
}
/* Tillicoultry: photo and design graphic sit side by side, balanced. */
#design-for-tricky-spaces .rp-tricky-case:last-child .rp-tricky-case__media { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
#design-for-tricky-spaces .rp-tricky-case:last-child .rp-tricky-case__media img { height: 315px; }
#design-for-tricky-spaces .rp-tricky-case:last-child .rp-tricky-media__contain img {
  height: 315px !important;
  object-fit: contain !important;
  padding: 8px;
  background: #fff;
}

/* Local Authority: balanced Brechin before/after and community layout. */
#brechin-edzell .rp-local-authority-heading {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 36px;
  align-items: center;
}
.rp-brechin-before-after-v137 {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px;
  margin: 0 0 34px;
}
.rp-brechin-before-after-v137 figure { margin: 0; }
.rp-brechin-before-after-v137 .rp-image-frame {
  display: flex;
  min-height: 430px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #f1eee5;
}
.rp-brechin-before-after-v137 img {
  width: 100%;
  height: 410px;
  object-fit: contain !important;
}
.rp-brechin-before-after-v137 figcaption,
.rp-clacks-story-media figcaption {
  padding: 8px 4px 0;
  color: var(--rp-heather);
  font-size: .75rem;
  font-weight: 800;
}
.rp-brechin-original .rp-container {
  display: grid;
  grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr);
  gap: 26px 42px;
  align-items: start;
}
.rp-brechin-original .rp-section-heading { grid-column: 1; display: block; margin: 0; }
.rp-brechin-original .rp-brechin-gallery { grid-column: 2; grid-row: 1 / span 2; margin: 0; }

/* Falkirk testimonial + intentionally blank future testimonial. */
.rp-falkirk-testimonials-v137 { margin-top: 40px; }
.rp-falkirk-testimonials-v137__grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
}
.rp-falkirk-testimonials-v137 .rp-quote { margin: 0; }
.rp-quote--blank-v137 {
  min-height: 250px;
  background: rgba(238,193,202,.12);
  border: 2px dashed rgba(105,99,110,.45);
  box-shadow: none;
}

@media (max-width: 980px) {
  #beds-for-bees-case-studies .rp-bee-case-card,
  #beds-for-bees-case-studies .rp-bee-case-card:nth-child(even),
  #design-for-tricky-spaces .rp-tricky-case,
  .rp-brechin-original .rp-container {
    grid-template-columns: 1fr;
  }
  #beds-for-bees-case-studies .rp-bee-case-card,
  #beds-for-bees-case-studies .rp-bee-case-card:nth-child(even) { grid-template-areas: "location" "media" "copy"; }
  #design-for-tricky-spaces .rp-tricky-case--reverse .rp-tricky-case__copy,
  #design-for-tricky-spaces .rp-tricky-case--reverse .rp-tricky-case__media { order: initial; }
  .rp-brechin-original .rp-section-heading,
  .rp-brechin-original .rp-brechin-gallery { grid-column: 1; grid-row: auto; }
  #brechin-edzell .rp-local-authority-heading { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  #beds-for-bees-case-studies .rp-bee-case-card { padding: 24px; }
  #beds-for-bees-case-studies .rp-bee-case-card__media,
  #design-for-tricky-spaces .rp-tricky-case__media,
  #design-for-tricky-spaces .rp-tricky-case:last-child .rp-tricky-case__media,
  .rp-brechin-before-after-v137,
  .rp-falkirk-testimonials-v137__grid { grid-template-columns: 1fr; }
  #beds-for-bees-case-studies .rp-bee-case-card__media img,
  #design-for-tricky-spaces .rp-tricky-case__media img,
  #design-for-tricky-spaces .rp-tricky-case:last-child .rp-tricky-case__media img { height: auto !important; max-height: 430px !important; }
  #design-for-tricky-spaces .rp-tricky-case:first-child .rp-tricky-case__media figure:nth-child(3) { grid-column: auto !important; }
  .rp-brechin-before-after-v137 .rp-image-frame { min-height: 0; }
  .rp-brechin-before-after-v137 img { height: auto; max-height: 560px; }
}

/* v1.37 contrast hardening for text nodes inside legacy green-layout wrappers. */
.rp-tricky-case--green .rp-tricky-case__copy,
.rp-clacks-story-row--green .rp-clacks-story-copy,
.rp-clacks-story-row--green .rp-clacks-story-media figcaption,
.rp-tricky-case--green .rp-tricky-case__media figcaption {
  color: var(--rp-sage-ink) !important;
}

/* Complete the Sage surface conversion for legacy dark-green modules. */
.rp-case,
.rp-section--support,
.home #how-we-work .rp-card,
.home #why-it-matters .rp-why__grid article {
  background: var(--rp-sage-surface) !important;
  border-color: var(--rp-sage-surface) !important;
  color: var(--rp-sage-ink) !important;
}
.rp-case :is(h1,h2,h3,h4,p,li,strong,a,.rp-kicker,.rp-case__body,.rp-case__body p),
.rp-section--support :is(h1,h2,h3,h4,p,li,strong,a,.rp-kicker,.rp-support__copy,.rp-support__copy p),
.home #how-we-work .rp-card :is(h3,p,a),
.home #why-it-matters .rp-why__grid article,
.home #why-it-matters .rp-why__grid article * {
  color: var(--rp-sage-ink) !important;
}
.rp-section--support .rp-kicker { color: var(--rp-sage-ink) !important; }
.rp-section--support .rp-support__actions {
  background: rgba(255,255,255,.22) !important;
  border-color: rgba(11,40,29,.22) !important;
}
.rp-section--support .rp-button--ghost-light {
  color: var(--rp-sage-ink) !important;
  border-color: rgba(11,40,29,.55) !important;
  background: transparent !important;
}
.rp-section--support .rp-button--ghost-light:hover {
  color: #fff !important;
  border-color: var(--rp-cornflower) !important;
  background: var(--rp-cornflower) !important;
}

/* Ensure all copy-side text inside the Sage HMP feature uses accessible dark ink. */
.rp-case .rp-case__body,
.rp-case .rp-case__body * {
  color: var(--rp-sage-ink) !important;
}
.rp-case .rp-case__body .rp-button--gold {
  color: var(--rp-sage-ink) !important;
}

/* Captions sitting directly on Sage surfaces must not inherit Heather Grey. */
.rp-section--green figcaption,
.rp-corporate-home figcaption,
.rp-card--green figcaption,
.rp-cta-band figcaption,
.rp-clacks-story-row--green figcaption,
.rp-tricky-case--green figcaption,
.rp-case figcaption,
.rp-section--support figcaption,
.site-footer figcaption {
  color: var(--rp-sage-ink) !important;
}
.rp-case .rp-case__phase figcaption { color: #fff !important; }

/* --------------------------------------------------------------------------
   v1.38 Rooted in Community composition refinement
   -------------------------------------------------------------------------- */
.rp-brechin-original .rp-container {
  display: grid;
  grid-template-columns: minmax(320px,.72fr) minmax(0,1.28fr);
  gap: 38px 54px;
  align-items: start;
}
.rp-brechin-original .rp-section-heading {
  grid-column: 1;
  grid-row: 1;
  display: block;
  margin: 0;
  padding-top: 8px;
}
.rp-brechin-original .rp-section-heading h2 {
  max-width: 8.5ch;
  font-size: clamp(3rem,4.6vw,4.8rem);
  line-height: .98;
  margin-bottom: 18px;
}
.rp-brechin-original .rp-section-heading > :not(div) {
  max-width: 34ch;
  font-size: clamp(1.05rem,1.25vw,1.2rem);
  line-height: 1.65;
}
.rp-brechin-original .rp-brechin-gallery--with-quote {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 22px;
  margin: 0;
  align-items: stretch;
}
.rp-brechin-original .rp-brechin-gallery--with-quote > figure {
  min-width: 0;
  margin: 0;
}
/* The first figure contains the participation bullets as well as its image. */
.rp-brechin-original .rp-brechin-gallery--with-quote > figure:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  grid-template-rows: auto auto;
  column-gap: 28px;
  row-gap: 10px;
  align-items: center;
  padding: 26px 28px;
  background: rgba(129,149,133,.12);
  border: 1px solid rgba(129,149,133,.28);
  border-radius: var(--rp-radius-lg);
}
.rp-brechin-original .rp-brechin-gallery--with-quote > figure:first-child ul {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
  padding-left: 1.25rem;
  color: var(--rp-green);
  font-size: clamp(.98rem,1.14vw,1.08rem);
  line-height: 1.55;
}
.rp-brechin-original .rp-brechin-gallery--with-quote > figure:first-child li + li {
  margin-top: .55rem;
}
.rp-brechin-original .rp-brechin-gallery--with-quote > figure:first-child img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--rp-radius);
}
.rp-brechin-original .rp-brechin-gallery--with-quote > figure:first-child figcaption {
  grid-column: 2;
  grid-row: 2;
  padding-top: 0;
}
/* Second photograph and testimonial become a balanced lower row. */
.rp-brechin-original .rp-brechin-gallery--with-quote > figure:nth-child(2) {
  grid-column: 1;
  display: flex;
  flex-direction: column;
}
.rp-brechin-original .rp-brechin-gallery--with-quote > figure:nth-child(2) img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border-radius: var(--rp-radius);
}
.rp-brechin-original .rp-brechin-gallery--with-quote .rp-brechin-gallery__quote {
  grid-column: 2;
  min-height: 310px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 32px;
}
@media (max-width: 1050px) {
  .rp-brechin-original .rp-container {
    grid-template-columns: 1fr;
  }
  .rp-brechin-original .rp-section-heading,
  .rp-brechin-original .rp-brechin-gallery--with-quote {
    grid-column: 1;
    grid-row: auto;
  }
  .rp-brechin-original .rp-section-heading h2,
  .rp-brechin-original .rp-section-heading > :not(div) {
    max-width: none;
  }
}
@media (max-width: 720px) {
  .rp-brechin-original .rp-brechin-gallery--with-quote,
  .rp-brechin-original .rp-brechin-gallery--with-quote > figure:first-child {
    grid-template-columns: 1fr;
  }
  .rp-brechin-original .rp-brechin-gallery--with-quote > figure:first-child ul,
  .rp-brechin-original .rp-brechin-gallery--with-quote > figure:first-child img,
  .rp-brechin-original .rp-brechin-gallery--with-quote > figure:first-child figcaption,
  .rp-brechin-original .rp-brechin-gallery--with-quote > figure:nth-child(2),
  .rp-brechin-original .rp-brechin-gallery--with-quote .rp-brechin-gallery__quote {
    grid-column: 1;
    grid-row: auto;
  }
  .rp-brechin-original .rp-brechin-gallery--with-quote > figure:first-child img,
  .rp-brechin-original .rp-brechin-gallery--with-quote > figure:nth-child(2) img {
    height: auto;
    max-height: 430px;
  }
}


/* --------------------------------------------------------------------------
   v1.39 Michelle testimonial - full-width treatment beneath Rooted in Community
   -------------------------------------------------------------------------- */
.rp-brechin-original .rp-brechin-gallery--with-quote > figure:nth-child(2) {
  grid-column: 1 / -1;
}
.rp-brechin-original .rp-brechin-gallery--with-quote > figure:nth-child(2) img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--rp-radius);
}
.rp-brechin-original .rp-brechin-quote-wide-v139 {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 980px;
  margin: 4px auto 0;
  padding: clamp(44px, 5vw, 74px);
}
.rp-brechin-original .rp-brechin-quote-wide-v139 blockquote {
  font-size: clamp(1.45rem, 2.35vw, 2.1rem);
  line-height: 1.42;
}
@media (max-width: 720px) {
  .rp-brechin-original .rp-brechin-gallery--with-quote > figure:nth-child(2) img {
    height: auto;
    max-height: 430px;
  }
  .rp-brechin-original .rp-brechin-quote-wide-v139 {
    max-width: none;
    padding: 42px 28px 34px;
  }
}


/* v1.45.0 - 28 Sept client amendments */
#beds-for-bees-case-studies .rp-bee-case-card.rp-bee-case-card--client-bg,
#beds-for-bees-case-studies .rp-bee-case-card.rp-bee-case-card--client-bg:nth-child(even) {
  background: rgba(129,149,133,.10) !important;
}
#design-for-tricky-spaces .rp-tricky-case.rp-tricky-case--green {
  background: var(--rp-sage-surface) !important;
  border-color: var(--rp-sage-surface) !important;
}
#design-for-tricky-spaces .rp-tricky-case.rp-tricky-case--green :is(h1,h2,h3,h4,p,li,strong,a,.rp-route-label) {
  color: var(--rp-sage-ink) !important;
}
#design-for-tricky-spaces .rp-tricky-case.rp-tricky-case--green .rp-route-label {
  color: var(--rp-sage-ink) !important;
}
#design-for-tricky-spaces .rp-tricky-case.rp-tricky-case--green figcaption {
  color: var(--rp-sage-ink) !important;
}
.rp-bespoke-biodiversity-image-v145 {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.rp-falkirk-metrics-v145 { margin-bottom: 28px; }
.rp-falkirk-site--bonnybridge-v145 .rp-mini-gallery { align-items: stretch; }
.rp-falkirk-testimonials-v145 { margin-top: 28px; }


/* --------------------------------------------------------------------------
   v1.45.2 - Local Authority metric-card structure and consistency
   -------------------------------------------------------------------------- */
#brechin-edzell .rp-metric-grid,
#clackmannanshire-case-study .rp-metric-grid,
#falkirk-case-study .rp-metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
#brechin-edzell .rp-metric,
#clackmannanshire-case-study .rp-metric,
#falkirk-case-study .rp-metric {
  min-width: 0;
  min-height: 152px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
#brechin-edzell .rp-metric strong,
#clackmannanshire-case-study .rp-metric strong,
#falkirk-case-study .rp-metric strong {
  margin: 0 0 9px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: .95;
}
#brechin-edzell .rp-metric span,
#clackmannanshire-case-study .rp-metric span,
#falkirk-case-study .rp-metric span {
  display: block;
  margin: 0;
  line-height: 1.35;
}
#brechin-edzell .rp-metric small,
#clackmannanshire-case-study .rp-metric small,
#falkirk-case-study .rp-metric small {
  margin-top: 10px;
}
#falkirk-case-study .rp-falkirk-metrics-v145 {
  margin: 26px 0 34px;
}
@media (max-width: 640px) {
  #brechin-edzell .rp-metric-grid,
  #clackmannanshire-case-study .rp-metric-grid,
  #falkirk-case-study .rp-metric-grid {
    grid-template-columns: 1fr;
  }
  #brechin-edzell .rp-metric,
  #clackmannanshire-case-study .rp-metric,
  #falkirk-case-study .rp-metric {
    min-height: 0;
  }
}


/* --------------------------------------------------------------------------
   v1.46.0 - 2 Oct client amendments
   -------------------------------------------------------------------------- */
/* Reframe the portrait biodiversity photo lower so the raised beds are the focal point. */
.rp-bespoke-biodiversity-image-v145 {
  object-position: 50% 84%;
}
/* Placeholder values requested for forthcoming Falkirk figures. */
#falkirk-case-study .rp-metric--pending-v146 strong {
  opacity: .72;
}

/* --------------------------------------------------------------------------
   v1.47.0 - 8 Oct final-draft client amendments
   -------------------------------------------------------------------------- */
/* Home: white copy throughout the four green Why this matters statistic cards. */
#why-it-matters .rp-why__grid article,
#why-it-matters .rp-why__grid article div,
#why-it-matters .rp-why__grid .rp-evidence-source {
  color: #fff !important;
}
#why-it-matters .rp-why__grid .rp-evidence-source {
  opacity: .86;
}

/* Clackmannanshire: keep all images in the three-up sets visually consistent. */
#clackmannanshire-case-study .rp-clacks-story-row:first-of-type .rp-clacks-story-media--three figure.rp-clacks-story-media__wide {
  grid-column: auto !important;
}
#clackmannanshire-case-study .rp-clacks-story-row:first-of-type .rp-clacks-story-media--three figure img {
  width: 100% !important;
  aspect-ratio: 4 / 3;
  height: auto !important;
  object-fit: cover;
}

/* Denny: retain more of the beds in the last two gallery crops. */
#falkirk-case-study .rp-falkirk-site--denny-v147 .rp-mini-gallery figure:nth-child(2) img {
  object-position: 50% 78%;
}
#falkirk-case-study .rp-falkirk-site--denny-v147 .rp-mini-gallery figure:nth-child(3) img {
  object-position: 50% 76%;
}

/* Corporate Grounds for Nature: preserve the portrait/square image proportions rather than a shallow crop. */
#improve-land-you-manage .rp-workways-card__image {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
}
#improve-land-you-manage .rp-workways-card__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Resources: tighten the Did you know box and keep its copy visually grouped. */
.rp-pollinators-v1422__facts h3 { margin-bottom: .7rem; }
.rp-pollinators-v1422__facts p { margin: 0; }
.rp-pollinators-v1422__facts p + p { margin-top: .65rem; }
.rp-pollinators-v1422__reliance-v147 { margin-top: 1.15rem; }
.rp-resources-blog-cta-v147 { margin-top: 1.25rem; }
.rp-blog-v147__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; margin-top:1.5rem; }
.rp-blog-v147__grid .rp-card { height:100%; }
@media (max-width: 720px) { .rp-blog-v147__grid { grid-template-columns:1fr; } }

/* Click-to-expand treatment for case-study photography. */
.rp-case-study-zoom-v147 { cursor: zoom-in; }
.rp-case-study-zoom-v147:focus-visible { outline: 3px solid var(--rp-gold); outline-offset: 3px; }
.rp-lightbox-open-v147 { overflow: hidden; }
.rp-lightbox-v147 {
  position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center;
  padding: clamp(18px,4vw,54px); background: rgba(7,23,18,.92);
}
.rp-lightbox-v147.is-open { display: flex; }
.rp-lightbox-v147 figure { margin:0; max-width:min(1200px,94vw); max-height:90vh; display:flex; flex-direction:column; align-items:center; gap:.75rem; }
.rp-lightbox-v147 figure img { display:block; max-width:100%; max-height:82vh; width:auto; height:auto; object-fit:contain; border-radius:12px; box-shadow:0 24px 70px rgba(0,0,0,.35); }
.rp-lightbox-v147 figcaption { color:#fff; text-align:center; font-size:.95rem; }
.rp-lightbox-v147__close {
  position:absolute; top:18px; right:22px; width:44px; height:44px; border:0; border-radius:999px;
  background:#fff; color:#17332a; font-size:2rem; line-height:1; cursor:pointer;
}



/* v1.47.6: reliable legacy-blog imagery */
.rp-blog-source-image { margin: 1.6rem 0; }
.rp-blog-source-image img { display:block; width:100%; height:auto; max-height:680px; object-fit:cover; border-radius:18px; }
.rp-blog-source-image figcaption { margin-top:.45rem; font-size:.8rem; line-height:1.45; opacity:.72; }
.rp-blog-source-hero { margin: 0 auto 2rem; }
.rp-blog-source-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; margin-top:2rem; }
.rp-blog-source-gallery .rp-blog-source-image { margin:0; }
.rp-blog-source-gallery .rp-blog-source-image img { height:320px; object-fit:cover; }
.rp-post-card__media--remote { display:block; overflow:hidden; border-radius:18px 18px 0 0; }
.rp-post-card__media--remote img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; }
@media (max-width: 720px) {
  .rp-blog-source-gallery { grid-template-columns:1fr; }
  .rp-blog-source-gallery .rp-blog-source-image img { height:auto; max-height:none; }
}

/* v1.47.7: Beds for Bees guide + final Resources spacing. */
.rp-pollinators-v1422__facts {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.rp-pollinators-v1422__facts h3,
.rp-pollinators-v1422__facts p,
.rp-pollinators-v1422__facts p + p {
  margin: 0 !important;
}

.rp-bee-guide-v1477__hero,
.rp-bee-guide-v1477__section-grid,
.rp-bee-guide-v1477__care-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.rp-bee-guide-v1477__hero-image,
.rp-bee-guide-v1477__plan,
.rp-bee-guide-v1477__signage,
.rp-bee-guide-v1477__planting-grid figure,
.rp-bee-guide-v1477__flowers figure,
.rp-bee-guide-v1477__care-result figure,
.rp-bee-guide-v1477__maintenance-plan {
  margin: 0;
}
.rp-bee-guide-v1477__hero-image img,
.rp-bee-guide-v1477__signage img,
.rp-bee-guide-v1477__care-result img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--rp-radius);
  box-shadow: var(--rp-shadow-sm);
}
.rp-bee-guide-v1477__plan {
  padding: clamp(1rem, 2vw, 1.5rem);
  background: var(--rp-white);
  border-radius: var(--rp-radius);
  box-shadow: var(--rp-shadow-sm);
}
.rp-bee-guide-v1477__plan img,
.rp-bee-guide-v1477__maintenance-plan img {
  display: block;
  width: 100%;
  height: auto;
}
.rp-bee-guide-v1477__copy p + p { margin-top: 1rem; }
.rp-bee-guide-v1477__planting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.rp-bee-guide-v1477__planting-grid figure {
  overflow: hidden;
  border-radius: var(--rp-radius);
  background: var(--rp-white);
  box-shadow: var(--rp-shadow-sm);
}
.rp-bee-guide-v1477__planting-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.rp-bee-guide-v1477__planting-grid figcaption {
  padding: .85rem 1rem 1rem;
  color: var(--rp-muted);
  font-size: .92rem;
}
.rp-bee-guide-v1477__care-grid { align-items: start; }
.rp-bee-guide-v1477__maintenance-plan {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--rp-white);
  border-radius: var(--rp-radius);
  box-shadow: var(--rp-shadow-sm);
}
.rp-bee-guide-v1477__care-result .rp-lead { margin-top: 1.25rem; }
.rp-bee-guide-v1477__flowers {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 1.5rem;
}
.rp-bee-guide-v1477__flowers figure {
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--rp-radius);
}
.rp-bee-guide-v1477__flowers img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.rp-bee-guide-v1477__signage-section .rp-kicker,
.rp-bee-guide-v1477__signage-section h2,
.rp-bee-guide-v1477__signage-section p { color: var(--rp-white); }
.rp-bee-guide-v1477__signage-section .rp-bee-guide-v1477__section-grid { align-items: center; }

@media (max-width: 860px) {
  .rp-bee-guide-v1477__hero,
  .rp-bee-guide-v1477__section-grid,
  .rp-bee-guide-v1477__care-grid,
  .rp-bee-guide-v1477__flowers {
    grid-template-columns: 1fr;
  }
  .rp-bee-guide-v1477__planting-grid { grid-template-columns: 1fr; }
  .rp-bee-guide-v1477__flowers figure,
  .rp-bee-guide-v1477__flowers img { min-height: 0; }
}
