/* RealCapital: landing pages 2026-10 (Commercial, About, Mortgages). Source: prototype/rc-pages.css + page-*.css */
/* RealCapital: landing pages 2026-10 */
/*
  Shared stylesheet for the Commercial, About and Mortgages pages.
  Everything lives under .rc-page. One file, grouped by component.
  Logical properties only, so the same rules serve RTL (he) and LTR (en).
  Breakpoints match the theme: mobile <=640, tablet 641-1180, desktop >=1181.
  Contents: 1 page wrapper  2 tokens  3 base  4 section  5 type  6 buttons/links
  7 hero  8 stats  9 grids (tiles, steps, divisions, offices, listings, related)
  10 people (agent, team)  11 quote, list, note, contact  12 form band + form
  13 FAQ  14 sticky bar  15 mobile scroll rows  16 motion
  Shared motif: the drawing set. Hairline rules, a faint plan grid on the dark bands,
  gold only for rules, numerals and the swipe "dimension line".
*/

/* ---------- 1. Page wrapper (theme chrome around the_content) ----------
   Theme: .main-container (50px block padding, overflow hidden) > .wrapper.narrow-3
   (max 1020px, 35px / 20px side padding) > main > article. Pages that contain
   .rc-page let it span the full width; sections re-apply their own gutter. */
.main-container:has(.rc-page) { padding-block: 0; }
.wrapper:has(.rc-page) { max-width: none; padding-inline: 0; }

/* ---------- 2. Tokens ---------- */
.rc-page {
  /* brand (build-decisions.md) */
  --rc-primary: #005490;
  --rc-primary-dark: #00304F;
  --rc-accent: #B29A5B;          /* hairlines, numerals on dark, small marks only */
  --rc-text: #1d1d1f;
  --rc-muted: #6b6b6b;
  --rc-line: #e3e6ea;
  --rc-surface: #f5f6f8;
  /* derived, so every pair we use passes AA */
  --rc-white: #fff;
  --rc-accent-ink: #7d6a2f;      /* numerals on light backgrounds (5.3:1 on white) */
  --rc-line-strong: #7b828b;     /* form field borders (3.9:1 on white) */
  --rc-field: #f3f5f8;           /* field fill inside the white form card */
  --rc-error: #b3261e;
  --rc-ok: #1e6b3a;
  --rc-on-dark-muted: #c9d6e0;
  --rc-grid-dark: rgba(255, 255, 255, .045);   /* plan grid on dark bands */
  --rc-grid-light: rgba(0, 84, 144, .06);      /* plan grid on light bands */

  /* context: a dark section redefines these, components read only these */
  --rc-bg: var(--rc-white);
  --rc-card: var(--rc-white);
  --rc-heading: var(--rc-primary);
  --rc-display: var(--rc-primary-dark);
  --rc-numeral: var(--rc-accent-ink);
  --rc-focus: var(--rc-primary);
  --rc-link: var(--rc-primary);
  --rc-btn-bg: var(--rc-primary);
  --rc-btn-ink: var(--rc-white);
  --rc-btn-hover: var(--rc-primary-dark);
  --rc-btn-line: var(--rc-primary);

  /* layout */
  --rc-max: 1180px;              /* content width */
  --rc-radius: 2px;
  --rc-radius-lg: 4px;
  --rc-flip: 1;                  /* -1 in RTL: mirrors chevrons and arrows */
  --rc-shadow: 0 40px 80px -40px rgba(0, 20, 36, .6);

  /* range-dependent (desktop values; tablet and mobile below) */
  --rc-gutter: 35px;
  --rc-section-y: 112px;
  --rc-gap: 32px;
  --rc-gap-lg: 64px;
  --rc-fs-body: 17px;
  --rc-fs-lede: 21px;
  --rc-fs-h1: 76px;
  --rc-fs-h2: 46px;
  --rc-fs-h3: 22px;
  --rc-fs-stat: 64px;
  --rc-fs-quote: 28px;
}
.rc-page:dir(rtl) { --rc-flip: -1; }

@media (max-width: 1180px) {
  .rc-page {
    --rc-gutter: 32px;
    --rc-section-y: 80px;
    --rc-gap: 24px;
    --rc-gap-lg: 48px;
    --rc-fs-body: 16px;
    --rc-fs-lede: 19px;
    --rc-fs-h1: 56px;
    --rc-fs-h2: 38px;
    --rc-fs-h3: 21px;
    --rc-fs-stat: 52px;
    --rc-fs-quote: 24px;
  }
}
@media (max-width: 640px) {
  .rc-page {
    --rc-gutter: 20px;
    --rc-section-y: 56px;
    --rc-gap: 16px;
    --rc-gap-lg: 32px;
    --rc-fs-lede: 17px;
    --rc-fs-h1: 38px;
    --rc-fs-h2: 29px;
    --rc-fs-h3: 19px;
    --rc-fs-stat: 40px;
    --rc-fs-quote: 21px;
  }
}

/* dark context (dark sections and the closing form band) */
.rc-section--dark,
.rc-form-band {
  --rc-bg: var(--rc-primary-dark);
  --rc-card: transparent;
  --rc-text: var(--rc-white);
  --rc-muted: var(--rc-on-dark-muted);
  --rc-line: rgba(255, 255, 255, .22);
  --rc-heading: var(--rc-white);
  --rc-display: var(--rc-white);
  --rc-numeral: var(--rc-accent);
  --rc-focus: var(--rc-white);
  --rc-link: var(--rc-white);
  --rc-btn-bg: var(--rc-white);
  --rc-btn-ink: var(--rc-primary-dark);
  --rc-btn-hover: var(--rc-surface);
  --rc-btn-line: var(--rc-white);
}
.rc-section--alt { --rc-bg: var(--rc-surface); }

/* ---------- 3. Base ---------- */
.rc-page,
.rc-page *,
.rc-page *::before,
.rc-page *::after { box-sizing: border-box; }

.rc-page {
  display: block;
  width: 100%;
  background: var(--rc-white);
  color: var(--rc-text);
  font-size: var(--rc-fs-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-wrap: break-word;
}
.rc-page :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd, fieldset, legend) { margin: 0; padding: 0; }
.rc-page :where(ul, ol) { list-style: none; }
.rc-page :where(p + p) { margin-block-start: 1em; }
.rc-page :where(img, svg) { display: block; max-width: 100%; }
.rc-page :where(img) { height: auto; }
.rc-page :where(button, input, select, textarea) { font: inherit; color: inherit; }
.rc-page :where(a) { color: var(--rc-link); text-decoration: none; }
.rc-page :where(a):hover { color: var(--rc-link); }
.rc-page a:not([class]) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.rc-page [id] { scroll-margin-block-start: 90px; }  /* fixed theme header */

.rc-page :focus-visible {
  outline: 3px solid var(--rc-focus);
  outline-offset: 3px;
}

.rc-icon {
  width: 28px;
  height: 28px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Column mechanism shared by every grid: components set --rc-cols-lg/md/sm */
.rc-stats, .rc-tiles, .rc-steps, .rc-divisions, .rc-offices, .rc-listings, .rc-team, .rc-related {
  display: grid;
  gap: var(--rc-gap);
  grid-template-columns: repeat(var(--rc-cols-lg, 3), minmax(0, 1fr));
}
@media (max-width: 1180px) {
  .rc-stats, .rc-tiles, .rc-steps, .rc-divisions, .rc-offices, .rc-listings, .rc-team, .rc-related {
    grid-template-columns: repeat(var(--rc-cols-md, 2), minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .rc-stats, .rc-tiles, .rc-steps, .rc-divisions, .rc-offices, .rc-listings, .rc-team, .rc-related {
    grid-template-columns: repeat(var(--rc-cols-sm, 1), minmax(0, 1fr));
  }
}

/* ---------- 4. Section ---------- */
.rc-section,
.rc-hero {
  padding-block: var(--rc-section-y);
  padding-inline: max(var(--rc-gutter), calc((100% - var(--rc-max)) / 2));
  background-color: var(--rc-bg);
  color: var(--rc-text);
}
.rc-section > * + * { margin-block-start: var(--rc-gap-lg); }
.rc-section > .rc-section__num + * { margin-block-start: var(--rc-gap); }

/* the plan grid: a faint drawing-board grid on the dark bands */
.rc-form-band,
.rc-section--dark {
  background-image:
    linear-gradient(to right, var(--rc-grid-dark) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rc-grid-dark) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* numbered "floor plan" variant: numeral + hairline rule on top */
.rc-section__num {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--rc-numeral);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rc-section__num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rc-accent);
}

/* intro block: eyebrow + heading + lede */
.rc-head { max-width: 760px; }
.rc-head > * + * { margin-block-start: 18px; }
.rc-head--center { margin-inline: auto; text-align: center; }
.rc-head--center .rc-eyebrow { justify-content: center; }
@media (max-width: 640px) { .rc-head > * + * { margin-block-start: 12px; } }

/* listings section disappears when the shortcode printed nothing */
.rc-listings:empty,
.rc-section--listings:not(:has(.rc-listing)) { display: none; }

/* ---------- 5. Type ---------- */
.rc-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--rc-heading);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.rc-eyebrow::before {
  content: "";
  flex: none;
  width: 32px;
  height: 1px;
  background: var(--rc-accent);
}
.rc-page:lang(he) .rc-eyebrow { font-size: 15px; letter-spacing: .02em; text-transform: none; }

.rc-page :where(h1, h2, h3, h4) { color: var(--rc-heading); font-weight: 300; line-height: 1.2; }
/* element selectors have zero extra specificity (:where) so component classes can override them */
.rc-page :where(h1), .rc-h1 { color: var(--rc-display); font-size: var(--rc-fs-h1); font-weight: 300; line-height: 1.04; letter-spacing: -.025em; }
.rc-page :where(h2), .rc-h2 { color: var(--rc-display); font-size: var(--rc-fs-h2); font-weight: 300; line-height: 1.12; letter-spacing: -.015em; }
.rc-page :where(h3), .rc-h3 { font-size: var(--rc-fs-h3); font-weight: 400; line-height: 1.3; }
.rc-page :where(h4) { font-size: 17px; font-weight: 400; }
.rc-page:lang(he) :is(h1, h2, .rc-h1, .rc-h2) { letter-spacing: 0; }
.rc-page:lang(he) :where(h1), .rc-page:lang(he) .rc-h1 { line-height: 1.08; }
.rc-page :where(h1, h2, h3, .rc-h1, .rc-h2) { text-wrap: balance; }
.rc-page :where(p, li) { text-wrap: pretty; }
/* phone numbers never break at a hyphen */
.rc-page bdi[dir="ltr"] { white-space: nowrap; }

.rc-lede {
  max-width: 60ch;
  color: var(--rc-text);
  font-size: var(--rc-fs-lede);
  font-weight: 300;
  line-height: 1.6;
}
.rc-section--dark .rc-lede, .rc-form-band .rc-lede { color: var(--rc-on-dark-muted); }
.rc-muted { color: var(--rc-muted); }

/* ---------- 6. Buttons and links ---------- */
.rc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid var(--rc-btn-bg);
  border-radius: var(--rc-radius);
  background: var(--rc-btn-bg);
  color: var(--rc-btn-ink);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.rc-btn:hover { background: var(--rc-btn-hover); border-color: var(--rc-btn-hover); color: var(--rc-btn-ink); }
.rc-btn:active { transform: translateY(1px); }
.rc-btn--secondary { background: transparent; border-color: var(--rc-btn-line); color: var(--rc-btn-line); }
.rc-btn--secondary:hover { background: var(--rc-btn-line); border-color: var(--rc-btn-line); color: var(--rc-bg); }
.rc-btn .rc-icon { width: 20px; height: 20px; }

/* a pair of actions sits on one row; buttons keep their content width at every size */
.rc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rc-actions--center { justify-content: center; }
@media (max-width: 640px) {
  .rc-btn { min-height: 48px; padding: 12px 14px; gap: 6px; font-size: 15px; }
  .rc-btn .rc-icon { width: 17px; height: 17px; }
  /* the number repeats in the agent block, the form intro and the sticky bar: the button keeps only its label */
  .rc-btn__num { display: none; }
  .rc-actions { gap: 8px; }
}

.rc-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--rc-link);
  font-weight: 400;
  text-decoration: none;
}
.rc-link:hover { color: var(--rc-link); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.rc-link::after,
.rc-chev::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;   /* physical on purpose: mirrored by --rc-flip */
  transform: scaleX(var(--rc-flip)) rotate(45deg);
}

.rc-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--rc-link);
  font-weight: 400;
  text-decoration: none;
}
.rc-tel:hover { color: var(--rc-link); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.rc-tel .rc-icon { width: 20px; height: 20px; }

/* ---------- 7. Hero ---------- */
.rc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: var(--rc-gap-lg);
  padding-block: calc(var(--rc-section-y) * 1.05) var(--rc-section-y);
  --rc-bg: var(--rc-surface);
}
.rc-hero > :not(.rc-hero__body):not(.rc-hero__media) { grid-column: 1 / -1; }
.rc-hero__body { max-width: 860px; }
.rc-hero__body > * + * { margin-block-start: 24px; }
.rc-hero__body .rc-actions { margin-block-start: 40px; }
.rc-hero__media { justify-self: end; width: 100%; max-width: 420px; }

.rc-hero--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 80px; }
@media (max-width: 1180px) {
  .rc-hero--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--rc-gap-lg); }
}
@media (max-width: 640px) {
  .rc-hero--split { grid-template-columns: minmax(0, 1fr); }
  .rc-hero__body > * + * { margin-block-start: 16px; }
  .rc-hero__body .rc-actions { margin-block-start: 28px; }
  .rc-hero__media { justify-self: center; max-width: 280px; }
  /* the accessibility toggle is fixed at the physical top-right, 50-102px from the top; start the first hero's first line below it */
  .rc-page > .rc-hero:first-child { padding-block-start: 64px; }
}

/* ---------- 8. Stat row ---------- */
.rc-stats { --rc-cols-lg: 4; --rc-cols-md: 2; --rc-cols-sm: 2; column-gap: 0; row-gap: var(--rc-gap-lg); }
.rc-stats--3 { --rc-cols-lg: 3; --rc-cols-md: 3; --rc-cols-sm: 3; }
.rc-stat {
  padding: 4px var(--rc-gap);
  border-inline-start: 1px solid var(--rc-line);
}
.rc-stats > .rc-stat:first-child { padding-inline-start: 0; border-inline-start: 0; }
.rc-stat__value {
  color: var(--rc-heading);
  font-size: var(--rc-fs-stat);
  font-weight: 200;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rc-stat__value::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  margin-block: 16px 12px;
  background: var(--rc-accent);
}
.rc-stat__label { color: var(--rc-muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 640px) {
  .rc-stat { padding-inline: 12px; }
  .rc-stat__value::after { margin-block: 12px 8px; }
  .rc-stat__label { font-size: 14px; line-height: 1.35; }
}
.rc-page:lang(he) :is(.rc-stat__value, .rc-office__city) { font-weight: 300; }

/* ---------- 9. Grids ---------- */
/* tiles: icon, label, one line; a tile can be a link */
.rc-tiles { --rc-cols-lg: 4; --rc-cols-md: 2; --rc-cols-sm: 1; }
.rc-tiles--3 { --rc-cols-lg: 3; --rc-cols-md: 3; }
.rc-tiles--2 { --rc-cols-lg: 2; --rc-cols-md: 2; }
.rc-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius-lg);
  background: var(--rc-card);
}
.rc-tile .rc-icon { width: 32px; height: 32px; margin-block-end: 8px; color: var(--rc-heading); }
.rc-tile__title { color: var(--rc-heading); font-size: 21px; font-weight: 400; line-height: 1.3; }
.rc-tile__text { color: var(--rc-muted); font-size: 16px; line-height: 1.6; }
a.rc-tile, a.rc-tile:hover { color: var(--rc-text); }
a.rc-tile { padding-inline-end: 56px; }
a.rc-tile::after {
  content: "";
  position: absolute;
  inset-inline-end: 28px;
  inset-block-start: 36px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--rc-heading);
  border-right: 1.5px solid var(--rc-heading);
  transform: scaleX(var(--rc-flip)) rotate(45deg);
}
a.rc-tile:hover { border-color: var(--rc-heading); }
@media (max-width: 640px) {
  .rc-tile { padding: 18px 20px; }
  a.rc-tile { padding-inline-end: 44px; }
  a.rc-tile::after { inset-inline-end: 20px; inset-block-start: 28px; }
  .rc-tile:has(.rc-icon) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: start; }
  .rc-tile .rc-icon { grid-row: 1 / span 2; width: 26px; height: 26px; margin: 0; }
}

/* steps: numbered process; the gold hairline runs across the columns */
.rc-steps { --rc-cols-lg: 4; --rc-cols-md: 2; --rc-cols-sm: 1; column-gap: 0; row-gap: var(--rc-gap-lg); }
.rc-steps--3 { --rc-cols-lg: 3; --rc-cols-md: 3; }
.rc-steps--stack { --rc-cols-lg: 1; --rc-cols-md: 1; --rc-cols-sm: 1; row-gap: 0; }
.rc-step {
  padding-block-start: 24px;
  padding-inline-end: var(--rc-gap);
  border-block-start: 1px solid var(--rc-accent);
}
.rc-step__num {
  display: block;
  margin-block-end: 20px;
  color: var(--rc-numeral);
  font-size: 36px;
  font-weight: 200;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rc-step__title { color: var(--rc-heading); font-size: var(--rc-fs-h3); font-weight: 400; line-height: 1.3; }
.rc-step__title + p { margin-block-start: 8px; color: var(--rc-muted); font-size: 16px; line-height: 1.6; }
/* stacked steps (beside a form): number beside the text, rows divided by hairlines */
.rc-steps--stack .rc-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); padding-block: 20px; padding-inline-end: 0; border-block-start-color: var(--rc-line); }
.rc-steps--stack .rc-step__num { grid-row: 1 / span 2; margin: 0; font-size: 28px; }
.rc-steps--stack .rc-step__title { font-size: 19px; }
.rc-contact + .rc-steps--stack > .rc-step:first-child { border-block-start: 0; padding-block-start: 0; }
@media (max-width: 640px) {
  .rc-steps { row-gap: 0; }
  .rc-step {
    padding: 0 20px 28px;
    border-block-start: 0;
    border-inline-start: 1px solid var(--rc-accent);
  }
  .rc-step:has(.rc-step__num) { display: grid; grid-template-columns: 48px minmax(0, 1fr); }
  .rc-step__num { grid-row: 1 / span 2; margin: 0; font-size: 26px; font-weight: 300; }
  .rc-step:last-child { padding-block-end: 0; }
  .rc-steps--stack .rc-step { padding: 16px 0; border-inline-start: 0; border-block-start: 1px solid var(--rc-line); }
  .rc-steps--stack .rc-step__num { font-size: 24px; }
}

/* division cards: hairline-bordered link rows */
.rc-divisions { --rc-cols-lg: 3; --rc-cols-md: 2; --rc-cols-sm: 1; }
.rc-division {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 20px 24px;
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius);
  background: var(--rc-card);
}
a.rc-division, a.rc-division:hover { color: var(--rc-text); }
a.rc-division:hover { border-color: var(--rc-heading); }
.rc-division__lead { flex: none; width: 44px; height: 44px; overflow: hidden; border-radius: 50%; background: var(--rc-surface); }
.rc-division__lead img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.rc-division__body { flex: 1; min-width: 0; }
.rc-division__name { color: var(--rc-heading); font-size: 20px; font-weight: 400; line-height: 1.3; }
.rc-division__text { margin-block-start: 2px; color: var(--rc-muted); font-size: 15px; line-height: 1.5; }
a.rc-division::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--rc-heading);
  border-right: 1.5px solid var(--rc-heading);
  transform: scaleX(var(--rc-flip)) rotate(45deg);
}
@media (max-width: 640px) { .rc-division { min-height: 64px; padding: 12px 20px; } }

/* offices */
.rc-offices { --rc-cols-lg: 3; --rc-cols-md: 2; --rc-cols-sm: 1; }
.rc-office { padding-block-start: 24px; border-block-start: 1px solid var(--rc-line); }
.rc-office__city { color: var(--rc-display); font-size: 32px; font-weight: 200; line-height: 1.15; }
.rc-office__address { margin-block-start: 8px; color: var(--rc-muted); font-size: 16px; line-height: 1.5; }
.rc-office .rc-tel,
.rc-office .rc-link { display: flex; }
.rc-office .rc-tel { margin-block-start: 8px; }

/* listing cards: photo, spec line, title. With 3, 6, 9 ... cards the first one is featured on desktop */
.rc-listings { --rc-cols-lg: 3; --rc-cols-md: 2; --rc-cols-sm: 1; row-gap: var(--rc-gap-lg); }
.rc-listing { display: flex; flex-direction: column; min-width: 0; }
.rc-listing__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--rc-radius); background: var(--rc-line); }
.rc-listing__img img { width: 100%; height: 100%; object-fit: cover; }
.rc-listing__spec { order: 1; margin-block-start: 16px; color: var(--rc-muted); font-size: 14px; letter-spacing: .02em; line-height: 1.5; font-variant-numeric: tabular-nums; }
.rc-listing__title {
  order: 2;
  margin-block-start: 6px;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.rc-listing__link, .rc-listing__link:hover { color: var(--rc-heading); }
.rc-listing__link:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.rc-listing__img:hover img { transform: scale(1.03); }
.rc-listings:not(:has(.rc-listing:nth-child(3))) { --rc-cols-lg: 2; --rc-cols-md: 2; }
@media (min-width: 1181px) {
  .rc-listings:has(> .rc-listing:nth-child(3n):last-child) > .rc-listing:first-child { grid-column: span 2; grid-row: span 2; }
  .rc-listings:has(> .rc-listing:nth-child(3n):last-child) > .rc-listing:first-child .rc-listing__img { flex: 1; aspect-ratio: auto; min-height: 320px; }
  .rc-listings:has(> .rc-listing:nth-child(3n):last-child) > .rc-listing:first-child .rc-listing__title { font-size: 28px; font-weight: 300; line-height: 1.25; }
}

/* related links */
.rc-related { --rc-cols-lg: 3; --rc-cols-md: 3; --rc-cols-sm: 1; gap: 16px; }
.rc-related__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 16px 20px;
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius-lg);
  background: var(--rc-card);
}
a.rc-related__item, a.rc-related__item:hover { color: var(--rc-heading); }
a.rc-related__item:hover { border-color: var(--rc-heading); }

/* ---------- 10. People ---------- */
.rc-agent { display: flex; flex-direction: column; gap: 20px; max-width: 420px; }
.rc-agent__photo {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-block-start: 3px solid var(--rc-accent);
  background: var(--rc-surface);
}
.rc-agent__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.rc-agent__name { color: var(--rc-heading); font-size: 26px; font-weight: 300; line-height: 1.2; }
.rc-agent__role { margin-block-start: 6px; color: var(--rc-muted); font-size: 16px; line-height: 1.5; }
.rc-agent__bio { color: var(--rc-text); }
.rc-agent__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.rc-agent__body > p { margin: 0; }

/* feature: photo beside text */
.rc-agent--feature {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
  gap: var(--rc-gap-lg);
  max-width: none;
}
.rc-agent--feature .rc-agent__photo { max-width: 400px; }
@media (max-width: 640px) {
  .rc-agent--feature { grid-template-columns: minmax(0, 1fr); }
  .rc-agent--feature .rc-agent__photo { width: 100%; max-width: 240px; }
}

/* team grid: uniform 4:5 grayscale portraits */
.rc-team { --rc-cols-lg: 4; --rc-cols-md: 3; --rc-cols-sm: 2; row-gap: var(--rc-gap-lg); }
.rc-team--lead { --rc-cols-lg: 2; --rc-cols-md: 2; --rc-cols-sm: 2; max-width: 640px; }
.rc-member { display: block; }
a.rc-member, a.rc-member:hover { color: var(--rc-text); }
.rc-member__photo {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--rc-surface);
}
.rc-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(1) contrast(1.05);
}
.rc-member__photo--initials {
  display: grid;
  place-items: center;
  border: 1px solid var(--rc-line);
  color: var(--rc-primary);
  font-size: 44px;
  font-weight: 300;
  letter-spacing: .04em;
}
.rc-member__name { margin-block-start: 14px; color: var(--rc-heading); font-size: 18px; font-weight: 400; line-height: 1.3; }
.rc-member__role { margin-block-start: 2px; color: var(--rc-muted); font-size: 15px; line-height: 1.45; }
.rc-member__go { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 8px; color: var(--rc-link); font-size: 14px; line-height: 1.4; }
.rc-member__go::after { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: scaleX(var(--rc-flip)) rotate(45deg); }
a.rc-member:focus-visible .rc-member__photo img { filter: none; }
@media (hover: hover) {
  a.rc-member:hover .rc-member__photo img { filter: none; }
  a.rc-member:hover .rc-member__go { text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width: 640px) {
  .rc-member__name { margin-block-start: 10px; font-size: 16px; }
  .rc-member__role { font-size: 13px; }
  .rc-member__go { font-size: 13px; }
  .rc-member__photo--initials { font-size: 34px; }
}

/* ---------- 11. Quote, list, note, contact ---------- */
.rc-quote { max-width: 760px; padding-block-start: 28px; border-block-start: 1px solid var(--rc-accent); }
.rc-quote__text { color: var(--rc-heading); font-size: var(--rc-fs-quote); font-weight: 300; line-height: 1.45; }
.rc-quote__cite { margin-block-start: 20px; color: var(--rc-muted); font-size: 15px; font-style: normal; line-height: 1.5; }

.rc-list > li { position: relative; padding-inline-start: 28px; }
.rc-list > li + li { margin-block-start: 10px; }
.rc-list > li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: .85em;
  width: 14px;
  height: 1px;
  background: var(--rc-accent);
}

.rc-note {
  max-width: 760px;
  padding-inline-start: 16px;
  border-inline-start: 2px solid var(--rc-line);
  color: var(--rc-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* direct line: the phone as a large figure, the alternative to the form */
.rc-contact { border-block-start: 1px solid var(--rc-line); }
.rc-contact__row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding-block: 18px;
  border-block-end: 1px solid var(--rc-line);
  color: var(--rc-text);
}
.rc-contact__row > span { display: grid; }
.rc-contact__row .rc-icon { width: 24px; height: 24px; color: var(--rc-accent); }
.rc-contact__label { color: var(--rc-muted); font-size: 14px; line-height: 1.4; }
.rc-contact__value { display: block; font-size: 17px; line-height: 1.4; }
bdi.rc-contact__value { margin-block-start: 2px; font-size: 30px; font-weight: 200; letter-spacing: .01em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.rc-page:dir(rtl) bdi.rc-contact__value { justify-self: start; }
a.rc-contact__row, a.rc-contact__row:hover { color: var(--rc-text); }
a.rc-contact__row:hover bdi.rc-contact__value { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
@media (max-width: 640px) { bdi.rc-contact__value { font-size: 26px; } }

/* ---------- 12. Form band: dark band, the form on a white card (styled onto Contact Form 7 markup) ---------- */
.rc-form-band {
  display: grid;
  align-items: start;
  gap: var(--rc-gap-lg);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
}
.rc-form-band > * + * { margin-block-start: 0; }
.rc-form-band > .rc-section__num { grid-column: 1 / -1; }
.rc-form-band__intro > * + * { margin-block-start: 32px; }
.rc-form-band__intro .rc-head h2 { font-size: calc(var(--rc-fs-h2) * 1.08); }
@media (min-width: 1181px) {
  .rc-form-band { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 96px; }
  .rc-form-band__intro { position: sticky; inset-block-start: 110px; }
}
@media (max-width: 640px) {
  /* the card nearly fills the phone: narrower band gutter, the intro keeps the page gutter */
  .rc-form-band { padding-inline: 10px; row-gap: 28px; }
  /* phone order: promise and direct line, then the form, then the supporting notes (steps, disclosure, careers) */
  .rc-form-band__intro { display: contents; }
  .rc-form-band__intro > *, .rc-form-band > .rc-section__num { margin-inline: 10px; }
  .rc-form-band__intro > * + * { margin-block-start: 0; }
  .rc-form-band__intro > :not(.rc-head):not(.rc-contact) { order: 2; }
  .rc-form-band__form { order: 1; }
}

/* the card restores light-surface tokens */
.rc-form-band__form {
  --rc-text: #1d1d1f;
  --rc-muted: #5f6368;
  --rc-line: #e3e6ea;
  --rc-heading: var(--rc-primary);
  --rc-link: var(--rc-primary);
  --rc-focus: var(--rc-primary);
  padding: 44px 48px 36px;
  border-block-start: 3px solid var(--rc-accent);
  border-radius: var(--rc-radius-lg);
  background: var(--rc-white);
  box-shadow: var(--rc-shadow);
  color: var(--rc-text);
}
@media (max-width: 1180px) { .rc-form-band__form { padding: 32px; } }
@media (max-width: 640px) { .rc-form-band__form { padding: 24px 18px 20px; } }

.rc-page div.wpcf7 { margin: 0; }
.rc-page .wpcf7-form { display: grid; gap: 24px; margin: 0; }
.rc-page .wpcf7-form p { margin: 0; font-size: inherit; position: static; }
.rc-page .wpcf7-form label { display: block; color: #3c4146; font-size: 14px; font-weight: 400; letter-spacing: .01em; line-height: 1.4; }
.rc-page .wpcf7-form label:focus-within { color: var(--rc-primary); }
.rc-page .wpcf7-form-control-wrap { display: block; margin-block-start: 8px; }
.rc-form__row { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 641px) { .rc-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .rc-page .wpcf7-form, .rc-form__row { gap: 20px; }
}

/* fields: filled, with a strong bottom rule that turns blue and thickens on focus */
.rc-page .wpcf7-form-control:is(input, select, textarea):not([type="checkbox"], [type="radio"], [type="submit"]) {
  display: block;
  width: 100%;
  height: auto;
  min-height: 52px;
  padding: 14px 16px;
  border: 0;
  border-block-end: 1px solid var(--rc-line-strong);
  border-radius: 3px 3px 0 0;
  background-color: var(--rc-field);
  box-shadow: none;
  color: var(--rc-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
}
.rc-page .wpcf7-form-control:is(input, select, textarea):not([type="checkbox"], [type="radio"], [type="submit"]):hover { background-color: #eceff3; }
.rc-page .wpcf7-form-control:is(input, select, textarea):not([type="checkbox"], [type="radio"], [type="submit"]):focus {
  background-color: var(--rc-white);
  border-block-end-color: var(--rc-primary);
  box-shadow: inset 0 -2px 0 var(--rc-primary);
  outline: 2px solid rgba(0, 84, 144, .25);
  outline-offset: 0;
}
/* CF7's tel/email tags print no dir attribute, so key on the type: numbers and addresses read LTR,
   but sit on the start side of an RTL form */
.rc-page .wpcf7-form-control:is([dir="ltr"], [type="tel"], [type="email"]) { direction: ltr; }
.rc-page:dir(rtl) .wpcf7-form-control:is([dir="ltr"], [type="tel"], [type="email"]) { text-align: right; }
.rc-page .wpcf7-textarea { min-height: 112px; resize: vertical; }
.rc-page .wpcf7-form ::placeholder { color: #767b81; opacity: 1; }
.rc-page select.wpcf7-select {
  padding-inline-end: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23005490' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;   /* background-position has no logical form; flipped below */
}
.rc-page:dir(rtl) select.wpcf7-select { background-position: left 16px center; }
/* The theme's scripts.js replaces every .wpcf7-select with a Chosen widget (inline display:none on the select).
   Keep the native, keyboard-accessible select styled above and hide the widget, on every page. */
.rc-page .chosen-container { display: none !important; }
.rc-page select.wpcf7-select { display: block !important; }
.rc-page select.wpcf7-select:focus-visible { outline: 3px solid var(--rc-focus); outline-offset: 3px; border-color: var(--rc-focus); }

/* choice chips: a CF7 radio group ([radio name use_label_element ...]) inside <fieldset class="rc-choice"><legend> */
.rc-page fieldset.rc-choice { min-width: 0; margin: 0; padding: 0; border: 0; }
.rc-page .rc-choice__legend { float: none; width: auto; margin-block-end: 10px; padding: 0; border: 0; color: #3c4146; font-size: 14px; letter-spacing: .01em; line-height: 1.4; }
.rc-page .rc-choice .wpcf7-form-control-wrap { margin: 0; }
.rc-page .rc-choice .wpcf7-radio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rc-page .rc-choice .wpcf7-radio:has(> .wpcf7-list-item:nth-child(2):last-child) { max-width: 360px; }
.rc-page .rc-choice .wpcf7-list-item { margin: 0; }
.rc-page .rc-choice label { position: relative; color: var(--rc-text); font-size: 15px; cursor: pointer; }
/* the real radio stays in place (focusable, clickable, announced), just transparent over its chip */
.rc-page .rc-choice input[type="radio"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rc-page .rc-choice .wpcf7-list-item-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--rc-line-strong);
  border-radius: var(--rc-radius-lg);
  background: var(--rc-white);
  line-height: 1.3;
  text-align: center;
}
.rc-page .rc-choice label:hover .wpcf7-list-item-label { border-color: var(--rc-primary); background: #f2f7fb; }
.rc-page .rc-choice input:checked + .wpcf7-list-item-label { border-color: var(--rc-primary-dark); background: var(--rc-primary-dark); color: var(--rc-white); }
.rc-page .rc-choice input:checked + .wpcf7-list-item-label::before {
  content: "";
  flex: none;
  width: 10px;
  height: 5px;
  border-inline-start: 1.5px solid var(--rc-accent);
  border-block-end: 1.5px solid var(--rc-accent);
  transform: translateY(-2px) rotate(-45deg);
}
.rc-page .rc-choice input:focus-visible + .wpcf7-list-item-label { outline: 3px solid var(--rc-primary); outline-offset: 2px; }
/* chips sit in two equal columns (tidy at any card width) */
.rc-page .rc-choice .wpcf7-list-item, .rc-page .rc-choice label { display: flex; }
.rc-page .rc-choice label { flex: 1; }
.rc-page .rc-choice .wpcf7-list-item-label { flex: 1; }
@media (max-width: 640px) {
  .rc-page .rc-choice .wpcf7-list-item-label { padding-inline: 12px; font-size: 14px; }
}

/* consent: one readable line with a real checkbox */
.rc-page .wpcf7-acceptance .wpcf7-list-item { display: block; margin: 0; }
.rc-page .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding-block: 4px;
  color: var(--rc-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}
.rc-page .wpcf7-acceptance input[type="checkbox"] {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--rc-primary);
}
.rc-page .wpcf7-acceptance a { color: var(--rc-primary); text-decoration: underline; text-underline-offset: 3px; }

.rc-page .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 220px;
  min-height: 56px;
  margin: 0;
  padding: 16px 40px;
  border: 1px solid var(--rc-primary);
  border-radius: var(--rc-radius);
  background: var(--rc-primary);
  color: var(--rc-white);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.2;
  text-transform: none;
  cursor: pointer;
}
.rc-page .wpcf7-submit:hover { background: var(--rc-primary-dark); border-color: var(--rc-primary-dark); }
.rc-page .wpcf7-submit:active { transform: translateY(1px); }
@media (max-width: 640px) { .rc-page .wpcf7-submit { width: 100%; min-height: 52px; } }
.rc-form__fine { color: var(--rc-muted); font-size: 12px; line-height: 1.5; }
/* Live CF7 output: the AJAX spinner follows the submit button (inside the full-width button on phones, so it
   does not wrap to a new line), and the Invisible reCAPTCHA holder (its badge is position:fixed) takes no grid row. */
@media (max-width: 640px) {
  .rc-page .rc-form__submit { position: relative; }
  .rc-page .rc-form__submit .wpcf7-spinner { position: absolute; inset-block-start: 50%; inset-inline-end: 0; margin: -12px 14px 0; }
}
.rc-page .wpcf7-form > .inv-recaptcha-holder { display: contents; }

/* states */
.rc-page .wpcf7 span.wpcf7-not-valid-tip { display: block; margin-block-start: 6px; padding: 0; color: var(--rc-error); font-size: 14px; font-weight: 400; line-height: 1.4; }
/* :is(input, select, textarea) matches the field rule's specificity, so the red rule wins (seen on the live CF7 render) */
.rc-page .wpcf7-form-control.wpcf7-not-valid:is(input, select, textarea) { border-block-end-color: var(--rc-error); box-shadow: inset 0 -2px 0 var(--rc-error); }
.rc-page .wpcf7 div.wpcf7-response-output {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--rc-line-strong);
  border-radius: var(--rc-radius);
  background: var(--rc-white);
  color: var(--rc-text);
  font-size: 15px;
  line-height: 1.5;
  text-align: start;
}
.rc-page .wpcf7 div.wpcf7-response-output:empty { display: none; }
.rc-page .wpcf7 form.sent .wpcf7-response-output { border-color: var(--rc-ok); color: var(--rc-ok); }
.rc-page .wpcf7 form:is(.invalid, .unaccepted, .failed, .aborted, .spam) .wpcf7-response-output { border-color: var(--rc-error); color: var(--rc-error); }

/* ---------- 13. FAQ ---------- */
.rc-faq { max-width: 760px; border-block-start: 1px solid var(--rc-line); }
.rc-faq details { border-block-end: 1px solid var(--rc-line); }
.rc-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding-block: 14px;
  color: var(--rc-heading);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.rc-faq summary::-webkit-details-marker { display: none; }
.rc-faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.rc-faq details[open] summary::after { transform: rotate(-135deg); }
.rc-faq__body { max-width: 68ch; padding-block: 0 24px; color: var(--rc-text); }

/* ---------- 14. Sticky mobile call/form bar (use once per page, last in .rc-page) ----------
   A compact floating pill at the bottom; the accessibility widget is at the top right, so nothing collides.
   rc-sticky.js hides it ([hidden]) while the opening section or the form is on screen. */
.rc-sticky, .rc-sticky[hidden] { display: none; }
@media (max-width: 640px) {
  .rc-sticky:not([hidden]) {
    position: fixed;
    inset-inline: 10px;
    inset-block-end: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 900;                 /* below theme header and accessibility widget (9999) */
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border-radius: 6px;
    background: var(--rc-primary-dark);
    box-shadow: 0 18px 36px -14px rgba(0, 20, 36, .6);
  }
  .rc-sticky .rc-btn { min-height: 48px; padding-inline: 10px; font-size: 15px; }
  .rc-sticky .rc-btn:not(.rc-btn--secondary) { border-color: var(--rc-white); background: var(--rc-white); color: var(--rc-primary-dark); }
  .rc-sticky .rc-btn--secondary { border-color: rgba(255, 255, 255, .45); color: var(--rc-white); }
  .rc-sticky .rc-btn--secondary:hover { background: rgba(255, 255, 255, .1); color: var(--rc-white); }
  .rc-sticky :focus-visible { outline-color: var(--rc-accent); }
  /* keep the footer from hiding behind the bar */
  .main-container:has(.rc-sticky) ~ .footer { padding-block-end: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- 15. Mobile scroll rows ----------
   Long lists (listings, the wider team) become one swipeable row that runs to the screen edges.
   The section drops its side padding; every other child takes the gutter back as margin. The gold
   "dimension line" arrow (.rc-swipe, aria-hidden) says the row continues; the next card also peeks in. */
.rc-swipe { display: none; }
@media (max-width: 640px) {
  .rc-section--listings { padding-inline: 0; }
  .rc-section--listings > :not(.rc-listings) { margin-inline: var(--rc-gutter); }
  .rc-listings,
  .rc-scroll-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--rc-gutter);
    padding-inline: var(--rc-gutter);
    padding-block-end: 4px;
    scrollbar-width: none;
  }
  .rc-listings::-webkit-scrollbar { display: none; }
  .rc-listings > .rc-listing { flex: 0 0 80%; scroll-snap-align: start; }
  .rc-swipe {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    color: var(--rc-accent-ink);
  }
  .rc-section > .rc-swipe { margin-block-start: 16px; }
  .rc-section > .rc-swipe + * { margin-block-start: 8px; }
  .rc-swipe .rc-icon { width: 40px; height: 24px; stroke-width: 1.25; transform: scaleX(var(--rc-flip)); }
}

/* ---------- 16. Motion ---------- */
.rc-page :where(a, summary, button) { transition: none; }
@media (prefers-reduced-motion: no-preference) {
  .rc-btn, .rc-tile, .rc-division, .rc-related__item, .rc-member__photo img, .rc-listing__img img,
  .rc-faq summary::after, .rc-page .wpcf7-submit, .rc-page .wpcf7-form-control, .rc-page .rc-choice .wpcf7-list-item-label {
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, filter .3s ease, opacity .2s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
  }
  @media (max-width: 640px) {
    .rc-swipe .rc-icon { animation: rc-nudge 2.4s cubic-bezier(.22, 1, .36, 1) 1s 3; }
  }
}
@keyframes rc-nudge {
  0%, 60%, 100% { transform: scaleX(var(--rc-flip)) translateX(0); }
  30% { transform: scaleX(var(--rc-flip)) translateX(6px); }
}

/* RealCapital: commercial landing page */
/* Page-only rules on top of rc-pages.css. All scoped under .rc-page--commercial.
   Lead visual: the space types as a lobby directory board on the dark opening band, then the listings. */

/* ---------- Opening: dark band, headline + directory of space types ---------- */
.rc-page--commercial .rc-comm-intro {
  --rc-bg: var(--rc-primary-dark);   /* .rc-hero resets the background after .rc-section--dark; set it again (the plan grid comes from .rc-section--dark) */
  padding-block: 128px 104px;
  row-gap: 72px;
}
.rc-page--commercial .rc-comm-intro .rc-hero__body { max-width: 760px; }
.rc-page--commercial .rc-comm-intro h1 { font-size: clamp(40px, 6.6vw, 96px); line-height: 1; letter-spacing: -.03em; }
.rc-page--commercial:lang(he) .rc-comm-intro h1 { line-height: 1.04; letter-spacing: 0; }
.rc-page--commercial .rc-comm-intro .rc-lede { max-width: 44ch; }
@media (min-width: 1181px) {
  .rc-page--commercial .rc-comm-intro { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 88px; align-items: end; }
  .rc-page--commercial .rc-comm-intro > .rc-comm-types { grid-column: auto; }
}

/* directory board: one ruled row per space type */
.rc-page--commercial .rc-comm-types__title { margin-block-end: 12px; color: var(--rc-on-dark-muted); font-size: 13px; font-weight: 400; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.rc-page--commercial:lang(he) .rc-comm-types__title { font-size: 16px; letter-spacing: 0; text-transform: none; }
.rc-page--commercial .rc-comm-tiles { display: block; border-block-start: 1px solid var(--rc-accent); }
.rc-page--commercial .rc-comm-tiles a.rc-tile {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 10px;
  align-items: center;
  gap: 20px;
  min-height: 68px;
  padding: 14px 8px;
  border: 0;
  border-block-end: 1px solid var(--rc-line);
  border-radius: 0;
  background: transparent;
}
.rc-page--commercial .rc-comm-tiles .rc-icon { width: 26px; height: 26px; margin: 0; color: var(--rc-accent); }
.rc-page--commercial .rc-comm-tiles .rc-tile__title { color: var(--rc-white); font-size: 23px; font-weight: 300; line-height: 1.25; }
.rc-page--commercial .rc-comm-tiles a.rc-tile::after { position: static; justify-self: end; border-color: var(--rc-accent); }
.rc-page--commercial .rc-comm-tiles a.rc-tile:hover { background: rgba(255, 255, 255, .06); }
.rc-page--commercial .rc-comm-tiles a.rc-tile:hover .rc-tile__title { color: var(--rc-accent); }

/* areas */
.rc-page--commercial .rc-comm-areas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-block-start: 28px; }
.rc-page--commercial .rc-comm-areas__label { color: var(--rc-on-dark-muted); font-size: 14px; line-height: 1.4; }
.rc-page--commercial .rc-comm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rc-page--commercial .rc-comm-chips li { padding: 3px 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; color: var(--rc-white); font-size: 14px; line-height: 1.6; }

@media (max-width: 1180px) {
  .rc-page--commercial .rc-comm-intro { padding-block: 96px 72px; row-gap: 56px; }
}
@media (max-width: 640px) {
  .rc-page--commercial .rc-comm-intro { padding-block: 64px 44px; row-gap: 40px; }
  .rc-page--commercial .rc-comm-intro h1 { font-size: 42px; }
  /* types: a 2-column grid of small tiles; the fifth spans the row */
  .rc-page--commercial .rc-comm-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border: 0; }
  .rc-page--commercial .rc-comm-tiles a.rc-tile {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    align-content: space-between;
    gap: 14px;
    min-height: 104px;
    padding: 14px 14px 16px;
    border: 1px solid var(--rc-line);
    border-block-start: 2px solid var(--rc-accent);
    border-radius: var(--rc-radius);
  }
  .rc-page--commercial .rc-comm-tiles .rc-icon { width: 24px; height: 24px; }
  .rc-page--commercial .rc-comm-tiles .rc-tile__title { font-size: 16px; font-weight: 400; line-height: 1.3; }
  .rc-page--commercial .rc-comm-tiles a.rc-tile::after { position: absolute; inset-block-start: 20px; inset-inline-end: 16px; }
  .rc-page--commercial .rc-comm-tiles a.rc-tile:last-child { grid-column: 1 / -1; grid-template-columns: 24px minmax(0, 1fr); align-items: center; min-height: 60px; }
  .rc-page--commercial .rc-comm-tiles a.rc-tile:last-child::after { inset-block-start: calc(50% - 4px); }
  .rc-page--commercial .rc-comm-areas { margin-block-start: 20px; }
  .rc-page--commercial .rc-comm-areas__label { flex-basis: 100%; }
}

/* ---------- Listings ---------- */
.rc-page--commercial .rc-comm-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  padding-block-start: 32px;
  border-block-start: 1px solid var(--rc-line);
}
.rc-page--commercial .rc-comm-foot p { max-width: 54ch; color: var(--rc-text); font-size: 19px; font-weight: 300; line-height: 1.5; }
@media (max-width: 640px) {
  .rc-page--commercial .rc-comm-foot { padding-block-start: 24px; }
  .rc-page--commercial .rc-comm-foot p { font-size: 17px; }
}

/* ---------- Yair: portrait and a statement ---------- */
.rc-page--commercial .rc-comm-agent .rc-agent--feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; column-gap: 96px; }
.rc-page--commercial .rc-comm-agent .rc-agent__photo { width: 100%; max-width: 440px; }
.rc-page--commercial .rc-comm-agent .rc-agent__body { gap: 24px; }
.rc-page--commercial .rc-comm-agent .rc-agent__name { color: var(--rc-display); font-size: clamp(34px, 4.6vw, 64px); font-weight: 300; line-height: 1.02; letter-spacing: -.02em; }
.rc-page--commercial:lang(he) .rc-comm-agent .rc-agent__name { letter-spacing: 0; }
.rc-page--commercial .rc-comm-agent .rc-agent__role { margin-block-start: 10px; font-size: 17px; }
.rc-page--commercial .rc-comm-agent .rc-agent__bio { max-width: 40ch; font-size: clamp(18px, 1.8vw, 23px); font-weight: 300; line-height: 1.55; }
.rc-page--commercial .rc-comm-agent .rc-actions { margin-block-start: 8px; }
@media (max-width: 1180px) {
  .rc-page--commercial .rc-comm-agent .rc-agent--feature { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 48px; }
}
@media (max-width: 640px) {
  /* a compact media row: portrait beside name and role, the statement and the call button below */
  .rc-page--commercial .rc-comm-agent .rc-agent--feature { grid-template-columns: 112px minmax(0, 1fr); gap: 0 18px; align-items: end; }
  .rc-page--commercial .rc-comm-agent .rc-agent__photo { grid-row: 1 / span 2; width: 112px; border-block-start-width: 2px; }
  .rc-page--commercial .rc-comm-agent .rc-agent__body { display: contents; }
  .rc-page--commercial .rc-comm-agent .rc-eyebrow { grid-column: 2; align-self: end; margin-block-end: 10px; }
  .rc-page--commercial .rc-comm-agent .rc-agent__id { grid-column: 2; }
  .rc-page--commercial .rc-comm-agent .rc-agent__name { font-size: 30px; }
  .rc-page--commercial .rc-comm-agent .rc-agent__role { margin-block-start: 4px; font-size: 15px; }
  .rc-page--commercial .rc-comm-agent .rc-agent__bio { grid-column: 1 / -1; margin-block-start: 24px; font-size: 18px; }
  .rc-page--commercial .rc-comm-agent .rc-actions { grid-column: 1 / -1; margin-block-start: 20px; }
}

/* RealCapital: about page "Floor Plan" 2026-10 */
/*
  About-only layer on top of rc-pages.css. Everything is scoped under .rc-page--about.
  Concept: an architect's drawing set. Numbered sheets, hairline rules, type first, gold only for
  numerals and hairlines. Logical properties only; breakpoints 640 / 1180 like the shared sheet.
*/

/* ---------- Hero: typographic, blueprint grid + a line-drawn plan ---------- */
.rc-page--about .rc-hero {
  grid-template-columns: minmax(0, 1fr);
  background-image:
    linear-gradient(to right, var(--rc-grid-light) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rc-grid-light) 1px, transparent 1px);
  background-size: 80px 80px;
  padding-block: 128px 112px;
}
.rc-page--about .rc-hero__body { max-width: 780px; }
.rc-page--about .rc-hero h1 { font-size: clamp(40px, 7.2vw, 104px); font-weight: 200; line-height: 1; letter-spacing: -.035em; }
.rc-page--about:lang(he) .rc-hero h1 { font-weight: 300; line-height: 1.04; letter-spacing: 0; }
.rc-page--about .rc-hero .rc-lede { max-width: 54ch; }
.rc-page--about .rc-about-pos { display: flex; align-items: center; gap: 12px; color: var(--rc-muted); font-size: 15px; line-height: 1.5; }
.rc-page--about .rc-about-pos::before { content: ""; flex: none; width: 32px; height: 1px; background: var(--rc-accent); }
.rc-page--about .rc-about-hero__plan { display: none; }
@media (min-width: 641px) {
  .rc-page--about .rc-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--rc-gap-lg); }
  .rc-page--about .rc-about-hero__plan { display: block; max-width: 460px; }
}
@media (max-width: 1180px) {
  .rc-page--about .rc-hero { padding-block: 96px 80px; }
}
@media (min-width: 641px) and (max-width: 1180px) {
  .rc-page--about .rc-hero h1 { font-size: clamp(40px, 6vw, 64px); }
}
@media (max-width: 640px) {
  .rc-page--about .rc-hero { padding-block-end: var(--rc-section-y); background-size: 56px 56px; }
  .rc-page--about .rc-hero h1 { font-size: 44px; }
}
.rc-about-plan { width: 100%; height: auto; overflow: visible; fill: none; stroke: var(--rc-primary); stroke-linecap: square; }
.rc-about-plan__wall { stroke-width: 4; stroke: var(--rc-primary-dark); stroke-linejoin: miter; }
.rc-about-plan__door { stroke-width: 1.2; stroke: var(--rc-primary); }
.rc-about-plan__dim { stroke-width: 1; stroke: var(--rc-accent); }
.rc-about-plan__grid { stroke-width: 1; stroke: var(--rc-accent); }

/* ---------- Numbers strip: dark band, three figures in one row ---------- */
.rc-page--about .rc-about-numbers { padding-block: calc(var(--rc-section-y) * .6); }
.rc-page--about .rc-stat { display: block; color: var(--rc-text); }
.rc-page--about .rc-stat:hover { color: var(--rc-text); }
.rc-page--about .rc-stat:hover .rc-stat__label { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.rc-page--about .rc-stat__value { font-size: clamp(44px, 6.4vw, 88px); font-weight: 200; }
.rc-page--about:lang(he) .rc-stat__value { font-weight: 300; }
.rc-page--about .rc-stat__label { color: var(--rc-on-dark-muted); font-size: 16px; }
@media (max-width: 640px) {
  .rc-page--about .rc-stat__label { font-size: 14px; }
}

/* ---------- Numbered sheets: big numeral + hairline, title block on the start side ---------- */
.rc-page--about .rc-section__num { font-size: clamp(44px, 6vw, 72px); font-weight: 200; letter-spacing: 0; }
.rc-page--about .rc-section__num::after { align-self: center; }

.rc-page--about .rc-sheet > * { margin-block-start: 0; }
.rc-page--about .rc-sheet { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--rc-gap-lg); }
.rc-page--about .rc-sheet .rc-lede { font-size: 17px; line-height: 1.6; }
.rc-page--about .rc-sheet__body > * + * { margin-block-start: var(--rc-gap-lg); }
@media (max-width: 1180px) {
  .rc-page--about .rc-sheet { row-gap: var(--rc-gap); }
  .rc-page--about .rc-sheet__body { margin-block-start: var(--rc-gap); }
}
@media (min-width: 1181px) {
  .rc-page--about .rc-sheet { grid-template-columns: 320px minmax(0, 1fr); column-gap: 80px; row-gap: 44px; }
  .rc-page--about .rc-sheet > .rc-section__num { grid-column: 1 / -1; }
  .rc-page--about .rc-sheet > .rc-head { grid-column: 1; max-width: none; position: sticky; inset-block-start: 110px; }
  .rc-page--about .rc-sheet > .rc-sheet__body { grid-column: 2; }
}

/* ---------- 01 Values: three ruled rows, title on the start side ---------- */
.rc-page--about .rc-about-values { border-block-end: 1px solid var(--rc-line); }
.rc-page--about .rc-about-value { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 48px; padding-block: 32px; border-block-start: 1px solid var(--rc-line); }
.rc-page--about .rc-about-value:first-child { border-block-start-color: var(--rc-accent); }
.rc-page--about .rc-about-value__title { color: var(--rc-display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 300; line-height: 1.15; }
.rc-page--about .rc-about-value p { color: var(--rc-muted); font-size: 17px; line-height: 1.65; }
@media (max-width: 640px) {
  .rc-page--about .rc-about-value { grid-template-columns: minmax(0, 1fr); padding-block: 20px; }
  .rc-page--about .rc-about-value__title { font-size: 23px; }
  .rc-page--about .rc-about-value p { font-size: 16px; }
}

/* ---------- 02 Divisions: a drawing index, one ruled row per division ---------- */
.rc-page--about .rc-divisions { display: block; border-block-start: 1px solid var(--rc-accent); }
.rc-page--about .rc-division {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 10px;
  align-items: center;
  gap: 24px;
  min-height: 0;
  padding: 22px 12px;
  border: 0;
  border-block-end: 1px solid var(--rc-line);
  border-radius: 0;
  background: transparent;
}
.rc-page--about a.rc-division:hover { background: var(--rc-white); }
.rc-page--about .rc-division__lead { width: 64px; height: 64px; background: var(--rc-white); filter: grayscale(1); }
.rc-page--about a.rc-division:hover .rc-division__lead { filter: none; }
.rc-page--about .rc-division__lead img { object-position: 50% 15%; }
.rc-page--about .rc-about-ico { display: grid; place-items: center; border: 1px solid var(--rc-line); color: var(--rc-primary); filter: none; }
.rc-page--about .rc-about-ico .rc-icon { width: 28px; height: 28px; }
.rc-page--about .rc-division__name { color: var(--rc-display); font-size: 24px; font-weight: 300; }
.rc-page--about .rc-division__name bdi { white-space: nowrap; }
.rc-page--about .rc-division__text { margin-block-start: 4px; font-size: 16px; line-height: 1.55; }
.rc-page--about .rc-division__who { display: flex; align-items: center; gap: 10px; margin-block-start: 8px; color: var(--rc-accent-ink); font-size: 14px; line-height: 1.4; }
.rc-page--about .rc-division__who::before { content: ""; width: 16px; height: 1px; background: currentColor; }
@media (max-width: 640px) {
  .rc-page--about .rc-division { grid-template-columns: 48px minmax(0, 1fr) 8px; gap: 14px; padding: 16px 0; }
  .rc-page--about .rc-division__lead { width: 48px; height: 48px; }
  .rc-page--about .rc-about-ico .rc-icon { width: 22px; height: 22px; }
  .rc-page--about .rc-division__name { font-size: 19px; font-weight: 400; }
  .rc-page--about .rc-division__name bdi { white-space: normal; }
  .rc-page--about .rc-division__text { font-size: 14px; }
  .rc-page--about .rc-division__who { font-size: 13px; }
}
.rc-page--about .rc-member__photo img.rc-about-crop-levy,
.rc-page--about .rc-division__lead img.rc-about-crop-levy { object-position: 51% 20%; }
.rc-page--about .rc-division__lead img.rc-about-crop-levy { transform: scale(1.8); transform-origin: 52% 24%; }

/* ---------- 03 Leadership: owners large, then the team; on phones the team is a swipe row ---------- */
.rc-page--about .rc-team--lead { max-width: none; --rc-cols-lg: 2; --rc-cols-md: 2; --rc-cols-sm: 2; }
.rc-page--about .rc-team--lead .rc-member__name { font-size: 24px; font-weight: 300; }
.rc-page--about .rc-team--lead .rc-member__role { font-size: 16px; }
@media (min-width: 641px) and (max-width: 1180px) {
  .rc-page--about .rc-team--lead { max-width: 640px; }
}
.rc-page--about .rc-team:not(.rc-team--lead) { --rc-cols-lg: 4; --rc-cols-md: 4; gap: 36px 20px; }
.rc-page--about .rc-member__photo { border-block-start: 2px solid var(--rc-accent); background: var(--rc-surface); }
.rc-page--about .rc-sheet__body > .rc-link { margin-block-start: var(--rc-gap); }
@media (max-width: 640px) {
  .rc-page--about .rc-team--lead .rc-member__name { font-size: 19px; }
  .rc-page--about .rc-team--lead .rc-member__role { font-size: 14px; }
  .rc-page--about #leadership { padding-inline: 0; }
  .rc-page--about #leadership > :not(.rc-sheet__body),
  .rc-page--about #leadership .rc-sheet__body > :not(.rc-team),
  .rc-page--about #leadership .rc-team--lead { margin-inline: var(--rc-gutter); }
  .rc-page--about .rc-team:not(.rc-team--lead) {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--rc-gutter);
    padding-inline: var(--rc-gutter);
    padding-block-end: 4px;
    scrollbar-width: none;
  }
  .rc-page--about .rc-team:not(.rc-team--lead)::-webkit-scrollbar { display: none; }
  .rc-page--about .rc-team:not(.rc-team--lead) > .rc-member { flex: 0 0 41%; scroll-snap-align: start; }
  .rc-page--about .rc-sheet__body > .rc-swipe + .rc-team { margin-block-start: 8px; }
}
/* ---------- 04 Offices ---------- */
.rc-page--about .rc-offices { --rc-cols-lg: 3; --rc-cols-md: 2; --rc-cols-sm: 2; gap: 40px var(--rc-gap); }
.rc-page--about .rc-office { border-block-start: 1px solid var(--rc-accent); }
.rc-page--about .rc-office__city { font-size: 30px; }
.rc-page--about .rc-office__address { font-size: 16px; }
@media (max-width: 640px) {
  .rc-page--about .rc-offices { gap: 28px 16px; }
  .rc-page--about .rc-office { padding-block-start: 14px; }
  .rc-page--about .rc-office__city { font-size: 21px; }
  .rc-page--about .rc-office__address { margin-block-start: 4px; font-size: 14px; }
  .rc-page--about .rc-office .rc-tel,
  .rc-page--about .rc-office .rc-link { font-size: 14px; gap: 8px; }
  .rc-page--about .rc-office .rc-tel { margin-block-start: 4px; }
  .rc-page--about .rc-office .rc-tel .rc-icon { width: 16px; height: 16px; }
}

/* ---------- 05 Proof: two editorial blocks under a hairline ---------- */
.rc-page--about #proof .rc-tiles--2 { --rc-cols-sm: 1; column-gap: var(--rc-gap-lg); }
.rc-page--about #proof a.rc-tile { gap: 10px; padding: 28px 0 0; border: 0; border-block-start: 1px solid var(--rc-line); border-radius: 0; background: none; }
.rc-page--about #proof a.rc-tile::after { display: none; }
.rc-page--about #proof .rc-tile .rc-icon { width: 28px; height: 28px; margin-block-end: 8px; color: var(--rc-accent-ink); }
.rc-page--about #proof .rc-tile__title { color: var(--rc-display); font-size: 28px; font-weight: 300; }
.rc-page--about #proof a.rc-tile:hover { border-block-start-color: var(--rc-primary); }
.rc-page--about .rc-about-go { display: inline-flex; align-items: center; gap: 10px; margin-block-start: 6px; color: var(--rc-link); font-size: 16px; }
.rc-page--about .rc-about-go::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: scaleX(var(--rc-flip)) rotate(45deg); }
.rc-page--about #proof a.rc-tile:hover .rc-about-go { text-decoration: underline; text-underline-offset: 4px; }
.rc-page--about .rc-about-social { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; padding-block-start: 20px; border-block-start: 1px solid var(--rc-line); }
.rc-page--about .rc-about-social__label { color: var(--rc-muted); font-size: 15px; }
@media (max-width: 640px) {
  .rc-page--about #proof .rc-tiles--2 { row-gap: 32px; }
  .rc-page--about #proof .rc-tile:has(.rc-icon) { display: flex; }
  .rc-page--about #proof .rc-tile__title { font-size: 23px; }
  .rc-page--about .rc-about-go { min-height: 44px; }
}

/* ---------- 06 Contact: the shared dark form band ---------- */
.rc-page--about .rc-about-careers { color: var(--rc-on-dark-muted); font-size: 16px; }
.rc-page--about .rc-about-careers .rc-link { display: flex; }

/* RealCapital: mortgages page 2026-10 (loads after rc-pages.css; paste below it in the same Customizer block) */
/* Everything scoped to .rc-page--mortgages. Logical properties only.
   Lead visual: the advisor (portrait in the opening, a wide photo in "Meet Sharon") and the four-step process. */

/* ---------- Opening: light plan grid, headline beside the portrait, credentials as a title block ---------- */
.rc-page--mortgages .rc-mort-hero {
  background-image:
    linear-gradient(to right, var(--rc-grid-light) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rc-grid-light) 1px, transparent 1px);
  background-size: 72px 72px;
  padding-block: 112px 0;
  row-gap: 64px;
  align-items: end;
}
.rc-page--mortgages .rc-mort-hero .rc-hero__body { align-self: center; padding-block-end: 24px; }
.rc-page--mortgages .rc-mort-hero h1 { font-size: clamp(38px, 5.8vw, 84px); line-height: 1.02; }
.rc-page--mortgages:lang(he) .rc-mort-hero h1 { line-height: 1.06; }
.rc-page--mortgages .rc-mort-hero .rc-hero__media { max-width: 400px; }
.rc-page--mortgages figure.rc-agent { margin: 0; gap: 14px; }
.rc-page--mortgages .rc-agent__photo img { object-position: 56% 6%; }   /* 5385: face at ~49% x / 17% y */
.rc-page--mortgages figcaption.rc-agent__name { color: var(--rc-muted); font-size: 15px; font-weight: 400; }

.rc-page--mortgages .rc-creds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block-start: 1px solid var(--rc-line);
  background: var(--rc-white);
}
.rc-page--mortgages .rc-creds li {
  padding: 24px 28px 28px;
  border-inline-start: 1px solid var(--rc-line);
  color: var(--rc-display);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
}
.rc-page--mortgages .rc-creds li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.rc-page--mortgages .rc-creds li::before { content: ""; display: block; width: 24px; height: 1px; margin-block-end: 14px; background: var(--rc-accent); }

@media (max-width: 1180px) {
  .rc-page--mortgages .rc-mort-hero { padding-block-start: 80px; row-gap: 48px; }
  .rc-page--mortgages .rc-creds li { padding-inline: 20px; font-size: 16px; }
}
@media (max-width: 640px) {
  /* headline and buttons first; then the portrait beside the three credentials */
  .rc-page--mortgages .rc-mort-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 18px; row-gap: 32px; padding-block-end: var(--rc-section-y); align-items: center; }
  .rc-page--mortgages .rc-mort-hero .rc-hero__body { grid-column: 1 / -1; padding-block-end: 0; }
  .rc-page--mortgages .rc-mort-hero h1 { font-size: 40px; }
  .rc-page--mortgages .rc-mort-hero .rc-hero__media { grid-column: 1; max-width: none; }
  .rc-page--mortgages .rc-mort-hero > .rc-creds { grid-column: 2; grid-template-columns: minmax(0, 1fr); border: 0; background: none; }
  .rc-page--mortgages .rc-creds li,
  .rc-page--mortgages .rc-creds li:first-child { padding: 12px 0; border-inline-start: 0; border-block-start: 1px solid var(--rc-line); font-size: 15px; font-weight: 400; }
  .rc-page--mortgages .rc-creds li::before { margin-block-end: 8px; }
  .rc-page--mortgages figcaption.rc-agent__name { font-size: 13px; line-height: 1.4; }
}

/* ---------- Reality: statement on the start side, three ruled points on the end side ---------- */
.rc-page--mortgages .rc-mort-closer {
  max-width: 40ch;
  padding-inline-start: 20px;
  border-inline-start: 2px solid var(--rc-accent);
  color: var(--rc-white);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.55;
}
.rc-page--mortgages .rc-head > .rc-mort-closer { margin-block-start: 32px; }
.rc-page--mortgages .rc-mort-points { border-block-end: 1px solid var(--rc-line); }
.rc-page--mortgages .rc-mort-point { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 40px; padding-block: 28px; border-block-start: 1px solid var(--rc-line); }
.rc-page--mortgages .rc-mort-point__title { color: var(--rc-white); font-size: 26px; font-weight: 300; line-height: 1.25; }
.rc-page--mortgages .rc-mort-point p { color: var(--rc-on-dark-muted); font-size: 17px; line-height: 1.6; }
@media (min-width: 1181px) {
  .rc-page--mortgages .rc-mort-reality { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 96px; align-items: start; }
  .rc-page--mortgages .rc-mort-reality > * + * { margin-block-start: 0; }
}
@media (max-width: 640px) {
  .rc-page--mortgages .rc-mort-point { grid-template-columns: minmax(0, 1fr); padding-block: 18px; }
  .rc-page--mortgages .rc-mort-point__title { font-size: 21px; }
  .rc-page--mortgages .rc-mort-point p { font-size: 16px; }
  .rc-page--mortgages .rc-mort-closer { font-size: 17px; }
}

/* ---------- Who it is for: three columns divided by hairlines, the whole column is the link ---------- */
.rc-page--mortgages .rc-mort-who .rc-tiles { gap: 0; border-block: 1px solid var(--rc-line); }
.rc-page--mortgages .rc-mort-who a.rc-tile {
  gap: 12px;
  padding: 36px 32px 44px;
  border: 0;
  border-inline-start: 1px solid var(--rc-line);
  border-radius: 0;
}
.rc-page--mortgages .rc-mort-who a.rc-tile:first-child { border-inline-start: 0; }
.rc-page--mortgages .rc-mort-who a.rc-tile:hover { background: var(--rc-surface); }
.rc-page--mortgages .rc-mort-who .rc-tile .rc-icon { width: 36px; height: 36px; margin-block-end: 20px; color: var(--rc-accent-ink); }
.rc-page--mortgages .rc-mort-who .rc-tile__title { color: var(--rc-display); font-size: 25px; font-weight: 300; line-height: 1.25; }
.rc-page--mortgages .rc-mort-who a.rc-tile::after { inset-block-start: auto; inset-block-end: 24px; }
@media (max-width: 1180px) {
  .rc-page--mortgages .rc-mort-who a.rc-tile { padding: 28px 24px 40px; }
  .rc-page--mortgages .rc-mort-who .rc-tile__title { font-size: 21px; }
}
@media (max-width: 640px) {
  .rc-page--mortgages .rc-mort-who .rc-tiles { border-block-end: 0; }
  .rc-page--mortgages .rc-mort-who a.rc-tile,
  .rc-page--mortgages .rc-mort-who a.rc-tile:first-child { padding-block: 20px; padding-inline: 0 36px; border-inline-start: 0; border-block-end: 1px solid var(--rc-line); }
  .rc-page--mortgages .rc-mort-who .rc-tile .rc-icon { width: 28px; height: 28px; margin: 0; }
  .rc-page--mortgages .rc-mort-who .rc-tile__title { font-size: 19px; font-weight: 400; }
  .rc-page--mortgages .rc-mort-who .rc-tile__text { font-size: 15px; }
  .rc-page--mortgages .rc-mort-who a.rc-tile::after { inset-inline-end: 4px; inset-block: calc(50% - 4px) auto; }
}

/* ---------- Process: the page's lead visual, large numerals on a continuous gold rule ---------- */
.rc-page--mortgages .rc-mort-process .rc-steps { --rc-cols-md: 2; }
.rc-page--mortgages .rc-mort-process .rc-step { padding-block-start: 28px; border-block-start-width: 2px; }
.rc-page--mortgages .rc-mort-process .rc-step__num { margin-block-end: 28px; font-size: 76px; font-weight: 200; }
.rc-page--mortgages .rc-mort-process .rc-step__title { font-size: 23px; }
.rc-page--mortgages .rc-mort-process .rc-step__title + p { font-size: 16px; }
@media (max-width: 640px) {
  .rc-page--mortgages .rc-mort-process .rc-step { padding-block-start: 0; border-block-start: 0; }
  .rc-page--mortgages .rc-mort-process .rc-step__num { margin: 0; font-size: 28px; font-weight: 300; }
  .rc-page--mortgages .rc-mort-process .rc-step__title { font-size: 19px; }
  .rc-page--mortgages .rc-mort-process .rc-step__title + p { font-size: 15px; }
}

/* ---------- Meet Sharon: wide photo beside the bio ---------- */
.rc-page--mortgages .rc-meet { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--rc-gap-lg); align-items: center; }
.rc-page--mortgages .rc-meet > * + * { margin-block-start: 0; }
.rc-page--mortgages .rc-meet__media { overflow: hidden; border-block-end: 1px solid var(--rc-line); }
.rc-page--mortgages .rc-meet__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 54% 30%; transform: scale(1.02); }   /* hides a grey edge line in the source PNG */
.rc-page--mortgages .rc-meet__role { color: var(--rc-muted); font-size: 18px; line-height: 1.5; }
.rc-page--mortgages .rc-meet__body > * + * { margin-block-start: 28px; }
.rc-page--mortgages .rc-meet__body > .rc-link { margin-block-start: 20px; }
@media (min-width: 641px) {
  .rc-page--mortgages .rc-meet { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 80px; }
}
@media (max-width: 640px) {
  .rc-page--mortgages .rc-meet { gap: 24px; }
  .rc-page--mortgages .rc-meet__media img { aspect-ratio: 4 / 3; object-position: 54% 18%; }
  .rc-page--mortgages .rc-meet__role { font-size: 15px; }
  .rc-page--mortgages .rc-meet__body > * + * { margin-block-start: 18px; }
}

/* ---------- Abroad: copy on the start side, the international line as a call card ---------- */
.rc-page--mortgages .rc-mort-abroad .rc-head > .rc-lede { font-size: 18px; }
.rc-page--mortgages .rc-mort-abroad__call {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: 32px;
  border-inline-start: 2px solid var(--rc-primary);
  background: var(--rc-white);
}
.rc-page--mortgages .rc-mort-abroad__call > .rc-icon { width: 32px; height: 32px; color: var(--rc-accent-ink); }
.rc-page--mortgages .rc-mort-abroad__call p { font-size: 18px; font-weight: 300; line-height: 1.5; }
.rc-page--mortgages .rc-mort-abroad__call .rc-tel { min-height: 0; font-size: 26px; font-weight: 200; }
.rc-page--mortgages .rc-mort-abroad__call .rc-tel bdi { display: block; }
@media (min-width: 1181px) {
  .rc-page--mortgages .rc-mort-abroad { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 96px; align-items: center; }
  .rc-page--mortgages .rc-mort-abroad > * + * { margin-block-start: 0; }
}
@media (max-width: 640px) {
  .rc-page--mortgages .rc-mort-abroad .rc-head > .rc-lede { font-size: 16px; }
  .rc-page--mortgages .rc-mort-abroad__call { padding: 20px; }
  .rc-page--mortgages .rc-mort-abroad__call p { font-size: 16px; }
  .rc-page--mortgages .rc-mort-abroad__call .rc-tel { min-height: 44px; font-size: 22px; }
}

/* ---------- Form band: disclosure under the direct line ---------- */
.rc-page--mortgages .rc-note--disclosure { border-inline-start-color: var(--rc-accent); color: var(--rc-on-dark-muted); font-size: 14px; }

/* ---------- Related ---------- */
.rc-page--mortgages .rc-related__item { padding-block: 18px; }
.rc-page--mortgages .rc-related__label { display: block; font-size: 19px; font-weight: 300; }
.rc-page--mortgages .rc-related__text { display: block; margin-block-start: 2px; color: var(--rc-muted); font-size: 15px; line-height: 1.5; }
.rc-page--mortgages .rc-related:has(> :nth-child(2):last-child) { --rc-cols-lg: 2; --rc-cols-md: 2; max-width: 880px; }
@media (max-width: 1180px) {
  .rc-page--mortgages .rc-related:has(> :nth-child(3)) { --rc-cols-md: 1; }
}
