/* Clark Jones v2 master stylesheet (mockup source = WordPress master stylesheet).
   Fonts: Newsreader and Hanken Grotesk (Google Fonts, OFL) self hosted, instanced to the axes the design uses
   (Newsreader opsz 36 to 72, wght 400 to 600, Hanken wght 300 to 600), Brand/Fonts/*-cj.woff2.
   Brand: Adela's Brand Identity Manual (Q4 2026). Every brand value lives in :root. v1 was the holding page, v2 is the full site (six pages plus legal). */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/newsreader.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400 600; font-display: swap; src: url("fonts/newsreader-italic.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 300 600; font-display: swap; src: url("fonts/hanken-grotesk.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* palette, exact from the Brand Manual p4. Balance: navy 45, ivory + white 45, harbour 6, brass 4 */
  --rh-navy: #0B1A27;      /* Midnight Navy: backgrounds, logo, headlines */
  --rh-harbour: #253D52;   /* cards on navy, hover */
  --rh-ivory: #F5EFE5;     /* Warm Ivory: backgrounds, type on navy */
  --rh-white: #FFFFFF;     /* partner to ivory: cards, documents */
  --rh-brass: #B5A17A;     /* accents and details only. Never text on ivory or white (2.2:1) */
  --rh-ink: var(--rh-navy);
  --rh-ink-2: #3A4A58;     /* secondary copy on ivory and white (8.0:1 on ivory, 9.1:1 on white) */
  --rh-on-dark: rgba(245,239,229,.78);
  --rh-tint: rgba(245,239,229,.7);
  --rh-accent: var(--rh-navy);
  --rh-line: rgba(11,26,39,.16);
  --rh-field: #FBF9F5;      /* form fields: warmer than white, lighter than the ivory band */
  --rh-field-hover: #F8F5EF;
  --rh-field-line: rgba(11,26,39,.2);   /* soft underline at rest, navy only on focus */
  --rh-line-dark: rgba(245,239,229,.16);
  --rh-bg-dark: var(--rh-navy);
  --rh-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --rh-sans: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --rh-fs-body: 1.0625rem; --rh-fs-body-sm: .9375rem; --rh-fs-fine: .8125rem;
  --rh-r: 0; --rh-r-card: 0; --rh-r-field: 0; --rh-r-pill: 0;   /* square edged, Brand Manual p12 */
  --rh-wrap: 1280px; --rh-gut: clamp(1.25rem,4vw,2.5rem);
  --rh-sec: clamp(4.5rem,9vw,8rem);
  --rh-mast: 88px;
  --rh-stick: calc(var(--rh-mast) + 2rem);
  --rh-h1: clamp(2.6rem,6.4vw,5.6rem);
  --rh-h2: clamp(2.2rem,4.4vw,4rem);
  --rh-ease: cubic-bezier(.16,1,.3,1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--rh-sans); font-size: var(--rh-fs-body); font-weight: 400; line-height: 1.7; color: var(--rh-ink); background: var(--rh-ivory); -webkit-font-smoothing: antialiased; }
/* html:root lifts the reset to (0,1,2), over core's .wp-block-image img (rh-wp hazard 1) */
html:root :is(img, svg, video) { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
:focus-visible { outline: 2px solid var(--rh-navy); outline-offset: 3px; }
.rh-navy :focus-visible, .rh-foot :focus-visible, .rh-mast :focus-visible { outline-color: var(--rh-brass); }

/* skeleton */
.rh-sec { position: relative; padding: var(--rh-sec) 0; }
.rh-sec .rh-inner { position: relative; max-width: var(--rh-wrap); margin: 0 auto; padding: 0 var(--rh-gut); }
.rh-sec.rh-navy { background: var(--rh-navy); color: var(--rh-ivory); }
.rh-sec.rh-white { background: var(--rh-white); }
/* a section that continues the band above (same background): one --rh-sec gap, never two */
.rh-sec.rh-cont { padding-top: 0; }
.rh-sec[id], .rh-sec [id] { scroll-margin-top: 1.5rem; }
.rh-sec :where(h1,h2,h3,h4,p,ul,ol,figure,blockquote) { margin: 0; }
.rh-sec :where(h1,h2,h3,h4) { font-family: var(--rh-serif); font-weight: 500; font-variation-settings: "opsz" 72; text-wrap: balance; letter-spacing: -0.012em; color: inherit; }
.rh-sec :where(p,li) { text-wrap: pretty; }
.rh-sec :where(ul,ol) { padding: 0; list-style: none; }
/* masked line reveals: room for descenders and side overhang, matching negative margins so nothing moves */
.rh-sec .rh-lines .rh-line { padding: 0 .08em .18em; margin: 0 -.08em -.18em; }

/* reveal start states (motion standard): the sheet hides, rh-motion.js adds is-in and animates from here. Without the
   gate (no JS, the editor) nothing is hidden */
html.js-reveal .rh-sec .rh-reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
html.js-reveal .rh-sec .rh-lines:not(.is-in) .rh-line-in { transform: translateY(120%); }
html.js-reveal .rh-sec .rh-sky:not(.rh-draw):not(.is-in) img { opacity: 0; }
html.js-reveal .rh-sec .rh-sky.rh-draw img { clip-path: inset(100% 0% 0% 0%); }
html.js-reveal .rh-sec .rh-fill .rh-word { color: rgba(11,26,39,.16); }
/* core Group blocks wrap children in an inner container. Every grid or flex class that can sit on a Group flattens it
   (rh-wp hazard 2). Add each new layout class here the moment it is written */
:is(.rh-hero,.rh-hero-in,.rh-hero-copy,.rh-btns,.rh-contact,.rh-forms,.rh-tabs,.rh-fpanel,.rh-form,.rh-form-foot,.rh-aside,.rh-detail,.rh-band-head,.rh-legal,.rh-foot-top,.rh-foot-base,.rh-foot-links,.rh-bar,.rh-menu,.rh-phero-copy,.rh-sec-head,.rh-intro,.rh-intro-body,.rh-story,.rh-story-cols,.rh-points,.rh-point,.rh-ledger,.rh-ledger-row,.rh-split,.rh-rows,.rh-row,.rh-cards,.rh-card,.rh-paths,.rh-path,.rh-faqs,.rh-founder,.rh-founder-copy,.rh-ctab,.rh-ctab-copy,.rh-groups,.rh-group,.rh-roles,.rh-role-group,.rh-foot-brand,.rh-foot-nav,.rh-foot-contact,.rh-switch,.rh-switch-item,.rh-hero-ticker,.rh-statement,.rh-phero,.rh-founder-img,.rh-index-row)>.wp-block-group__inner-container { display: contents; }

/* type */
.rh-sec .rh-eyebrow { display: inline-flex; align-items: center; gap: .9rem; font-family: var(--rh-sans); font-size: var(--rh-fs-fine); font-weight: 500; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; color: var(--rh-ink); margin-bottom: 1.4rem; }
/* the brass rule before the eyebrow (Brand Manual p9) */
.rh-sec .rh-eyebrow::before { content: ""; flex: 0 0 auto; width: 32px; height: 1px; background: var(--rh-brass); }
.rh-navy .rh-eyebrow { color: var(--rh-brass); }
.rh-sec .rh-h1 { font-size: var(--rh-h1); line-height: 1.02; letter-spacing: -0.02em; }
.rh-sec .rh-h1 em, .rh-sec .rh-h2 em { font-style: italic; font-weight: 400; }
/* italic emphasis in headings (Brand Manual: Newsreader italic for emphasis). Harbour on light, brass on navy */
.rh-sec .rh-h2 em { color: var(--rh-harbour); }
.rh-navy .rh-h2 em { color: var(--rh-brass); }
.rh-sec .rh-h2 { font-size: var(--rh-h2); line-height: 1.08; }
.rh-sec .rh-h3 { font-size: clamp(1.25rem,1.6vw,1.45rem); line-height: 1.25; }
/* the subheading voice: Newsreader italic (Brand Manual p2) */
.rh-sec .rh-lead { font-family: var(--rh-serif); font-style: italic; font-weight: 400; font-variation-settings: "opsz" 36; font-size: clamp(1.3rem,2vw,1.7rem); line-height: 1.35; color: var(--rh-ink); }
.rh-sec .rh-body { font-size: var(--rh-fs-body); font-weight: 400; line-height: 1.75; color: var(--rh-ink-2); }
.rh-sec .rh-small { font-size: var(--rh-fs-body-sm); line-height: 1.65; color: var(--rh-ink-2); }
.rh-sec .rh-fine { font-size: var(--rh-fs-fine); line-height: 1.6; color: var(--rh-ink-2); }
.rh-navy :is(.rh-lead) { color: var(--rh-ivory); }
.rh-navy :is(.rh-body,.rh-small,.rh-fine) { color: var(--rh-on-dark); }
.rh-sec .rh-label { font-family: var(--rh-sans); font-size: var(--rh-fs-fine); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--rh-ink-2); }
.rh-sec .rh-link { text-decoration: underline; text-decoration-color: var(--rh-brass); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color 200ms; }
.rh-sec .rh-link:hover { text-decoration-color: currentColor; }

/* buttons: square edged, Brand Manual p12. Ivory on navy, navy on light */
.rh-sec .rh-btns { display: flex; flex-wrap: wrap; gap: .9rem; }
.rh-sec .rh-btn { display: inline-flex; align-items: center; gap: .8rem; font-family: var(--rh-sans); font-size: var(--rh-fs-body-sm); font-weight: 500; line-height: 1.2; letter-spacing: .01em; border-radius: var(--rh-r); padding: 16px 26px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; background: var(--rh-navy); color: var(--rh-ivory); transition: background-color 250ms, color 250ms, border-color 250ms; }
.rh-sec .rh-btn:hover { background: var(--rh-harbour); }
.rh-sec .rh-btn .rh-ico { width: 14px; height: 14px; transition: transform 350ms var(--rh-ease); }
.rh-sec .rh-btn:hover .rh-ico { transform: translateX(3px); }
.rh-navy .rh-btn { background: var(--rh-ivory); color: var(--rh-navy); }
.rh-navy .rh-btn:hover { background: var(--rh-white); color: var(--rh-navy); }

/* hero: full viewport navy, copy on the rail, the Ascent line rising from the floor on the right */
.rh-sec.rh-hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--rh-mast) + 3.5rem) 0 clamp(4rem,9vh,6rem); overflow: hidden; }
.rh-hero > .rh-inner { width: 100%; }
.rh-sec .rh-hero-copy { position: relative; z-index: 1; max-width: 56rem; }
.rh-hero .rh-h1 { font-size: clamp(2.3rem,5vw,4.5rem); max-width: 10.5em; }
.rh-sec .rh-hero-copy .rh-lead { font-style: normal; margin-top: 1.9rem; max-width: 34rem; }
.rh-sec .rh-hero-copy .rh-body { margin-top: 1.4rem; max-width: 34rem; }
.rh-sec .rh-hero-copy .rh-btns { margin-top: 2.6rem; }
/* desktop hero (Matt 24 Nov): headline and supporting text sized down to his mockup's proportions, the
   supporting text on three lines (its width is in em, so the line count holds at every desktop width) */
.rh-sec .rh-sky { position: absolute; right: clamp(-6rem,-2vw,0rem); bottom: 0; width: min(46vw,640px); margin: 0; pointer-events: none; opacity: .55; }
.rh-sec .rh-sky img { width: 100%; height: auto; }
@media (max-width: 900px) { .rh-sec .rh-sky { width: 78vw; right: -18vw; opacity: .22; } }

/* contact band: heading, then the tabbed form beside the contact details */
.rh-sec .rh-band-head { max-width: 44rem; }
.rh-sec .rh-band-head .rh-body { margin-top: 1.3rem; }
.rh-sec .rh-contact { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,4fr); gap: clamp(2.5rem,6vw,6rem); align-items: start; margin-top: clamp(2.6rem,5vw,4rem); }
.rh-sec .rh-contact > *, .rh-sec .rh-contact > .wp-block-group__inner-container > * { min-width: 0; }
@media (max-width: 900px) { .rh-sec .rh-contact { grid-template-columns: minmax(0,1fr); } }

/* two forms (Gravity Forms, one per panel). Tabs are anchor links: without JS (and in the editor) both panels show.
   Newsreader tabs, the active one italic over a brass rule */
.rh-sec .rh-forms { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.rh-sec .rh-tabs { display: flex; gap: 2rem; border-bottom: 1px solid var(--rh-line); }
.rh-sec .rh-tab { font-family: var(--rh-serif); font-variation-settings: "opsz" 36; font-size: 1.35rem; font-weight: 400; line-height: 1.2; color: var(--rh-ink-2); padding: 0 0 .9rem; margin-bottom: -1px; border-bottom: 2px solid transparent; transition: color 250ms, border-color 250ms; }
.rh-sec .rh-tab:hover { color: var(--rh-navy); }
.rh-sec .rh-tab.is-on { color: var(--rh-navy); font-style: italic; border-bottom-color: var(--rh-brass); }
.rh-sec .rh-forms.is-tabbed .rh-fpanel:not(.is-on) { display: none; }
.rh-sec .rh-fpanel { margin-top: 1.6rem; }

/* the form card: white on ivory, soft filled fields (a warm tint lighter than
   the section, navy underline, white on focus). Shaped for Gravity Forms (the project layer maps it onto .gform_wrapper).
   Josh 16 Nov: section-ivory fields read as holes, plain white boxes read bland, the navy card fought the light band */
.rh-sec .rh-form { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem 2.4rem; padding: clamp(1.8rem,4vw,3.2rem); background: var(--rh-white); color: var(--rh-navy); border-radius: var(--rh-r-card); }
.rh-sec .rh-field { display: flex; flex-direction: column; gap: .5rem; margin: 0; min-width: 0; }
.rh-sec .rh-field--full, .rh-sec .rh-form-foot, .rh-sec .rh-form-done { grid-column: 1 / -1; }
.rh-sec .rh-field label { font-family: var(--rh-sans); font-size: var(--rh-fs-fine); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--rh-navy); }
.rh-sec .rh-field label span { font-weight: 400; letter-spacing: .06em; text-transform: none; color: var(--rh-ink-2); }
.rh-sec .rh-field :is(input,textarea) { width: 100%; min-height: 50px; font-family: var(--rh-sans); font-size: 1.05rem; line-height: 1.4; color: var(--rh-navy); background: var(--rh-field); border: 0; border-bottom: 1px solid var(--rh-field-line); border-radius: var(--rh-r-field); padding: .7rem .9rem; transition: background-color 200ms, border-color 200ms; }
.rh-sec .rh-field textarea { min-height: 130px; resize: vertical; }
.rh-sec .rh-field :is(input,textarea):hover { background: var(--rh-field-hover); border-bottom-color: rgba(11,26,39,.35); }
.rh-sec .rh-field :is(input,textarea):focus { outline: 0; background: var(--rh-field-hover); border-bottom: 1px solid var(--rh-navy); box-shadow: 0 1px 0 var(--rh-navy); }
.rh-sec .rh-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: .4rem; }
.rh-sec .rh-form-foot .rh-fine { flex: 1 1 16rem; }
.rh-sec .rh-form-done { font-family: var(--rh-serif); font-style: italic; font-size: 1.5rem; line-height: 1.4; color: var(--rh-navy); }
.rh-sec .rh-form [hidden] { display: none; }
.rh-sec .rh-form-note { margin-top: 1.1rem; }
@media (max-width: 600px) { .rh-sec .rh-form { grid-template-columns: minmax(0,1fr); gap: 1.7rem; } }

/* contact details beside the form */
.rh-sec .rh-aside { display: flex; flex-direction: column; gap: 2rem; padding-top: clamp(0rem,5vw,4.4rem); }
.rh-sec .rh-detail { display: flex; flex-direction: column; gap: .5rem; padding-top: 1.4rem; border-top: 1px solid var(--rh-line); }
.rh-sec .rh-aside .rh-detail:first-child { padding-top: 0; border-top: 0; }
.rh-sec .rh-detail .rh-body { color: var(--rh-ink); }
.rh-sec .rh-detail .rh-body a { text-decoration: underline; text-decoration-color: var(--rh-brass); text-underline-offset: 4px; transition: text-decoration-color 200ms; }
.rh-sec .rh-detail .rh-body a:hover { text-decoration-color: currentColor; }

/* legal pages: navy hero, one reading column on white */
.rh-sec.rh-phero { padding: calc(var(--rh-mast) + clamp(3.5rem,8vw,6rem)) 0 clamp(3.5rem,7vw,5.5rem); overflow: hidden; }
.rh-phero .rh-h1 { max-width: 14em; }
.rh-phero .rh-body { margin-top: 1.4rem; max-width: 40rem; }
.rh-sec.rh-phero .rh-sky { width: min(34vw,460px); opacity: .35; }
.rh-navy .rh-updated { font-family: var(--rh-sans); font-weight: 400; font-size: var(--rh-fs-fine); letter-spacing: .1em; text-transform: uppercase; color: var(--rh-tint); margin: 1.6rem 0 0; }
.rh-sec .rh-legal { max-width: 46rem; }
.rh-sec .rh-legal .rh-h2 { font-size: clamp(1.55rem,2.4vw,2rem); line-height: 1.15; color: var(--rh-navy); }
.rh-sec .rh-legal .rh-ec { font-size: var(--rh-fs-body); line-height: 1.75; color: var(--rh-ink-2); }
.rh-legal :where(.rh-ec,.rh-list,.rh-tablewrap) + .rh-h2 { margin-top: 2.8rem; }
.rh-legal .rh-h2 + .rh-ec { margin-top: .9rem; }
.rh-legal .rh-ec + .rh-ec { margin-top: 1rem; }
.rh-legal :where(.rh-ec,.rh-list) + .rh-legal-h3 { margin-top: 1.7rem; }
.rh-legal .rh-legal-h3 { font-family: var(--rh-serif); font-weight: 600; font-size: 1.2rem; line-height: 1.25; color: var(--rh-bg-dark); margin-bottom: .55rem; }
.rh-legal .rh-legal-h3 + .rh-ec { margin-top: 0; }
.rh-legal .rh-legal-h3 + .rh-list { margin-top: .4rem; }
.rh-legal .rh-list { list-style: none; margin: .7rem 0 1.15rem; padding: 0; max-width: 62ch; }
.rh-legal .rh-list li { position: relative; padding-left: 1.25rem; margin: 0 0 .55rem; font-family: var(--rh-sans); font-weight: 400; font-size: var(--rh-fs-body); line-height: 1.6; color: var(--rh-ink-2); }
.rh-legal .rh-list li:last-child { margin-bottom: 0; }
.rh-legal .rh-list li::before { content: ""; position: absolute; left: .1rem; top: .7em; width: 5px; height: 5px; background: var(--rh-brass); }
.rh-legal .rh-list a, .rh-legal .rh-ec a { color: var(--rh-accent); text-decoration: underline; text-decoration-color: var(--rh-brass); text-underline-offset: 3px; }
.rh-legal .rh-list a:hover, .rh-legal .rh-ec a:hover { text-decoration-color: currentColor; }
/* cookie list table (legal/legal_build.py): scrolls sideways on narrow screens instead of widening the column */
.rh-legal .rh-tablewrap { overflow-x: auto; margin: 1rem 0 1.4rem; max-width: 100%; }
.rh-legal .rh-table { width: 100%; min-width: 560px; border-collapse: collapse; font-family: var(--rh-sans); font-size: var(--rh-fs-body-sm); line-height: 1.45; color: var(--rh-ink); }
.rh-legal .rh-table :where(th,td) { text-align: left; vertical-align: top; padding: .6rem .8rem .6rem 0; border-bottom: 1px solid color-mix(in srgb, var(--rh-ink) 15%, transparent); }
.rh-legal .rh-table th { font-weight: 600; }

/* two-column layouts: a column that is SIGNIFICANTLY shorter (75% of its neighbour or less) sticks under the header
   while the other scrolls past. rh-motion.js measures every two-column layout and adds rh-stick to that column only.
   align-self, not align-items (core Columns, rh-wp hazard 8). Without JS, on one column and in the editor nothing sticks */
.rh-sec .rh-stick { position: sticky; top: var(--rh-stick); align-self: start; }

/* ===== v2: full site ===== */

/* header: fixed, transparent over the hero, solid navy once the page scrolls (rh-motion.js adds is-solid).
   Ivory over navy heroes, navy over the light heroes (Companies, Candidates). Five links, Contact as the outlined one */
.rh-mast { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: var(--rh-ivory); transition: background-color 350ms, box-shadow 350ms, color 350ms; }
.rh-mast.is-solid { background: var(--rh-navy); box-shadow: 0 1px 0 var(--rh-line-dark); }
.rh-mast .rh-mast-in { max-width: var(--rh-wrap); margin: 0 auto; padding: 0 var(--rh-gut); }
.rh-mast .rh-bar { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: var(--rh-mast); }
.rh-mast .rh-logo { display: block; flex: 0 0 auto; }
.rh-mast .rh-logo img { height: 50px; width: auto; }
.rh-mast .rh-logo .rh-logo-navy { display: none; }
.rh-mast .rh-menu { display: flex; align-items: center; gap: clamp(1.3rem,2.4vw,2.6rem); }
.rh-mast .rh-menu a { position: relative; font-family: var(--rh-sans); font-size: var(--rh-fs-body-sm); font-weight: 500; line-height: 1.2; letter-spacing: .01em; color: inherit; padding: .5rem 0; transition: color 250ms, background-color 250ms, border-color 250ms; }
.rh-mast .rh-menu a:not(.rh-nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rh-brass); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--rh-ease); }
.rh-mast .rh-menu a:not(.rh-nav-cta):hover::after, .rh-mast .rh-menu a.is-current::after { transform: scaleX(1); }
.rh-mast .rh-menu .rh-nav-cta { border: 1px solid currentColor; padding: .75rem 1.25rem; }
.rh-mast .rh-menu .rh-nav-cta:hover { background: var(--rh-ivory); border-color: var(--rh-ivory); color: var(--rh-navy); }
body:has(.rh-light) .rh-mast:not(.is-solid) { color: var(--rh-navy); }
body:has(.rh-light) .rh-mast:not(.is-solid) .rh-logo .rh-logo-ivory { display: none; }
body:has(.rh-light) .rh-mast:not(.is-solid) .rh-logo .rh-logo-navy { display: block; }
body:has(.rh-light) .rh-mast:not(.is-solid) .rh-menu .rh-nav-cta:hover { background: var(--rh-navy); border-color: var(--rh-navy); color: var(--rh-ivory); }
.rh-mast .rh-burger { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.rh-mast .rh-burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform 350ms var(--rh-ease), top 350ms var(--rh-ease); }
.rh-mast .rh-burger span:first-child { top: 17px; }
.rh-mast .rh-burger span:last-child { top: 26px; }
html.rh-menu-open .rh-mast .rh-burger span:first-child { top: 21px; transform: rotate(45deg); }
html.rh-menu-open .rh-mast .rh-burger span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 960px) {
  .rh-mast .rh-logo img { height: 44px; }
  html.js-reveal .rh-mast .rh-burger { display: block; z-index: 2; }
  html.js-reveal .rh-mast .rh-menu { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: .4rem; padding: var(--rh-mast) var(--rh-gut) 3rem; background: var(--rh-navy); color: var(--rh-ivory); opacity: 0; visibility: hidden; transition: opacity 350ms, visibility 0s 350ms; }
  html.js-reveal.rh-menu-open .rh-mast .rh-menu { opacity: 1; visibility: visible; transition: opacity 350ms; }
  html.js-reveal .rh-mast .rh-menu a { font-family: var(--rh-serif); font-variation-settings: "opsz" 72; font-size: clamp(1.9rem,7vw,2.6rem); font-weight: 400; padding: .35rem 0; }
  html.js-reveal .rh-mast .rh-menu .rh-nav-cta { border: 0; padding: .35rem 0; }
  html.js-reveal .rh-mast .rh-menu .rh-nav-cta:hover { background: none; color: var(--rh-brass); }
  html.rh-menu-open .rh-mast { color: var(--rh-ivory); }
  html.rh-menu-open .rh-mast .rh-logo .rh-logo-ivory { display: block; }
  html.rh-menu-open .rh-mast .rh-logo .rh-logo-navy { display: none; }
  html:not(.js-reveal) .rh-mast .rh-bar { flex-wrap: wrap; padding: 1rem 0; }
  html:not(.js-reveal) .rh-mast .rh-menu { flex-wrap: wrap; gap: .4rem 1.4rem; }
}

/* home hero: full screen video (placeholder poster until the clip is bought) under a navy veil, copy on the rail */
.rh-sec.rh-hero.rh-video { background: var(--rh-navy); }
.rh-sec .rh-hero-media { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.rh-sec .rh-hero-media video { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.rh-sec .rh-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,26,39,.88) 0%, rgba(11,26,39,.66) 45%, rgba(11,26,39,.22) 100%), linear-gradient(0deg, rgba(11,26,39,.75) 0%, rgba(11,26,39,0) 35%), linear-gradient(180deg, rgba(11,26,39,.55) 0%, rgba(11,26,39,0) 22%); }
/* phones and tablets: the copy runs the full width, past the side shade, so a 40% navy wash sits under it
   (the lightest pixel behind any line stays above 5:1 through the whole clip, measured 25 Nov) */
@media (max-width: 960px) {
  .rh-sec .rh-hero-media::after { background: linear-gradient(90deg, rgba(11,26,39,.88) 0%, rgba(11,26,39,.66) 45%, rgba(11,26,39,.22) 100%), linear-gradient(0deg, rgba(11,26,39,.75) 0%, rgba(11,26,39,0) 35%), linear-gradient(180deg, rgba(11,26,39,.55) 0%, rgba(11,26,39,0) 22%), linear-gradient(rgba(11,26,39,.4), rgba(11,26,39,.4)); }
}
.rh-sec .rh-hero-copy .rh-eyebrow { margin-bottom: 1.8rem; }

/* sub page heroes: typography only over a quiet gradient. Navy (About, Expertise, Contact, legal) or light (Companies, Candidates) */
.rh-sec.rh-grad { background: radial-gradient(90% 120% at 100% 0%, rgba(37,61,82,.9) 0%, rgba(37,61,82,0) 62%), var(--rh-navy); }
.rh-sec.rh-light { color: var(--rh-ink); background: radial-gradient(80% 110% at 100% 0%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 60%), linear-gradient(180deg, var(--rh-ivory) 0%, #F0E8DB 100%), var(--rh-ivory); }
.rh-sec.rh-phero { padding: calc(var(--rh-mast) + clamp(4rem,9vw,7.5rem)) 0 clamp(4rem,8vw,7rem); }
.rh-sec.rh-phero .rh-h1 { font-size: clamp(2.4rem,4.6vw,4.1rem); line-height: 1.05; max-width: 13em; }
.rh-sec .rh-phero-copy { position: relative; z-index: 1; max-width: 50rem; }
.rh-sec .rh-phero-copy .rh-lead { font-style: normal; margin-top: 1.7rem; max-width: 38rem; }
.rh-sec.rh-light .rh-sky { opacity: .5; }

/* section heading block */
.rh-sec .rh-sec-head { max-width: 46rem; margin-bottom: clamp(2.6rem,5vw,4.5rem); }
.rh-sec .rh-sec-head .rh-body { margin-top: 1.2rem; }
.rh-sec .rh-sec-foot { margin-top: clamp(2.4rem,4vw,3.4rem); }
.rh-sec .rh-big { font-size: clamp(1.1rem,1.35vw,1.25rem); line-height: 1.7; color: var(--rh-ink); }
.rh-navy .rh-big { color: var(--rh-ivory); }
.rh-sec .rh-lead.rh-up { font-style: normal; }

/* intro: heading left, copy right */
.rh-sec .rh-intro { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: clamp(2rem,6vw,7rem); align-items: start; }
.rh-sec .rh-intro .rh-eyebrow { margin-bottom: 1.2rem; }
.rh-sec .rh-intro-body { display: flex; flex-direction: column; gap: 1.4rem; padding-top: .4rem; }

/* story: first paragraph large, the next two side by side */
.rh-sec .rh-story { max-width: 62rem; }
.rh-sec .rh-story > .rh-lead { font-size: clamp(1.5rem,2.4vw,2.15rem); line-height: 1.3; font-variation-settings: "opsz" 72; }
.rh-sec .rh-story-cols { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.5rem,4vw,4rem); margin-top: clamp(2rem,4vw,3.2rem); padding-top: clamp(2rem,4vw,3.2rem); border-top: 1px solid var(--rh-line); }

/* points: up to six, a hairline with a brass lead-in above each */
.rh-sec .rh-points { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(2.4rem,4vw,3.6rem) clamp(1.8rem,3.5vw,3.4rem); }
.rh-sec .rh-point { position: relative; display: flex; flex-direction: column; gap: .8rem; padding-top: 1.6rem; border-top: 1px solid var(--rh-line); }
.rh-sec .rh-point::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 1px; background: var(--rh-brass); }

/* ledger: title left, sentence right, ruled rows */
.rh-sec .rh-ledger { border-bottom: 1px solid var(--rh-line); }
.rh-sec .rh-ledger-row { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,7fr); gap: 1rem clamp(2rem,5vw,5rem); padding: clamp(1.4rem,2.4vw,2rem) 0; border-top: 1px solid var(--rh-line); align-items: baseline; }
.rh-sec .rh-ledger-row .rh-body { max-width: 38rem; }

/* split: heading column left (sticks when much shorter), content right */
.rh-sec .rh-split { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,7fr); gap: clamp(2.4rem,6vw,7rem); align-items: start; }
.rh-sec :is(.rh-split,.rh-intro) > .rh-sec-head { margin-bottom: 0; }
.rh-sec .rh-rows { display: flex; flex-direction: column; }
.rh-sec .rh-row { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem 0 1.8rem; border-top: 1px solid var(--rh-line); }
.rh-sec .rh-row:first-child { padding-top: 0; border-top: 0; }

/* the one card: open, a navy rule with a brass lead-in, large serif title (reference sites: open cards, thin rules) */
.rh-sec .rh-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(2.4rem,4vw,3.6rem) clamp(1.8rem,4vw,4rem); }
.rh-sec .rh-cards.rh-cards-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.rh-sec .rh-card { position: relative; display: flex; flex-direction: column; gap: 1rem; padding-top: 1.8rem; border-top: 1px solid var(--rh-navy); }
.rh-sec .rh-card::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 3px; background: var(--rh-brass); }
.rh-sec .rh-card .rh-h3 { font-size: clamp(1.7rem,2.5vw,2.3rem); line-height: 1.1; }
.rh-sec .rh-card .rh-body { max-width: 34rem; }

/* two paths: open columns split by a rule */
.rh-sec .rh-paths { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--rh-line); border-bottom: 1px solid var(--rh-line); }
.rh-sec .rh-path { display: flex; flex-direction: column; gap: 1.2rem; padding: clamp(2.6rem,5vw,4.4rem) clamp(1.6rem,4vw,4rem) clamp(2.6rem,5vw,4.4rem) 0; }
.rh-sec .rh-path + .rh-path { padding-left: clamp(1.6rem,4vw,4rem); padding-right: 0; border-left: 1px solid var(--rh-line); }
.rh-sec .rh-path .rh-h3 { font-size: clamp(1.8rem,2.8vw,2.5rem); line-height: 1.1; }
.rh-sec .rh-path .rh-big { max-width: 28rem; }
.rh-sec .rh-path .rh-btns { margin-top: auto; padding-top: 1.2rem; }

/* steps: the search process on navy */
.rh-sec .rh-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(2rem,3.5vw,3rem) clamp(1.8rem,3.5vw,3.4rem); counter-reset: rh-step; }
.rh-sec .rh-steps li { counter-increment: rh-step; display: flex; flex-direction: column; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid var(--rh-line-dark); font-family: var(--rh-serif); font-variation-settings: "opsz" 36; font-size: clamp(1.25rem,1.7vw,1.5rem); line-height: 1.3; color: var(--rh-ivory); }
.rh-sec .rh-steps li::before { content: counter(rh-step); font-family: var(--rh-serif); font-style: italic; font-size: 1.1rem; line-height: 1; color: var(--rh-brass); }

/* FAQ: Details, open in the markup (and the editor), JS folds all but the first on phones */
.rh-sec .rh-faqs { border-bottom: 1px solid var(--rh-line); }
.rh-sec .rh-faq { border-top: 1px solid var(--rh-line); }
.rh-sec .rh-faq summary { position: relative; display: block; padding: 1.5rem 3rem 1.5rem 0; cursor: pointer; list-style: none; font-family: var(--rh-serif); font-variation-settings: "opsz" 36; font-size: clamp(1.2rem,1.6vw,1.4rem); line-height: 1.35; color: var(--rh-navy); }
.rh-sec .rh-faq summary::-webkit-details-marker { display: none; }
.rh-sec .rh-faq summary::before, .rh-sec .rh-faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 14px; height: 1px; background: var(--rh-navy); transition: transform 300ms var(--rh-ease); }
.rh-sec .rh-faq summary::after { transform: rotate(90deg); }
.rh-sec .rh-faq[open] summary::after { transform: rotate(0deg); }
.rh-sec .rh-faq summary:hover { color: var(--rh-harbour); }
.rh-sec .rh-faq .rh-body { padding: 0 3rem 1.7rem 0; max-width: 42rem; }

/* founder */
.rh-sec .rh-founder { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: clamp(2.4rem,6vw,6.5rem); align-items: center; }
.rh-sec .rh-founder-img { max-width: 400px; }
.rh-sec .rh-founder-img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.rh-sec .rh-founder-copy { display: flex; flex-direction: column; gap: 1.1rem; }
.rh-sec .rh-founder-copy .rh-eyebrow { margin-bottom: .3rem; }
.rh-sec .rh-founder-copy .rh-big { margin-top: .8rem; max-width: 36rem; }

/* closing call to action on navy (About carries Matthew's wider portrait) */
.rh-sec .rh-ctab { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(2.4rem,6vw,6rem); align-items: center; }
.rh-sec .rh-ctab.rh-has-img { grid-template-columns: minmax(0,6fr) minmax(0,6fr); }
.rh-sec .rh-ctab-copy { display: flex; flex-direction: column; max-width: 44rem; }
.rh-sec .rh-ctab-copy .rh-h2 { font-size: clamp(2.2rem,4.4vw,3.8rem); line-height: 1.05; }
.rh-sec .rh-ctab-copy .rh-big { margin-top: 1.4rem; max-width: 34rem; color: var(--rh-on-dark); }
.rh-sec .rh-ctab-copy .rh-btns { margin-top: 2.4rem; }
.rh-sec .rh-ctab-img { align-self: center; justify-self: end; width: 100%; max-width: 560px; }
.rh-sec .rh-ctab-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 0; }

/* expertise: two groups of tags, then three role lists */
.rh-sec .rh-groups { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(2.4rem,6vw,6rem); }
.rh-sec .rh-group { display: flex; flex-direction: column; gap: 1.1rem; padding-top: 1.6rem; border-top: 1px solid var(--rh-line); }
.rh-sec .rh-group .rh-h3 { font-size: clamp(1.6rem,2.4vw,2.2rem); }
.rh-sec .rh-tags { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .2rem 2rem; margin-top: .8rem; }
.rh-sec .rh-tags li { font-family: var(--rh-serif); font-variation-settings: "opsz" 36; font-size: clamp(1.15rem,1.5vw,1.3rem); line-height: 1.4; color: var(--rh-navy); }
.rh-sec .rh-tags li { padding: .55rem 0; border-bottom: 1px solid var(--rh-line); }
.rh-sec .rh-tags li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: .8rem; vertical-align: middle; background: var(--rh-brass); }
.rh-sec .rh-roles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(2rem,4vw,4rem); }
.rh-sec .rh-role-group { display: flex; flex-direction: column; gap: 1.2rem; }
.rh-sec .rh-role-group .rh-role-title { position: relative; color: var(--rh-ink); padding: 1.6rem 0 1.1rem; border-top: 1px solid var(--rh-navy); line-height: 1.5; }
.rh-sec .rh-role-group .rh-role-title::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 3px; background: var(--rh-brass); }
.rh-sec .rh-rolelist li { font-family: var(--rh-serif); font-variation-settings: "opsz" 36; font-size: clamp(1.2rem,1.6vw,1.4rem); line-height: 1.3; color: var(--rh-navy); padding: .85rem 0; border-bottom: 1px solid var(--rh-line); }

/* footer: navy. Logo, the page links, contact details, then the legal strip.
   padding-top 0 with the rule inside, so a navy band above it keeps one --rh-sec gap */
.rh-sec.rh-foot { background: var(--rh-navy); color: var(--rh-ivory); padding: 0 0 2rem; }
.rh-foot .rh-foot-top { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,3fr) minmax(0,4fr); gap: 2.4rem clamp(2rem,5vw,5rem); padding-top: clamp(3rem,5vw,4.5rem); border-top: 1px solid var(--rh-line-dark); }
.rh-foot .rh-foot-logo img { height: 30px; width: auto; }
.rh-foot .rh-foot-nav, .rh-foot .rh-foot-contact { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.rh-foot .rh-foot-nav a, .rh-foot .rh-foot-contact a { font-family: var(--rh-sans); font-size: var(--rh-fs-body-sm); color: var(--rh-ivory); padding: .15rem 0; transition: color 200ms; }
.rh-foot .rh-foot-nav a:hover, .rh-foot .rh-foot-contact a:hover { color: var(--rh-brass); }
.rh-foot .rh-label { color: var(--rh-brass); margin-top: .9rem; }
.rh-foot .rh-label:first-child { margin-top: 0; }
.rh-foot .rh-foot-contact .rh-small { color: var(--rh-on-dark); max-width: 20rem; }
.rh-foot .rh-foot-base { display: flex; flex-direction: column; gap: .45rem; margin-top: clamp(2.6rem,4vw,3.6rem); padding-top: 1.4rem; border-top: 1px solid var(--rh-line-dark); font-family: var(--rh-sans); font-size: var(--rh-fs-fine); color: var(--rh-on-dark); }
.rh-foot .rh-foot-base p { margin: 0; }
.rh-foot .rh-foot-base a { color: var(--rh-ivory); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(181,161,122,.85); transition: color 200ms; }
.rh-foot .rh-foot-base a:hover { color: var(--rh-brass); }

@media (max-width: 960px) {
  .rh-sec :is(.rh-intro,.rh-split,.rh-founder,.rh-groups) { grid-template-columns: minmax(0,1fr); }
  .rh-sec :is(.rh-points,.rh-cards,.rh-steps,.rh-roles) { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rh-sec .rh-paths { grid-template-columns: minmax(0,1fr); }
  .rh-sec .rh-path, .rh-sec .rh-path + .rh-path { padding: 2.4rem 0; border-left: 0; }
  .rh-sec .rh-path + .rh-path { border-top: 1px solid var(--rh-line); }
  .rh-sec .rh-ctab-img { order: -1; max-width: 100%; }
  .rh-sec .rh-ctab-img { max-width: 30rem; }
  .rh-sec .rh-ctab-img img { aspect-ratio: 1 / 1; object-position: 50% 0; }
  .rh-sec .rh-ctab.rh-has-img { grid-template-columns: minmax(0,1fr); }
  .rh-sec .rh-ctab-img { justify-self: start; }
  .rh-foot .rh-foot-top { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rh-foot .rh-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .rh-sec :is(.rh-points,.rh-cards,.rh-cards.rh-cards-2,.rh-steps,.rh-roles,.rh-story-cols) { grid-template-columns: minmax(0,1fr); }
  .rh-sec .rh-ledger-row { grid-template-columns: minmax(0,1fr); }
  .rh-foot .rh-foot-top { grid-template-columns: minmax(0,1fr); }
}

/* home statement, centred */
.rh-sec .rh-statement { text-align: center; }
.rh-sec .rh-statement > :is(.rh-h2,.rh-lead) { max-width: 54rem; margin-inline: auto; }
.rh-sec .rh-statement .rh-eyebrow { justify-content: center; }
.rh-sec .rh-statement .rh-eyebrow::after { content: ""; flex: 0 0 auto; width: 32px; height: 1px; background: var(--rh-brass); }
.rh-sec .rh-statement .rh-lead { margin-top: 1.8rem; font-size: clamp(1.35rem,2.1vw,1.85rem); line-height: 1.4; }
/* hero variants: Candidates set larger, Contact shorter so the form sits higher */
.rh-sec.rh-phero.rh-phero-lg .rh-h1 { font-size: clamp(2.8rem,5.6vw,4.9rem); max-width: 11em; }
.rh-sec.rh-phero.rh-phero-sm { padding-bottom: clamp(3rem,6vw,4.5rem); }

/* ===== v2 round 2: reference-led moves (Borgg, Oliver James, Fordham, Dartmouth) ===== */

/* hero ticker: Matt's expertise terms running along the foot of the hero. Static and wrapped without JS */
.rh-sec.rh-hero { padding-bottom: calc(clamp(4rem,9vh,6rem) + 4.5rem); }
.rh-sec .rh-hero-ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.35rem 0; border-top: 1px solid var(--rh-line-dark); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.rh-sec .rh-ticker { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 0; }
html.js-reveal .rh-sec .rh-ticker { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: rh-tick 70s linear infinite; }
.rh-sec .rh-ticker li { display: flex; align-items: center; white-space: nowrap; font-family: var(--rh-sans); font-size: var(--rh-fs-fine); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--rh-on-dark); }
.rh-sec .rh-ticker li::after { content: ""; width: 5px; height: 5px; margin: 0 2.2rem; background: var(--rh-brass); transform: rotate(45deg); }
@keyframes rh-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* statement: centred, the paragraph inks in word by word as it scrolls through (rh-fill) */
.rh-sec .rh-statement .rh-h2 { max-width: 15em; }
.rh-sec .rh-statement .rh-lead { margin-top: 2.2rem; max-width: 46rem; font-size: clamp(1.5rem,2.6vw,2.3rem); line-height: 1.32; font-variation-settings: "opsz" 72; color: var(--rh-ink); }
.rh-sec .rh-fill .rh-word { transition: none; }

/* gridded points: a hairline table of six (Borgg), the brass lead-in runs the width on hover */
.rh-sec .rh-points.rh-gridded { gap: 0; border-top: 1px solid var(--rh-line); border-left: 1px solid var(--rh-line); }
.rh-sec .rh-gridded .rh-point { gap: 1rem; padding: clamp(1.8rem,3vw,2.8rem); border-top: 0; border-right: 1px solid var(--rh-line); border-bottom: 1px solid var(--rh-line); transition: background-color 400ms; }
.rh-sec .rh-gridded .rh-point::before { top: -1px; width: 40px; height: 2px; transition: width 600ms var(--rh-ease); }
.rh-sec .rh-gridded .rh-point:hover { background: var(--rh-ivory); }
.rh-sec .rh-gridded .rh-point:hover::before { width: 100%; }
.rh-sec .rh-gridded .rh-h3 { font-size: clamp(1.35rem,1.8vw,1.6rem); }

/* specialism switcher (Dartmouth): three large names, the description beside them follows hover, focus or tap.
   Without JS, in the editor and under 961px the three read as a stacked list */
.rh-sec .rh-switch { display: flex; flex-direction: column; }
.rh-sec .rh-switch-item { display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem 0 2rem; border-top: 1px solid var(--rh-line-dark); }
.rh-sec .rh-switch .rh-h3 { font-size: clamp(2rem,4vw,3.5rem); line-height: 1.05; }
.rh-sec .rh-switch .rh-big { color: var(--rh-on-dark); max-width: 34rem; }
@media (min-width: 961px) {
  .rh-sec .rh-switch.is-switch { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); grid-template-rows: repeat(3, auto); column-gap: clamp(3rem,6vw,6rem); border-bottom: 1px solid var(--rh-line-dark); }
  .rh-sec .is-switch .rh-switch-item { display: contents; }
  .rh-sec .is-switch .rh-h3 { grid-column: 1; position: relative; padding: 1.5rem 0 1.5rem 0; border-top: 1px solid var(--rh-line-dark); color: rgba(245,239,229,.5); cursor: pointer; outline-offset: 6px; transition: color 400ms, padding-left 500ms var(--rh-ease); }
  .rh-sec .is-switch .rh-h3::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--rh-brass); transition: width 500ms var(--rh-ease); }
  .rh-sec .is-switch .rh-switch-item:nth-child(1) .rh-h3 { grid-row: 1; }
  .rh-sec .is-switch .rh-switch-item:nth-child(2) .rh-h3 { grid-row: 2; }
  .rh-sec .is-switch .rh-switch-item:nth-child(3) .rh-h3 { grid-row: 3; }
  .rh-sec .is-switch .is-on .rh-h3 { color: var(--rh-ivory); padding-left: 4rem; }
  .rh-sec .is-switch .is-on .rh-h3::before { width: 2.6rem; }
  .rh-sec .is-switch .rh-big { grid-column: 2; grid-row: 1 / span 3; align-self: center; max-width: 30rem; color: var(--rh-ivory); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 450ms, transform 600ms var(--rh-ease), visibility 0s 450ms; }
  .rh-sec .is-switch .is-on .rh-big { opacity: 1; visibility: visible; transform: none; transition: opacity 450ms 120ms, transform 600ms var(--rh-ease) 120ms; }
}

/* the Ascent line draws up from the floor as the band scrolls in (rh-draw) */
.rh-sec.rh-grad { overflow: hidden; }
.rh-sec .rh-sky.rh-draw { width: min(40vw,560px); opacity: .5; }

/* two paths, round 2: larger names */
.rh-sec .rh-path .rh-h3 { font-size: clamp(2.2rem,3.8vw,3.4rem); }

/* hero: Matt's first choice Shutterstock clip as the watermarked preview (898x506, trimmed to 10s) until it is bought.
   A frame of the clip is its poster */
.rh-sec .rh-hero-media { background: var(--rh-navy); }

/* ===== v2 round 3: every sub page gets a signature moment on the Home vocabulary ===== */

/* sub page heroes, full screen like Home: copy on the floor of the band, a ruled index strip where Home runs its
   ticker (the page's own section headings, anchor links), the Ascent line large on the right */
.rh-sec.rh-phero.rh-phero-full { display: flex; align-items: center; min-height: min(100vh, 780px); min-height: min(100svh, 780px); padding: calc(var(--rh-mast) + 3rem) 0 calc(3rem + 4.6rem); }
.rh-sec.rh-phero.rh-phero-full > .rh-inner { width: 100%; }
.rh-sec.rh-phero:is(.rh-phero-full,.rh-phero-contact) .rh-h1 { font-size: clamp(2.3rem,5vw,4.5rem); line-height: 1.02; max-width: 11em; }
.rh-sec.rh-phero .rh-sky.rh-sky-lg { width: min(42vw,600px); opacity: .5; }
.rh-sec.rh-phero:has(.rh-phero-index) .rh-sky { bottom: 4.5rem; }
.rh-sec .rh-phero-index { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; border-top: 1px solid var(--rh-line-dark); }
.rh-light .rh-phero-index { border-top-color: var(--rh-line); }
.rh-sec .rh-index-row { display: flex; flex-wrap: wrap; gap: .5rem clamp(1.4rem,2.2vw,2.4rem); padding: 1.35rem 0; counter-reset: rh-ix; }
.rh-sec .rh-index-row a { counter-increment: rh-ix; display: inline-flex; align-items: baseline; gap: .6rem; font-family: var(--rh-sans); font-size: var(--rh-fs-fine); font-weight: 500; line-height: 1.4; letter-spacing: .15em; text-transform: uppercase; color: var(--rh-on-dark); transition: color 250ms; }
.rh-sec .rh-index-row a::before { content: counter(rh-ix, decimal-leading-zero); font-family: var(--rh-serif); font-style: italic; font-weight: 400; font-size: 1rem; letter-spacing: 0; color: var(--rh-brass); }
.rh-sec .rh-index-row a:hover { color: var(--rh-ivory); }
.rh-light .rh-index-row a { color: var(--rh-ink-2); }
.rh-light .rh-index-row a::before { color: var(--rh-harbour); }
.rh-light .rh-index-row a:hover { color: var(--rh-navy); }

.rh-sec.rh-phero.rh-phero-contact { padding: calc(var(--rh-mast) + clamp(3rem,6vw,5rem)) 0 clamp(3rem,6vw,4.5rem); }

/* statement without an eyebrow: the paragraph leads. Follow-on paragraphs under a hairline, left aligned */
.rh-sec .rh-statement > .rh-lead:first-child { margin-top: 0; }
.rh-sec .rh-statement > .rh-big { max-width: 40rem; margin: 1.8rem auto 0; color: var(--rh-ink-2); }
.rh-sec .rh-statement .rh-story-cols { max-width: 62rem; margin-inline: auto; text-align: left; }
.rh-sec .rh-statement .rh-story-cols .rh-big { color: var(--rh-ink-2); }

/* founder, editorial scale: the portrait large with a brass frame offset behind it, the name at display size */
.rh-sec .rh-founder.rh-founder-xl { grid-template-columns: minmax(0,5fr) minmax(0,6fr); align-items: end; isolation: isolate; }
.rh-sec .rh-founder-xl .rh-founder-img { position: relative; max-width: none; }
.rh-sec .rh-founder-xl .rh-founder-img img { position: relative; }
.rh-sec .rh-founder-xl .rh-founder-img::after { content: ""; position: absolute; inset: 1.6rem -1.6rem -1.6rem 1.6rem; z-index: -1; border: 1px solid var(--rh-brass); }
.rh-sec .rh-founder-xl .rh-h2 { font-size: clamp(2.8rem,6vw,5.4rem); line-height: 1; }
.rh-sec .rh-founder-xl .rh-voice { position: relative; margin-top: 1.4rem; padding-top: 2rem; border-top: 1px solid var(--rh-line); font-family: var(--rh-serif); font-variation-settings: "opsz" 36; font-size: clamp(1.3rem,1.9vw,1.7rem); line-height: 1.45; color: var(--rh-ink); }
.rh-sec .rh-founder-xl .rh-voice::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--rh-brass); }

/* switcher with six names (About, Problems we solve) */
@media (min-width: 961px) {
  .rh-sec .rh-switch.rh-switch-6.is-switch { grid-template-rows: repeat(6, auto); }
  .rh-sec .rh-switch-6.is-switch .rh-switch-item:nth-child(4) .rh-h3 { grid-row: 4; }
  .rh-sec .rh-switch-6.is-switch .rh-switch-item:nth-child(5) .rh-h3 { grid-row: 5; }
  .rh-sec .rh-switch-6.is-switch .rh-switch-item:nth-child(6) .rh-h3 { grid-row: 6; }
  .rh-sec .rh-switch-6.is-switch .rh-big { grid-row: 1 / span 6; }
  .rh-sec .rh-switch-6 .rh-h3 { font-size: clamp(1.9rem,3.2vw,2.9rem); }
  .rh-sec .rh-switch-6.is-switch .rh-h3 { padding-top: 1.15rem; padding-bottom: 1.15rem; }
  .rh-sec .rh-switch-6.is-switch .rh-big { max-width: 26rem; font-family: var(--rh-serif); font-variation-settings: "opsz" 36; font-size: clamp(1.5rem,2.1vw,1.95rem); line-height: 1.35; }
}

/* numbered ledger on navy (For companies, What matters): brass italic numerals, large serif titles */
.rh-navy .rh-ledger { border-bottom-color: var(--rh-line-dark); }
.rh-navy .rh-ledger-row { border-top-color: var(--rh-line-dark); }
.rh-sec .rh-ledger.rh-ledger-num { counter-reset: rh-lg; }
.rh-sec .rh-ledger-num .rh-ledger-row { position: relative; counter-increment: rh-lg; grid-template-columns: minmax(0,1fr); gap: .7rem; padding: clamp(1.8rem,3vw,2.6rem) 0 clamp(1.8rem,3vw,2.6rem) clamp(3.6rem,6vw,5.6rem); }
.rh-sec .rh-ledger-num .rh-ledger-row::before { content: counter(rh-lg, decimal-leading-zero); position: absolute; left: 0; top: clamp(1.8rem,3vw,2.6rem); font-family: var(--rh-serif); font-style: italic; font-size: clamp(1.6rem,2.4vw,2.2rem); line-height: 1.1; color: var(--rh-harbour); }
.rh-navy .rh-ledger-num .rh-ledger-row::before { color: var(--rh-brass); }
.rh-sec .rh-ledger-num .rh-h3 { font-size: clamp(1.7rem,2.8vw,2.6rem); line-height: 1.1; }

/* gridded points: two columns, larger titles (service options). On ivory the hover turns white */
.rh-sec .rh-points.rh-points-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.rh-sec .rh-points-2 .rh-point .rh-h3 { font-size: clamp(1.7rem,2.5vw,2.3rem); line-height: 1.1; }
.rh-sec .rh-points-2 .rh-point .rh-body { max-width: 32rem; }
.rh-sec:not(.rh-white) .rh-gridded .rh-point:hover { background: var(--rh-white); }

/* search process on navy: one numbered row, a brass line draws along it as it scrolls through (rh-motion.js sets
   --rh-prog and lights each step once). Without JS the line is full and every step lit */
.rh-sec .rh-steps.rh-process { position: relative; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 0 clamp(1.2rem,2vw,2rem); border-top: 1px solid var(--rh-line-dark); }
.rh-sec .rh-process::after { content: ""; position: absolute; top: -1px; left: 0; width: calc(var(--rh-prog, 1) * 100%); height: 2px; background: var(--rh-brass); }
.rh-sec .rh-process li { padding-top: 2rem; border-top: 0; font-size: clamp(1.15rem,1.45vw,1.35rem); transition: opacity 600ms; }
.rh-sec .rh-process li::before { content: counter(rh-step, decimal-leading-zero); font-size: clamp(2.4rem,3.4vw,3.2rem); }
html.js-reveal .rh-sec .rh-process li:not(.is-on) { opacity: .3; }

/* contact: the form band has no heading above the form */
.rh-sec .rh-inner > .rh-contact:first-child { margin-top: 0; }

/* closing call to action on a light band (About, beside the wider portrait) */
.rh-sec:not(.rh-navy) .rh-ctab-copy .rh-big { color: var(--rh-ink-2); }

@media (max-width: 960px) {
  .rh-sec .rh-steps.rh-process { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2.4rem clamp(1.2rem,3vw,2rem); border-top: 0; }
  .rh-sec .rh-process::after { display: none; }
  .rh-sec .rh-process li { border-top: 1px solid var(--rh-line-dark); }
  .rh-sec .rh-founder.rh-founder-xl { grid-template-columns: minmax(0,1fr); }
  .rh-sec .rh-founder-xl .rh-founder-img { max-width: 420px; }
  .rh-sec .rh-ctab.rh-has-img .rh-ctab-img { order: 0; }
}
@media (max-width: 760px) {
  .rh-sec .rh-phero-index { display: none; }
  .rh-sec.rh-phero.rh-phero-full { min-height: 0; padding-bottom: clamp(3.5rem,8vw,5rem); }
  .rh-sec.rh-phero:has(.rh-phero-index) .rh-sky { bottom: 0; }
}
@media (max-width: 640px) {
  .rh-sec .rh-points.rh-points-2 { grid-template-columns: minmax(0,1fr); }
  .rh-sec .rh-steps.rh-process { grid-template-columns: minmax(0,1fr); gap: 1.6rem; }
  .rh-sec .rh-process li { flex-direction: row; align-items: baseline; gap: 1.1rem; padding-top: 1.1rem; }
  .rh-sec .rh-process li::before { flex: 0 0 2.6rem; font-size: 1.6rem; }
  .rh-sec .rh-founder-xl .rh-founder-img::after { inset: 1rem -1rem -1rem 1rem; }
  .rh-sec.rh-phero .rh-sky { opacity: .2; }
}

/* intro with the fill paragraph on the right (For companies, How we work with you) */
.rh-sec .rh-intro-body > .rh-lead.rh-fill { font-size: clamp(1.5rem,2.4vw,2.15rem); line-height: 1.32; font-variation-settings: "opsz" 72; }
.rh-sec .rh-intro-body > .rh-big { color: var(--rh-ink-2); }
/* any band carrying the Ascent line clips it (light closing bands have no gradient to do it) */
.rh-sec:has(> .rh-sky) { overflow: hidden; }
/* a gradient band with a sticky column clips without becoming a scroll container, so the column can stick */
.rh-sec.rh-grad:has(.rh-split) { overflow: clip; }

/* Expertise roles: Home's switcher with the discipline names in capitals at a smaller display size, the role list
   for the one in focus beside them, ruled like the FAQ */
.rh-sec .rh-switch-roles .rh-h3 { font-size: clamp(1.45rem,2.4vw,2.2rem); line-height: 1.2; letter-spacing: .03em; }
.rh-sec .rh-switch-roles .rh-rolelist { max-width: 30rem; }
.rh-sec .rh-switch-roles .rh-rolelist li { padding: .7rem 0; border-bottom: 1px solid var(--rh-line-dark); font-family: var(--rh-serif); font-variation-settings: "opsz" 36; font-size: clamp(1.15rem,1.5vw,1.35rem); line-height: 1.3; color: var(--rh-ivory); }
.rh-sec .rh-switch-roles .rh-rolelist li:first-child { padding-top: 0; }
.rh-sec .rh-switch-roles .rh-rolelist li:last-child { border-bottom: 0; }
/* the active name slides right as on Home and About, but its 4rem indent moves from the right padding to the left, so the
   line width (and the wrap) never changes: no layout shift */
@media (min-width: 961px) {
  .rh-sec .rh-switch-roles.is-switch .rh-h3 { padding: 1.7rem 4rem 1.7rem 0; transition: color 400ms, padding 500ms var(--rh-ease); }
  .rh-sec .rh-switch-roles.is-switch .is-on .rh-h3 { padding: 1.7rem 0 1.7rem 4rem; }
}

/* Expertise terms: one quiet line of terms under each group, set apart by a thin harbour slash.
   The slash sits before each term and the list is shifted left by its width and clipped, so no line starts or ends on one */
.rh-sec .rh-terms { display: flex; flex-wrap: wrap; gap: .35rem 0; margin: .8rem 0 0 -1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--rh-line); clip-path: inset(0 0 0 1.6rem); }
.rh-sec .rh-terms li { display: block; white-space: nowrap; font-family: var(--rh-serif); font-variation-settings: "opsz" 36; font-size: clamp(1.15rem,1.5vw,1.3rem); line-height: 1.5; color: var(--rh-navy); }
.rh-sec .rh-terms li::before { content: "/"; display: inline-block; width: 1.6rem; text-align: center; color: var(--rh-harbour); opacity: .45; }

/* print: every reveal start state shows, at the specificity of the rule it undoes */
@media print {
  html.js-reveal .rh-sec .rh-reveal:not(.is-in) { opacity: 1; transform: none; }
  html.js-reveal .rh-sec .rh-lines:not(.is-in) .rh-line-in { transform: none; }
  html.js-reveal .rh-sec .rh-sky:not(.rh-draw):not(.is-in) img { opacity: 1; }
  html.js-reveal .rh-sec .rh-sky.rh-draw img { clip-path: none; }
  html.js-reveal .rh-sec .rh-fill .rh-word { color: inherit; }
  html.js-reveal .rh-sec .rh-process li:not(.is-on) { opacity: 1; }
}


/* ============================================================
   WORDPRESS LAYER, stack 2 (a client block theme, ADR 001). Everything above is the mockup sheet (src/<css>) unchanged.
   recruithub-core prints the mockup DOM from core blocks on the front end (no core layout classes, buttons as bare
   links, video and image wrappers as the mockup's divs), so the rules above apply 1:1. The theme has no chrome of its
   own to remove: this layer only styles what the mockup could not hold. tools/wp-layer.css is the GeneratePress one.
   ============================================================ */

/* WordPress prints its global styles after this sheet, with a:where(:not(.wp-element-button)){text-decoration:underline},
   which ties the mockup's bare a{color:inherit;text-decoration:none} and wins by order. (0,0,2) wins it back and still
   loses to every mockup class rule, exactly like the mockup's own a rule did. */
html a { color: inherit; text-decoration: none; }

/* Entrance. The theme sets js-reveal in the head, before the first style pass (assets/first-paint.js), so the mockup's own
   .js-reveal rules hide what animates in from the first paint on. A heading the script splits into lines (.rh-lines,
   then .rh-line inside it) has no hidden state until it is split: it stays out of sight until then. build-wp.py stops
   when a script uses js-reveal and rh-lines and never makes an .rh-line. */
.js-reveal .rh-lines:not(:has(.rh-line)) { visibility: hidden; }

/* RH DOM leftovers */
.rh-sec img.rh-bare { display: block; }
.rh-sec .rh-aria-hidden { pointer-events: none; }

/* Gravity Forms on the mockup's rh-form card. GF CSS output is off (recruithub-core, module gf).
   Set the three tokens from the mockup's .rh-form rule (this is the dark-card variant). */
:root { --rh-form-bg: #163A52; --rh-form-ink: #fff; --rh-form-accent: #7AC1C1; --rh-form-on-accent: #0E2B3F; }
/* --rh-form-ink is the card's text colour (#fff on the dark default, the client's ink on a light card).
/* Light card variant (mockup .rh-form on cream, navy labels): set the tokens to the light values and append
   the light block from a client project's Master CSS (its PROJECT LAYER block, the .gform_wrapper rules). */  /* also the select chevron's %23 stroke hex below */
.rh-sec .gform_wrapper { margin: 0; }
.rh-sec .gform_wrapper form { background: var(--rh-form-bg); border-radius: var(--rh-r-card); padding: clamp(1.4rem,3vw,2.2rem); color: var(--rh-form-ink); }
.rh-sec .rh-form-wrap > .gform_wrapper, .rh-sec .rh-form-wrap > .gform_wrapper form { flex: 1 1 auto; }
.rh-sec .gform_wrapper .gform_fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.1rem 1.2rem; margin: 0; padding: 0; list-style: none; border: 0; }
.rh-sec .gform_wrapper .gfield { display: flex; flex-direction: column; gap: .45rem; margin: 0; padding: 0; min-width: 0; border: 0; grid-column: 1 / -1; }
.rh-sec .gform_wrapper .gfield.gfield--width-half { grid-column: auto; }
.rh-sec .gform_wrapper .gfield.gfield--type-html { color: var(--rh-form-ink); }
.rh-sec .gform_wrapper .gfield.gform_hidden, .rh-sec .gform_wrapper .gfield.gfield_visibility_hidden, .rh-sec .gform_wrapper .gform_validation_container { display: none; }
.rh-sec .gform_wrapper :is(.gfield_label, legend.gfield_label) { font-size: .85rem; font-weight: 600; color: var(--rh-form-ink); padding: 0; margin: 0; }
.rh-sec .gform_wrapper .gfield_required { display: none; }
.rh-sec .gform_wrapper .gfield_description { font-size: .85rem; line-height: 1.5; color: rgba(255,255,255,.75); margin: 0; }
.rh-sec .gform_wrapper .ginput_container { margin: 0; }
.rh-sec .gform_wrapper .ginput_container :where(input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=hidden]),select,textarea) {
  display: block; box-sizing: border-box; width: 100%; min-height: 48px; font-family: var(--rh-sans); font-size: 1rem; line-height: 1.4; color: var(--rh-form-ink);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.42); border-radius: var(--rh-r-field); padding: .75rem .95rem; transition: border-color 200ms, background 200ms;
}
.rh-sec .gform_wrapper .ginput_container textarea { min-height: 132px; resize: vertical; }
.rh-sec .gform_wrapper .ginput_container select { -webkit-appearance: none; appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237AC1C1' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.rh-sec .gform_wrapper select option { color: #111; background: #fff; }
.rh-sec .gform_wrapper .ginput_container :is(input,select,textarea):hover { border-color: rgba(255,255,255,.7); }
.rh-sec .gform_wrapper .ginput_container :is(input,select,textarea):focus { outline: 2px solid var(--rh-form-accent); outline-offset: 1px; border-color: var(--rh-form-accent); background-color: rgba(255,255,255,.1); }
.rh-sec .gform_wrapper .ginput_container input[readonly] { background-color: rgba(255,255,255,.12); border-style: dashed; }
.rh-sec .gform_wrapper .ginput_container input[type=file] { padding: .55rem .6rem; cursor: pointer; }
.rh-sec .gform_wrapper input[type=file]::file-selector-button { font: 600 .85rem var(--rh-sans); color: var(--rh-form-on-accent); background: var(--rh-form-accent); border: 0; border-radius: var(--rh-r-pill); padding: .5rem 1rem; margin-right: .9rem; cursor: pointer; transition: background 200ms; }
.rh-sec .gform_wrapper input[type=file]:hover::file-selector-button { background: #fff; }
.rh-sec .gform_wrapper input[type=date] { color-scheme: dark; }
.rh-sec .gform_wrapper .gform_fileupload_rules, .rh-sec .gform_wrapper .gfield_validation_message, .rh-sec .gform_wrapper .validation_message { font-size: .85rem; color: rgba(255,255,255,.75); margin-top: .3rem; }
.rh-sec .gform_wrapper .gfield_error :is(input,select,textarea) { border-color: #F2B8B5; }
.rh-sec .gform_wrapper .gfield_error .validation_message { color: #F2B8B5; }
.rh-sec .gform_wrapper .gform_validation_errors { grid-column: 1 / -1; margin: 0 0 1rem; color: #F2B8B5; font-size: .95rem; }
.rh-sec .gform_wrapper .gform_validation_errors :is(h2,ol) { font-size: .95rem; margin: 0; padding: 0; color: inherit; }
/* radio groups = fieldset.rh-choice */
.rh-sec .gform_wrapper .gfield--type-radio .gfield_radio { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.rh-sec .gform_wrapper .gchoice { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; }
.rh-sec .gform_wrapper .gchoice label { font-size: 1rem; color: var(--rh-form-ink); cursor: pointer; }
.rh-sec .gform_wrapper .gchoice input[type=radio] { width: 20px; height: 20px; margin: 0; accent-color: var(--rh-form-accent); cursor: pointer; }
/* footer = rh-form-foot: the submit (rh-btn markup from gform_submit_button) and the footnote */
.rh-sec .gform_wrapper .gform_footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin: 1.5rem 0 0; padding: 0; }
.rh-sec .gform_wrapper .gform_footer .rh-small { font-size: .88rem; color: rgba(255,255,255,.75); margin: 0; }
.rh-sec .gform_wrapper .gform_ajax_spinner { width: 20px; height: 20px; }
/* The base field rule is :where() so the select, textarea, file and readonly rules below it can win
   (as :is() it was (0,7,1) and beat them all: no select chevron, 250px textareas). Geometry below measured
   against the mockup's .rh-form with rh-compare.js forms(). */
.rh-sec .rh-form-wrap > .gform_wrapper { display: flex; flex-direction: column; }
.rh-sec .gform_wrapper .gfield--type-html { gap: 0; }
.rh-sec .gform_wrapper .gform_fileupload_rules { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rh-sec .gform_wrapper :is(.validation_message, .gfield_validation_message):empty { display: none; }
.rh-sec .gform_wrapper .gfield--type-radio .ginput_container { margin-top: 1.15rem; }
.rh-sec .gform_wrapper .gchoice { min-height: 48px; }
.rh-sec .gform_wrapper .gchoice label { font-weight: 600; }
/* no theme sheet carries the screen reader rule here: Gravity Forms's hidden labels and the skip link need it */
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; padding: .75rem 1rem; z-index: 100000; background: #fff; color: var(--rh-navy); left: 8px; top: 8px; }
/* core's post-title CSS makes a Query Loop title link inline-block, the mockup's is inline */
.rh-sec .wp-block-post-title a { display: inline; }
/* logged-in only: the fixed header and everything offset by --rh-mast sit under the admin bar.
   --rh-mast-h is the mockup's whole --rh-mast offset (any gap above the bar + bar + gap), not the bar alone.
   --rh-stick is declared again here: a custom property resolves where it is declared, so the mockup's :root one keeps
   the logged-out --rh-mast and a sticky column sits under the header (a v2 staging, 27 Nov: 104 under a 120 header). build-wp.py writes
   it from the mockup's :root --rh-mast on the rh-mast-h line, and stops when the project layer sets another value.
   The rh-bar line keeps the bar at the mockup's height (--rh-mast here includes the admin bar, for the page offsets). build-wp.py
   keeps it only when the mockup's .rh-bar takes its min-height from var(--rh-mast).
   The rh-burger lines size a full-screen menu overlay below the admin bar. build-wp.py keeps them only below the burger
   breakpoint: the largest max-width query in the mockup that shows .rh-burger, or "burger": <px> in build-wp.json, fills
   {{BURGER}}, and {{BURGER_782}} is the smaller of it and 782. It drops them when the mockup has no burger or "burger" is
   false (a dropdown or a menu that stays in the bar).
   WordPress's own bump (html margin-top) is switched off, so the page starts under the bar like the fixed header and every
   in-flow use of --rh-mast counts the bar once. WordPress sets it with !important, so this rule is the one
   exception to !important being only for --gf-* (rh-wp > Hazards). */
:root { --rh-mast-h: 88px; }
body.admin-bar { --rh-mast: calc(var(--rh-mast-h, 78px) + 32px); --rh-stick: calc(var(--rh-mast) + 2rem); }
body.admin-bar .rh-mast { top: 32px; }
@media (max-width: 782px) { body.admin-bar { --rh-mast: calc(var(--rh-mast-h, 78px) + 46px); --rh-stick: calc(var(--rh-mast) + 2rem); } body.admin-bar .rh-mast { top: 46px; } }
html:root { margin-top: 0 !important; }
body.admin-bar .rh-mast .rh-bar { min-height: var(--rh-mast-h, 78px); }
@media (max-width: 960px) { body.admin-bar .rh-mast .rh-menu { top: calc(var(--rh-mast-h, 78px) + 32px); height: calc(100vh - var(--rh-mast-h, 78px) - 32px); } }
@media (max-width: 782px) { body.admin-bar .rh-mast .rh-menu { top: calc(var(--rh-mast-h, 78px) + 46px); height: calc(100vh - var(--rh-mast-h, 78px) - 46px); } }
.rh-sec .gform_confirmation_wrapper, .rh-sec .gform_confirmation_message { background: var(--rh-form-bg); border-radius: var(--rh-r-card); padding: clamp(1.4rem,3vw,2.2rem); font-size: 1.05rem; font-weight: 600; color: var(--rh-form-accent); }
.rh-sec .gform_confirmation_wrapper .gform_confirmation_message { padding: 0; }
@media (max-width: 600px) { .rh-sec .gform_wrapper .gform_fields { grid-template-columns: minmax(0,1fr); } .rh-sec .gform_wrapper .gfield.gfield--width-half { grid-column: 1 / -1; } }
/* prefilled read-only field (class rh-ref-field) shows only when its query parameter filled it */
.rh-sec .gform_wrapper .gfield.rh-ref-field:not(.rh-has-ref) { display: none; }
/* js-hooks: rh-as-* rh-a rh-aria rh-ico rh-btnwrap rh-aria-hidden rh-reveal rh-lines rh-fill rh-count rh-has-ref */
/* add the project's own JS hooks and filter prefixes (rh-need-* ...) to the js-hooks comment of the project copy */

/* EDITOR, stack 2. A block theme's canvas has no Group inner container, no content-width cap and no auto margins on
   our sections, so the parity block of tools/wp-layer.css is not needed (measured 23 Nov 2026: no branch of it changed
   tools/rh-parity.js's result). One rule stays: a decorative empty Group (a hero shade) would show the
   "Select a layout" picker. Nothing here reaches a visitor. */
.editor-styles-wrapper .wp-block-group[class*="rh-"] > .components-placeholder { display: none; }

/* ============================================================
   CLARK JONES PROJECT LAYER (after wp-layer.css). wp-layer is written for a dark boxed-field form card and a fixed
   header. Clark Jones has a white card with soft filled fields (Josh 16 Nov) and a header that scrolls
   away with the hero, so those are restored here to match Mockups/v1.
   ============================================================ */
:root { --rh-form-bg: var(--rh-white); --rh-form-ink: var(--rh-navy); --rh-form-accent: var(--rh-navy); --rh-form-on-accent: var(--rh-ivory); }

/* Gravity Forms = the mockup's .rh-form card: white, soft filled fields, navy underline */
.rh-sec .rh-fpanel .gform_wrapper form { position: relative; overflow: hidden; padding: clamp(1.8rem,4vw,3.2rem); color: var(--rh-navy); }
.rh-sec .gform_wrapper .gform_fields { gap: 2rem 2.4rem; }
.rh-sec .gform_wrapper .gfield { gap: .5rem; }
.rh-sec .gform_wrapper :is(.gfield_label, legend.gfield_label) { font-family: var(--rh-sans); font-size: var(--rh-fs-fine); font-weight: 500; line-height: 1.7; letter-spacing: .16em; text-transform: uppercase; color: var(--rh-navy); }
/* Content Guide 6.2 marks the optional fields, not the required ones: GF's required text stays hidden (wp-layer)
   and every field without a required flag gets the mockup's "(optional)" span */
.rh-sec .gform_wrapper .gfield:not(.gfield_contains_required):not(.gfield--type-honeypot):not(.gfield--type-html) > .gfield_label::after { content: " (optional)"; font-weight: 400; letter-spacing: .06em; text-transform: none; color: var(--rh-ink-2); }
.rh-sec .gform_wrapper .ginput_container :where(input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=hidden]),select,textarea) {
  min-height: 50px; font-size: 1.05rem; color: var(--rh-navy); background: var(--rh-field); border: 0; border-bottom: 1px solid var(--rh-field-line); border-radius: 0; padding: .7rem .9rem;
}
.rh-sec .gform_wrapper .ginput_container textarea { min-height: 130px; height: 130px; }
.rh-sec .gform_wrapper .ginput_container :is(input,select,textarea):hover { background-color: var(--rh-field-hover); border-color: rgba(11,26,39,.35); }
.rh-sec .gform_wrapper .ginput_container :is(input,select,textarea):focus { outline: 0; background-color: var(--rh-field-hover); border-bottom: 1px solid var(--rh-navy); box-shadow: 0 1px 0 var(--rh-navy); }
.rh-sec .gform_wrapper .gform_footer { margin: 2.4rem 0 0; }
.rh-sec .gform_wrapper .gform_footer .rh-fine { flex: 1 1 16rem; margin: 0; color: var(--rh-ink-2); }
.rh-sec .gform_wrapper :is(.gfield_validation_message, .validation_message) { color: #9B1C1C; }
.rh-sec .gform_wrapper .gfield_error :is(input,select,textarea) { border-bottom-color: #9B1C1C; }
.rh-sec .rh-fpanel :is(.gform_confirmation_wrapper, .gform_confirmation_message) { background: var(--rh-white); font-family: var(--rh-serif); font-style: italic; font-weight: 400; font-size: 1.5rem; line-height: 1.4; color: var(--rh-navy); }
@media (max-width: 600px) { .rh-sec .gform_wrapper .gform_fields { gap: 1.7rem; } .rh-sec .gform_wrapper .gform_footer { margin-top: 2.1rem; } }

/* footer legal line: [rh_consent] prints a button, styled as the line's links */
.rh-foot .rh-foot-base .rh-consent-link { all: unset; cursor: pointer; color: var(--rh-ivory); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(181,161,122,.85); transition: color 200ms; }
.rh-foot .rh-foot-base .rh-consent-link:hover { color: var(--rh-brass); }
.rh-foot .rh-foot-base .rh-consent-link:focus-visible { outline: 2px solid var(--rh-brass); outline-offset: 2px; }

/* ---- COMPLIANZ CONSENT BANNER (colours set in the plugin UI, type here). !important is the documented plugin
   exception: Complianz enqueues its sheet after ours and hard-sets these */
:root { --rh-i-chevron-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }
.cmplz-cookiebanner { font-family: var(--rh-sans) !important; border-radius: 0 !important; }
.cmplz-cookiebanner .cmplz-title { font-family: var(--rh-serif) !important; font-weight: 500 !important; font-size: 1.25rem !important; letter-spacing: 0 !important; margin-bottom: .15rem !important; }
.cmplz-cookiebanner .cmplz-message { font-family: var(--rh-sans) !important; font-size: var(--rh-fs-body-sm) !important; line-height: 1.6 !important; }
.cmplz-cookiebanner .cmplz-btn { font-family: var(--rh-sans) !important; font-weight: 500 !important; font-size: .875rem !important; letter-spacing: .01em !important; border-radius: 0 !important; transition: background .25s, color .25s, border-color .25s !important; }
.cmplz-cookiebanner .cmplz-links a { text-decoration: underline !important; text-underline-offset: 3px !important; }
.cmplz-cookiebanner .cmplz-link.impressum { display: none !important; }
.cmplz-cookiebanner .cmplz-categories .cmplz-category { background: color-mix(in srgb, currentColor 6%, transparent) !important; border: 1px solid color-mix(in srgb, currentColor 16%, transparent) !important; border-radius: 0 !important; overflow: hidden; }
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-icon.cmplz-open { background: currentColor !important; -webkit-mask: var(--rh-i-chevron-down) center / 14px no-repeat; mask: var(--rh-i-chevron-down) center / 14px no-repeat; width: 15px !important; height: 15px !important; scale: 1 -1; }
.cmplz-cookiebanner .cmplz-links.cmplz-documents, .cmplz-cookiebanner .cmplz-links.cmplz-documents ul { justify-content: flex-start !important; }

/* mockup2blocks utilities (gen/styles.json): none */
