/* ==========================================================================
   /center-for-research-and-innovation-v2 and /insights/research-surveys-v2 (user, 2026-11-18). Layout and imagery
   after the two mockups, type and spacing from the homepage: content on its 1278px container (44px off the edges
   from 992px, 24px below), section titles 24/400 (20 on phones), hero 32/400 (24), eyebrows 14 teal uppercase,
   body 14-16, Nunito Sans 14 buttons 35px (44 on phones), 44px section padding, square corners.
   Spec: docs/superpowers/specs/2026-11-18-research-v2-pages-design.md
   ========================================================================== */

.rv2-page {
    --rv2-gutter: max(24px, calc((100% - 1278px) / 2));
    --rv2-ink: #232e33;
    --rv2-text: #515b60;
    --rv2-muted: #6e767a;
    --rv2-line: #e0e5ea;
    --rv2-teal: #00acc1;
    --rv2-teal-dark: #007a89;
    --rv2-light: #e9ebeb;
    --rv2-grey: #f3f5f5;
    --rv2-aqua: #e6f4f6;
    --rv2-night: #051726;

    font-family: 'Poppins', sans-serif;
    color: var(--rv2-ink);
    background: #fff;
    overflow-x: hidden;
}

@media (min-width: 992px) {
    .rv2-page {
        --rv2-gutter: max(44px, calc((100% - 1278px) / 2));
    }
}

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

/* Beats the site's global heading/paragraph margins and line heights. */
.rv2-page h1,
.rv2-page h2,
.rv2-page h3,
.rv2-page h4,
.rv2-page p,
.rv2-page ul,
.rv2-page figure,
.rv2-page blockquote {
    margin: 0;
    padding: 0;
    line-height: normal;
}

.rv2-page :focus-visible {
    outline: 2px solid var(--rv2-teal);
    outline-offset: 2px;
}

/* ---------- Shared type ---------- */
.rv2-page .rv2-eyebrow {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--rv2-teal-dark);
}

.rv2-page .rv2-title {
    font-size: 24px;
    font-weight: 400;
    color: var(--rv2-ink);
}

.rv2-page .rv2-eyebrow + .rv2-title,
.rv2-page .rv2-eyebrow + .rv2-hero__title,
.rv2-page .rv2-eyebrow + .rv2-card__title {
    margin-top: 8px;
}

/* One subtitle style, as the homepage's (16px, 8px under the title), in the darker grey: the muted one is only 4.2:1
   on the grey and aqua bands (uniformity audit, 2026-11-18). */
.rv2-page .rv2-subtitle {
    max-width: 760px;
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--rv2-text);
}

/* A subtitle in sentences ("Contribute to our research", user 2026-11-24: one line at the current font; it broke after
   "You"). 768-1365: a sentence per line. From 1366 the container is 1278px and the text 1328px at 16px: the letters
   0.35px tighter put it on one line (~1268px, room for Safari), the size unchanged. Phones: it flows. */
@media (min-width: 768px) {
    .rv2-page .rv2-subtitle--lines {
        max-width: none;
    }

    .rv2-subtitle--lines .rv2-subtitle__line {
        display: block;
    }
}

@media (min-width: 1366px) {
    .rv2-page .rv2-subtitle--lines {
        white-space: nowrap;
        letter-spacing: -0.35px;
    }

    .rv2-subtitle--lines .rv2-subtitle__line {
        display: inline;
    }
}

/* One 14px paragraph style and one card-title style across both pages (uniformity audit, 2026-11-18). */
.rv2-page .rv2-card__text,
.rv2-page .rv2-pillar__text,
.rv2-page .rv2-body,
.rv2-page .rv2-survey__body p,
.rv2-page .rv2-list {
    font-size: 14px;
    line-height: 1.5;
    color: var(--rv2-text);
}

.rv2-page .rv2-card__title,
.rv2-page .rv2-pillar__title,
.rv2-page .rv2-survey__title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--rv2-ink);
}

.rv2-page .rv2-list {
    margin-top: 12px;
    padding-left: 20px;
    list-style: disc;
}

.rv2-page .rv2-list li + li {
    margin-top: 6px;
}

/* ---------- Buttons and links ---------- */
.rv2-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border: 1px solid transparent;
    border-radius: 0;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: .28px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s, color .2s, border-color .2s;
}

.rv2-btn:hover,
.rv2-btn:focus-visible {
    text-decoration: none;
}

/* White text on the darker teal: 4.9:1. */
.rv2-btn--primary {
    background: var(--rv2-teal-dark);
    color: #fff;
}

.rv2-btn--primary:hover,
.rv2-btn--primary:focus-visible {
    background: #00606c;
    color: #fff;
}

/* A button with nothing to open yet (Access Academic Research, 2026-11-19): the same look, no hover, no hand. */
.rv2-btn--static,
.rv2-btn--static:hover {
    background: var(--rv2-teal-dark);
    cursor: default;
}

/* On the dark heroes, as the mockups and /ambassadors-network-v3. */
.rv2-btn--light {
    background: #fff;
    color: var(--rv2-ink);
}

.rv2-btn--light:hover,
.rv2-btn--light:focus-visible {
    background: var(--rv2-light);
    color: var(--rv2-ink);
}

.rv2-btn--outline-light {
    border-color: var(--rv2-light);
    color: var(--rv2-light);
}

.rv2-btn--outline-light:hover,
.rv2-btn--outline-light:focus-visible {
    border-color: var(--rv2-teal);
    color: var(--rv2-teal);
}

.rv2-arrow {
    display: inline-block;
    margin-left: 6px;
    transition: transform .2s ease;
}

.rv2-btn:hover .rv2-arrow,
.rv2-btn:focus-visible .rv2-arrow,
.rv2-report:hover .rv2-arrow,
.rv2-report:focus-visible .rv2-arrow {
    transform: translateX(3px);
}

.rv2-link {
    display: inline-flex;
    align-items: center;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    letter-spacing: .28px;
    color: var(--rv2-teal-dark);
}

.rv2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-top: 24px;
}

/* ---------- Sections ---------- */
.rv2-section {
    padding: 44px var(--rv2-gutter);
}

.rv2-section--grey {
    background: var(--rv2-grey);
}

.rv2-section--aqua {
    background: var(--rv2-aqua);
}

.rv2-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ---------- Hero ---------- */
.rv2-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 420px;
    padding: 44px var(--rv2-gutter);
    overflow: hidden;
    background: var(--rv2-night);
    isolation: isolate;
}

.rv2-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

/* A scrim from the left keeps the copy over 4.5:1. */
.rv2-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(5, 23, 38, .92) 0, rgba(5, 23, 38, .8) 40%, rgba(5, 23, 38, 0) 75%);
}

/* The Maturity Outlook hero (user, 2026-11-19, as the design): the designer's background across the band, about its
   2.9:1 so the hexagons are not cut; the image is already dark under the copy, so the scrim is light. */
.rv2-hero--outlook {
    min-height: clamp(420px, 34.375vw, 560px);
    /* The image's own left-edge colour, so a band wider than the image runs on seamlessly. */
    background: #021a2b;
}

/* The hexagons touch the image's top and bottom, so it is never cropped vertically (user, 2026-11-19: cut on a
   1886px-wide screen): always the band's full height, anchored right. A narrower band crops the plain dark left side;
   a wider one shows the left-edge colour beside it. */
.rv2-hero--outlook .rv2-hero__bg {
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
    width: auto;
    /* The band's full height (2026-11-23): the image itself makes the hexagons 88% of it (user: 10-15% smaller), its
       extra rows in the art's own backdrop colour, so no strip shows above or below. */
    height: 100%;
    max-width: none;
    object-fit: fill;
}

/* 992-1279px: the hexagons start about 1.385 × the band's height (420-440px; 1.22 × since the art is 88% tall) from the right; the copy keeps to the
   space left of them; below 992px it sits on the darkened image. */
@media (min-width: 992px) and (max-width: 1279px) {
    .rv2-hero--outlook .rv2-hero__inner {
        max-width: calc(100vw - 670px);
    }
}

.rv2-hero--outlook::after {
    background: linear-gradient(90deg, rgba(5, 23, 38, .55) 0, rgba(5, 23, 38, .3) 40%, rgba(5, 23, 38, 0) 60%);
}

.rv2-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 640px;
}

.rv2-page .rv2-hero .rv2-eyebrow {
    color: var(--rv2-teal);
}

.rv2-page .rv2-hero__title {
    font-size: 32px;
    font-weight: 400;
    line-height: 41px;
    color: #fff;
}

.rv2-page .rv2-hero__text {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--rv2-light);
}

/* CRI hero (user, 2026-11-22): the button further down from the copy. */
.rv2-page--cri .rv2-hero .rv2-actions {
    margin-top: 40px;
}

/* ---------- CRI: Explore our research ---------- */
.rv2-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.rv2-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--rv2-line);
    background: #fff;
}

.rv2-card__media {
    overflow: hidden;
    aspect-ratio: 720 / 398;
    background: var(--rv2-light);
}

.rv2-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rv2-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
}

.rv2-page .rv2-card__text {
    margin-top: 8px;
}

.rv2-card__cta {
    margin-top: auto;
}

.rv2-card__text + .rv2-card__cta {
    margin-top: 24px;
}

/* Side by side, the two buttons line up at the cards' bottom (both cards have one since 2026-11-19). */
.rv2-page .rv2-card__body > .rv2-card__text:has(+ .rv2-card__cta) {
    flex-grow: 1;
}

/* ---------- CRI: What we do ---------- */
.rv2-pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.rv2-pillar {
    padding-top: 16px;
    border-top: 2px solid var(--rv2-teal);
}

.rv2-page .rv2-pillar__text {
    margin-top: 8px;
}

/* ---------- CRI: A word from the director ---------- */
.rv2-director {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    align-items: end;
    gap: 44px;
    padding: 0 var(--rv2-gutter);
    overflow: hidden;
    background: var(--rv2-ink);
}

/* The copy keeps the section's 44px; the cut-out figure stands on the band's bottom edge (user, 2026-11-19). */
.rv2-director__copy {
    align-self: center;
    padding: 44px 0;
}

.rv2-page .rv2-director .rv2-eyebrow {
    color: var(--rv2-teal);
}

.rv2-page .rv2-director .rv2-title {
    color: #fff;
}

.rv2-page .rv2-director__quote {
    max-width: 720px;
    margin-top: 16px;
    padding-left: 16px;
    border-left: 2px solid var(--rv2-teal);
}

.rv2-page .rv2-director__quote p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--rv2-light);
}

.rv2-page .rv2-director__quote p + p {
    margin-top: 12px;
}

.rv2-page .rv2-director__name {
    margin-top: 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.rv2-page .rv2-director__role {
    margin-top: 4px;
    font-size: 14px;
    color: #bcbfc1;
}

.rv2-director__photo {
    align-self: end;
    padding-top: 24px;
}

.rv2-director__photo img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- CRI: the last band (mockup, user 2026-11-19) ---------- */
/* The report books in the container's left column at no more than their own resolution (they were a full-width
   background: oversized, stretched and soft on wide screens, user same day); the copy on the right. Since 2026-12-02
   (user) the picture's background is white in the file itself (opaque, white to its edges), like the band. */
.rv2-partner-band {
    display: grid;
    /* The books' column 10% wider than half the row (user, 2026-11-22: the books ~10% bigger). */
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
    gap: 44px;
    padding: 44px var(--rv2-gutter);
    /* White (user, 2026-11-22); the picture's edges fade out in the file, so it sits on white as well. */
    background: #fff;
}

.rv2-partner-band__image {
    display: block;
    width: 100%;
    max-width: 704px;
    height: auto;
}

.rv2-partner-band__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 560px;
}

/* One step darker than the page teal for the 14px eyebrow (it was on a light-blue gradient; kept on white). */
.rv2-page .rv2-partner-band .rv2-eyebrow {
    color: #00606c;
}

.rv2-partner-band__copy .rv2-btn {
    margin-top: 24px;
}

/* ---------- Research Surveys: About ---------- */
/* ---------- Research Surveys: About the research program (user, 2026-11-19, as the design) ---------- */
.rv2-about-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 44px;
    padding: 44px var(--rv2-gutter) 24px;
}

/* The title, then the text's three sentences as paragraphs with space between them (user, 2026-11-22). */
.rv2-page .rv2-about-body .rv2-body {
    margin: 16px 0 0;
}

/* White (user, 2026-11-22; it was a white-to-light-blue gradient): the picture's edges are feathered to transparent in
   the file, so it sits on white as the CRI books do. The picture on the left, the copy on the right; stacked (below
   992px) the copy stays first, as in the markup. */
.rv2-about-body {
    background: #fff;
}

.rv2-about-body__media {
    order: -1;
    width: 100%;
    max-width: 640px;
    justify-self: start;
}

.rv2-about-body__image {
    display: block;
    width: 100%;
    height: auto;
}

/* The five capabilities: a rule in each one's colour, its icon and its name. */
.rv2-page .rv2-capabilities {
    display: grid;
    /* Six since 2026-11-22 (user: Operations Performance added last). */
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 24px var(--rv2-gutter) 44px;
    list-style: none;
}

.rv2-capability {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 5px solid var(--rv2-cap);
    text-align: center;
}

.rv2-capability img {
    width: auto;
    /* A little smaller (user, 2026-11-22; was 96px). */
    height: 80px;
    transition: transform .25s ease;
}

/* Hover: the icon zooms in, and back out when the pointer leaves (user, 2026-11-19). Pointer devices only; none with
   reduced motion. */
@media (hover: hover) {
    .rv2-capability:hover img {
        transform: scale(1.15);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rv2-capability img {
        transition: none;
    }

    .rv2-capability:hover img {
        transform: none;
    }
}

.rv2-page .rv2-capability__name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--rv2-ink);
}

/* The capabilities row hidden (user, 2026-12-04): the text band keeps 44px under it, as above it, before the grey band. */
.rv2-about-program--no-caps .rv2-about-body {
    padding-bottom: 44px;
}

/* Tablets: two rows of three. */
@media (max-width: 991px) {
    .rv2-page .rv2-capabilities {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px 16px;
    }
}

/* Phones: two rows of three, smaller. */
@media (max-width: 575px) {
    .rv2-page .rv2-capabilities {
        gap: 24px 12px;
    }

    .rv2-capability img {
        height: 56px;
    }

    .rv2-page .rv2-capability__name {
        font-size: 14px;
    }
}

/* The 2027 insights: white cards on the grey band (the design's short teal bars removed, user 2026-11-19). */
.rv2-about-next {
    padding: 44px var(--rv2-gutter);
    background: var(--rv2-grey);
}

.rv2-page .rv2-about-next__title {
    /* The whole sentence on one line on desktop (user, 2026-11-22; it was capped at 880px). */
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--rv2-ink);
}

.rv2-page .rv2-insights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.rv2-page .rv2-insight {
    padding: 24px;
    /* Dark boxes (user, 2026-11-22; they were white): the hero's navy, white text. */
    border: 1px solid var(--rv2-night);
    background: var(--rv2-night);
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
}

.rv2-page .rv2-body {
    margin-top: 16px;
}

/* ---------- Research Surveys: reports ---------- */
.rv2-reports {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
    margin-top: 24px;
}

.rv2-report {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
}

.rv2-report:hover,
.rv2-report:focus-visible {
    text-decoration: none;
}

.rv2-report__cover {
    display: block;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 720 / 398;
    background: var(--rv2-light);
}

.rv2-report__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.rv2-report:hover .rv2-report__cover img {
    transform: scale(1.03);
}

.rv2-report:hover .rv2-link,
.rv2-report:focus-visible .rv2-link {
    color: #00606c;
    text-decoration: underline;
}

/* ---------- Research Surveys: benefits ---------- */
/* The two cards as tall as each other on their own (user, 2026-11-23: no empty space above the QuickScan sample,
   the badges smaller): the Academy column 1.1 x the QuickScan one, so the badges shrink (173px at 1440, from the
   capability pages' 228) and the sample grows; measured equal within ~12px from 1200 to 1920. 992-1199: equal columns. */
.rv2-benefits {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 24px;
    margin-top: 24px;
}

.rv2-benefit {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--rv2-grey);
}

/* The cards' own, larger scale (user, 2026-11-23, GPAU-Survey-Benefits-Clean-Assessor mockup): the offers stand out
   like the mockup's, square corners kept. Title 22, the figure 32 bold, its line 18, the copy 16. */
.rv2-page .rv2-benefit__title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--rv2-ink);
}

.rv2-page .rv2-benefit__highlight {
    margin-top: 8px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--rv2-teal-dark);
}

.rv2-page .rv2-benefit__sub {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--rv2-ink);
}

.rv2-page .rv2-benefit__text {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--rv2-text);
}

/* Prefixed: the page's figure/ul reset (.rv2-page figure, .rv2-page ul) would otherwise zero their spacing. */
.rv2-page .rv2-benefit__figure {
    margin-top: auto;
    padding-top: 24px;
}

.rv2-benefit__figure img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--rv2-line);
    background: #fff;
}

.rv2-page .rv2-benefit__figure figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: var(--rv2-text);
}

/* The badges at most the capability pages' sizes (round 228px wide, the shield 191x204), with the mockup's "+" and "→"
   between them; one grid, the pictures on the first row (centred, so the signs sit on their middle), the names on the
   second. Narrower cards shrink the tracks, in the same proportion. */
.rv2-page .rv2-badges {
    container: rv2-badges / inline-size;
    display: grid;
    /* The three badges share the width in the capability pages' proportion, round 228 : round 228 : shield 191
       (owner, 2026-12-05: "badgeurile nu au aceeasi dimensiune"). Equal minmax(0, 228px) / minmax(0, 191px) tracks
       all grew to the same width in a narrower card (173px at 1440), so the shield was drawn as wide as the round
       badges and 26% taller (173x185 against 173x147). The fr tracks keep the ratio at every width (183x156 and
       153x164 at 1440, optically the same size); the pictures stop at 228px and 191px in a wider column (991px). */
    grid-template-columns: minmax(0, 228fr) auto minmax(0, 228fr) auto minmax(0, 191fr);
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    /* In the middle of the card's free space, as the QuickScan sample (side by side the cards are one height). */
    margin-block: auto;
    padding-top: 24px;
    list-style: none;
}

.rv2-badge {
    display: contents;
}

.rv2-badge img {
    grid-row: 1;
    justify-self: center;
    display: block;
    width: 100%;
    max-width: 228px;
    height: auto;
    transition: transform .25s ease;
}

.rv2-page .rv2-badges > :nth-child(5) img {
    max-width: 191px;
}

/* The names: each on two lines (one word per line) unless all three fit on one line (below), so they always match.
   Centred under their badge; a name may run a little past its column (never into the next name). */
.rv2-page .rv2-badge span {
    grid-row: 2;
    align-self: start;
    justify-self: center;
    width: min-content;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    color: var(--rv2-ink);
}

/* All three names on one line from a 540px badge list (1240px+ side by side, 768-991 stacked); the phones' 12px
   names from 440px (below). Measured: the shield's name then runs at most 10px into the card's 24px padding. */
@container rv2-badges (min-width: 540px) {
    .rv2-page .rv2-badge span {
        width: max-content;
    }
}

@media (max-width: 767px) {
    @container rv2-badges (min-width: 440px) {
        .rv2-page .rv2-badge span {
            width: max-content;
        }
    }
}

.rv2-page .rv2-badges > :nth-child(1) > * {
    grid-column: 1;
}

.rv2-page .rv2-badges > :nth-child(2) {
    grid-column: 2;
}

.rv2-page .rv2-badges > :nth-child(3) > * {
    grid-column: 3;
}

.rv2-page .rv2-badges > :nth-child(4) {
    grid-column: 4;
}

.rv2-page .rv2-badges > :nth-child(5) > * {
    grid-column: 5;
}

.rv2-badges__join {
    grid-row: 1;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    color: var(--rv2-teal-dark);
}

/* As the capability pages' badges: a slight zoom on hover. */
@media (hover: hover) {
    .rv2-badge:hover img,
    .rv2-badge img:hover {
        transform: scale(1.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rv2-badge img {
        transition: none;
    }
}

/* ---------- Research Surveys: the five surveys ---------- */
.rv2-surveys {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.rv2-survey {
    border: 1px solid var(--rv2-line);
    background: #fff;
}

/* A survey row (user, 2026-11-20, UI/UX skill): the capability icon down the left; the name over Share; Take the
   Survey and "See Details" on the row's middle. The row is 16 + name 48 + 4 + Share 36 + 16 = 120px, so a 36px
   button sits 42px from the bottom: the button by its bottom margin (42 - 16), the summary (in <details>, never
   around the links) drawn up by 42 + 36 = 78px. Both are measured from the bottom, so they stay level. The icons are
   copies trimmed of their transparent margin (assets/research-v2/survey-icon-*.png), so 20px to the edge and 12px to
   the name are what shows. 56px (user, 2026-11-22: 88px was too big, back to 56). */
.rv2-survey__head {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-areas: "icon name take" "icon share take";
    align-items: center;
    gap: 4px 12px;
    padding: 16px 170px 16px 20px;
}

.rv2-survey__head .rv2-survey__icon {
    grid-area: icon;
    align-self: center;
}

.rv2-survey__head .rv2-survey__name {
    grid-area: name;
}

.rv2-survey__take {
    grid-area: take;
    align-self: end;
    min-height: 36px;
    margin: 0 0 26px 8px;
}

.rv2-survey__head .rv2-share {
    grid-area: share;
    justify-self: start;
}

.rv2-survey__icon {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.rv2-survey__name {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.rv2-page .rv2-survey__subtitle {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--rv2-text);
}

.rv2-share {
    display: flex;
    align-items: center;
    gap: 2px;
}

.rv2-page .rv2-share__label {
    margin-right: 6px;
    font-size: 12px;
    color: var(--rv2-text);
    white-space: nowrap;
}

.rv2-share__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: background-color .2s ease;
}

/* A little bigger (user, 2026-11-22: 18px, then 24px was too big, so half way) in the same 36px targets (44px on
   phones), so the row keeps its height. */
.rv2-share__link img {
    display: block;
    width: 21px;
    height: 21px;
}

.rv2-share__link:hover,
.rv2-share__link:focus-visible {
    background: var(--rv2-grey);
}

/* Teal outline: the row's action, quieter than the page's filled buttons. */
.rv2-btn--outline {
    border-color: var(--rv2-teal-dark);
    background: #fff;
    color: var(--rv2-teal-dark);
    white-space: nowrap;
}

.rv2-btn--outline:hover,
.rv2-btn--outline:focus-visible {
    background: var(--rv2-teal-dark);
    color: #fff;
    text-decoration: none;
}

/* "See Details": the <summary> on its own, drawn up onto the action bar beside the button; the bottom margin gives
   the room back, so the body (when open) starts under the head. */
.rv2-survey__toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: max-content;
    height: 36px;
    margin: -78px 0 42px auto;
    padding: 0 24px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    letter-spacing: .28px;
    color: var(--rv2-teal-dark);
    white-space: nowrap;
    cursor: pointer;
    list-style: none;
}

.rv2-survey__toggle::-webkit-details-marker {
    display: none;
}

.rv2-survey__toggle::after {
    content: '+';
    width: 16px;
    margin-left: 6px;
    font-size: 18px;
    line-height: 1;
    text-align: center;
}

.rv2-survey__details[open] .rv2-survey__toggle::after {
    content: '−';
}

.rv2-survey__less,
.rv2-survey__details[open] .rv2-survey__more {
    display: none;
}

.rv2-survey__details[open] .rv2-survey__less {
    display: inline;
}

.rv2-survey__toggle:hover > span:not(.rv2-visually-hidden) {
    text-decoration: underline;
}

/* Tablets: beside the buttons the subtitle would wrap and the row grow, so the name takes the full width on one line
   (also over the room kept for "See Details", 170 - 24px) and the buttons go on Share's line: the summary goes up
   16 + 36 = 52px. */
@media (min-width: 768px) and (max-width: 991px) {
    .rv2-survey__head {
        grid-template-areas: "icon name name" "icon share take";
    }

    .rv2-survey__head .rv2-survey__name {
        margin-right: -146px;
    }

    .rv2-survey__take {
        align-self: center;
        margin: 0 0 0 8px;
    }

    .rv2-survey__toggle {
        margin: -52px 0 16px auto;
    }
}

.rv2-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.rv2-survey__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 44px;
    margin: 0 24px 24px;
    padding: 24px;
    background: var(--rv2-grey);
}

/* The homepage capability cards' gradient (user, 2026-11-22): #151c1f down to the capability's colour, white text;
   the grey above stays as the fallback. */
.rv2-survey__body--tint {
    background: linear-gradient(180deg, #151c1f 0%, var(--rv2-cap) 100%);
}


.rv2-page .rv2-survey__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--rv2-ink);
}

.rv2-page .rv2-survey__body p {
    margin-top: 8px;
}

.rv2-page .rv2-survey__body .rv2-survey__examples {
    margin-top: 12px;
    font-weight: 500;
    color: var(--rv2-ink);
}

.rv2-page .rv2-survey__body .rv2-list {
    margin-top: 6px;
}

/* On the gradient every text in the open details is white: labels, paragraphs, "Sample questions", the list and its
   bullets (user, 2026-11-22). After the rules above, which set their own colours. */
.rv2-page .rv2-survey .rv2-survey__body--tint,
.rv2-page .rv2-survey .rv2-survey__body--tint * {
    color: #fff;
}

/* ---------- Research Surveys: Institutional Partners ---------- */
/* /ambassadors-network-v3's partner cards (assets/css/strategic-partner-cards.css; user, 2026-11-19): three across
   the container as there (410px wide on a 1278px row); each item stretches to its row. */
.rv2-page .rv2-partners {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* Equal rows too: stacked on phones, every card is as tall as the tallest (as in AN3's single row). */
    grid-auto-rows: 1fr;
    gap: 24px;
    width: 100%;
    margin: 24px 0;
    list-style: none;
    text-align: left;
}

/* ---------- Narrower screens ---------- */
@media (max-width: 1199px) {
    .rv2-pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 991px) {
    .rv2-cards,
    .rv2-benefits,
    .rv2-about-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .rv2-about-body__media {
        order: 0;
        justify-self: center;
    }

    .rv2-page .rv2-insights {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .rv2-director {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .rv2-director__copy {
        padding-bottom: 24px;
    }

    .rv2-director__photo {
        justify-self: center;
        width: min(320px, 100%);
        padding-top: 0;
    }

    /* The picture above the copy. */
    .rv2-partner-band {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .rv2-partner-band__image {
        justify-self: start;
    }

    /* The image behind the copy, darkened, once the copy covers the band. */
    .rv2-hero--outlook::after,
    .rv2-hero::after {
        background: rgba(5, 23, 38, .82);
    }
}

@media (max-width: 767px) {
    .rv2-page .rv2-hero__title {
        font-size: 24px;
        line-height: 33px;
    }

    .rv2-page .rv2-title {
        font-size: 20px;
    }


    .rv2-hero {
        min-height: 0;
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .rv2-btn {
        min-height: 44px;
        white-space: normal;
    }

    .rv2-pillars,
    .rv2-reports,
    /* One card under another, at the width of AN3's phone cards. */
    .rv2-page .rv2-partners {
        grid-template-columns: minmax(0, 1fr);
        max-width: 300px;
    }

    .rv2-page .rv2-badges {
        gap: 8px;
    }

    .rv2-page .rv2-badge span {
        font-size: 12px;
    }

    /* Phones: the open details keep what the survey covers and who should take part, without the sample questions
       (user, 2026-11-19). */
    .rv2-survey__questions {
        display: none;
    }

    /* A survey row: icon and name; Share; then Take the Survey with See Details beside it. 44px touch targets, so
       the summary goes up 12 + 44 = 56px. */
    .rv2-survey__head {
        grid-template-columns: 48px minmax(0, 1fr);
        grid-template-areas: "icon name" "share share" "take take";
        align-items: center;
        gap: 12px;
        padding: 16px 16px 12px;
    }

    .rv2-survey__icon {
        width: 48px;
        height: 48px;
    }

    .rv2-survey__take {
        justify-self: start;
        min-height: 44px;
        margin: 0;
    }

    .rv2-survey__head .rv2-share {
        justify-self: start;
    }

    .rv2-share__link {
        width: 44px;
        height: 44px;
    }

    .rv2-survey__toggle {
        height: 44px;
        margin: -56px 0 12px auto;
        padding: 0 16px;
    }

    .rv2-survey__body {
        grid-template-columns: minmax(0, 1fr);
        margin: 0 16px 16px;
        padding: 16px;
    }
}

/* The smallest phones: Take the Survey and See Details still side by side. */
@media (max-width: 360px) {
    .rv2-survey__take {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 13px;
    }

    .rv2-survey__toggle {
        padding: 0 10px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rv2-page *,
    .rv2-page *::before,
    .rv2-page *::after {
        transition: none !important;
    }
}

@media (max-width: 767px) {
    /* Benefit cards on phones: the same steps, one size down (still above the page's 14px copy). */
    .rv2-page .rv2-benefit__title {
        font-size: 18px;
    }

    .rv2-page .rv2-benefit__highlight {
        font-size: 26px;
    }

    .rv2-page .rv2-benefit__sub {
        font-size: 16px;
    }

    .rv2-page .rv2-benefit__text {
        font-size: 15px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .rv2-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    /* The QuickScan sample in the middle of the free space (user, 2026-11-23): side by side the card is as tall as the
       Academy one; the figure takes the free height and centres the screenshot (its own size) with its caption. The
       figure's 24px top padding mirrors the card's 24px bottom padding, so the space above = the space below. */
    .rv2-page .rv2-benefit__figure {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        justify-content: center;
    }
}
