/* =============================================================================
   Rishi Precision — design system
   Tokens, typography, layout primitives and components. Tailwind (CDN) sits on
   top of this for layout utilities; identity lives here so the page never
   depends on the CDN to look right.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */

:root {
	/* Brand — derived from the HealthCoachRrishi mark and the live site palette */
	--brand-50:  #F1F7EC;
	--brand-100: #E3F0DA;
	--brand-200: #C6E0B7;
	--brand-400: #82BE6C;
	--brand-500: #5EA841;
	--brand-600: #3E8B54;
	--brand-700: #2A7048;
	--brand-800: #1D5F3E;
	--brand-900: #123D2A;
	--brand-950: #0E2C1E;

	--accent-50:  #FDF3E7;
	--accent-300: #F6BA2C;
	--accent-500: #EE852A;
	--accent-600: #B45E0D;
	--accent-700: #8F4A0A;

	/* Secondary blue carried over from the live site's palette. */
	--sky-50:  #E9F2F8;
	--sky-100: #D6E8F2;
	--sky-600: #2F7FA8;
	--sky-700: #245F7E;

	/* Soft tints. These give the page — the phone layout especially — colour
	   and rhythm without introducing a hue that isn't already in the brand. */
	--tint-mint:  #EDF6EA;
	--tint-sky:   #E9F2F8;
	--tint-peach: #FCF0E4;
	--tint-gold:  #FBF4E4;

	--cream: #F6F1EE;
	--sand:  #FBF9F7;
	--white: #FFFFFF;

	--ink:   #15241C;
	--ink-2: #33463C;
	--muted: #54655E;
	--line:  #E4E0DA;
	--line-soft: #EFEBE6;

	/* Type */
	--font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
	--font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	--step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
	--step-0:  clamp(1rem, 0.96rem + 0.18vw, 1.09rem);
	--step-1:  clamp(1.16rem, 1.09rem + 0.32vw, 1.34rem);
	--step-2:  clamp(1.38rem, 1.25rem + 0.6vw, 1.72rem);
	--step-3:  clamp(1.66rem, 1.44rem + 1.02vw, 2.24rem);
	--step-4:  clamp(2rem, 1.63rem + 1.7vw, 2.95rem);
	--step-5:  clamp(2.4rem, 1.8rem + 2.7vw, 3.9rem);

	/* Space */
	--gutter: clamp(1.25rem, 0.9rem + 1.6vw, 2rem);
	--section: clamp(3.75rem, 2.4rem + 5.6vw, 7rem);
	--section-sm: clamp(2.75rem, 1.9rem + 3.4vw, 4.5rem);

	/* Shape */
	--r-sm: 6px;
	--r-md: 10px;
	--r-lg: 16px;
	--r-pill: 999px;

	--shadow-sm: 0 1px 2px rgba(18, 61, 42, .05), 0 1px 3px rgba(18, 61, 42, .04);
	--shadow-md: 0 6px 16px -6px rgba(18, 61, 42, .12), 0 2px 6px rgba(18, 61, 42, .05);
	--shadow-lg: 0 24px 48px -24px rgba(18, 61, 42, .22), 0 6px 16px -8px rgba(18, 61, 42, .08);

	--rp-arrow: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 15 8%27%3E%3Cpath d=%27M0 4h13M10 1l3 3-3 3%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
	--shell: 1240px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset & base --------------------------------------------- */

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

/* Alpine: hide declaratively-shown elements until Alpine boots. */
[x-cloak] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body.rp {
	margin: 0;
	background: var(--white);
	color: var(--ink-2);
	font-family: var(--font-sans);
	font-size: var(--step-0);
	line-height: 1.68;
	font-feature-settings: 'ss01';
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* The base layer is wrapped in :where() so it carries zero specificity.
   Component classes below therefore always win without !important. */
:where(.rp) :where(h1, h2, h3, h4) {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -0.018em;
	color: var(--ink);
	font-variation-settings: 'SOFT' 0, 'WONK' 0;
}
:where(.rp) :where(h1) { font-size: var(--step-5); }
:where(.rp) :where(h2) { font-size: var(--step-4); }
:where(.rp) :where(h3) { font-size: var(--step-2); }
:where(.rp) :where(h4) { font-size: var(--step-1); }
:where(.rp) :where(p) { margin: 0 0 1.05em; }
:where(.rp) :where(p:last-child) { margin-bottom: 0; }
:where(.rp) :where(ul, ol) { margin: 0; padding: 0; }
:where(.rp) :where(li) { list-style: none; }
:where(.rp) :where(img) { max-width: 100%; height: auto; display: block; }
:where(.rp) :where(strong) { font-weight: 700; color: var(--ink); }
:where(.rp) :where(em) { font-style: italic; }

:where(.rp) :where(a) { color: var(--brand-800); text-decoration: none; transition: color .2s var(--ease); }
:where(.rp) :where(a:hover) { color: var(--brand-600); }

.rp :focus-visible {
	outline: 2px solid var(--brand-600);
	outline-offset: 3px;
	border-radius: 3px;
}

.rp-sr {
	position: absolute !important; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.rp-skip {
	position: absolute; left: 1rem; top: -100px; z-index: 200;
	background: var(--brand-800); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-sm);
	font-weight: 600; font-size: .9rem;
}
.rp-skip:focus { top: 1rem; color: #fff; }

/* ---------- 3. Layout ---------------------------------------------------- */

.rp-shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.rp-shell--narrow { max-width: 900px; }
.rp-shell--wide { max-width: 1400px; }

.rp-section { padding-block: var(--section); position: relative; }
.rp-section--sm { padding-block: var(--section-sm); }
.rp-section--tight { padding-block: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }

.rp-bg-cream { background: var(--cream); }
.rp-bg-sand  { background: var(--sand); }
.rp-bg-brand { background: var(--brand-50); }
.rp-bg-deep  { background: var(--brand-950); color: rgba(255,255,255,.82); }
.rp-bg-deep h2, .rp-bg-deep h3, .rp-bg-deep h4 { color: #fff; }

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

/* ---------- 4. Typographic components ------------------------------------ */

.rp-kicker {
	display: inline-flex; align-items: center; gap: .55rem;
	margin: 0 0 1rem;
	font-family: var(--font-sans);
	font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--brand-700);
}
.rp-kicker::before {
	content: ''; width: 22px; height: 1px; background: var(--brand-500); display: inline-block;
}
.rp-heading--center { text-align: center; }
.rp-heading--center .rp-kicker { justify-content: center; }
.rp-heading--center .rp-heading__sub { margin-inline: auto; }
.rp-heading__title { max-width: 22ch; }
.rp-heading--center .rp-heading__title { max-width: 26ch; margin-inline: auto; }
.rp-heading__sub {
	margin: 1.1rem 0 0; max-width: 62ch;
	font-size: var(--step-1); line-height: 1.62; color: var(--muted);
}
.rp-heading--light .rp-heading__title { color: #fff; }
.rp-heading--light .rp-heading__sub { color: rgba(255,255,255,.7); }
.rp-heading--light .rp-kicker { color: var(--accent-300); }
.rp-heading--light .rp-kicker::before { background: var(--accent-300); }

.rp-lead { font-size: var(--step-1); line-height: 1.62; color: var(--ink-2); }

.rp-prose { max-width: 68ch; }
.rp-prose h2 { font-size: var(--step-3); margin-top: 2.4em; }
.rp-prose h3 { font-size: var(--step-2); margin-top: 2em; }
.rp-prose > *:first-child { margin-top: 0; }
.rp-prose ul { margin: 0 0 1.2em; padding-left: 0; }
.rp-prose ul li { position: relative; padding-left: 1.6rem; margin-bottom: .5rem; }
.rp-prose ul li::before {
	content: ''; position: absolute; left: .25rem; top: .72em;
	width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500);
}
.rp-prose ol { list-style: decimal; padding-left: 1.3rem; margin-bottom: 1.2em; }
.rp-prose ol li { list-style: decimal; margin-bottom: .5rem; }
.rp-prose blockquote {
	margin: 2rem 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--brand-500);
	font-family: var(--font-display); font-size: var(--step-2); line-height: 1.4; color: var(--ink);
}

/* ---------- 5. Buttons --------------------------------------------------- */

.rp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	padding: .92rem 1.6rem;
	border: 1px solid transparent; border-radius: var(--r-pill);
	font-family: var(--font-sans); font-size: .95rem; font-weight: 600; line-height: 1.2;
	letter-spacing: -0.005em; text-align: center; cursor: pointer;
	transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.rp-btn__arrow {
	width: 15px; height: 8px; flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 8'%3E%3Cpath d='M0 4h13M10 1l3 3-3 3' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 8'%3E%3Cpath d='M0 4h13M10 1l3 3-3 3' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
	transition: transform .25s var(--ease);
}
.rp-btn:hover .rp-btn__arrow { transform: translateX(3px); }

.rp-btn--primary { background: var(--brand-800); color: #fff; box-shadow: var(--shadow-sm); }
.rp-btn--primary:hover { background: var(--brand-900); color: #fff; box-shadow: var(--shadow-md); }

.rp-btn--accent { background: var(--accent-600); color: #fff; }
.rp-btn--accent:hover { background: var(--accent-700); color: #fff; }

.rp-btn--secondary { background: transparent; color: var(--brand-800); border-color: rgba(29,95,62,.28); }
.rp-btn--secondary:hover { background: var(--brand-50); border-color: var(--brand-800); color: var(--brand-900); }

.rp-btn--light { background: #fff; color: var(--brand-900); }
.rp-btn--light:hover { background: var(--brand-50); color: var(--brand-900); }

.rp-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.rp-btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); color: #fff; }

.rp-btn--sm { padding: .62rem 1.15rem; font-size: .85rem; }
.rp-btn--block { width: 100%; }

.rp-btns { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- 6. Header ---------------------------------------------------- */

.rp-topbar {
	background: var(--brand-950); color: rgba(255,255,255,.8);
	font-size: .8rem; letter-spacing: .005em;
}
.rp-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.rp-topbar a { color: rgba(255,255,255,.86); }
.rp-topbar a:hover { color: #fff; }
.rp-topbar__links { display: flex; align-items: center; gap: 1.5rem; }
.rp-topbar__promise { font-family: var(--font-display); font-style: italic; color: rgba(255,255,255,.72); }
@media (max-width: 880px) { .rp-topbar { display: none; } }

/* Sticky lives on the header; the blur lives on the inner bar. backdrop-filter
   creates a containing block, and putting it on the header would make the
   fixed-position mobile drawer resolve against the header instead of the
   viewport. */
.rp-header { position: sticky; top: 0; z-index: 60; }
.rp-header__bar {
	background: rgba(255,255,255,.92);
	backdrop-filter: saturate(150%) blur(10px);
	border-bottom: 1px solid var(--line-soft);
	transition: box-shadow .25s var(--ease);
}
.rp-header.is-stuck .rp-header__bar { box-shadow: 0 8px 28px -20px rgba(18,61,42,.4); }
/* Three tracks so the nav is centred on the header itself, not on whatever
   space is left between a narrow logo and a wide CTA group. */
.rp-header__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center; gap: 1rem; min-height: 76px; max-width: 1400px;
}

.rp-logo { display: inline-flex; align-items: center; grid-column: 1; justify-self: start; }
.rp-logo img { height: 50px; width: auto; }
.rp-logo__text { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; color: var(--brand-900); }

.rp-nav { grid-column: 2; justify-self: center; min-width: 0; }
.rp-nav__list { display: flex; align-items: center; gap: .15rem; }
.rp-nav__item { position: relative; }
.rp-nav__link {
	display: inline-flex; align-items: center; gap: .3rem;
	padding: .6rem .72rem; border-radius: var(--r-sm);
	font-size: .89rem; font-weight: 600; color: var(--ink-2); white-space: nowrap;
	transition: color .18s var(--ease), background .18s var(--ease);
}
.rp-nav__link:hover, .rp-nav__item.is-open > .rp-nav__link { color: var(--brand-800); background: var(--brand-50); }
.rp-nav__item.is-current > .rp-nav__link { color: var(--brand-800); }
.rp-nav__item.is-current > .rp-nav__link::after {
	content: ''; position: absolute; left: .72rem; right: .72rem; bottom: .18rem; height: 2px;
	background: var(--brand-500); border-radius: 2px;
}
.rp-nav__caret {
	width: 9px; height: 6px; flex: none; background: currentColor; opacity: .55;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Cpath d='M1 1l3.5 3.5L8 1' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Cpath d='M1 1l3.5 3.5L8 1' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
	transition: transform .2s var(--ease);
}
.rp-nav__item.is-open .rp-nav__caret { transform: rotate(180deg); }

/* Dropdown */
.rp-drop {
	position: absolute; top: calc(100% + 10px); left: 0; z-index: 70;
	min-width: 288px; padding: .5rem;
	background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
	box-shadow: var(--shadow-lg);
}
.rp-drop__link {
	display: flex; align-items: flex-start; gap: .8rem;
	padding: .7rem .8rem; border-radius: var(--r-md);
	transition: background .16s var(--ease);
}
.rp-drop__link:hover { background: var(--brand-50); }
.rp-drop__ico {
	flex: none; width: 34px; height: 34px; border-radius: 9px;
	display: grid; place-items: center; background: var(--brand-50);
}
.rp-drop__ico .rp-icon { width: 19px; height: 19px; }
.rp-drop__t { display: block; font-size: .875rem; font-weight: 650; color: var(--ink); line-height: 1.35; }
.rp-drop__d { display: block; margin-top: .12rem; font-size: .765rem; line-height: 1.45; color: var(--muted); }

/* Mega menu */
/* The mega panel escapes its list item so it can centre on the header instead
   of on a trigger that sits well left of centre. */
.rp-nav__item--mega { position: static; }
.rp-mega {
	position: absolute; top: 100%; left: 50%; transform: translateX(-50%); z-index: 70;
	width: min(940px, calc(100vw - 3rem));
	background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
	box-shadow: var(--shadow-lg); overflow: hidden;
}
.rp-mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* The panel is capped at 940px and the desktop nav is replaced by the drawer
   below 1025px, so three columns always have room. */
.rp-mega__col { padding: 1.5rem 1.1rem; border-right: 1px solid var(--line-soft); }
.rp-mega__col:last-child { border-right: 0; }
.rp-mega__label {
	display: flex; align-items: center; gap: .5rem;
	margin: 0 .8rem .5rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line-soft);
	font-size: .7rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; color: var(--brand-700);
}
.rp-mega__num { font-family: var(--font-display); font-size: .82rem; font-weight: 600; color: var(--brand-400); letter-spacing: 0; }
.rp-mega__aside {
	padding: 1.5rem 1.4rem; background: var(--brand-950); color: rgba(255,255,255,.82);
	display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem;
}
.rp-mega__aside h4 { color: #fff; font-size: 1.16rem; margin-bottom: .5rem; }
.rp-mega__aside p { font-size: .82rem; line-height: 1.6; }
.rp-mega__flag {
	display: inline-block; padding: .22rem .6rem; border-radius: var(--r-pill);
	background: rgba(246,186,44,.16); color: var(--accent-300);
	font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8rem;
}

/* Header CTA */
.rp-header__cta { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: .5rem; }
.rp-header__cta .rp-btn { white-space: nowrap; }

/* Mobile toggle */
.rp-burger {
	display: none; grid-column: 3; justify-self: end; width: 44px; height: 44px;
	align-items: center; justify-content: center;
	background: var(--brand-50); border: 0; border-radius: var(--r-md); cursor: pointer;
}
.rp-burger span { display: block; width: 19px; height: 1.8px; background: var(--brand-900); border-radius: 2px; position: relative; transition: .25s var(--ease); }
.rp-burger span::before, .rp-burger span::after {
	content: ''; position: absolute; left: 0; width: 19px; height: 1.8px; background: var(--brand-900); border-radius: 2px; transition: .25s var(--ease);
}
.rp-burger span::before { top: -6px; }
.rp-burger span::after { top: 6px; }
.rp-burger.is-open span { background: transparent; }
.rp-burger.is-open span::before { top: 0; transform: rotate(45deg); }
.rp-burger.is-open span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1099px) {
	.rp-nav { display: none; }
	.rp-burger { display: inline-flex; }
	.rp-header__cta { display: none; }
	.rp-header__inner { min-height: 66px; }
	.rp-logo img { height: 38px; }
}

/* Mobile drawer */
.rp-drawer {
	position: fixed; inset: 0; z-index: 90;
	background: rgba(14,44,30,.42); backdrop-filter: blur(2px);
}
.rp-drawer__panel {
	position: absolute; inset: 0 0 0 auto; width: min(420px, 100%);
	background: #fff; display: flex; flex-direction: column;
	box-shadow: var(--shadow-lg);
	transition: transform .28s var(--ease);
}
.rp-slide-out { transform: translateX(100%); }
.rp-slide-in  { transform: translateX(0); }
.rp-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--gutter); border-bottom: 1px solid var(--line-soft); }
.rp-drawer__body { flex: 1; overflow-y: auto; padding: .5rem var(--gutter) 1.5rem; -webkit-overflow-scrolling: touch; }
.rp-drawer__foot { padding: 1rem var(--gutter) 1.25rem; border-top: 1px solid var(--line-soft); background: var(--sand); display: grid; gap: .6rem; }
.rp-drawer__close { width: 40px; height: 40px; border: 0; border-radius: var(--r-md); background: var(--brand-50); color: var(--brand-900); font-size: 1.3rem; line-height: 1; cursor: pointer; }

.rp-macc__item { border-bottom: 1px solid var(--line-soft); }
.rp-macc__row { display: flex; align-items: stretch; }
.rp-macc__link { flex: 1; display: block; padding: .95rem .2rem; font-size: 1rem; font-weight: 650; color: var(--ink); }
.rp-macc__toggle {
	flex: none; width: 46px; border: 0; background: transparent; cursor: pointer;
	display: grid; place-items: center; color: var(--brand-800);
}
.rp-macc__toggle i {
	width: 11px; height: 7px; background: currentColor; transition: transform .22s var(--ease);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Cpath d='M1 1l3.5 3.5L8 1' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Cpath d='M1 1l3.5 3.5L8 1' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.rp-macc__toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.rp-macc__sub { padding: 0 0 .9rem .2rem; display: grid; gap: .1rem; }
.rp-macc__sublabel {
	margin: .7rem 0 .2rem; font-size: .66rem; font-weight: 800; letter-spacing: .16em;
	text-transform: uppercase; color: var(--brand-600);
}
.rp-macc__sublink {
	display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem;
	border-radius: var(--r-md); font-size: .9rem; color: var(--ink-2);
}
.rp-macc__sublink:hover { background: var(--brand-50); }
.rp-macc__sublink .rp-icon { width: 18px; height: 18px; flex: none; }

/* ---------- 7. Hero ------------------------------------------------------ */

.rp-hero { position: relative; overflow: hidden; background: var(--brand-950); }
.rp-hero__bg { position: absolute; inset: 0; }
.rp-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 76% 24%; opacity: .72; }
.rp-hero__scrim {
	position: absolute; inset: 0;
	background:
		linear-gradient(96deg, rgba(14,44,30,.97) 0%, rgba(14,44,30,.93) 30%, rgba(14,44,30,.62) 58%, rgba(14,44,30,.3) 100%),
		linear-gradient(180deg, rgba(14,44,30,.35) 0%, rgba(14,44,30,0) 22%, rgba(14,44,30,.28) 100%);
}
.rp-hero__inner { position: relative; padding-block: clamp(3.5rem, 2rem + 7vw, 7.5rem); }
.rp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .rp-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .82fr); gap: 3.5rem; } }
.rp-hero__title {
	color: #fff; font-size: var(--step-5); max-width: 15ch; letter-spacing: -0.025em;
}
.rp-hero__title em { font-style: italic; color: var(--brand-400); }
.rp-hero__sub { margin-top: 1.35rem; max-width: 54ch; color: rgba(255,255,255,.84); font-size: var(--step-1); line-height: 1.6; }
.rp-hero__btns { margin-top: 2rem; }
/* An explicit grid rather than wrapping flex, so four stats never break as
   three-plus-an-orphan. */
.rp-hero__meta {
	margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.14);
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.5rem;
}
@media (min-width: 1200px) { .rp-hero__meta { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rp-hero__stat strong { display: block; font-family: var(--font-display); font-size: 1.85rem; font-weight: 600; color: #fff; line-height: 1; }
/* The counting number is a span inside <strong>; only the label span below it
   takes the small uppercase treatment, hence the child combinator. */
.rp-hero__stat strong span { display: inline; font: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }
.rp-hero__stat > span { display: block; margin-top: .35rem; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.72); }

/* Portrait is the phone hero lead; the desktop hero uses the banner. */
.rp-hero__portrait { display: none; }

.rp-hero__card {
	background: rgba(11,35,24,.55);
	border: 1px solid rgba(255,255,255,.16);
	border-radius: var(--r-lg);
	padding: 1.6rem;
	backdrop-filter: blur(10px);
}
.rp-hero__card h2 { color: #fff; font-size: 1.22rem; }
.rp-hero__card-lead { margin-top: .6rem; font-size: .9rem; line-height: 1.6; color: rgba(255,255,255,.75); }
.rp-hero__card-note { margin-top: .85rem; text-align: center; font-size: .75rem; color: rgba(255,255,255,.7); }
.rp-hero__list { margin-top: 1.1rem; display: grid; gap: .7rem; }
.rp-hero__list li { display: flex; gap: .7rem; font-size: .88rem; line-height: 1.5; color: rgba(255,255,255,.86); }
.rp-hero__tick {
	flex: none; margin-top: .28rem; width: 15px; height: 15px; border-radius: 50%;
	background: rgba(94,168,65,.22); display: grid; place-items: center;
}
.rp-hero__tick::after { content: ''; width: 7px; height: 4px; border-left: 1.6px solid var(--brand-400); border-bottom: 1.6px solid var(--brand-400); transform: rotate(-45deg) translate(1px,-1px); }

/* Page hero (interior) */
.rp-phero { position: relative; background: var(--brand-950); overflow: hidden; }
.rp-phero__bg { position: absolute; inset: 0; }
.rp-phero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.rp-phero__scrim { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(14,44,30,.95) 12%, rgba(14,44,30,.72) 62%, rgba(14,44,30,.5) 100%); }
.rp-phero__inner { position: relative; padding-block: clamp(3rem, 2rem + 5vw, 5.5rem); }
.rp-phero__title { color: #fff; max-width: 20ch; }
.rp-phero__sub { margin-top: 1.1rem; max-width: 60ch; color: rgba(255,255,255,.84); font-size: var(--step-1); line-height: 1.6; }
.rp-phero .rp-kicker { color: var(--accent-300); }
.rp-phero .rp-kicker::before { background: var(--accent-300); }

.rp-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .78rem; color: rgba(255,255,255,.7); margin-bottom: 1.4rem; }
.rp-crumbs a { color: rgba(255,255,255,.85); }
.rp-crumbs a:hover { color: #fff; }
.rp-crumbs span[aria-hidden] { opacity: .4; }

/* ---------- 8. Cards ----------------------------------------------------- */

.rp-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) {
	.rp-grid--2, .rp-grid--3, .rp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
	.rp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.rp-card {
	position: relative; background: #fff;
	border: 1px solid var(--line); border-radius: var(--r-lg);
	overflow: hidden; display: flex; flex-direction: column;
	transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.rp-card:hover { border-color: var(--brand-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rp-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-50); }
.rp-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.rp-card:hover .rp-card__img { transform: scale(1.035); }
.rp-card__body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.rp-card__icon {
	display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1rem;
	border-radius: 11px; background: var(--brand-50);
}
.rp-card--default .rp-card__icon {
	position: absolute; bottom: .85rem; left: .85rem; margin: 0; z-index: 2;
	width: 44px; height: 44px;
	background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm);
	backdrop-filter: blur(4px);
}
.rp-card__title { font-size: 1.16rem; line-height: 1.3; }
.rp-card__title a::after { content: ''; position: absolute; inset: 0; }
.rp-card__text { margin: .6rem 0 0; font-size: .91rem; line-height: 1.62; color: var(--muted); }
.rp-card__link {
	margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line-soft);
	font-size: .82rem; font-weight: 700; color: var(--brand-700);
	display: inline-flex; align-items: center; gap: .4rem;
}
.rp-card__link::after {
	content: ''; width: 14px; height: 8px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 8'%3E%3Cpath d='M0 4h13M10 1l3 3-3 3' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 8'%3E%3Cpath d='M0 4h13M10 1l3 3-3 3' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
	transition: transform .25s var(--ease);
}
.rp-card:hover .rp-card__link::after { transform: translateX(3px); }

/* Track accents */
.rp-track-discover  .rp-card__icon { background: #EAF2FA; }
.rp-track-transform .rp-card__icon { background: var(--brand-50); }
.rp-track-optimize  .rp-card__icon { background: var(--accent-50); }
/* Links stay one colour across all three tracks — the icon tint carries the
   distinction, so the page never reads as four competing accent colours. */

/* Feature blocks (icon + text, no chrome) */
.rp-feature { display: flex; gap: 1rem; }
.rp-feature__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); display: grid; place-items: center; }
.rp-feature__t { font-size: 1.03rem; font-weight: 700; font-family: var(--font-sans); color: var(--ink); margin: .15rem 0 .35rem; letter-spacing: -0.01em; }
.rp-feature__d { font-size: .89rem; line-height: 1.6; color: var(--muted); margin: 0; }
.rp-bg-deep .rp-feature__ico { background: rgba(255,255,255,.08); }
.rp-bg-deep .rp-feature__t { color: #fff; }
.rp-bg-deep .rp-feature__d { color: rgba(255,255,255,.76); }

/* Stats */
.rp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.rp-stat { background: #fff; padding: 1.6rem 1.25rem; text-align: center; }
.rp-stat__v { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.7rem); font-weight: 600; color: var(--brand-800); line-height: 1; }
.rp-stat__l { margin-top: .5rem; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }

/* Checklist */
.rp-checks { display: grid; gap: .72rem; }
.rp-checks--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: .72rem 1.6rem; }
.rp-check { display: flex; gap: .7rem; font-size: .93rem; line-height: 1.55; color: var(--ink-2); }
.rp-check__m {
	flex: none; margin-top: .3rem; width: 17px; height: 17px; border-radius: 50%;
	background: var(--brand-50); display: grid; place-items: center;
}
.rp-check__m::after { content: ''; width: 7px; height: 4px; border-left: 1.7px solid var(--brand-600); border-bottom: 1.7px solid var(--brand-600); transform: rotate(-45deg) translate(1px,-1px); }
.rp-bg-deep .rp-check { color: rgba(255,255,255,.85); }
.rp-bg-deep .rp-check__m { background: rgba(94,168,65,.18); }
.rp-bg-deep .rp-check__m::after { border-color: var(--brand-400); }

/* Numbered steps */
.rp-steps { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.rp-step { background: #fff; padding: 1.9rem 1.5rem; }
.rp-step__n { font-family: var(--font-display); font-size: 2.1rem; font-weight: 500; color: var(--brand-200); line-height: 1; }
.rp-step__t { margin: .8rem 0 .5rem; font-size: 1.12rem; font-weight: 700; font-family: var(--font-sans); color: var(--ink); letter-spacing: -0.012em; }
.rp-step__d { font-size: .9rem; line-height: 1.62; color: var(--muted); margin: 0; }
@media (min-width: 760px) { .rp-steps--4 { grid-template-columns: repeat(4, 1fr); } .rp-steps--3 { grid-template-columns: repeat(3, 1fr); } }

/* Split media/text */
.rp-split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
@media (min-width: 900px) { .rp-split { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rp-split--wide-media { grid-template-columns: 1.08fr 1fr; } .rp-split--reverse > *:first-child { order: 2; } }
.rp-figure { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--brand-50); }
.rp-figure img { width: 100%; height: 100%; object-fit: cover; }
.rp-figure--tall { aspect-ratio: 4 / 5; }
.rp-figure--wide { aspect-ratio: 4 / 3; }
/* For the studio portrait, whose subject sits inside a circle — any other
   ratio slices the circle top and bottom. */
.rp-figure--square { aspect-ratio: 1 / 1; }
.rp-figure__badge {
	position: absolute; left: 1.1rem; bottom: 1.1rem; z-index: 2;
	background: rgba(255,255,255,.95); border-radius: var(--r-md); padding: .7rem 1rem;
	box-shadow: var(--shadow-md); backdrop-filter: blur(4px);
}
.rp-figure__badge strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--brand-800); line-height: 1; }
.rp-figure__badge span { display: block; margin-top: .2rem; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- 9. Accordion ------------------------------------------------- */

.rp-accordion { border-top: 1px solid var(--line); }
.rp-accordion__item { border-bottom: 1px solid var(--line); }
.rp-accordion__heading { margin: 0; font-family: var(--font-sans); }
.rp-accordion__button {
	width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem;
	padding: 1.25rem 0; background: none; border: 0; cursor: pointer; text-align: left;
	font-family: var(--font-sans); font-size: 1.03rem; font-weight: 650; color: var(--ink); line-height: 1.45;
	transition: color .2s var(--ease);
}
.rp-accordion__button:hover { color: var(--brand-800); }
.rp-accordion__mark {
	flex: none; position: relative; margin-top: .38rem; width: 15px; height: 15px;
}
.rp-accordion__mark::before, .rp-accordion__mark::after {
	content: ''; position: absolute; background: var(--brand-700); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.rp-accordion__mark::before { left: 0; top: 6.6px; width: 15px; height: 1.8px; }
.rp-accordion__mark::after { left: 6.6px; top: 0; width: 1.8px; height: 15px; }
.rp-accordion__item.is-open .rp-accordion__mark::after { transform: rotate(90deg); opacity: 0; }
.rp-accordion__content { padding: 0 0 1.4rem; max-width: 74ch; }
.rp-accordion__content p { font-size: .95rem; line-height: 1.7; color: var(--muted); }

/* ---------- 10. Testimonials --------------------------------------------- */

.rp-quote {
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: 1.75rem; height: 100%; display: flex; flex-direction: column;
}
.rp-quote__mark { width: 26px; height: 26px; opacity: .9; margin-bottom: 1rem; }
.rp-quote__text { font-size: .96rem; line-height: 1.72; color: var(--ink-2); flex: 1; }
.rp-quote__foot { margin-top: 1.35rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); display: flex; align-items: center; gap: .8rem; }
.rp-quote__avatar {
	flex: none; width: 40px; height: 40px; border-radius: 50%;
	background: var(--brand-800); color: #fff; display: grid; place-items: center;
	font-size: .82rem; font-weight: 700; letter-spacing: .02em;
}
.rp-quote__name { font-size: .93rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.rp-quote__role { font-size: .78rem; color: var(--muted); }
.rp-quote__result {
	display: inline-block; margin-top: 1rem; padding: .3rem .7rem; border-radius: var(--r-pill);
	background: var(--brand-50); color: var(--brand-800); font-size: .74rem; font-weight: 700;
}

/* Before / after */
.rp-ba { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.rp-ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.rp-ba__cell { position: relative; background: var(--brand-50); aspect-ratio: 3 / 4; }
.rp-ba__cell img { width: 100%; height: 100%; object-fit: cover; }
.rp-ba__tag {
	position: absolute; top: .6rem; left: .6rem; padding: .22rem .6rem; border-radius: var(--r-pill);
	background: rgba(255,255,255,.92); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.rp-ba__cell--after .rp-ba__tag { background: var(--brand-800); color: #fff; }
.rp-ba__foot { padding: .9rem 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.rp-ba__name { font-weight: 700; font-size: .93rem; color: var(--ink); }
.rp-ba__res { font-size: .78rem; color: var(--brand-700); font-weight: 650; }

/* ---------- 11. Pricing -------------------------------------------------- */

.rp-plan {
	position: relative; display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.9rem 1.6rem;
	transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.rp-plan:hover { box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.rp-plan--featured { border-color: var(--brand-800); box-shadow: var(--shadow-lg); }
@media (min-width: 1000px) { .rp-plan--featured { transform: translateY(-14px); } }
.rp-plan__flag {
	position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
	padding: .3rem .9rem; border-radius: var(--r-pill); background: var(--brand-800); color: #fff;
	font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap;
}
.rp-plan__ico { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-50); display: grid; place-items: center; margin-bottom: 1rem; }
.rp-plan__term { font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--brand-700); }
.rp-plan__name { margin: .5rem 0 .9rem; font-size: 1.36rem; }
/* The headline figure on a plan card: session count, then duration. */
.rp-plan__figure { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .55rem; padding-bottom: 1.15rem; border-bottom: 1px solid var(--line-soft); }
.rp-plan__figure strong { font-family: var(--font-display); font-size: 2.15rem; font-weight: 600; color: var(--ink); line-height: 1; }
.rp-plan__figure em { font-style: normal; font-size: .92rem; font-weight: 650; color: var(--ink-2); }
.rp-plan__figure span { flex-basis: 100%; margin-top: .3rem; font-size: .82rem; color: var(--muted); }
.rp-plan__inherit { margin: 1.15rem 0 .2rem; font-size: .82rem; font-weight: 700; color: var(--brand-700); }
.rp-plan__list { margin: 1.15rem 0 0; display: grid; gap: .6rem; flex: 1; }
.rp-plan__ideal { margin-top: 1.35rem; padding: .9rem 1rem; border-radius: var(--r-md); background: var(--sand); font-size: .83rem; line-height: 1.55; color: var(--muted); }
.rp-plan__ideal strong { color: var(--ink); }
.rp-plan__cta { margin-top: 1.35rem; display: grid; gap: .55rem; }

/* Comparison table */
.rp-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; -webkit-overflow-scrolling: touch; }
.rp-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .9rem; }
.rp-table th, .rp-table td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.rp-table thead th { background: var(--brand-950); color: #fff; font-weight: 700; font-size: .84rem; letter-spacing: .01em; }
.rp-table thead th:first-child { border-top-left-radius: var(--r-lg); }
.rp-table thead th small { display: block; font-weight: 500; color: rgba(255,255,255,.6); font-size: .76rem; margin-top: .15rem; }
.rp-table tbody th { font-weight: 650; color: var(--ink); background: var(--sand); width: 34%; }
.rp-table tbody tr:last-child th, .rp-table tbody tr:last-child td { border-bottom: 0; }
.rp-table .rp-yes, .rp-table .rp-no { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; }
.rp-table .rp-yes { background: var(--brand-50); }
.rp-table .rp-yes::after { content: ''; width: 8px; height: 4px; border-left: 1.8px solid var(--brand-600); border-bottom: 1.8px solid var(--brand-600); transform: rotate(-45deg) translate(1px,-1px); }
.rp-table .rp-no { background: #F3F1EE; }
.rp-table .rp-no::after { content: ''; width: 9px; height: 1.6px; background: #B9B4AD; border-radius: 2px; }

/* ---------- 12. Forms ---------------------------------------------------- */

.rp-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem; }
.rp-form--dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); }
.rp-form__title { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; color: var(--ink); margin: 0 0 1.2rem; letter-spacing: -0.015em; }
.rp-form--dark .rp-form__title { color: #fff; }
.rp-form__grid { display: grid; gap: .9rem; }
@media (min-width: 560px) { .rp-form__grid { grid-template-columns: 1fr 1fr; } .rp-field--full { grid-column: 1 / -1; } }
.rp-field { margin: 0; display: grid; gap: .35rem; }
.rp-field label { font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--ink-2); }
.rp-form--dark .rp-field label { color: rgba(255,255,255,.72); }
.rp-field input, .rp-field select, .rp-field textarea {
	width: 100%; padding: .72rem .85rem; font-family: inherit; font-size: .92rem; color: var(--ink);
	background: var(--sand); border: 1px solid var(--line); border-radius: var(--r-md);
	transition: border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.rp-field textarea { resize: vertical; min-height: 84px; }
.rp-field input:focus, .rp-field select:focus, .rp-field textarea:focus {
	outline: none; background: #fff; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(94,168,65,.14);
}
.rp-form--dark .rp-field input, .rp-form--dark .rp-field select, .rp-form--dark .rp-field textarea {
	background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff;
}
/* The native option list is painted by the OS on its own light ground, so it
   must not inherit the white text the closed control uses. */
.rp-field select option {
	background-color: #fff;
	color: var(--ink);
}
.rp-form--dark .rp-field input::placeholder, .rp-form--dark .rp-field textarea::placeholder { color: rgba(255,255,255,.4); }
.rp-form .rp-btn { margin-top: 1.15rem; }
.rp-form__note { margin: .85rem 0 0; font-size: .76rem; color: var(--muted); text-align: center; }
.rp-form--dark .rp-form__note { color: rgba(255,255,255,.7); }
.rp-form__alert, .rp-form__ok { margin: 0 0 1rem; padding: .7rem .9rem; border-radius: var(--r-md); font-size: .86rem; }
.rp-form__alert { background: #FCEEE9; color: #A03A18; }
.rp-form__ok { background: var(--brand-50); color: var(--brand-800); }
.rp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 13. CTA band ------------------------------------------------- */

.rp-cta { position: relative; overflow: hidden; background: var(--brand-950); }
.rp-cta__bg { position: absolute; inset: 0; }
.rp-cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.rp-cta__inner { position: relative; padding-block: clamp(3rem, 2rem + 5vw, 5.5rem); text-align: center; }
.rp-cta__title { color: #fff; max-width: 20ch; margin-inline: auto; }
.rp-cta__sub { margin: 1.1rem auto 0; max-width: 58ch; color: rgba(255,255,255,.82); font-size: var(--step-1); }
.rp-cta__btns { margin-top: 2rem; justify-content: center; }
.rp-cta__foot { margin-top: 1.8rem; font-size: .82rem; color: rgba(255,255,255,.68); }
.rp-cta__foot a { color: rgba(255,255,255,.78); text-decoration: underline; text-underline-offset: 3px; }
.rp-cta__foot a:hover { color: #fff; }

/* ---------- 14. Footer --------------------------------------------------- */

.rp-footer { background: var(--brand-950); color: rgba(255,255,255,.74); font-size: .9rem; }
.rp-footer a { color: rgba(255,255,255,.82); }
.rp-footer a:hover { color: #fff; }
.rp-footer__top { padding-block: clamp(2.75rem, 2rem + 3.5vw, 4.5rem); }
.rp-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .rp-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1060px) { .rp-footer__grid { grid-template-columns: 1.5fr 1fr 1.15fr 1.1fr; } }
.rp-footer__logo img { height: 46px; width: auto; }
.rp-footer__about { margin-top: 1.2rem; max-width: 34ch; line-height: 1.68; font-size: .875rem; }
.rp-footer__title { font-family: var(--font-sans); font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 1.1rem; }
.rp-footer__list { display: grid; gap: .58rem; font-size: .875rem; }
.rp-footer__contact { display: grid; gap: .8rem; font-size: .875rem; }
.rp-footer__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.rp-footer__contact .rp-icon { width: 17px; height: 17px; flex: none; margin-top: .18rem; opacity: .75; }
.rp-footer__hours { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: .4rem; font-size: .82rem; }
.rp-footer__hours div { display: flex; justify-content: space-between; gap: 1rem; }
.rp-footer__hours span:last-child { color: rgba(255,255,255,.85); }
.rp-social { display: flex; gap: .55rem; margin-top: 1.5rem; }
.rp-social a {
	width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
	background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
	transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.rp-social a:hover { background: var(--brand-700); border-color: var(--brand-600); transform: translateY(-2px); }
.rp-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,.85); }
.rp-social a:hover svg { fill: #fff; }

.rp-footer__disclaimer {
	padding-block: 1.4rem; border-top: 1px solid rgba(255,255,255,.1);
	font-size: .78rem; line-height: 1.65; color: rgba(255,255,255,.64); max-width: 105ch;
}
.rp-footer__bar {
	padding-block: 1.1rem; border-top: 1px solid rgba(255,255,255,.1);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem;
	font-size: .78rem; color: rgba(255,255,255,.66);
}
.rp-footer__bar ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.rp-footer-widget { margin-top: 1.4rem; font-size: .82rem; }
.rp-footer-widget__title { font-size: .8rem; color: #fff; margin: 0 0 .4rem; font-family: var(--font-sans); }

/* ---------- 15. Sticky mobile CTA ---------------------------------------- */

.rp-sticky {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
	display: none; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
	background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
	border-top: 1px solid var(--line);
}
.rp-sticky .rp-btn { flex: 1; padding: .78rem 1rem; font-size: .86rem; }
@media (max-width: 767px) { .rp-sticky { display: flex; } body.rp { padding-bottom: 68px; } }

/* ---------- 16. Misc ----------------------------------------------------- */

.rp-icon { display: block; width: 24px; height: 24px; object-fit: contain; }

.rp-pill {
	display: inline-flex; align-items: center; gap: .45rem;
	padding: .34rem .85rem; border-radius: var(--r-pill);
	background: var(--brand-50); color: var(--brand-800);
	font-size: .76rem; font-weight: 700; letter-spacing: .02em;
}
.rp-pill--accent { background: var(--accent-50); color: var(--accent-700); }
.rp-pill--light { background: rgba(255,255,255,.1); color: rgba(255,255,255,.86); }

.rp-note {
	display: flex; gap: .85rem; padding: 1.05rem 1.2rem;
	border-radius: var(--r-md); border-left: 3px solid var(--accent-500); background: var(--accent-50);
	font-size: .88rem; line-height: 1.62; color: #7A4A14;
}
.rp-note strong { color: #5E3708; }

.rp-swiper { overflow: hidden; padding-bottom: 4px; }
.rp-swiper .swiper-slide { height: auto; }
.rp-swiper-nav { display: flex; gap: .5rem; }
.rp-swiper-nav button {
	width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
	display: grid; place-items: center; cursor: pointer; color: var(--brand-800);
	transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.rp-swiper-nav button:hover { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }
.rp-swiper-nav button[disabled] { opacity: .35; cursor: default; }
.rp-swiper-nav i {
	width: 15px; height: 9px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 8'%3E%3Cpath d='M0 4h13M10 1l3 3-3 3' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 8'%3E%3Cpath d='M0 4h13M10 1l3 3-3 3' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.rp-swiper-nav button.is-prev i { transform: rotate(180deg); }

/* Track heading rows on the coaching page */
.rp-trackhead { display: flex; align-items: flex-start; gap: 1.1rem; margin-bottom: 1.6rem; }
.rp-trackhead__n {
	font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--brand-700);
	padding-top: .28rem; letter-spacing: .04em;
}
.rp-trackhead__t { font-size: var(--step-2); }
.rp-trackhead__d { margin: .4rem 0 0; color: var(--muted); font-size: .95rem; max-width: 66ch; }

/* Post / blog */
.rp-post-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.rp-post-card__media { aspect-ratio: 16/9; background: var(--brand-50); }
.rp-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.rp-post-card__body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.rp-post-card__meta { font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rp-post-card__title { margin: .5rem 0 .5rem; font-size: 1.16rem; }
.rp-pagination { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 2.5rem; }
.rp-pagination .page-numbers {
	display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 .7rem;
	border: 1px solid var(--line); border-radius: var(--r-md); font-size: .88rem; font-weight: 600; color: var(--ink-2);
}
.rp-pagination .page-numbers.current, .rp-pagination .page-numbers:hover { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }

/* Entry content (WP editor output on generic pages) */
.rp-entry { padding-block: var(--section-sm); }
.rp-entry .rp-prose img { border-radius: var(--r-md); margin-block: 1.6rem; }
.rp-entry .rp-prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Reveal on scroll */
.rp-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rp-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rp-reveal { opacity: 1; transform: none; } }

/* Print */
@media print {
	.rp-header, .rp-topbar, .rp-sticky, .rp-cta, .rp-footer__top { display: none !important; }
	body.rp { padding-bottom: 0; }
}

/* ---------- 17. Guide tile ----------------------------------------------- */

.rp-guide {
	display: flex; flex-direction: column;
	padding: 1.75rem 1.6rem; border-radius: var(--r-lg);
	background: var(--brand-900); color: rgba(255,255,255,.84);
	border: 1px solid var(--brand-800);
}
.rp-guide--sand { background: var(--sand); color: var(--muted); border-color: var(--line); }
.rp-guide__ico {
	display: inline-grid; place-items: center; width: 42px; height: 42px;
	border-radius: 11px; background: rgba(255,255,255,.1); margin-bottom: 1.1rem;
}
.rp-guide--sand .rp-guide__ico { background: var(--brand-50); }
.rp-guide__t { font-size: 1.2rem; color: #fff; }
.rp-guide--sand .rp-guide__t { color: var(--ink); }
.rp-guide__d { margin: .7rem 0 0; font-size: .9rem; line-height: 1.62; flex: 1; }
.rp-guide__cta { margin-top: 1.4rem; }

/* ---------- 18. Colour surfaces ------------------------------------------ */

/* Soft, brand-derived section grounds. Used mostly on phones, where a long
   run of white and deep green reads flat. */
.rp-bg-mint  { background: var(--tint-mint); }
.rp-bg-sky   { background: var(--tint-sky); }
.rp-bg-peach { background: var(--tint-peach); }
.rp-bg-gold  { background: var(--tint-gold); }

/* Icon chips pick up the surrounding tint so sections feel colour-coded. */
.rp-bg-sky   .rp-feature__ico, .rp-bg-sky   .rp-card__icon { background: var(--sky-100); }
.rp-bg-peach .rp-feature__ico, .rp-bg-peach .rp-card__icon { background: #F7E2CD; }
.rp-bg-gold  .rp-feature__ico, .rp-bg-gold  .rp-card__icon { background: #F5E7C7; }

/* Track stack on the services section. `min-width: 0` matters: grid children
   default to `min-width: auto`, which lets an inner horizontal scroller size
   its ancestors to its own content and blow the page out sideways. */
.rp-tracks { margin-top: 3rem; display: grid; gap: 3rem; }
.rp-tracks > * { min-width: 0; }

/* ---------- 19. Horizontal card rail ------------------------------------- */

/* On a phone a six-card grid becomes an endless scroll. As a snap rail the
   same cards stay glanceable and the page gets dramatically shorter. */
@media (max-width: 767px) {
	.rp-rail {
		display: grid;
		/* .rp-grid sets an explicit track; clear it or the first card is squeezed
		   into that column while the rest flow past it. */
		grid-template-columns: none;
		min-width: 0;
		grid-auto-flow: column;
		grid-auto-columns: 78%;
		align-items: start;
		gap: .85rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		/* Bleed to the screen edge so cards look like a deck, not a cramped box. */
		margin-inline: calc(var(--gutter) * -1);
		padding-inline: var(--gutter);
		padding-bottom: .35rem;
		scroll-padding-inline: var(--gutter);
	}

	.rp-rail::-webkit-scrollbar { display: none; }
	.rp-rail > * { scroll-snap-align: start; }
	.rp-rail--wide { grid-auto-columns: 86%; }

	/* Bare feature blocks look unfinished in a rail — give them the same
	   card chrome the other rails already have. */
	.rp-rail > .rp-feature,
	.rp-rail > .rp-reveal.rp-feature {
		background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
		padding: 1.2rem 1.1rem; box-shadow: var(--shadow-sm);
	}

	/* A quiet hint that there is more to the right. */
	.rp-rail-hint {
		display: flex; align-items: center; gap: .4rem;
		margin-top: .8rem; font-size: .74rem; font-weight: 700;
		letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
	}
	.rp-rail-hint::after {
		content: ''; width: 14px; height: 8px; background: currentColor;
		-webkit-mask: var(--rp-arrow) no-repeat center / contain;
		mask: var(--rp-arrow) no-repeat center / contain;
		animation: rp-nudge 1.8s var(--ease) infinite;
	}
	@keyframes rp-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
}
@media (min-width: 768px) { .rp-rail-hint { display: none; } }

/* ---------- 20. Video testimonials --------------------------------------- */

.rp-vid {
	position: relative; overflow: hidden; border-radius: var(--r-lg);
	background: var(--brand-950); border: 1px solid var(--line);
}
.rp-vid video {
	display: block; width: 100%; height: 100%; object-fit: cover; background: var(--brand-950);
}
.rp-vid--portrait { aspect-ratio: 9 / 16; }
.rp-vid--square { aspect-ratio: 1 / 1; }

/* The two clips were filmed in different aspect ratios. Capping each figure
   keeps them a comparable height instead of letting the portrait clip run a
   thousand pixels tall on a desktop column. */
@media (min-width: 768px) {
	.rp-vid-fig { margin-inline: auto; }
	.rp-vid-fig--portrait { max-width: 300px; }
	.rp-vid-fig--square { max-width: 480px; }
}
.rp-vid__meta { display: flex; align-items: center; gap: .7rem; margin-top: .9rem; }
.rp-vid__avatar {
	flex: none; width: 38px; height: 38px; border-radius: 50%;
	background: var(--brand-800); color: #fff; display: grid; place-items: center;
	font-size: .78rem; font-weight: 700;
}
.rp-vid__name { font-size: .92rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.rp-vid__role { font-size: .78rem; color: var(--muted); }
.rp-vid__note { margin-top: 1.4rem; font-size: .8rem; line-height: 1.6; color: var(--muted); }

/* ---------- 21. Speaking gallery ----------------------------------------- */

.rp-speak { border-radius: var(--r-lg); overflow: hidden; background: var(--brand-50); position: relative; }
.rp-speak img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.rp-speak__cap {
	position: absolute; inset: auto 0 0 0; padding: 2.2rem .95rem .85rem;
	background: linear-gradient(180deg, rgba(14,44,30,0) 0%, rgba(14,44,30,.88) 100%);
	color: #fff; font-size: .82rem; font-weight: 600; line-height: 1.4;
}

/* ---------- 22. Phone layout --------------------------------------------- */

@media (max-width: 767px) {

	/* Rhythm: desktop spacing reads as dead air on a 390px screen. */
	:root {
		--section: 2.9rem;
		--section-sm: 2.3rem;
		--gutter: 1.15rem;
	}
	.rp-section--tight { padding-block: 1.75rem; }

	/* Headings step down so more of each section fits in one view. */
	:where(.rp) :where(h2) { font-size: 1.72rem; }
	:where(.rp) :where(h3) { font-size: 1.24rem; }
	.rp-heading__sub { font-size: 1rem; margin-top: .75rem; }
	.rp-kicker { margin-bottom: .7rem; font-size: .7rem; }
	.rp-lead { font-size: 1.02rem; }

	/* --- Light, colourful hero -------------------------------------------- */
	.rp-hero { background: linear-gradient(170deg, var(--tint-mint) 0%, var(--cream) 58%, var(--tint-peach) 100%); }
	.rp-hero__bg, .rp-hero__scrim { display: none; }
	.rp-hero__inner { padding-block: 1.9rem 2.2rem; }
	.rp-hero__grid { gap: 1.5rem; }

	.rp-heroslider { display: block; margin: 0 0 1.1rem; }
	.rp-hero__portrait { display: block; margin: 0 auto .95rem; width: 158px; }
	.rp-hero__portrait img {
		width: 158px; height: 158px; border-radius: 50%; object-fit: cover;
		border: 4px solid #fff; box-shadow: var(--shadow-md);
	}

	.rp-hero .rp-pill--light {
		background: #fff; color: var(--brand-800); border: 1px solid var(--brand-100);
		box-shadow: var(--shadow-sm); margin-bottom: .85rem;
		font-size: .68rem; letter-spacing: .01em; padding: .32rem .7rem;
	}
	.rp-hero__title { color: var(--ink); font-size: 1.95rem; text-align: center; max-width: none; }
	/* The italic half becomes its own line, so hide the desktop <br>. */
	.rp-hero__title em { display: block; color: var(--brand-700); }
	.rp-hero__title br { display: none; }
	.rp-hero__sub { color: var(--ink-2); font-size: .96rem; text-align: center; margin-top: .7rem; }

	.rp-hero__btns { margin-top: 1.2rem; flex-direction: column; gap: .6rem; }
	.rp-hero__btns .rp-btn--light { background: var(--brand-800); color: #fff; box-shadow: var(--shadow-md); }
	.rp-hero__btns .rp-btn--ghost { border-color: var(--brand-200); color: var(--brand-800); }

	/* Stat chips: colourful, compact, two rows of two. */
	.rp-hero__meta { margin-top: 1.6rem; padding-top: 0; border-top: 0; gap: .6rem; }
	.rp-hero__stat {
		background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-md);
		padding: .7rem .5rem; text-align: center; box-shadow: var(--shadow-sm);
	}
	.rp-hero__stat strong { font-size: 1.4rem; }
	.rp-hero__stat > span { font-size: .62rem; letter-spacing: .05em; color: var(--muted); margin-top: .15rem; }
	.rp-hero__stat:nth-child(1) strong { color: var(--brand-700); }
	.rp-hero__stat:nth-child(2) strong { color: var(--sky-700); }
	.rp-hero__stat:nth-child(3) strong { color: var(--accent-700); }
	.rp-hero__stat:nth-child(4) strong { color: var(--brand-600); }

	/* The dark "where do you start" card becomes a light, friendly card. */
	.rp-hero__card {
		background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md);
		backdrop-filter: none; padding: 1.3rem;
	}
	.rp-hero__card h2 { color: var(--ink); font-size: 1.16rem; }
	.rp-hero__card-lead, .rp-hero__card-note { color: var(--muted); }
	.rp-hero__list li { color: var(--ink-2); font-size: .87rem; }
	.rp-hero__tick { background: var(--brand-100); }
	.rp-hero__tick::after { border-color: var(--brand-700); }

	/* --- Cards & sections -------------------------------------------------- */
	.rp-card__media { aspect-ratio: 16 / 10; }
	.rp-card__body { padding: 1.15rem; }
	.rp-card__title { font-size: 1.06rem; }
	.rp-card__text { font-size: .875rem; margin-top: .45rem; }
	.rp-card__link { margin-top: .85rem; padding-top: .75rem; font-size: .78rem; }

	.rp-feature__ico { width: 38px; height: 38px; border-radius: 10px; }
	.rp-feature__t { font-size: .97rem; }
	.rp-feature__d { font-size: .85rem; }

	.rp-step { padding: 1.35rem 1.15rem; }
	.rp-step__n { font-size: 1.7rem; }
	.rp-step__t { font-size: 1.04rem; margin: .55rem 0 .35rem; }
	.rp-step__d { font-size: .86rem; }

	.rp-split { gap: 1.75rem; }
	.rp-grid { gap: .85rem; }

	/* Section headers stay left-aligned on phones — centred text over several
	   lines is harder to scan. */
	.rp-heading--center { text-align: left; }
	.rp-heading--center .rp-kicker { justify-content: flex-start; }
	.rp-heading--center .rp-heading__title,
	.rp-heading--center .rp-heading__sub { margin-inline: 0; max-width: none; }

	/* --- Pricing ----------------------------------------------------------- */
	.rp-plan { padding: 1.4rem 1.2rem; }
	.rp-plan--featured { transform: none; }
	.rp-plan__flag { position: static; transform: none; display: inline-block; margin-bottom: .8rem; }
	.rp-plan__name { font-size: 1.2rem; }
	.rp-plan__figure strong { font-size: 1.85rem; }

	/* --- Forms & accordion -------------------------------------------------- */
	.rp-accordion__button { padding-block: 1.05rem; font-size: .96rem; }
	.rp-form { padding: 1.2rem; }
	.rp-form__title { font-size: 1.14rem; margin-bottom: .9rem; }
	/* 16px stops iOS zooming the page when a field is focused. */
	.rp-field input, .rp-field select, .rp-field textarea { font-size: 16px; }

	/* --- Interior heroes ---------------------------------------------------- */
	.rp-phero__inner { padding-block: 2.1rem 2.4rem; }
	.rp-phero__bg img { opacity: .3; }
	.rp-phero__title { font-size: 1.95rem; }
	.rp-phero__sub { font-size: 1rem; margin-top: .8rem; }
	.rp-phero .rp-btns { flex-direction: column; }

	/* --- Quotes ------------------------------------------------------------- */
	.rp-quote { padding: 1.3rem; }
	.rp-quote__text { font-size: .92rem; line-height: 1.65; }

	/* --- CTA & footer ------------------------------------------------------- */
	.rp-cta__inner { padding-block: 2.6rem; }
	.rp-cta__btns { flex-direction: column; }
	.rp-footer__top { padding-block: 2.2rem; }
	.rp-footer__grid { gap: 1.7rem; }

	.rp-btns .rp-btn { width: 100%; }
	.rp-speak img { aspect-ratio: 3 / 2; }
}

@media (max-width: 400px) {
	.rp-hero__title { font-size: 1.85rem; }
	.rp-hero__portrait, .rp-hero__portrait img { width: 165px; }
	.rp-hero__portrait img { height: 165px; }
}

/* ---------- 23. Phone hero banner slider --------------------------------- */

/* Desktop keeps the full-bleed hero banner; the slider is a phone device.
   Scoped to a min-width so it cannot override the phone rule further up. */
@media (min-width: 768px) { .rp-heroslider { display: none; } }

.rp-heroslide {
	position: relative; margin: 0; overflow: hidden;
	border-radius: var(--r-lg); background: var(--brand-50);
	border: 1px solid rgba(255,255,255,.7);
	box-shadow: var(--shadow-md);
}
.rp-heroslide img {
	width: 100%; height: 100%; object-fit: cover;
	object-position: var(--focus, center);
	aspect-ratio: 4 / 3;
}
.rp-heroslide__cap {
	position: absolute; inset: auto 0 0 0;
	padding: 2.4rem .95rem .9rem;
	background: linear-gradient(180deg, rgba(14,44,30,0) 0%, rgba(14,44,30,.9) 100%);
	color: #fff; font-size: .8rem; font-weight: 600; line-height: 1.4;
}

/* Swiper's stylesheet is enqueued after the theme's, so its
   `.swiper-pagination { position: absolute }` needs out-specifying here. */
.rp-heroslider .swiper-pagination.rp-heroslider__dots {
	position: static; margin-top: .7rem; display: flex;
	justify-content: center; gap: .4rem; width: auto;
}
.rp-heroslider__dots .swiper-pagination-bullet {
	width: 7px; height: 7px; margin: 0; opacity: 1;
	background: var(--brand-200); transition: width .25s var(--ease), background .25s var(--ease);
}
.rp-heroslider__dots .swiper-pagination-bullet-active {
	width: 22px; border-radius: var(--r-pill); background: var(--brand-700);
}

/* ---------- 24. Testimonials page ---------------------------------------- */

html.rp-lock { overflow: hidden; }

/* Headings are the in-page jump targets; clear the sticky header. */
.rp-heading__title[id] { scroll-margin-top: 8.5rem; }

.rp-jump { background: #fff; border-bottom: 1px solid var(--line-soft); }
.rp-jump ul {
	display: flex; gap: .5rem; margin: 0; padding: .85rem 0; list-style: none;
	overflow-x: auto; scrollbar-width: none;
}
.rp-jump ul::-webkit-scrollbar { display: none; }
.rp-jump a {
	display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
	padding: .5rem .95rem; border-radius: var(--r-pill);
	background: var(--brand-50); border: 1px solid var(--line-soft);
	color: var(--brand-800); font-size: .85rem; font-weight: 600; text-decoration: none;
	transition: background .2s var(--ease), border-color .2s var(--ease);
}
.rp-jump a:hover { background: #fff; border-color: var(--brand-200); }
.rp-jump a span {
	min-width: 1.4rem; padding: .05rem .4rem; border-radius: var(--r-pill);
	background: #fff; color: var(--ink-2); font-size: .74rem; text-align: center;
}
@media (min-width: 768px) { .rp-jump ul { justify-content: center; } }

/* WhatsApp message cards: the top of the screenshot (name + first lines) is
   the proof, so it is cropped from the top and fades into the caption. */
.rp-msg {
	margin: 0; display: flex; flex-direction: column; overflow: hidden;
	background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}
.rp-msg__shot {
	position: relative; display: block; width: 100%; height: 340px; padding: 0; border: 0;
	overflow: hidden; background: #DCE8DF; cursor: zoom-in;
}
.rp-msg__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.rp-msg__shot::after {
	content: ''; position: absolute; inset: auto 0 0 0; height: 42%;
	background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.96) 100%);
}
.rp-msg__zoom {
	position: absolute; z-index: 1; left: 50%; bottom: .9rem; transform: translateX(-50%);
	padding: .42rem .9rem; border-radius: var(--r-pill); white-space: nowrap;
	background: var(--brand-800); color: #fff; font-size: .75rem; font-weight: 700;
	box-shadow: var(--shadow-sm);
}
.rp-msg__shot:hover .rp-msg__zoom, .rp-msg__shot:focus-visible .rp-msg__zoom { background: var(--brand-950); }
.rp-msg__body { padding: 1rem 1.15rem 1.25rem; }
.rp-msg__result {
	display: inline-block; padding: .28rem .65rem; border-radius: var(--r-pill);
	background: var(--tint-peach); color: var(--accent-700);
	font-size: .76rem; font-weight: 700; line-height: 1.35;
}
.rp-msg__name { margin: .65rem 0 .3rem; font-size: 1rem; font-weight: 700; color: var(--ink); }
.rp-msg__line { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--ink-2); }

/* Certification photographs. The certificate is a document, so it is shown
   whole rather than cropped. */
.rp-recog {
	margin: 0; overflow: hidden; background: #fff;
	border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.rp-recog__btn {
	display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0;
	overflow: hidden; background: var(--cream); cursor: zoom-in;
}
.rp-recog__btn img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.rp-recog--doc .rp-recog__btn { background: #fff; }
.rp-recog--doc .rp-recog__btn img { object-fit: contain; object-position: center; padding: 1rem; }
.rp-recog figcaption { padding: .95rem 1.15rem 1.15rem; font-size: .88rem; line-height: 1.5; color: var(--ink-2); }

/* Lightbox */
.rp-lb {
	position: fixed; inset: 0; z-index: 1000;
	display: grid; place-items: center; padding: clamp(1rem, 4vw, 2.5rem);
	background: rgba(8, 26, 18, .9);
}
.rp-lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.rp-lb__img {
	width: auto; height: auto; max-width: min(100%, 900px); max-height: calc(100vh - 8rem);
	object-fit: contain; border-radius: var(--r-lg); background: #fff;
	box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.rp-lb__cap { margin-top: .8rem; max-width: 60ch; color: rgba(255,255,255,.88); font-size: .85rem; text-align: center; }
.rp-lb__close {
	position: absolute; top: 1rem; right: 1rem; z-index: 1;
	width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
	display: grid; place-items: center; background: #fff; color: var(--ink);
	font-size: 1.7rem; line-height: 1;
}

@media (max-width: 767px) {
	.rp-msg__shot { height: 300px; }
	.rp-jump ul { padding-block: .7rem; }
}
