/* ==========================================================================
   rs-report.css, the market report landing pages (2026-11-08)

   One layout for every page under /market-research-and-reports/<slug>,
   rendered by includes/report-landing.php from a per-page $rr array.
   Built on the site's ledger system (assets/css/rs-ledger.css, the Contact
   page): "Helvetica Neue" / Inter, ink #0a1230, text #4a5568, blue #0b2dbe,
   navy #06176e, #d9e0ec hairlines, #f3f6fc mist, square buttons, the blue
   brand abstract behind the hero, one section rhythm and one gutter
   (20px on phones) shared by the logo, the copy and every section.

   Order: header, hero + form, figures, findings, split, view, more research,
   closing band, footer. Everything is prefixed .rr- so the sheet can sit
   beside any legacy page CSS.
   ========================================================================== */

.rr-page {
    --rr-ink: #0a1230;
    --rr-text: #4a5568;
    --rr-muted: #6b7489;
    --rr-blue: #0b2dbe;
    --rr-navy: #06176e;
    --rr-line: #d9e0ec;
    --rr-mist: #f3f6fc;
    --rr-ease: cubic-bezier(.65, 0, .2, 1);
    --rr-gutter: 40px;
    --rr-pad: clamp(52px, 5.2vw, 84px);
    margin: 0;
    background: #fff;
    font-family: "Helvetica Neue", "Inter", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--rr-ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

.rr-page img {
    max-width: 100%;
    height: auto;
}

.rr-page h1,
.rr-page h2,
.rr-page h3,
.rr-page p {
    margin: 0;
}

/* zero specificity, so every .rr- component sets its own link colour */
:where(.rr-page) a {
    color: inherit;
}

.rr-wrap {
    width: min(1296px, 100% - 2 * var(--rr-gutter));
    margin-inline: auto;
}

.rr-skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: #fff;
    color: var(--rr-blue);
    font-size: 14px;
}

.rr-skip:focus {
    top: 12px;
}

/* ═══════════ Buttons ═══════════ */
.rr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 52px;
    padding: 0 24px;
    border: 1px solid var(--rr-blue);
    background: var(--rr-blue);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.rr-btn svg {
    flex: none;
    width: 18px;
    height: 18px;
    transition: transform .3s ease;
}

.rr-btn:hover,
.rr-btn:focus-visible {
    border-color: var(--rr-navy);
    background: var(--rr-navy);
    color: #fff;
}

.rr-btn:hover svg {
    transform: translateX(4px);
}

.rr-btn--white {
    border-color: #fff;
    background: #fff;
    color: var(--rr-blue);
}

.rr-btn--white:hover,
.rr-btn--white:focus-visible {
    border-color: #fff;
    background: var(--rr-mist);
    color: var(--rr-blue);
}

.rr-btn--line {
    border-color: rgba(255, 255, 255, .7);
    background: transparent;
    color: #fff;
}

.rr-btn--line:hover,
.rr-btn--line:focus-visible {
    border-color: #fff;
    background: #fff;
    color: var(--rr-blue);
}

.rr-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--rr-blue);
    text-decoration: none;
}

.rr-link svg {
    width: 16px;
    height: 16px;
    transition: transform .3s ease;
}

.rr-link:hover {
    color: var(--rr-navy);
}

.rr-link:hover svg {
    transform: translateX(4px);
}

/* ═══════════ 1. Header, on the hero, scrolls away with the page ═══════════ */
.rr-head {
    position: absolute;
    inset: 0 0 auto;
    z-index: 5;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.rr-head__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 96px;
}

.rr-head__logo {
    display: block;
    flex: none;
    line-height: 0;
}

.rr-head__logo img {
    width: auto;
    height: 60px;
}

.rr-head__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.rr-head__links {
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rr-head__links a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
    transition: color .2s ease;
}

.rr-head__links a:hover,
.rr-head__links a[aria-current] {
    color: #fff;
}

.rr-head__links a[aria-current] {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
}

.rr-head .rr-btn {
    height: 44px;
    padding: 0 18px;
    font-size: 14px;
}

.rr-head__back {
    display: none;
}

/* ═══════════ 2. Hero: moving brand abstract, title, figures, glass form ═══════════ */
.rr-hero {
    position: relative;
    padding: 160px 0 var(--rr-pad);
    background: var(--rr-navy);
    isolation: isolate;
    color: #fff;
}

.rr-hero__art {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: var(--rr-blue);
    background-position: 60% 40%;
    background-size: cover;
}

/* rs-motion.js turns the still into a moving surface; the host must keep filling the hero */
.rr-hero > .rr-hero__art.rs-abstract {
    position: absolute;
}

/* a deep shade on the left keeps the white type crisp; a soft floor seats the figures */
.rr-hero__art::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(4, 16, 96, .38) 0%, rgba(4, 16, 96, 0) 42%),
        linear-gradient(90deg, rgba(4, 16, 96, .66) 0%, rgba(4, 16, 96, .3) 50%, rgba(4, 16, 96, .06) 100%);
}

.rr-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: stretch;
}

/* the copy column runs the form's full height: the breadcrumb starts on the form's title line,
   the figures (or the facts row) close on its last line */
.rr-hero__copy {
    display: flex;
    flex-direction: column;
    padding-block: 40px;
}

.rr-hero__gap {
    flex: 1 0 34px;
}

.rr-crumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: rgba(255, 255, 255, .74);
}

.rr-crumb li + li::before {
    content: "/";
    margin-right: 6px;
    color: rgba(255, 255, 255, .4);
}

.rr-crumb a {
    color: rgba(255, 255, 255, .74);
    text-decoration: none;
}

.rr-crumb a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rr-page .rr-h1 {
    max-width: 14em;
    margin: 22px 0 18px;
    font-size: clamp(36px, 3.3vw, 48px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -.03em;
    color: #fff;
    text-wrap: balance;
}

.rr-lead {
    max-width: 33em;
    font-size: clamp(16px, 1.15vw, 17.5px);
    line-height: 1.6;
    color: rgba(255, 255, 255, .84);
}

/* period, published, coverage: one quiet line under the summary */
/* every item carries its divider on the left; the line is shifted left by one divider and
   clipped, so whichever item starts a line (first, or after a wrap) shows no stray rule */
.rr-meta {
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
    margin: 26px 0 0 -19px;
    padding: 0;
    clip-path: inset(0 0 0 19px);
}

.rr-meta div {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-right: 18px;
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, .26);
    line-height: 1.2;
}

.rr-meta dt {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, .62);
}

.rr-meta dd {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

/* headline figures: a hairline ledger, two by two (three or two across when fewer) */
.rr-hfigs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, .36);
}

.rr-hfigs[data-n="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rr-hfig {
    min-width: 0;
    padding: 18px 24px 16px 0;
}

.rr-hfigs:not([data-n="3"]) .rr-hfig:nth-child(even),
.rr-hfigs[data-n="3"] .rr-hfig + .rr-hfig {
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.rr-hfigs[data-n="4"] .rr-hfig:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.rr-hfig__v {
    display: block;
    font-size: clamp(30px, 2.5vw, 38px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.03em;
    color: #fff;
    white-space: nowrap;
}

.rr-hfigs[data-n="3"] .rr-hfig__v {
    font-size: clamp(26px, 2.1vw, 33px);
}

.rr-hfig__v small {
    margin-left: 5px;
    font-size: .42em;
    font-weight: 500;
    letter-spacing: 0;
    color: rgba(255, 255, 255, .72);
}

.rr-hfig__k {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: #fff;
}

.rr-hfig__n {
    display: block;
    margin-top: 3px;
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .62);
}

/* report period / published / coverage as a closing row (reports without figures) */
.rr-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, .36);
}

.rr-facts div {
    min-width: 0;
    padding: 16px 16px 0 0;
}

.rr-facts div + div {
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.rr-facts dt {
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, .66);
}

.rr-facts dd {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

/* ---------- the download form: frosted glass on the moving abstract ---------- */
.rr-form {
    position: relative;
    justify-self: end;
    width: min(540px, 100%);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, .24);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .05) 100%),
        rgba(8, 24, 120, .36);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    backdrop-filter: blur(24px) saturate(150%);
    box-shadow: 0 40px 90px -40px rgba(2, 8, 50, .72), inset 0 1px 0 rgba(255, 255, 255, .16);
    color: #fff;
    scroll-margin-top: 24px;
}

/* when the copy column is the taller one, the button and note settle on its last line */
.rr-form {
    display: flex;
    flex-direction: column;
}

.rr-form > form {
    display: flex;
    flex: 1;
    flex-direction: column;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .rr-form {
        background: rgba(8, 24, 120, .86);
    }
}

/* a thin white rule on top, the site's card accent */
.rr-form::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 3px;
    background: #fff;
}

.rr-form__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
}

.rr-form__title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.015em;
    color: #fff;
}

.rr-form__tag {
    flex: none;
    font-size: 13px;
    color: rgba(255, 255, 255, .62);
}

.rr-form__line {
    margin-top: 8px !important;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    font-size: 14.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .8);
}

.rr-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
    margin-top: 24px;
}

.rr-field {
    min-width: 0;
}

.rr-field label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}

.rr-field label small {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, .58);
}

.rr-field input {
    display: block;
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 0;
    background: rgba(255, 255, 255, .94);
    font: inherit;
    font-size: 15px;
    color: var(--rr-ink);
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.rr-field input:hover {
    background: #fff;
}

.rr-field input:focus {
    outline: none;
    border-color: #fff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .32);
}

.was-validated .rr-field input:invalid {
    border-color: #ff8a80;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 138, 128, .32);
}

.rr-captcha {
    margin: 24px 0;
    min-height: 78px;
}

.rr-submit,
.rr-submit:focus-visible {
    width: 100%;
    margin-top: auto;
    border-color: #fff;
    background: #fff;
    color: var(--rr-blue);
}

.rr-submit:hover {
    border-color: #fff;
    background: var(--rr-mist);
    color: var(--rr-navy);
}

.rr-submit svg {
    width: 18px;
    height: 18px;
}

.rr-submit:hover svg {
    transform: translateY(2px);
}

.rr-submit[aria-busy="true"] {
    opacity: .8;
    cursor: progress;
}

.rr-form__note {
    margin-top: 16px !important;
    font-size: 12.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .66);
}

.rr-form__note a {
    color: #fff;
    text-underline-offset: 2px;
}

.rr-form__status {
    margin-top: 14px !important;
    padding: 12px 14px;
    border-left: 3px solid var(--rr-blue);
    background: rgba(255, 255, 255, .96);
    font-size: 14px;
    line-height: 1.5;
    color: var(--rr-ink);
}

.rr-form__status.is-err {
    border-left-color: #c0392b;
    background: #fff;
}

.rr-form__status[hidden] {
    display: none;
}

/* ═══════════ 3. Sections: one rhythm, split headings ═══════════ */
.rr-sec {
    padding: var(--rr-pad) 0;
    background: #fff;
}

.rr-sec--mist {
    background: var(--rr-mist);
}

.rr-sec--rule {
    border-top: 1px solid var(--rr-line);
}

/* heading left, one line right: the two halves line up with the hero grid */
.rr-sechead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px 64px;
    align-items: end;
    margin-bottom: 44px;
}

.rr-page .rr-h2 {
    font-size: clamp(28px, 2.6vw, 40px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--rr-ink);
    text-wrap: balance;
}

.rr-sechead__line {
    max-width: 34em;
    font-size: 16px;
    line-height: 1.65;
    color: var(--rr-text);
}

.rr-sechead__line .rr-link {
    margin-top: 0;
}

/* ═══════════ 4. Figures: four values on one hairline ledger ═══════════ */
.rr-figs {
    display: grid;
    grid-template-columns: repeat(var(--rr-n, 4), minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--rr-ink);
}

.rr-fig {
    min-width: 0;
    padding: 28px 28px 4px 0;
}

.rr-fig + .rr-fig {
    padding-left: 28px;
    border-left: 1px solid var(--rr-line);
}

.rr-fig__v {
    display: block;
    font-size: clamp(32px, 3vw, 46px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.03em;
    color: var(--rr-ink);
    white-space: nowrap;
}

.rr-fig__v small {
    margin-left: 4px;
    font-size: .42em;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--rr-blue);
}

.rr-fig__k {
    display: block;
    margin-top: 14px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--rr-ink);
}

.rr-fig__n {
    display: block;
    margin-top: 4px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--rr-muted);
}

/* ═══════════ 5. Findings: numbered rows, two columns ═══════════ */
.rr-rows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 64px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: rr-row;
}

.rr-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-content: start;
    gap: 0 12px;
    padding: 24px 0 26px;
    border-top: 1px solid var(--rr-line);
    counter-increment: rr-row;
}

.rr-row::before {
    content: counter(rr-row, decimal-leading-zero);
    grid-row: span 2;
    padding-top: 3px;
    font-size: 13px;
    font-weight: 500;
    color: var(--rr-blue);
}

.rr-row__t {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--rr-ink);
}

.rr-row__l {
    margin-top: 6px !important;
    font-size: 15px;
    line-height: 1.6;
    color: var(--rr-text);
}

/* ═══════════ 6. Split: two segments side by side (H1 apartments / villas) ═══════════ */
.rr-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--rr-line);
    background: var(--rr-line);
}

.rr-split__col {
    padding: clamp(24px, 2.6vw, 40px);
    background: #fff;
}

.rr-split__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rr-line);
}

.rr-split__t {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--rr-ink);
}

.rr-split__tag {
    font-size: 14px;
    font-weight: 500;
    color: var(--rr-blue);
    white-space: nowrap;
}

.rr-split__note {
    margin-top: 14px !important;
    font-size: 15px;
    color: var(--rr-text);
}

.rr-split__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 26px 0 0;
}

.rr-split__stats div + div {
    padding-left: 24px;
    border-left: 1px solid var(--rr-line);
}

.rr-split__stats dt {
    order: 2;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 400;
    color: var(--rr-muted);
}

.rr-split__stats dd {
    margin: 0;
    font-size: clamp(28px, 2.4vw, 36px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--rr-ink);
}

.rr-split__stats div {
    display: flex;
    flex-direction: column;
}

.rr-split__stats dd small {
    margin-left: 4px;
    font-size: .5em;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--rr-blue);
}

.rr-split__foot {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 1px;
    background: var(--rr-line);
}

.rr-split__foot div {
    padding: 20px clamp(24px, 2.6vw, 40px);
    background: var(--rr-mist);
}

.rr-split__foot strong {
    display: block;
    font-size: 17px;
    font-weight: 500;
    color: var(--rr-ink);
}

.rr-split__foot span {
    font-size: 14px;
    color: var(--rr-muted);
}

/* ═══════════ 7. View: the report in print + our reading ═══════════ */
.rr-view {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.rr-view__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    margin: 0;
    padding: clamp(24px, 3vw, 48px);
    background: var(--rr-mist);
}

.rr-view__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 24px 30px rgba(10, 18, 48, .18));
}

.rr-view__copy .rr-h2 {
    margin-bottom: 22px;
}

.rr-view__copy p {
    max-width: 36em;
    font-size: 16px;
    line-height: 1.7;
    color: var(--rr-text);
}

.rr-view__copy p + p {
    margin-top: 14px;
}

.rr-view__copy .rr-view__lede {
    font-size: 19px;
    line-height: 1.5;
    color: var(--rr-ink);
}

/* in-perspective figures under the reading */
.rr-mini {
    display: grid;
    grid-template-columns: repeat(var(--rr-n, 3), minmax(0, 1fr));
    margin: 28px 0 0;
    border-top: 1px solid var(--rr-line);
}

.rr-mini div {
    display: flex;
    flex-direction: column;
    padding: 16px 16px 0 0;
}

.rr-mini div + div {
    padding-left: 16px;
    border-left: 1px solid var(--rr-line);
}

.rr-mini dd {
    order: 1;
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -.02em;
    color: var(--rr-ink);
}

.rr-mini dt {
    order: 2;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--rr-muted);
}

.rr-view__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin-top: 32px;
}

/* ═══════════ 8. More research: three report cards ═══════════ */
.rr-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--rr-line);
    background: #fff;
    text-decoration: none;
    color: var(--rr-ink);
    transition: border-color .3s ease, box-shadow .3s ease;
}

.rr-card::after {
    content: "";
    position: absolute;
    left: -1px;
    right: -1px;
    bottom: -1px;
    height: 3px;
    background: var(--rr-blue);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .6s var(--rr-ease);
}

.rr-card:hover {
    border-color: #c3cde0;
    box-shadow: 0 18px 40px -28px rgba(10, 18, 48, .35);
}

.rr-card:hover::after,
.rr-card:focus-visible::after {
    transform: scaleX(1);
}

.rr-card__media {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #e9edf5;
}

.rr-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--rr-ease);
}

.rr-card:hover .rr-card__media img {
    transform: scale(1.03);
}

.rr-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 22px 22px;
}

.rr-card__meta {
    font-size: 13px;
    color: var(--rr-muted);
}

.rr-card__meta b {
    font-weight: 500;
    color: var(--rr-blue);
}

.rr-card__t {
    margin-top: 8px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--rr-ink);
}

.rr-card__go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--rr-blue);
}

.rr-card__go svg {
    width: 15px;
    height: 15px;
    transition: transform .3s ease;
}

.rr-card:hover .rr-card__go svg {
    transform: translateX(4px);
}

/* ═══════════ 9. Closing band ═══════════ */
.rr-band {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 64px;
    align-items: center;
    padding: clamp(36px, 4.4vw, 64px);
    background: var(--rr-blue) center / cover no-repeat;
    color: #fff;
    isolation: isolate;
    overflow: hidden;
}

.rr-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(5, 22, 120, .6) 0%, rgba(5, 22, 120, .15) 70%);
}

.rr-page .rr-band .rr-h2 {
    color: #fff;
}

.rr-band p {
    max-width: 36em;
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .86);
}

.rr-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rr-explore {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 28px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--rr-line);
    font-size: 14px;
}

.rr-explore span {
    color: var(--rr-muted);
}

.rr-explore a {
    font-weight: 500;
    color: var(--rr-ink);
    text-decoration: none;
}

.rr-explore a:hover {
    color: var(--rr-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ═══════════ 10. Footer ═══════════ */
.rr-ft {
    background: linear-gradient(150deg, #0e3fa8 0%, #1436d8 48%, #0b2dbe 100%);
    color: #fff;
}

.rr-ft__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px 64px;
    align-items: center;
    padding: 44px 0 36px;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.rr-ft__brand {
    display: flex;
    align-items: center;
    gap: 24px;
}

.rr-ft__brand img {
    width: auto;
    height: 64px;
}

.rr-ft__brand .rr-ft__rics {
    height: 44px;
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, .22);
    box-sizing: content-box;
}

.rr-ft__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rr-ft__nav a,
.rr-ft__contact a,
.rr-ft__legal a {
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    transition: color .2s ease;
}

.rr-ft__nav a {
    font-size: 15px;
    font-weight: 500;
}

.rr-ft__nav a:hover,
.rr-ft__contact a:hover,
.rr-ft__legal a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.rr-ft__contact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.rr-ft__contact li {
    padding: 22px 24px 22px 0;
}

.rr-ft__contact li + li {
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, .14);
}

.rr-ft__contact small {
    display: block;
    margin-bottom: 4px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .62);
}

.rr-ft__contact a {
    font-size: 15px;
}

.rr-ft__note {
    padding: 20px 0 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .62);
}

.rr-ft__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 32px;
    padding: 18px 0 28px;
    font-size: 13px;
    color: rgba(255, 255, 255, .72);
}

.rr-ft__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

/* ═══════════ 11. Report body: the long-form reports (tables, charts, notes) ═══════════ */
.rr-doc .rr-sechead {
    margin-bottom: 36px;
}

.rr-sechead--top {
    align-items: start;
}

.rr-sechead--top:last-child {
    margin-bottom: 0;
}

.rr-prose p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--rr-text);
}

.rr-prose > * + * {
    margin-top: 14px !important;
}

.rr-prose strong {
    font-weight: 500;
    color: var(--rr-ink);
}

.rr-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rr-list li {
    position: relative;
    padding: 11px 0 11px 22px;
    border-top: 1px solid var(--rr-line);
    font-size: 15px;
    line-height: 1.6;
    color: var(--rr-text);
}

.rr-list li:last-child {
    border-bottom: 1px solid var(--rr-line);
}

.rr-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 23px;
    width: 9px;
    height: 1px;
    background: var(--rr-blue);
}

.rr-kv {
    margin: 0;
    border-top: 1px solid var(--rr-line);
}

.rr-kv div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--rr-line);
}

.rr-kv dt {
    font-size: 14px;
    font-weight: 400;
    color: var(--rr-text);
}

.rr-kv dd {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    text-align: right;
    color: var(--rr-ink);
    font-variant-numeric: tabular-nums;
}

.rr-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.rr-panel {
    min-width: 0;
    padding: clamp(20px, 2.2vw, 32px);
    border: 1px solid var(--rr-line);
    background: #fff;
}

.rr-panel--wide {
    grid-column: 1 / -1;
}

/* a short chart beside a taller neighbour sits centred, not stranded at the top */
.rr-panel:not(.rr-panel--text) {
    display: flex;
    flex-direction: column;
}

.rr-panel > .rr-chart {
    flex: none;
    width: 100%;
    margin-block: auto;
}

/* a titled block of text: title left, text right, like the section headings */
.rr-panel--text {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px 64px;
    padding: 0;
    padding-top: 24px;
    border: 0;
    border-top: 1px solid var(--rr-line);
    background: transparent;
}

.rr-panel--text .rr-prose {
    grid-column: 2;
}

.rr-panel--text .rr-panel__t {
    margin: 0;
}

.rr-panel__t {
    margin: 0 0 18px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--rr-ink);
}

.rr-panel__notes {
    margin-top: 22px;
}

.rr-panel__notes p {
    font-size: 15px;
}

.rr-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rr-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.45;
    font-variant-numeric: tabular-nums;
}

.rr-table th {
    padding: 0 16px 10px 0;
    border-bottom: 1px solid var(--rr-ink);
    font-size: 12.5px;
    font-weight: 500;
    text-align: left;
    vertical-align: bottom;
    color: var(--rr-muted);
}

.rr-table thead tr + tr th {
    padding-top: 10px;
}

.rr-table th[colspan] {
    border-bottom-color: var(--rr-line);
    color: var(--rr-ink);
}

.rr-table td {
    padding: 11px 16px 11px 0;
    border-bottom: 1px solid var(--rr-line);
    color: var(--rr-ink);
}

.rr-table tbody tr:last-child td {
    border-bottom-color: var(--rr-ink);
}

.rr-table tbody tr:hover td {
    background: var(--rr-mist);
}

.rr-table tbody td:first-child {
    font-weight: 500;
}

.rr-chart {
    position: relative;
    height: 340px;
}

.rr-chart--apex {
    height: auto;
    min-height: 260px;
    overflow: hidden;
}

/* the panel heading already names the chart; drop the chart's own repeat of it */
.rr-panel__t ~ .rr-chart .apexcharts-title-text {
    display: none;
}

.rr-figure {
    margin: 0;
}

.rr-figure img {
    display: block;
    width: 100%;
}

/* figure rows inside a report section (dashboard reports) */
.rr-figs--doc {
    margin-bottom: 24px;
    padding-bottom: 4px;
    border-top-color: var(--rr-line);
}

.rr-figs--doc .rr-fig__v {
    font-size: clamp(26px, 2.4vw, 36px);
}

.rr-panels + .rr-figs--doc {
    margin-top: 32px;
}

/* small label above a panel title (Premium, #1 Host) */
.rr-panel__tag {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--rr-blue);
}

/* the full text of a summary, opened in place */
.rr-more {
    margin-top: 16px;
    border-top: 1px solid var(--rr-line);
}

.rr-more summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-top: 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--rr-blue);
    list-style: none;
    cursor: pointer;
}

.rr-more summary::-webkit-details-marker {
    display: none;
}

.rr-more summary::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-top: -3px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .3s ease, margin .3s ease;
}

.rr-more[open] summary::after {
    margin-top: 3px;
    transform: rotate(-135deg);
}

.rr-more summary:hover {
    color: var(--rr-navy);
}

.rr-more[open] summary {
    margin-bottom: 14px;
}

.rr-more .rr-prose p {
    font-size: 15px;
}

.rr-panel__sub {
    margin: -8px 0 0 !important;
    font-size: 14px;
    color: var(--rr-muted);
}

.rr-more--table[open] summary {
    margin-bottom: 18px;
}

.rr-source {
    margin-top: 20px !important;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--rr-muted);
}

.rr-source strong {
    font-weight: 500;
    color: var(--rr-text);
}

@media (max-width: 991px) {
    .rr-panels {
        grid-template-columns: minmax(0, 1fr);
    }

    .rr-panel--text {
        grid-template-columns: minmax(0, 1fr);
    }

    .rr-panel--text .rr-prose {
        grid-column: 1;
    }
}

@media (max-width: 767px) {
    .rr-doc .rr-sechead {
        margin-bottom: 24px;
    }

    .rr-prose p {
        font-size: 15px;
    }

    .rr-panels {
        gap: 16px;
    }

    .rr-panel {
        padding: 18px 16px;
    }

    .rr-panel--text {
        padding: 18px 0 0;
    }

    .rr-panel__t {
        margin-bottom: 14px;
        font-size: 16px;
    }

    .rr-table table {
        font-size: 13px;
    }

    .rr-table th,
    .rr-table td {
        padding-right: 12px;
    }

    .rr-chart {
        height: 280px;
    }
}

/* ═══════════ Motion: content settles in once, never hidden without JS ═══════════ */
.rr-js [data-rr-in] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .8s var(--rr-ease), transform .8s var(--rr-ease);
}

.rr-js [data-rr-in].is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .rr-js [data-rr-in] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .rr-page *,
    .rr-page *::before,
    .rr-page *::after {
        transition-duration: .01ms !important;
    }
}

/* ═══════════ Laptop ═══════════ */
@media (max-width: 1199px) {
    .rr-page {
        --rr-gutter: 32px;
    }

    .rr-head__links {
        gap: 22px;
    }

    .rr-hero__grid,
    .rr-sechead,
    .rr-view {
        gap: 40px;
    }

    .rr-rows {
        column-gap: 40px;
    }

    .rr-fig {
        padding-right: 20px;
    }

    .rr-fig + .rr-fig {
        padding-left: 20px;
    }
}

/* ═══════════ Tablet: the form drops under the title ═══════════ */
@media (max-width: 991px) {
    .rr-head__links {
        display: none;
    }

    .rr-hero {
        padding-top: 148px;
    }

    .rr-hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rr-hero__copy {
        padding-block: 0;
    }

    .rr-hero__gap {
        flex: none;
        height: 36px;
    }

    .rr-hfigs,
    .rr-facts {
        max-width: 640px;
    }

    .rr-form {
        justify-self: start;
        width: min(640px, 100%);
    }

    .rr-figs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rr-fig:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .rr-fig:nth-child(n + 3) {
        margin-top: 4px;
        border-top: 1px solid var(--rr-line);
    }

    .rr-view {
        grid-template-columns: minmax(0, 1fr);
    }

    .rr-view__media {
        aspect-ratio: 16 / 9;
    }

    .rr-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .rr-band {
        grid-template-columns: minmax(0, 1fr);
    }

    .rr-ft__top {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ═══════════ Phones: 20px gutter, compact rows ═══════════ */
@media (max-width: 767px) {
    .rr-page {
        --rr-gutter: 20px;
        --rr-pad: 48px;
    }

    .rr-head__bar {
        height: 76px;
    }

    .rr-head__logo img {
        height: 46px;
    }

    .rr-head .rr-btn {
        display: none;
    }

    .rr-head .rr-head__back {
        display: inline-flex;
        height: 38px;
        padding: 0 14px;
        font-size: 13.5px;
    }

    /* the title names the page; the trail stops at Research */
    .rr-crumb li[aria-current] {
        display: none;
    }

    .rr-hero {
        padding-top: 112px;
    }

    .rr-page .rr-h1 {
        margin: 16px 0 14px;
        font-size: 32px;
        line-height: 1.12;
    }

    .rr-lead {
        font-size: 15.5px;
    }

    .rr-hero__gap {
        height: 28px;
    }

    .rr-meta {
        margin-top: 20px;
    }

    .rr-meta {
        margin-left: -13px;
        clip-path: inset(0 0 0 13px);
    }

    .rr-meta div {
        margin-right: 12px;
        padding-left: 12px;
    }

    /* figures two across on phones */
    .rr-hfigs,
    .rr-hfigs[data-n="3"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rr-hfig,
    .rr-hfigs[data-n="3"] .rr-hfig + .rr-hfig {
        padding: 16px 14px 14px 0;
        border-left: 0;
    }

    .rr-hfigs .rr-hfig:nth-child(even) {
        padding-left: 14px;
        border-left: 1px solid rgba(255, 255, 255, .16);
    }

    .rr-hfigs[data-n="3"] .rr-hfig:nth-child(-n + 2),
    .rr-hfigs[data-n="4"] .rr-hfig:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, .16);
    }

    .rr-hfig__v,
    .rr-hfigs[data-n="3"] .rr-hfig__v {
        font-size: 26px;
    }

    .rr-hfig__k {
        margin-top: 8px;
        font-size: 13.5px;
    }

    .rr-hfig__n {
        font-size: 12px;
    }

    .rr-facts div {
        padding: 12px 10px 0 0;
    }

    .rr-facts div + div {
        padding-left: 10px;
    }

    .rr-facts dt {
        font-size: 12px;
    }

    .rr-facts dd {
        font-size: 14px;
    }

    .rr-form {
        width: 100%;
        padding: 24px 20px;
    }

    .rr-form__title {
        font-size: 21px;
    }

    .rr-form__grid {
        gap: 14px 12px;
    }

    .rr-form__grid .rr-field:nth-child(-n + 2) {
        grid-column: 1 / -1;
    }

    .rr-field input {
        height: 46px;
        font-size: 16px;
    }

    .rr-captcha {
        min-height: 0;
    }

    .rr-sechead {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 28px;
    }

    .rr-page .rr-h2 {
        font-size: 26px;
    }

    .rr-sechead__line {
        font-size: 15px;
    }

    .rr-fig {
        padding: 18px 12px 2px 0;
    }

    .rr-fig + .rr-fig {
        padding-left: 12px;
    }

    .rr-fig:nth-child(odd) {
        padding-left: 0;
    }

    .rr-fig__v {
        font-size: 28px;
        white-space: normal;
    }

    .rr-fig__k {
        margin-top: 10px;
        font-size: 14px;
    }

    .rr-fig__n {
        font-size: 12.5px;
    }

    .rr-rows {
        grid-template-columns: minmax(0, 1fr);
    }

    .rr-row {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 0 8px;
        padding: 18px 0 20px;
    }

    .rr-row__t {
        font-size: 16.5px;
    }

    .rr-row__l {
        font-size: 14.5px;
    }

    .rr-split,
    .rr-split__foot {
        grid-template-columns: minmax(0, 1fr);
    }

    .rr-split__t {
        font-size: 19px;
    }

    .rr-split__col {
        padding: 20px;
    }

    .rr-split__stats dd {
        font-size: 24px;
        white-space: nowrap;
    }

    .rr-split__stats div + div {
        padding-left: 16px;
    }

    .rr-split__foot div {
        padding: 16px 20px;
    }

    .rr-view {
        gap: 28px;
    }

    .rr-view__copy .rr-view__lede {
        font-size: 17px;
    }

    .rr-view__copy p {
        font-size: 15px;
    }

    .rr-mini dd {
        font-size: 20px;
    }

    .rr-mini div {
        padding-right: 10px;
    }

    .rr-mini div + div {
        padding-left: 10px;
    }

    .rr-mini dt {
        font-size: 12px;
    }

    .rr-view__actions .rr-btn {
        width: 100%;
    }

    /* report cards become index rows: thumbnail left, text right */
    .rr-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        border-top: 1px solid var(--rr-line);
    }

    .rr-card {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 14px 0;
        border: 0;
        border-bottom: 1px solid var(--rr-line);
        background: transparent;
    }

    .rr-card:hover {
        box-shadow: none;
    }

    .rr-card::after {
        left: 0;
        right: 0;
    }

    .rr-card__media {
        flex: none;
        width: 104px;
    }

    .rr-card__body {
        padding: 0;
    }

    .rr-card__t {
        margin-top: 4px;
        font-size: 15px;
    }

    .rr-card__go {
        display: none;
    }

    .rr-band {
        padding: 32px 20px;
    }

    .rr-band__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }

    .rr-explore {
        gap: 8px 20px;
    }

    .rr-explore span {
        width: 100%;
    }

    .rr-ft__top {
        gap: 24px;
        padding: 32px 0 24px;
    }

    .rr-ft__brand img {
        height: 52px;
    }

    .rr-ft__brand .rr-ft__rics {
        height: 36px;
        padding-left: 18px;
    }

    .rr-ft__brand {
        gap: 18px;
    }

    .rr-ft__nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 16px;
    }

    .rr-ft__nav a {
        font-size: 14.5px;
    }

    .rr-ft__contact {
        grid-template-columns: minmax(0, 1fr);
    }

    .rr-ft__contact li,
    .rr-ft__contact li + li {
        padding: 14px 0;
        border-left: 0;
    }

    .rr-ft__contact li + li {
        border-top: 1px solid rgba(255, 255, 255, .12);
    }

    .rr-ft__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* the reCAPTCHA widget is a fixed 304px; scale it on the narrowest phones */
@media (max-width: 359px) {
    .rr-captcha .g-recaptcha {
        transform: scale(.88);
        transform-origin: 0 0;
    }
}
