/* Redpoint Draft E — "human-first editorial" design system. See docs/DRAFT_E_BRIEF.md (Components).
   Base only: tokens, type, layout, buttons, nav, footer, editorial primitives, prose, forms, motion.
   Page layouts live in assets/pages/<slug>.css and use the tokens below. */

:root {
  /* palette — warm paper, deep warm ink, Redpoint red for actions, quiet green for "safe" */
  --red: #de2127;          /* Redpoint red: buttons, one emphasis per view */
  --red-dark: #a91c21;     /* hover / red text on paper (AA) */
  --red-soft: #fde2e2;     /* tint for highlights and focus rings */
  --paper: #ffffff;        /* page background — clean white */
  --paper-2: #f4f5f7;      /* alternate band — cool light grey */
  --card: #ffffff;         /* cards, inputs, dropdowns */
  --sand: #e4e7ec;         /* hairlines */
  --sand-2: #cfd4dc;       /* stronger hairlines, input borders */
  --ink: #101318;          /* headings */
  --body: #3a404a;         /* body copy */
  --mute: #626a76;         /* captions, metadata (AA on --paper and --paper-2) */
  --night: #111418;        /* rare dark band */
  --safe: #2f6b4f;         /* "safe / resolved" state only */
  --safe-soft: #dbe8df;
  --on-ink: var(--paper);  /* text colour on an --ink fill (flips inside .rp-night) */

  /* type */
  --display: "Inter Tight", "Instrument Sans", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;   /* tiny data labels only */
  --fs-body: 18px;
  --fs-small: 15.5px;
  --fs-caption: 14px;
  --fs-label: 12.5px;
  --fs-lead: clamp(19px, 1.55vw, 22px);
  --fs-h1: clamp(42px, 6vw, 84px);
  --fs-h2: clamp(32px, 3.9vw, 54px);
  --fs-h3: clamp(21px, 1.8vw, 25px);
  --fs-display: clamp(52px, 8vw, 116px);   /* big "by the numbers" figures */

  /* layout */
  --max: 1200px;
  --measure: 66ch;
  --gutter: clamp(20px, 5vw, 72px);
  --nav-h: 72px;
  --ribbon-h: 0px;
  --radius: 8px;
  --radius-sm: 5px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 104px; --s7: 144px;
  --section: clamp(72px, 9vw, 128px);
  --shadow: 0 1px 2px rgba(16,19,24,.05), 0 4px 14px rgba(16,19,24,.05);
  --shadow-lg: 0 2px 4px rgba(16,19,24,.05), 0 14px 32px rgba(16,19,24,.08);
  --ease: cubic-bezier(.2,.7,.2,1);

  /* aliases (older names some pages may still use) */
  --bg: var(--paper); --surface: var(--paper-2); --surface-2: var(--card); --line: var(--sand); --line-2: var(--sand-2);
  --signal: var(--red); --paper-ink: var(--ink); --paper-body: var(--body); --paper-mute: var(--mute); --paper-line: var(--sand);
  --cyan: var(--safe); --green: var(--safe); --teal: var(--safe); --wash: var(--paper-2); --wash-2: var(--sand); --cream: var(--paper-2);
  --overlay: rgba(31,36,33,.78); --grid-bp: none;
}

/* dark scope: <section class="rp-night"> flips the ink tokens so every component inside still reads */
.rp-night, .rp-section--night, .rp-section--dark {
  --ink: #ffffff; --body: #d8d1c4; --mute: #aaa296; --sand: rgba(255,255,255,.16); --sand-2: rgba(255,255,255,.32);
  --line: var(--sand); --line-2: var(--sand-2); --card: #2a302c; --surface: #262c28; --surface-2: #2a302c;
  --on-ink: var(--night); --red-dark: #ff8f8a;
  background: var(--night); color: var(--body);
}

/* ---------- reset ---------- */
.rp *, .rp *::before, .rp *::after { box-sizing: border-box; margin: 0; padding: 0; }
html.rp-html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); background: var(--paper); }
body.rp { margin: 0; background: var(--paper); color: var(--body); font-family: var(--text); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; text-rendering: optimizeLegibility; }
:where(.rp) a { color: inherit; text-decoration: none; } /* zero specificity so component colours win */
.rp img, .rp svg, .rp video, .rp iframe { display: block; max-width: 100%; height: auto; }
.rp ul, .rp ol { list-style: none; }
:where(.rp) :where(button, input, select, textarea) { font: inherit; color: inherit; } /* zero specificity: component colors (.rp-btn--red) win */
.rp ::selection { background: var(--red-soft); color: var(--ink); }
.rp :focus { outline: none; }
.rp :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.rp-skip { position: absolute; left: -9999px; z-index: 100; }
.rp-skip:focus { left: 16px; top: 12px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.rp-sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.rp h1, .rp h2, .rp h3, .rp h4, .rp h5, .rp h6 { font-family: var(--display); font-optical-sizing: auto; color: var(--ink); font-weight: 450; letter-spacing: -.012em; line-height: 1.15; text-wrap: balance; }
.rp h1 { font-size: var(--fs-h1); font-weight: 400; letter-spacing: -.025em; line-height: 1.02; }
.rp h2 { font-size: var(--fs-h2); font-weight: 400; letter-spacing: -.02em; line-height: 1.06; }
.rp h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.22; }
.rp h4 { font-family: var(--text); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.rp h1 em, .rp h2 em, .rp h3 em, .rp-em { font-style: italic; font-weight: inherit; color: inherit; }
.rp-em--red, .rp h1 em.red, .rp h2 em.red { color: var(--red); }
.rp p { max-width: var(--measure); text-wrap: pretty; }
.rp p + p { margin-top: 1em; }
.rp b, .rp strong { font-weight: 600; color: var(--ink); }
/* dek / lead: the standfirst under a headline */
.rp-dek, .rp-lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--body); max-width: 56ch; }
.rp h1 + .rp-dek, .rp h1 + .rp-lead, .rp h2 + .rp-dek, .rp h2 + .rp-lead { margin-top: 22px; }
.rp-muted { color: var(--mute); }
.rp-mono { font-family: var(--mono); font-size: .86em; letter-spacing: .01em; }
/* kicker: small label above a headline — <p class="rp-kicker">Keep people safe</p>  (rp-label is the same) */
.rp-kicker, .rp-label { display: inline-flex; align-items: center; gap: 10px; font: 600 var(--fs-label)/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.rp-kicker::before, .rp-label::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--red); flex: none; }
.rp-kicker b, .rp-label b { color: var(--ink); font-weight: 600; }
.rp-kicker--plain::before, .rp-label--plain::before { display: none; }
.rp-kicker--safe::before { background: var(--safe); }
/* breadcrumb eyebrow (rp_eyebrow()) */
.rp-eyebrow { font: 500 13.5px/1.4 var(--text); color: var(--mute); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.rp-eyebrow a { text-decoration: underline; text-decoration-color: var(--sand-2); text-underline-offset: 3px; }
.rp-eyebrow a:hover { color: var(--ink); text-decoration-color: var(--red); }
.rp-eyebrow .sep { color: var(--sand-2); }
/* caption / fine print */
.rp-caption { font-size: var(--fs-caption); line-height: 1.5; color: var(--mute); max-width: 60ch; }
.rp-note { font-size: 13.5px; line-height: 1.55; color: var(--mute); max-width: 80ch; }
/* big number with a small unit: <span class="rp-num">10<span class="rp-unit">cm</span></span> */
.rp-num { font-family: var(--display); font-weight: 400; letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; color: var(--ink); line-height: 1; }
.rp-unit { font: 400 .4em var(--text); letter-spacing: 0; color: var(--mute); margin-left: .15em; }

/* ---------- layout ---------- */
.rp-container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.rp-container--narrow { max-width: calc(760px + 2 * var(--gutter)); }
.rp-container--wide { max-width: calc(1360px + 2 * var(--gutter)); }
.rp-section { position: relative; padding-block: var(--section); }
.rp-section--tight { padding-block: clamp(44px, 6vw, 80px); }
.rp-section--surface, .rp-section--wash, .rp-section--paper-2 { background: var(--paper-2); }
.rp-section--line { border-top: 1px solid var(--sand); }
.rp-section--grid, .rp-bp { background-image: none; }
.rp-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.rp-head--center { margin-inline: auto; text-align: center; }
.rp-head--center p, .rp-head--center .rp-dek { margin-inline: auto; }
.rp-head--center .rp-kicker, .rp-head--center .rp-label { justify-content: center; }
.rp-head > p:not(.rp-kicker):not(.rp-label) { margin-top: 20px; font-size: var(--fs-lead); line-height: 1.5; }
/* grid: <div class="rp-grid rp-grid--3"> — 4/5 → 2 at ≤1080px, 3 → 1 at ≤760px, 2 → 1 at ≤680px */
.rp-grid { display: grid; gap: clamp(20px, 2.6vw, 36px); grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.rp-grid--2 { --cols: 2; } .rp-grid--3 { --cols: 3; } .rp-grid--4 { --cols: 4; } .rp-grid--5 { --cols: 5; }
/* two-column article spread: <div class="rp-spread"><div>headline</div><div>text</div></div>  (+--rev, +--even) */
.rp-spread { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.rp-spread--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rp-spread--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.rp-spread--center { align-items: center; }
/* hairline-divided cells */
.rp-cells { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1px; background: var(--sand); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; }
.rp-cells > * { background: var(--paper); padding: clamp(22px, 2.6vw, 34px); }
.rp-section--surface .rp-cells > *, .rp-section--paper-2 .rp-cells > * { background: var(--paper-2); }
.rp-hr, .rp-rule { border: 0; height: 1px; background: var(--sand); margin-block: clamp(32px, 5vw, 56px); }

/* ---------- buttons ---------- */
.rp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 15.5px/1 var(--text); letter-spacing: .005em; padding: 14px 24px; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .18s, color .18s, border-color .18s, transform .18s var(--ease), box-shadow .18s; }
.rp-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.rp-btn:active { transform: translateY(1px); }
.rp-btn--red { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(215,38,43,.18); }
.rp-btn--red:hover { background: #b81f24; border-color: #b81f24; color: #fff; box-shadow: 0 8px 22px rgba(215,38,43,.26); }
.rp-btn--ink { background: var(--ink); color: var(--on-ink); }
.rp-btn--ink:hover { background: var(--body); border-color: var(--body); }
.rp-btn--ghost { border-color: transparent; padding-inline: 6px; }
.rp-btn--ghost:hover { background: none; border-color: transparent; color: var(--red-dark); }
.rp-btn--light { border-color: rgba(255,255,255,.55); color: #fff; }
.rp-btn--light:hover { background: #fff; border-color: #fff; color: var(--night); }
.rp-btn--sm { font-size: 14.5px; padding: 10px 18px; min-height: 40px; }
.rp-btn--lg { font-size: 16.5px; padding: 17px 30px; min-height: 56px; }
.rp-btn .arr { transition: transform .18s var(--ease); }
.rp-btn:hover .arr { transform: translateX(3px); }
.rp-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; }
/* text link with an arrow: <a class="rp-link" href="…">Read the story</a> */
.rp-link { font-weight: 600; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; border-bottom: 1.5px solid var(--red); padding-bottom: 3px; transition: color .15s, border-color .15s; }
.rp-link::after { content: "→"; transition: transform .18s var(--ease); }
.rp-link:hover { color: var(--red-dark); }
.rp-link:hover::after { transform: translateX(3px); }

/* ---------- nav ---------- */
.rp-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s, box-shadow .2s; }
.rp-nav.is-scrolled { border-bottom-color: var(--sand); box-shadow: 0 6px 24px rgba(27,25,22,.04); }
.rp-nav__bar { height: var(--nav-h); max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 28px; }
.admin-bar .rp-nav { top: 32px; }
.rp-logo { flex: none; display: block; margin-left: -6px; }
.rp-logo img { height: 40px; width: auto; }
.rp-menu { flex: 1; display: flex; align-items: center; justify-content: center; min-width: 0; }
.rp-menu__list { display: flex; align-items: center; gap: 2px; }
.rp-menu__item { position: relative; }
.rp-menu__top { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; cursor: pointer; font: 500 15.5px var(--text); color: var(--body); padding: 10px 13px; border-radius: 999px; transition: color .15s, background .15s; white-space: nowrap; }
.rp-menu__top:hover, .rp-menu__top[aria-expanded="true"] { color: var(--ink); background: var(--paper-2); }
.rp-menu__item.is-current > .rp-menu__top { color: var(--ink); }
.rp-menu__item.is-current > .rp-menu__top::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--red); }
.rp-menu__chev { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .55; transition: transform .2s; }
.rp-menu__top[aria-expanded="true"] .rp-menu__chev { transform: translateY(1px) rotate(225deg); }
.rp-dd { position: absolute; top: calc(100% + 12px); left: 50%; min-width: 320px; padding: 10px; background: var(--card); border: 1px solid var(--sand); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .16s, transform .16s var(--ease), visibility .16s; }
.rp-dd::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.rp-menu__top[aria-expanded="true"] + .rp-dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
html:not(.rp-js) .rp-menu__item:hover > .rp-dd, html:not(.rp-js) .rp-menu__item:focus-within > .rp-dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.rp-dd__head { font: 600 11.5px var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding: 8px 14px 10px; }
.rp-dd a { display: grid; gap: 2px; padding: 11px 14px; border-radius: 10px; transition: background .12s; position: relative; }
.rp-dd a:hover { background: var(--paper); }
.rp-dd a[aria-current] { background: var(--paper); }
.rp-dd a[aria-current] .rp-dd__t::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-left: 8px; vertical-align: .15em; }
.rp-dd__t { font: 600 15.5px/1.3 var(--text); color: var(--ink); }
.rp-dd__d { font: 400 14px/1.4 var(--text); color: var(--mute); }
.rp-menu__cta { display: none; }
.rp-nav__end { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.rp-burger { display: none; align-items: center; gap: 10px; background: none; color: var(--ink); border: 1.5px solid var(--sand-2); border-radius: 999px; padding: 0 14px; height: 42px; font: 600 14px var(--text); cursor: pointer; }
.rp-burger__bars { position: relative; width: 16px; height: 10px; }
.rp-burger__bars::before, .rp-burger__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .2s, top .2s; }
.rp-burger__bars::before { top: 1px; } .rp-burger__bars::after { top: 7.5px; }
.rp-nav.is-open .rp-burger__bars::before { top: 4.5px; transform: rotate(45deg); }
.rp-nav.is-open .rp-burger__bars::after { top: 4.5px; transform: rotate(-45deg); }
main#main { display: block; padding-top: var(--nav-h); }
body.rp-overlap main#main { padding-top: 0; } /* page opens with a full-bleed hero under the nav */

/* ---------- hero ----------
   Editorial (default): <section class="rp-hero"><div class="rp-container">kicker, h1, .rp-dek, .rp-btns</div></section>
   Photo: <section class="rp-hero rp-hero--photo" style="--img:url(…)"> — night overlay, light type */
.rp-hero { position: relative; isolation: isolate; padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); }
.rp-hero h1 { max-width: 17ch; }
.rp-hero .rp-dek, .rp-hero .rp-lead { margin-top: 24px; }
.rp-hero--photo { --ink: #fff; --body: rgba(255,255,255,.88); --mute: rgba(255,255,255,.72); --on-ink: var(--night); color: var(--body); background: var(--night) var(--img, none) center / cover no-repeat; min-height: min(78vh, 720px); display: flex; align-items: flex-end; }
.rp-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31,36,33,.2) 0%, rgba(31,36,33,.45) 45%, rgba(31,36,33,.88) 100%); }
body.rp-overlap .rp-hero--photo { padding-top: calc(var(--nav-h) + 64px); }
.rp-hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100% !important; object-fit: cover; }

/* ---------- editorial primitives ---------- */
/* figure: photo with caption — <figure class="rp-figure"><img …><figcaption>…</figcaption></figure>  (+--flat: no radius) */
.rp-figure { margin: 0; }
.rp-figure img, .rp-figure video { width: 100%; height: auto; border-radius: var(--radius); background: var(--paper-2); }
.rp-figure--flat img { border-radius: 0; }
.rp-figure figcaption { font-size: var(--fs-caption); line-height: 1.5; color: var(--mute); margin-top: 12px; max-width: 60ch; padding-left: 14px; border-left: 2px solid var(--sand-2); }
/* full-bleed photo band: <section class="rp-photo" style="--img:url(…)"><div class="rp-container">…overlay text…</div></section>
   or <figure class="rp-photo"><img …><figcaption class="rp-container">…</figcaption></figure> */
.rp-photo { position: relative; isolation: isolate; margin: 0; min-height: clamp(360px, 52vw, 640px); display: flex; align-items: flex-end; background: var(--night) var(--img, none) center / cover no-repeat; color: #fff; --ink: #fff; --body: rgba(255,255,255,.9); --mute: rgba(255,255,255,.75); --on-ink: var(--night); }
.rp-photo > img, .rp-photo > video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100% !important; object-fit: cover; }
.rp-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31,36,33,0) 35%, rgba(31,36,33,.82) 100%); }
.rp-photo > .rp-container, .rp-photo > figcaption { position: relative; padding-block: clamp(32px, 5vw, 64px); }
.rp-photo figcaption { font-size: var(--fs-caption); color: rgba(255,255,255,.85); }
.rp-photo--plain::before { display: none; }
/* pull quote: <blockquote class="rp-quote"><p>…</p><cite>…</cite></blockquote> */
.rp-quote { position: relative; max-width: 30ch; font: italic 400 clamp(26px, 3vw, 40px)/1.25 var(--display); letter-spacing: -.01em; color: var(--ink); padding-top: 56px; }
.rp-quote::before { content: "\201C"; position: absolute; top: -8px; left: -4px; font: 400 96px/1 var(--display); color: var(--red); }
.rp-quote p { max-width: none; }
.rp-quote cite { display: block; margin-top: 20px; font: 500 var(--fs-caption)/1.4 var(--text); font-style: normal; color: var(--mute); letter-spacing: .01em; }
.rp-quote--center { margin-inline: auto; text-align: center; }
.rp-quote--center::before { left: 50%; transform: translateX(-50%); }
/* big figures: <div class="rp-figures"><div class="rp-big"><span class="rp-big__n">98%</span><p class="rp-big__t">…</p></div>…</div> */
.rp-figures { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); border-top: 1px solid var(--sand); }
.rp-figures > * { padding: clamp(24px, 3vw, 40px) clamp(0px, 2vw, 32px) 8px 0; }
.rp-figures > * + * { border-left: 1px solid var(--sand); padding-left: clamp(20px, 2.6vw, 36px); }
.rp-big { display: flex; flex-direction: column; gap: 12px; }
.rp-big__n { font: 400 var(--fs-display)/.92 var(--display); letter-spacing: -.04em; font-variant-numeric: lining-nums; color: var(--ink); }
.rp-big__n small { font: 400 .34em var(--text); letter-spacing: 0; color: var(--mute); margin-left: .12em; }
.rp-big__t { font-size: 16.5px; line-height: 1.5; color: var(--body); max-width: 30ch; }
.rp-big--red .rp-big__n { color: var(--red); }
/* card: <a class="rp-card" href="…"><img class="rp-card__img"><div class="rp-card__body">kicker, h3, p</div></a> */
.rp-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; transition: box-shadow .22s var(--ease), transform .22s var(--ease), border-color .2s; }
.rp-card > :not(img):not(.rp-card__img):not(.rp-card__media) { padding-inline: clamp(20px, 2.2vw, 28px); }
.rp-card > :first-child:not(img):not(.rp-card__img):not(.rp-card__media) { padding-top: clamp(20px, 2.2vw, 28px); }
.rp-card > :last-child:not(img):not(.rp-card__img):not(.rp-card__media) { padding-bottom: clamp(22px, 2.4vw, 30px); }
.rp-card__img, .rp-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-2); }
.rp-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding-block: clamp(20px, 2.2vw, 26px) clamp(22px, 2.4vw, 30px); }
.rp-card__body .rp-kicker { margin-bottom: 2px; }
.rp-card h3 { font-size: clamp(21px, 1.8vw, 24px); }
.rp-card p { font-size: 16px; line-height: 1.55; }
.rp-card__more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--ink); font-size: 15.5px; }
.rp-card__more::after { content: " →"; color: var(--red); }
a.rp-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--sand-2); }
a.rp-card:hover h3 { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.rp-card--plain { background: transparent; border: 0; border-radius: 0; }
/* panel: a quiet framed box — <div class="rp-panel">…</div>  (+--raised: card colour, shadow) */
.rp-panel { background: var(--paper-2); border: 1px solid var(--sand); border-radius: var(--radius); padding: clamp(22px, 2.8vw, 36px); }
.rp-section--surface .rp-panel, .rp-section--paper-2 .rp-panel { background: var(--paper); }
.rp-panel--raised { background: var(--card); box-shadow: var(--shadow); }
.rp-panel--grid { background-image: none; }
.rp-panel__head { font: 600 var(--fs-label) var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--sand); display: flex; justify-content: space-between; gap: 12px; }
/* state pills: <span class="rp-chip">SIL2 / PLd</span> +--red +--safe  (rp-pill is an alias) */
.rp-chip, .rp-pill { display: inline-flex; align-items: center; gap: 6px; font: 500 13.5px/1 var(--text); padding: 7px 12px; border: 1px solid var(--sand-2); border-radius: 999px; color: var(--body); background: var(--card); white-space: nowrap; }
.rp-chip--red, .rp-pill--red { border-color: rgba(215,38,43,.35); color: var(--red-dark); background: #fbeeeb; }
.rp-chip--safe, .rp-pill--safe { border-color: rgba(47,107,79,.35); color: var(--safe); background: var(--safe-soft); }
a.rp-chip:hover, button.rp-chip:hover { border-color: var(--ink); color: var(--ink); }
.rp-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.rp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* steps: <ol class="rp-steps"><li><h3>…</h3><p>…</p></li></ol> — big serif numerals */
.rp-steps { counter-reset: rp-step; display: grid; gap: 0; border-top: 1px solid var(--sand); }
.rp-steps > li { counter-increment: rp-step; position: relative; padding: 26px 0 26px 76px; border-bottom: 1px solid var(--sand); }
.rp-steps > li::before { content: counter(rp-step); position: absolute; left: 0; top: 16px; font: 400 48px/1 var(--display); color: var(--red); }
.rp-steps > li p { margin-top: 8px; font-size: 17px; }
.rp-steps--row { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); border-top: 0; gap: clamp(24px, 3vw, 44px); }
.rp-steps--row > li { padding: 76px 0 0; border-bottom: 0; border-top: 1px solid var(--sand); }
.rp-steps--row > li::before { top: 20px; }
/* check list: <ul class="rp-list"> */
.rp-list { display: grid; gap: 12px; }
.rp-list > li { position: relative; padding-left: 30px; }
.rp-list > li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.rp-list--safe > li::before { border-color: var(--safe); }
/* spec table: <table class="rp-spec"><tr><th>Accuracy</th><td>Up to 10 cm</td></tr></table>  or  <dl class="rp-spec"><div><dt/><dd/></div></dl> */
.rp-spec { width: 100%; border-collapse: collapse; font-size: 16px; border-top: 1px solid var(--sand-2); }
.rp-spec tr, .rp-spec > div { border-bottom: 1px solid var(--sand); }
.rp-spec > div { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 16px; padding: 13px 0; }
.rp-spec th, .rp-spec dt { font: 500 14.5px/1.5 var(--text); color: var(--mute); text-align: left; vertical-align: top; }
.rp-spec th { width: 38%; padding: 13px 16px 13px 0; }
.rp-spec td, .rp-spec dd { color: var(--ink); vertical-align: top; }
.rp-spec td { padding: 13px 0; }
.rp-spec thead th { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--sand-2); }
/* metric / stat (smaller figure + label) */
.rp-metric, .rp-stat { display: flex; flex-direction: column; gap: 10px; }
.rp-metric__num, .rp-stat__num { font: 400 clamp(40px, 4.6vw, 64px)/1 var(--display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: lining-nums; }
.rp-metric__num small { font: 400 .36em var(--text); letter-spacing: 0; color: var(--mute); margin-left: 6px; }
.rp-metric__label, .rp-stat__label { font: 600 var(--fs-label)/1.4 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.rp-metric__desc, .rp-stat__desc { font-size: 16px; line-height: 1.5; color: var(--body); max-width: 34ch; }
/* logo / trusted-by strip: <ul class="rp-trust"><li><b>60%</b> of the #1 e-commerce giant's mega-facilities</li>…</ul> */
.rp-trust { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--sand); }
.rp-trust > li { padding: 24px clamp(12px, 2vw, 28px); font-size: 15.5px; line-height: 1.45; color: var(--body); }
.rp-trust > li + li { border-left: 1px solid var(--sand); }
.rp-trust b { display: block; font: 400 clamp(30px, 3vw, 40px)/1.05 var(--display); letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
/* closing CTA helper (rp_cta()) */
.rp-cta { text-align: center; padding: clamp(48px, 7vw, 88px) var(--gutter); background: var(--paper-2); border-radius: var(--radius); }
.rp-cta h2 { max-width: 18ch; margin-inline: auto; }
.rp-cta p:not(.rp-label):not(.rp-kicker) { margin: 18px auto 0; font-size: var(--fs-lead); }
.rp-cta .rp-btns { justify-content: center; }

/* ---------- prose: long-form reading ---------- */
.rp-paper { background: var(--paper); color: var(--body); }
.rp-prose { max-width: 68ch; font-size: 19px; line-height: 1.7; color: var(--body); }
.rp-prose > * + * { margin-top: 1.1em; }
.rp-prose > :first-child { margin-top: 0; }
.rp-prose p { max-width: none; }
.rp-prose h2 { font-size: clamp(28px, 2.8vw, 36px); font-weight: 400; margin-top: 1.9em; letter-spacing: -.015em; }
.rp-prose h3 { font-size: clamp(21px, 2vw, 25px); font-weight: 500; margin-top: 1.6em; }
.rp-prose h4 { font-size: 18px; margin-top: 1.4em; }
.rp-prose h2 + *, .rp-prose h3 + *, .rp-prose h4 + * { margin-top: .6em; }
.rp-prose a { color: var(--red-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rp-prose a:hover { color: var(--ink); text-decoration-color: var(--red); }
.rp-prose ul { list-style: disc; padding-left: 1.3em; } .rp-prose ol { list-style: decimal; padding-left: 1.4em; }
.rp-prose li::marker { color: var(--red); }
.rp-prose li + li { margin-top: .45em; }
.rp-prose img, .rp-prose figure img, .rp-prose video { border-radius: var(--radius); }
.rp-prose figure { margin-block: 1.8em; }
.rp-prose figcaption { font-size: var(--fs-caption); line-height: 1.5; color: var(--mute); margin-top: 10px; }
.rp-prose blockquote { border-left: 3px solid var(--red); padding: 4px 0 4px 24px; font: italic 400 clamp(22px, 2.2vw, 27px)/1.4 var(--display); color: var(--ink); margin-block: 1.6em; }
.rp-prose blockquote p + p { margin-top: .6em; }
.rp-prose table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.rp-prose th, .rp-prose td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--sand); vertical-align: top; }
.rp-prose th { font-weight: 600; color: var(--ink); border-bottom-color: var(--sand-2); }
.rp-prose strong, .rp-prose b { color: var(--ink); }
.rp-prose code { font: 400 .86em var(--mono); background: var(--paper-2); padding: 2px 6px; border-radius: 5px; }
.rp-prose hr { border: 0; border-top: 1px solid var(--sand); margin-block: 2.4em; }
.rp-prose .rp-dek { font-size: var(--fs-lead); }

/* ---------- forms (Ninja Forms inside .rp-form) ---------- */
.rp-form { --f-bg: var(--card); --f-line: var(--sand-2); --f-ink: var(--ink); --f-body: var(--body); --f-mute: var(--mute); --f-box: var(--card); }
.rp-form--light { --f-bg: #fff; }
.rp-form .nf-form-title { display: none; }
.rp-form .nf-form-content { padding: 0 !important; max-width: none !important; }
.rp-form .nf-before-form-content, .rp-form .nf-form-fields-required { font-size: 14px; color: var(--f-mute); margin-bottom: 22px; text-align: left; }
.rp-form .nf-field-container { margin-bottom: 22px !important; text-align: left; }
.rp-form .nf-field-label { margin-bottom: 8px !important; }
.rp-form .nf-field-label label, .rp-form .nf-field-label .nf-label-span { font: 600 15px/1.4 var(--text) !important; color: var(--f-ink) !important; letter-spacing: 0 !important; }
.rp-form .nf-field-description, .rp-form .nf-field-description p { font-size: 14px; color: var(--f-mute); }
.rp-form input[type=text], .rp-form input[type=email], .rp-form input[type=tel], .rp-form input[type=url], .rp-form input[type=number], .rp-form input[type=date], .rp-form input[type=password], .rp-form select, .rp-form textarea {
  width: 100% !important; font: 400 17px/1.4 var(--text) !important; color: var(--f-ink) !important; background: var(--f-bg) !important; border: 1.5px solid var(--f-line) !important; border-radius: 10px !important; padding: 13px 16px !important; height: auto !important; min-height: 50px; box-shadow: none !important; transition: border-color .15s, box-shadow .15s; }
.rp-form input:hover, .rp-form select:hover, .rp-form textarea:hover { border-color: var(--f-mute) !important; }
.rp-form select { appearance: none; -webkit-appearance: none; padding-right: 44px !important; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--f-ink) 50%), linear-gradient(135deg, var(--f-ink) 50%, transparent 50%) !important;
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52% !important; background-size: 6px 6px !important; background-repeat: no-repeat !important; }
.rp-form select option { background: #fff; color: #1b1916; }
.rp-form .nf-field-element:has(select)::after, .rp-form .listselect-wrap .nf-field-element div::after { display: none !important; }
.rp-form textarea { min-height: 160px; resize: vertical; }
.rp-form ::placeholder { color: var(--f-mute) !important; opacity: 1; }
.rp-form input:focus, .rp-form select:focus, .rp-form textarea:focus { outline: none !important; border-color: var(--f-ink) !important; box-shadow: 0 0 0 4px var(--red-soft) !important; }
.rp-form input[type=submit], .rp-form input[type=button], .rp-form button[type=submit] { width: auto !important; font: 600 16px/1 var(--text) !important; padding: 17px 32px !important; min-height: 54px; height: auto !important; background: var(--red) !important; color: #fff !important; border: 1.5px solid var(--red) !important; border-radius: 999px !important; cursor: pointer; transition: background .15s, box-shadow .15s; box-shadow: 0 6px 18px rgba(215,38,43,.18) !important; }
.rp-form input[type=submit]:hover, .rp-form input[type=button]:hover, .rp-form button[type=submit]:hover { background: #b81f24 !important; border-color: #b81f24 !important; }
.rp-form input[type=submit]:focus-visible, .rp-form button[type=submit]:focus-visible { outline: 2px solid var(--f-ink) !important; outline-offset: 3px; }
.rp-form .nf-error-msg, .rp-form .nf-error .nf-error-msg, .rp-form .ninja-forms-req-symbol { color: var(--red-dark) !important; font-size: 14px; }
.rp-form .nf-error.field-wrap .nf-field-element input, .rp-form .nf-error.field-wrap .nf-field-element textarea, .rp-form .nf-error.field-wrap .nf-field-element select { border-color: var(--red) !important; }
.rp-form .nf-pass.field-wrap .nf-field-element input { border-color: var(--safe) !important; }
.rp-form .nf-pass.field-wrap .nf-field-element::after, .rp-form .nf-error.field-wrap .nf-field-element::after { display: none !important; }
.rp-form .nf-error-wrap .nf-error-required-error, .rp-form .nf-form-errors .nf-error-msg { margin-top: 6px; }
.rp-form .nf-response-msg { color: var(--f-ink); font: 400 clamp(22px, 2.2vw, 28px)/1.35 var(--display); padding: 24px; background: var(--safe-soft); border-radius: var(--radius); }
.rp-form .nf-field-element p, .rp-form .html-container .nf-field-element { font-size: 15px; line-height: 1.6; color: var(--f-body); }
.rp-form .html-container a, .rp-form .nf-field-label a, .rp-form .checkbox-wrap a { color: var(--red-dark); text-decoration: underline; text-underline-offset: 2px; }
/* Checkboxes, radios, consent box. NF hides the real inputs (opacity 0 on the input or its wrapper) and draws fake boxes with
   label ::before/::after — kill the fakes and force the native controls visible, tinted with accent-color. */
.rp-form input[type=checkbox], .rp-form input[type=radio] { -webkit-appearance: auto !important; appearance: auto !important; display: inline-block !important; width: 20px !important; height: 20px !important; min-width: 20px; min-height: 0; margin: 0 !important; padding: 0 !important; flex: none; accent-color: var(--red); position: static !important; opacity: 1 !important; visibility: visible !important; clip: auto !important; clip-path: none !important; transform: none !important; cursor: pointer; }
.rp-form input[type=checkbox]:focus-visible, .rp-form input[type=radio]:focus-visible { outline: 2px solid var(--f-ink) !important; outline-offset: 2px; box-shadow: none !important; }
.rp-form .nf-field-element, .rp-form .checkbox-wrap .nf-field-element, .rp-form .listcheckbox-wrap .nf-field-element, .rp-form .listradio-wrap .nf-field-element,
.rp-form .checkbox-container, .rp-form .listcheckbox-container, .rp-form .listradio-container, .rp-form .nf-field-element > ul, .rp-form .nf-field-element li { opacity: 1 !important; visibility: visible !important; }
.rp-form .checkbox-wrap .nf-field-element, .rp-form .listcheckbox-wrap .nf-field-element, .rp-form .listradio-wrap .nf-field-element { position: static !important; }
.rp-form label::before, .rp-form label::after { content: none !important; display: none !important; }
.rp-form .list-checkbox-wrap ul, .rp-form .list-radio-wrap ul, .rp-form .listcheckbox-wrap ul, .rp-form .listradio-wrap ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.rp-form .list-checkbox-wrap li, .rp-form .list-radio-wrap li, .rp-form .listcheckbox-wrap li, .rp-form .listradio-wrap li { display: flex !important; align-items: center; gap: 12px; margin: 0 !important; padding: 13px 14px !important; border: 1.5px solid var(--f-line); border-radius: 10px; background: var(--f-box); text-align: left !important; cursor: pointer; transition: border-color .15s, background .15s; }
.rp-form .list-checkbox-wrap li:hover, .rp-form .list-radio-wrap li:hover, .rp-form .listcheckbox-wrap li:hover, .rp-form .listradio-wrap li:hover { border-color: var(--f-mute); }
.rp-form li:has(input:checked) { border-color: var(--red) !important; background: #fdf3f0; }
.rp-form .list-checkbox-wrap li label, .rp-form .list-radio-wrap li label, .rp-form .listcheckbox-wrap li label, .rp-form .listradio-wrap li label { margin: 0 !important; padding: 0 !important; font: 400 15.5px/1.35 var(--text) !important; color: var(--f-ink) !important; letter-spacing: 0 !important; cursor: pointer; }
/* single checkbox (consent): box beside its label, in a soft framed row */
.rp-form .checkbox-wrap { display: flex !important; flex-direction: row-reverse; justify-content: flex-end; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--f-line); border-radius: 12px; background: var(--f-box); }
.rp-form .checkbox-wrap:has(input:checked) { border-color: var(--safe); }
.rp-form .checkbox-wrap .nf-field-label { margin: 0 !important; padding: 0 !important; }
.rp-form .checkbox-wrap .nf-field-label label, .rp-form .listcheckbox-wrap li label, .rp-form .listradio-wrap li label { padding-left: 0 !important; margin-left: 0 !important; text-indent: 0 !important; }
.rp-form .checkbox-wrap .nf-field-label label { font: 400 15px/1.55 var(--text) !important; color: var(--f-body) !important; cursor: pointer; }
.rp-form .checkbox-wrap .nf-field-element { width: auto !important; }
.rp-form .checkbox-wrap input[type=checkbox] { margin-top: 2px !important; }
.rp-form .submit-container { margin-bottom: 0 !important; }

/* ---------- closing band (rp_footer(); 'cta' => false removes it) ---------- */
.rp-close { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(80px, 10vw, 136px); text-align: center; }
.rp-close::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: clamp(32px, 4vw, 48px); background: var(--red); }
.rp-close__in { display: flex; flex-direction: column; align-items: center; }
.rp-close .rp-kicker { margin-bottom: 22px; }
.rp-close h2 { font-size: clamp(38px, 5.2vw, 72px); max-width: 22ch; margin-inline: auto; }
.rp-close__text > p:not(.rp-kicker) { margin: 22px auto 0; font-size: var(--fs-lead); line-height: 1.5; max-width: 50ch; }
.rp-close__act { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 36px; }
.rp-close__alt { font-size: 15.5px; color: var(--mute); }
.rp-close__alt a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sand-2); text-underline-offset: 4px; }
.rp-close__alt a:hover { text-decoration-color: var(--red); }

/* ---------- footer ---------- */
.rp-footer { background: var(--paper-2); border-top: 1px solid var(--sand); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 16px; }
.rp-footer__top { display: grid; grid-template-columns: minmax(260px, 1.1fr) 3fr; gap: clamp(36px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 56px); }
.rp-footer .rp-logo img { height: 42px; }
.rp-footer__pitch { margin-top: 20px; font: italic 400 26px/1.2 var(--display); color: var(--ink); max-width: 16ch; letter-spacing: -.01em; }
.rp-footer__contact { margin-top: 28px; display: grid; gap: 14px; }
.rp-footer__contact dt { font: 600 11.5px var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 3px; }
.rp-footer__contact dd { line-height: 1.5; }
.rp-footer__contact a { color: var(--ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .15s; }
.rp-footer__contact a:hover { text-decoration-color: var(--red); }
.rp-footer__nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; }
.rp-footer .rp-footer__h { font: 500 19px/1.2 var(--display); letter-spacing: -.005em; color: var(--ink); margin-bottom: 14px; }
.rp-footer__nav a { display: inline-block; padding: 5px 0; color: var(--body); line-height: 1.35; font-size: 15.5px; transition: color .15s; }
.rp-footer__nav a:hover { color: var(--red-dark); }
.rp-footer__bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; padding-top: 24px; border-top: 1px solid var(--sand-2); font-size: 14px; color: var(--mute); }
.rp-footer__copy { margin-right: auto; }
.rp-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.rp-footer__legal a:hover, .rp-footer__social:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.rp-footer__social { display: inline-flex; align-items: center; gap: 8px; }
.rp-footer__social svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- motion ---------- */
.rp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rp-reveal.is-in { opacity: 1; transform: none; }
html:not(.rp-js) .rp-reveal { opacity: 1; transform: none; }
.rp-in { opacity: 0; animation: rp-up .9s var(--ease) forwards; }
.rp-in-1 { animation-delay: .05s; } .rp-in-2 { animation-delay: .15s; } .rp-in-3 { animation-delay: .25s; } .rp-in-4 { animation-delay: .35s; } .rp-in-5 { animation-delay: .45s; }
@keyframes rp-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .rp-menu__top { padding-inline: 10px; font-size: 15px; }
  .rp-nav__bar { gap: 16px; }
}
@media (max-width: 1080px) {
  .rp-grid--4, .rp-grid--5 { --cols: 2; }
  .rp-cells.rp-grid--4, .rp-cells.rp-grid--5 { --cols: 2; }
  .rp-footer__top { grid-template-columns: 1fr; }
  .rp-footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rp-trust { --cols: 2; }
  .rp-trust > li:nth-child(odd) { border-left: 0; }
  .rp-trust > li:nth-child(n+3) { border-top: 1px solid var(--sand); }
}
@media (max-width: 1040px) {
  .rp-burger { display: inline-flex; }
  .rp-menu { position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; background: var(--paper); border-top: 1px solid var(--sand); overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) 40px; }
  .admin-bar .rp-menu { top: calc(32px + var(--nav-h)); }
  .rp-nav.is-open .rp-menu { display: flex; }
  .rp-nav.is-open { background: var(--paper); border-bottom-color: var(--sand); -webkit-backdrop-filter: none; backdrop-filter: none; } /* a filter would size the fixed panel to the bar */
  .rp-menu__list { flex-direction: column; align-items: stretch; gap: 0; }
  .rp-menu__item { border-bottom: 1px solid var(--sand); }
  .rp-menu__top { width: 100%; justify-content: space-between; font: 400 26px/1.2 var(--display); letter-spacing: -.01em; color: var(--ink); padding: 18px 0; border-radius: 0; min-height: 60px; }
  .rp-menu__top:hover, .rp-menu__top[aria-expanded="true"] { background: none; }
  .rp-menu__chev { width: 9px; height: 9px; }
  .rp-menu__item.is-current > .rp-menu__top::after { position: static; order: 1; margin: 0 auto 0 12px; }
  .rp-menu__top .rp-menu__chev { order: 2; }
  .rp-dd { position: static; min-width: 0; padding: 0 0 16px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; transition: none; }
  .rp-menu__top[aria-expanded="true"] + .rp-dd { display: block; transform: none; }
  html:not(.rp-js) .rp-dd { display: block; }
  .rp-dd__head { display: none; }
  .rp-dd a { padding: 11px 14px; margin-inline: -14px; }
  .rp-menu__cta { display: grid; gap: 18px; margin-top: 32px; }
  .rp-menu__cta .rp-btn { width: 100%; min-height: 56px; font-size: 17px; }
  .rp-menu__contact { display: grid; gap: 8px; font-size: 15.5px; color: var(--mute); }
  .rp-menu__contact a { color: var(--ink); }
  body.rp-menu-open { overflow: hidden; }
}
@media (max-width: 900px) {
  .rp-spread, .rp-spread--rev, .rp-spread--even { grid-template-columns: 1fr; }
}
@media (max-width: 782px) { .admin-bar .rp-nav { top: 46px; } .admin-bar .rp-menu { top: calc(46px + var(--nav-h)); } }
@media (max-width: 760px) {
  :root { --nav-h: 64px; --fs-body: 17px; }
  .rp-grid--3, .rp-cells.rp-grid--3, .rp-figures, .rp-steps--row { --cols: 1; }
  .rp-figures > * + * { border-left: 0; padding-left: 0; border-top: 1px solid var(--sand); }
  .rp-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .rp-footer { padding-top: 48px; }
  .rp-footer__top { gap: 36px; padding-bottom: 32px; }
  .rp-footer__bottom { gap: 10px 20px; }
  .rp-footer__copy { flex-basis: 100%; }
  .rp-spec > div { grid-template-columns: 1fr; gap: 4px; }
  .rp-steps > li { padding-left: 60px; }
  .rp-steps > li::before { font-size: 40px; }
  .rp-steps--row > li { padding-left: 0; }
  .rp-quote { padding-top: 44px; }
  .rp-quote::before { font-size: 80px; }
  .rp-nav__end .rp-btn--sm { padding-inline: 14px; }
  .rp-logo img { height: 34px; }
}
@media (max-width: 680px) {
  .rp-grid--2, .rp-cells.rp-grid--2 { --cols: 1; }
  .rp-grid--4, .rp-grid--5 { --cols: 1; }
  .rp-cells.rp-grid--4, .rp-cells.rp-grid--5 { --cols: 2; }
  .rp-prose { font-size: 18px; }
}
@media (max-width: 460px) {
  .rp-trust { --cols: 1; }
  .rp-trust > li { border-left: 0 !important; }
  .rp-trust > li + li { border-top: 1px solid var(--sand); }
  .rp-burger__txt { display: none; }
  .rp-burger { padding: 0; width: 42px; justify-content: center; }
  .rp-nav__bar { gap: 10px; }
  .rp-logo img { height: 30px; }
}
@media (max-width: 360px) { .rp-nav__end .rp-btn--sm { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html.rp-html { scroll-behavior: auto; }
  .rp *, .rp *::before, .rp *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rp-reveal, .rp-in { opacity: 1; transform: none; }
  a.rp-card:hover { transform: none; }
}


/* ---------- "less editorial" pass (2026-09-30): sans headlines, no italic emphasis ---------- */
.rp :is(h1, h2, h3, h4) { font-family: var(--display); font-weight: 600 !important; letter-spacing: -.03em; font-style: normal; }
.rp h1 { letter-spacing: -.035em; }
.rp :is(h1, h2, h3, h4, blockquote, figure, p) em { font-style: normal; }
.rp h1 em { color: var(--red); }
.rp :is(h2, h3, h4) em { color: inherit; }
.rp blockquote, .rp q { font-style: normal; }
/* big figures read as numbers, not light display type */
.rp :is(.hp-trust b, .hp-stats b, [class*="-fig"] b, [class*="figure"] b, [class*="stat"] b, [class*="num"]) { font-weight: 600; letter-spacing: -.03em; }
