/* ==========================================================================
   rs-company.css (2026-11-08): three shared company blocks
     .rs-vp     Valuation, Engineered: the in-house valuation platform as a product, on a
                dark brand band with a phone (includes/valuation-platform.php + rs-valtech.js)
     .rs-cu     United by Our Culture: a five-photo mosaic (includes/culture-mosaic.php)
     .rs-ctrio  Explore Careers: three ruled columns (includes/careers-trio.php)
   Each block takes the host page's section and wrapper classes, so gutters and the
   section rhythm stay the page's own. Tokens follow the site theme: "Helvetica Neue" /
   Inter, ink #0a1230, body #4a5568, blue #0b2dbe, navy #06176e, hairlines #d9e0ec,
   mist #f3f6fc, square edges. Prefixes checked against bundle.css (.rs-ct is taken).
   ========================================================================== */

.rs-vp,
.rs-cu,
.rs-ctrio {
    --rc-ink: #0a1230;
    --rc-text: #4a5568;
    --rc-muted: #6b7489;
    --rc-blue: #0b2dbe;
    --rc-navy: #06176e;
    --rc-line: #d9e0ec;
    --rc-mist: #f3f6fc;
    --rc-ease: cubic-bezier(.65, 0, .2, 1);
    font-family: "Helvetica Neue", "Inter", Helvetica, Arial, sans-serif;
    color: var(--rc-ink);
    letter-spacing: -.01em;
}

.rs-vp *,
.rs-cu *,
.rs-ctrio * {
    box-sizing: border-box;
}

:where(.rs-vp, .rs-cu, .rs-ctrio) :where(h2, h3, p, ul, ol, dl, dd, figure) {
    margin: 0;
}

:where(.rs-vp, .rs-cu, .rs-ctrio) :where(ul, ol) {
    padding: 0;
    list-style: none;
}

/* split heading shared by the blocks: title left, one line (and an action) right, top-aligned */
.rs-cb__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px 64px;
    align-items: start;
    margin-bottom: 36px;
}

.rs-cb__title {
    max-width: 12em;
    font-size: clamp(28px, 2.7vw, 40px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--rc-ink);
    text-wrap: balance;
}

.rs-cb__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-top: 6px;
}

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

.rs-cb__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 48px;
    padding: 0 22px;
    border: 1px solid var(--rc-blue);
    background: var(--rc-blue);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1;
    color: #fff !important;
    text-decoration: none !important;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

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

.rs-cb__btn:hover {
    border-color: var(--rc-navy);
    background: var(--rc-navy);
}

.rs-cb__btn:hover svg {
    transform: translateX(4px);
}

.rs-cb__btn--white {
    border-color: #fff;
    background: #fff;
    color: var(--rc-blue) !important;
}

.rs-cb__btn--white:hover {
    border-color: #fff;
    background: var(--rc-mist);
    color: var(--rc-navy) !important;
}

.rs-cb__btn--line {
    border-color: rgba(255, 255, 255, .7);
    background: transparent;
    color: #fff !important;
}

.rs-cb__btn--line:hover {
    border-color: #fff;
    background: #fff;
    color: var(--rc-blue) !important;
}

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

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

.rs-cb__link:hover {
    color: var(--rc-navy) !important;
}

.rs-cb__link:hover svg {
    transform: translateX(4px);
}

/* ═══════════ 1. Valuation, Engineered: a product on a dark brand band ═══════════ */
.rs-vp {
    position: relative;
    padding: clamp(64px, 7vw, 112px) 0 0;
    overflow: hidden;
    background: var(--rc-navy);
    color: #fff;
    isolation: isolate;
}

/* the moving brand abstract fills the band; a deep shade on the left keeps the copy crisp */
.rs-vp__abs {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.rs-vp > .rs-vp__abs.rs-abstract {
    position: absolute;
}

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

.rs-vp::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(4, 14, 80, .78) 0%, rgba(4, 14, 80, .55) 46%, rgba(4, 14, 80, .12) 100%),
        linear-gradient(0deg, rgba(4, 14, 80, .45) 0%, rgba(4, 14, 80, 0) 40%);
    pointer-events: none;
}

.rs-vp > :not(.rs-vp__abs) {
    position: relative;
    z-index: 2;
}

.rs-vp__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 64px;
    align-items: stretch;
}

.rs-vp__copy {
    display: flex;
    flex-direction: column;
    padding-bottom: clamp(64px, 7vw, 112px);
}

/* the product mark: a geometric monogram, the wordmark, its descriptor */
.rs-vp__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 22px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.rs-vp__mark {
    position: relative;
    display: block;
    flex: none;
    width: 34px;
    height: 34px;
    border: 1.5px solid #fff;
}

.rs-vp__mark::before,
.rs-vp__mark::after {
    content: "";
    position: absolute;
    background: #fff;
}

.rs-vp__mark::before {
    left: 7px;
    top: 7px;
    width: 9px;
    height: 9px;
}

.rs-vp__mark::after {
    right: 7px;
    bottom: 7px;
    width: 9px;
    height: 9px;
    opacity: .55;
}

.rs-vp__wordmark {
    font-size: 19px;
    font-weight: 400;
    letter-spacing: -.01em;
    color: #fff;
}

.rs-vp__wordmark b {
    font-weight: 600;
}

.rs-vp__ver {
    margin-left: auto;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, .34);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .86);
    white-space: nowrap;
}

.rs-vp__title {
    max-width: 11em;
    font-size: clamp(34px, 3.6vw, 54px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.03em;
    color: #fff;
    text-wrap: balance;
}

.rs-vp__line {
    max-width: 32em;
    margin-top: 18px !important;
    font-size: clamp(16px, 1.15vw, 17.5px);
    line-height: 1.6;
    color: rgba(255, 255, 255, .82);
}

/* three facts on one hairline */
.rs-vp__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 34px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .3);
}

.rs-vp__facts div {
    display: flex;
    flex-direction: column;
    padding: 16px 18px 0 0;
}

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

.rs-vp__facts dd {
    font-size: clamp(24px, 2vw, 30px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.03em;
    color: #fff;
    white-space: nowrap;
}

.rs-vp__facts dt {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, .66);
}

/* the four capabilities: a ruled index in step with the phone */
.rs-vp__steps {
    margin-top: 40px;
}

.rs-vp__step {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 3px 12px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
    cursor: pointer;
}

.rs-vp__step:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.rs-vp__num {
    grid-row: span 2;
    padding-top: 4px;
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, .7);
}

.rs-vp__stept {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -.015em;
    color: #fff;
    transition: color .3s ease;
}

.rs-vp__stepl {
    max-width: 30em;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .72);
    transition: color .3s ease;
}

/* the hairline above the active step fills over the scene */
.rs-vp__fill {
    position: absolute;
    left: 0;
    top: -1px;
    width: 100%;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: 0 50%;
}

.rs-vp.is-run .rs-vp__step.is-on .rs-vp__fill {
    animation: rsvFill 4.2s linear forwards;
}

.rs-vp.is-run .rs-vp__step.is-done .rs-vp__fill {
    transform: scaleX(1);
}

.rs-vp:not(.is-run) .rs-vp__step:nth-child(3) .rs-vp__fill {
    transform: scaleX(1);
}

@keyframes rsvFill {
    to { transform: scaleX(1); }
}

.rs-vp.is-run .rs-vp__step:not(.is-on) .rs-vp__stept {
    color: rgba(255, 255, 255, .78);
}

.rs-vp.is-run .rs-vp__step:not(.is-on) .rs-vp__stepl {
    color: rgba(255, 255, 255, .5);
}

.rs-vp__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

/* ---------- the stage: the phone rises from the band's bottom edge, two glass chips beside it ---------- */
.rs-vp__stage {
    position: relative;
    min-height: 640px;
}

.rs-vp__phone {
    position: absolute;
    left: 50%;
    bottom: -34px;
    width: 300px;
    height: 620px;
    padding: 12px;
    border-radius: 46px;
    background: #0b1230;
    box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, .14),
        0 60px 100px -34px rgba(1, 6, 40, .9),
        0 0 0 1px rgba(255, 255, 255, .1);
    transform: translateX(-50%);
    transition: transform 1.4s var(--rc-ease);
}

/* a soft reflection along the top-left of the frame */
.rs-vp__phone::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 38%);
    pointer-events: none;
}

.rs-vp.is-run .rs-vp__phone {
    transform: translateX(-50%) translateY(-8px);
}

.rs-vp__island {
    position: absolute;
    top: 22px;
    left: 50%;
    z-index: 2;
    width: 88px;
    height: 24px;
    border-radius: 12px;
    background: #0b1230;
    transform: translateX(-50%);
}

.rs-vp__screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 36px;
    background: #fff;
    color: var(--rc-ink);
}

.rs-vp__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 14px 24px 0;
    font-size: 12.5px;
    font-weight: 600;
}

.rs-vp__sig {
    display: inline-flex;
    gap: 4px;
    align-items: flex-end;
}

.rs-vp__sig i {
    display: block;
    width: 3px;
    height: 6px;
    background: var(--rc-ink);
}

.rs-vp__sig i:nth-child(2) { height: 8px; }
.rs-vp__sig i:nth-child(3) { height: 10px; }
.rs-vp__sig i:nth-child(4) { height: 12px; }

/* the app frame: the product mark and name, then the four-stage rail */
.rs-vp__app {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 6px 18px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rc-line);
}

.rs-vp__app i {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--rc-blue);
}

.rs-vp__app i::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 5px;
    height: 5px;
    background: var(--rc-blue);
}

.rs-vp__app b {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -.01em;
}

.rs-vp__app b strong {
    font-weight: 600;
}

.rs-vp__app span {
    margin-left: auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--rc-blue);
    box-shadow: inset 0 0 0 7px #fff, inset 0 0 0 8px var(--rc-blue);
}

.rs-vp__rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin: 12px 18px 0;
}

.rs-vp__rail span {
    display: block;
    padding-top: 6px;
    border-top: 2px solid var(--rc-line);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--rc-muted);
    transition: border-color .4s ease, color .4s ease;
}

.rs-vp__rail span.is-on,
.rs-vp:not(.is-run) .rs-vp__rail span:nth-child(-n + 3) {
    border-top-color: var(--rc-blue);
    color: var(--rc-ink);
}

.rs-vp__panes {
    position: relative;
    height: calc(100% - 128px);
}

.rs-vp__pane {
    position: absolute;
    inset: 0;
    padding: 16px 18px 0;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s var(--rc-ease), transform .7s var(--rc-ease);
    pointer-events: none;
}

/* without the script (or with reduced motion) the valuation screen simply stands there */
.rs-vp:not(.is-run) .rs-vp__pane--value,
.rs-vp.is-run .rs-vp__pane.is-on {
    opacity: 1;
    transform: none;
}

.rs-vp__h {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.rs-vp__s {
    margin-top: 3px !important;
    font-size: 12px;
    color: var(--rc-muted);
}

/* survey: three photo tiles capture one after another */
.rs-vp__photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 16px;
}

.rs-vp__photos i {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(160deg, #9fb1f0 0%, #2a4fd6 60%, #061861 100%);
}

.rs-vp__photos i:nth-child(2) {
    background: linear-gradient(200deg, #c6d1f7 0%, #3d5fe0 55%, #0b2dbe 100%);
}

.rs-vp__photos i:nth-child(3) {
    background: linear-gradient(140deg, #dfe7fb 0%, #6f8be8 50%, #0a27a3 100%);
}

.rs-vp__photos i::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
}

.rs-vp__photos i::after {
    content: "";
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230b2dbe' stroke-width='2'%3E%3Cpath d='M2.5 6.5 5 9l4.5-5.5'/%3E%3C/svg%3E") center / 9px no-repeat;
    opacity: 0;
    transform: scale(.6);
}

.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__photos i::before {
    animation: rsvFlash .5s ease forwards;
}

.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__photos i::after {
    animation: rsvPop .4s var(--rc-ease) forwards;
}

.rs-vp__photos i:nth-child(1)::before { animation-delay: .5s !important; }
.rs-vp__photos i:nth-child(2)::before { animation-delay: 1.3s !important; }
.rs-vp__photos i:nth-child(3)::before { animation-delay: 2.1s !important; }
.rs-vp__photos i:nth-child(1)::after { animation-delay: .9s !important; }
.rs-vp__photos i:nth-child(2)::after { animation-delay: 1.7s !important; }
.rs-vp__photos i:nth-child(3)::after { animation-delay: 2.5s !important; }

@keyframes rsvFlash {
    0% { opacity: 0; }
    30% { opacity: .9; }
    100% { opacity: 0; }
}

@keyframes rsvPop {
    to { opacity: 1; transform: scale(1); }
}

/* check lists: rows with a tick that pops in, one after another */
.rs-vp__list {
    margin-top: 16px;
}

.rs-vp__list li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--rc-line);
    font-size: 12.5px;
    color: var(--rc-text);
}

.rs-vp__list li:last-child {
    border-bottom: 1px solid var(--rc-line);
}

.rs-vp__list li::after {
    content: "";
    flex: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--rc-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M2.5 6.5 5 9l4.5-5.5'/%3E%3C/svg%3E") center / 10px no-repeat;
    opacity: 0;
    transform: scale(.5);
}

.rs-vp:not(.is-run) .rs-vp__list li::after {
    opacity: 1;
    transform: none;
}

.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__list li::after {
    animation: rsvPop .35s var(--rc-ease) forwards;
}

.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__list li:nth-child(1)::after { animation-delay: .9s; }
.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__list li:nth-child(2)::after { animation-delay: 1.5s; }
.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__list li:nth-child(3)::after { animation-delay: 2.1s; }
.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__list li:nth-child(4)::after { animation-delay: 2.7s; }

.rs-vp.is-run .rs-vp__pane--survey.is-on .rs-vp__list li:nth-child(1)::after { animation-delay: 2.8s; }
.rs-vp.is-run .rs-vp__pane--survey.is-on .rs-vp__list li:nth-child(2)::after { animation-delay: 3.1s; }
.rs-vp.is-run .rs-vp__pane--survey.is-on .rs-vp__list li:nth-child(3)::after { animation-delay: 3.4s; }

.rs-vp__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 9px 14px;
    background: var(--rc-ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
}

.rs-vp__badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
}

.rs-vp:not(.is-run) .rs-vp__badge {
    opacity: 1;
    transform: none;
}

.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__badge {
    animation: rsvIn .5s var(--rc-ease) 3.2s forwards;
}

@keyframes rsvIn {
    to { opacity: 1; transform: none; }
}

/* valuation: the figure, three comparable bars, two facts */
.rs-vp__amt {
    margin-top: 16px !important;
    font-size: 13px;
    font-weight: 500;
    color: var(--rc-muted);
}

.rs-vp__amt b {
    display: block;
    margin-top: 2px;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.03em;
    color: var(--rc-ink);
    font-variant-numeric: tabular-nums;
}

.rs-vp__bars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
    height: 92px;
    margin-top: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rc-line);
}

.rs-vp__bars span {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.rs-vp__bars i {
    display: block;
    height: calc(var(--v) * 100%);
    background: var(--rc-blue);
    transform-origin: 50% 100%;
    transform: scaleY(0);
}

.rs-vp__bars span:nth-child(2) i { background: #5b74e8; }
.rs-vp__bars span:nth-child(3) i { background: #a9b8f2; }

.rs-vp__bars em {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 4px;
    font-size: 10.5px;
    font-style: normal;
    color: var(--rc-muted);
}

.rs-vp:not(.is-run) .rs-vp__bars i {
    transform: none;
}

.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__bars i {
    animation: rsvRise .9s var(--rc-ease) forwards;
}

.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__bars span:nth-child(1) i { animation-delay: .5s; }
.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__bars span:nth-child(2) i { animation-delay: .7s; }
.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__bars span:nth-child(3) i { animation-delay: .9s; }

@keyframes rsvRise {
    to { transform: scaleY(1); }
}

.rs-vp__kv {
    margin-top: 10px;
}

.rs-vp__kv li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--rc-line);
    font-size: 12.5px;
    color: var(--rc-muted);
}

.rs-vp__kv b {
    font-weight: 500;
    color: var(--rc-ink);
}

/* management: instruction rows and their status pills */
.rs-vp__rows {
    margin-top: 14px;
}

.rs-vp__rows li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--rc-line);
    font-size: 12.5px;
    color: var(--rc-ink);
    opacity: 0;
    transform: translateX(10px);
}

.rs-vp__rows li:last-child {
    border-bottom: 1px solid var(--rc-line);
}

.rs-vp__rows small {
    display: block;
    font-size: 11px;
    color: var(--rc-muted);
}

.rs-vp__rows em {
    flex: none;
    padding: 4px 9px;
    border: 1px solid var(--rc-line);
    font-size: 10.5px;
    font-style: normal;
    font-weight: 500;
    color: var(--rc-text);
}

.rs-vp__rows em[data-st="3"] {
    border-color: var(--rc-blue);
    background: var(--rc-blue);
    color: #fff;
}

.rs-vp__rows em[data-st="2"] {
    border-color: var(--rc-blue);
    color: var(--rc-blue);
}

.rs-vp:not(.is-run) .rs-vp__rows li {
    opacity: 1;
    transform: none;
}

.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__rows li {
    animation: rsvIn .5s var(--rc-ease) forwards;
}

.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__rows li:nth-child(1) { animation-delay: .4s; }
.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__rows li:nth-child(2) { animation-delay: .6s; }
.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__rows li:nth-child(3) { animation-delay: .8s; }
.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__rows li:nth-child(4) { animation-delay: 1s; }

.rs-vp__rows em[data-flip] {
    position: relative;
    overflow: hidden;
}

.rs-vp__rows em[data-flip]::after {
    content: attr(data-flip);
    position: absolute;
    inset: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rc-blue);
    color: #fff;
    transform: translateY(100%);
}

.rs-vp.is-run .rs-vp__pane.is-on .rs-vp__rows em[data-flip]::after {
    animation: rsvFlip .45s var(--rc-ease) 2.6s forwards;
}

@keyframes rsvFlip {
    to { transform: none; }
}

.rs-vp__kpi {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 16px;
}

.rs-vp__kpi b {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -.03em;
    white-space: nowrap;
}

.rs-vp__kpi span {
    font-size: 12px;
    color: var(--rc-muted);
}

/* two glass chips float beside the phone */
.rs-vp__chip {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(8, 24, 120, .34);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 50px -24px rgba(2, 8, 50, .7);
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .8s var(--rc-ease), transform .8s var(--rc-ease);
}

.rs-vp__chip small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, .7);
}

.rs-vp__chip::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}

.rs-vp__chip--a {
    left: 0;
    top: 30%;
}

.rs-vp__chip--b {
    right: 0;
    top: 58%;
}

.rs-vp:not(.is-run) .rs-vp__chip,
.rs-vp.is-run .rs-vp__chip.is-on {
    opacity: 1;
    transform: none;
}

/* ═══════════ 2. United by Our Culture ═══════════ */
.rs-cu .rs-cb__title {
    max-width: 11em;
}

.rs-cu__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "a c d"
        "b c e";
    gap: 16px;
}

.rs-cu__cell {
    position: relative;
    overflow: hidden;
    background: var(--rc-mist);
}

.rs-cu__cell:nth-child(1) { grid-area: a; aspect-ratio: 4 / 3; }
.rs-cu__cell:nth-child(2) { grid-area: b; aspect-ratio: 4 / 3; }
.rs-cu__cell:nth-child(3) { grid-area: c; }
.rs-cu__cell:nth-child(4) { grid-area: d; aspect-ratio: 4 / 3; }
.rs-cu__cell:nth-child(5) { grid-area: e; aspect-ratio: 4 / 3; }

.rs-cu__cell img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--rc-ease);
}

.rs-cu__cell:hover img {
    transform: scale(1.03);
}

.rs-cu__cap {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 40px 18px 16px;
    background: linear-gradient(0deg, rgba(10, 18, 48, .55) 0%, rgba(10, 18, 48, 0) 100%);
    font-size: 13.5px;
    color: #fff;
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}

.rs-cu__cap b {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, .78);
}

.rs-cu__cell:hover .rs-cu__cap,
.rs-cu__cell:focus-within .rs-cu__cap {
    opacity: 1;
}

.rs-cu__ph {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 18px;
    border: 1px solid var(--rc-line);
    background:
        linear-gradient(135deg, rgba(11, 45, 190, .07) 0%, rgba(11, 45, 190, 0) 55%),
        var(--rc-mist);
}

.rs-cu__ph::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 46px;
    height: 1px;
    background: var(--rc-line);
}

.rs-cu__phn {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--rc-blue);
}

.rs-cu__phl {
    font-size: 13.5px;
    color: var(--rc-muted);
}

/* ═══════════ 3. Explore Careers: a ruled ledger, the heading in its first cell ═══════════ */
.rs-ctrio__ledger {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--rc-line);
    border-bottom: 1px solid var(--rc-line);
}

.rs-ctrio__lead {
    display: flex;
    flex-direction: column;
    padding: 32px 36px 32px 0;
}

.rs-ctrio__lead .rs-cb__title {
    max-width: 9em;
}

.rs-ctrio__lead .rs-cb__line {
    margin-top: 16px !important;
    max-width: 24em;
}

.rs-ctrio__lead .rs-cb__link {
    margin-top: auto;
    padding-top: 28px;
}

.rs-ctrio__col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 32px 0 32px 32px;
    border-left: 1px solid var(--rc-line);
    color: inherit !important;
    text-decoration: none !important;
}

.rs-ctrio__col:not(:last-child) {
    padding-right: 32px;
}

.rs-ctrio__photo {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--rc-mist);
}

.rs-ctrio__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--rc-ease);
}

.rs-ctrio__col:hover .rs-ctrio__photo img {
    transform: scale(1.03);
}

.rs-ctrio__t {
    margin-top: 22px !important;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.015em;
    color: var(--rc-ink);
}

.rs-ctrio__l {
    margin-top: 10px !important;
    font-size: 15px;
    line-height: 1.6;
    color: var(--rc-text);
}

.rs-ctrio__go {
    margin-top: auto;
    padding-top: 22px;
}

.rs-ctrio__col:hover .rs-cb__link svg {
    transform: translateX(4px);
}

/* ═══════════ Motion: blocks settle in once ═══════════ */
.rs-js [data-rc-in] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .8s var(--rc-ease), transform .8s var(--rc-ease);
}

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

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

    .rs-vp__phone,
    .rs-vp__pane,
    .rs-vp__chip {
        transition: none;
    }
}

/* ═══════════ Laptop / tablet ═══════════ */
@media (max-width: 1199px) {
    .rs-vp__grid {
        gap: 40px;
    }

    .rs-ctrio__col {
        padding-left: 22px;
    }

    .rs-ctrio__col:not(:last-child) {
        padding-right: 22px;
    }

    .rs-ctrio__lead {
        padding-right: 22px;
    }
}

@media (max-width: 991px) {
    .rs-cb__head {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 28px;
    }

    .rs-cb__aside {
        padding-top: 0;
    }

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

    .rs-vp__copy {
        padding-bottom: 48px;
    }

    .rs-vp__stage {
        min-height: 560px;
    }

    .rs-cu__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "c c"
            "a d"
            "b e";
        gap: 16px;
    }

    .rs-cu__cell:nth-child(3) {
        aspect-ratio: 16 / 9;
    }

    /* the ledger folds: heading across the top, the three columns under it */
    .rs-ctrio__ledger {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rs-ctrio__lead {
        grid-column: 1 / -1;
        padding: 28px 0 24px;
        border-bottom: 1px solid var(--rc-line);
    }

    .rs-ctrio__lead .rs-cb__link {
        margin-top: 0;
        padding-top: 18px;
    }

    .rs-ctrio__col {
        padding: 24px 0 28px 20px;
    }

    .rs-ctrio__col:not(:last-child) {
        padding-right: 20px;
    }

    .rs-ctrio__col:first-of-type {
        padding-left: 0;
        border-left: 0;
    }
}

/* ═══════════ Phones ═══════════ */
@media (max-width: 767px) {
    .rs-cb__title {
        font-size: 26px;
    }

    .rs-cb__line {
        font-size: 15px;
    }

    .rs-vp {
        padding-top: 48px;
    }

    .rs-vp__brand {
        gap: 10px;
        padding-bottom: 16px;
        margin-bottom: 22px;
    }

    .rs-vp__wordmark {
        font-size: 17px;
    }

    .rs-vp__ver {
        font-size: 11px;
    }

    .rs-vp__title {
        font-size: 32px;
    }

    .rs-vp__facts div {
        padding: 12px 10px 0 0;
    }

    .rs-vp__facts div + div {
        padding-left: 10px;
    }

    .rs-vp__facts dd {
        font-size: 20px;
    }

    .rs-vp__facts dt {
        font-size: 12px;
    }

    .rs-vp__steps {
        margin-top: 28px;
    }

    .rs-vp__step {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 2px 8px;
        padding: 14px 0;
    }

    .rs-vp__stept {
        font-size: 17px;
    }

    .rs-vp__stepl {
        font-size: 14px;
    }

    .rs-vp__foot {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .rs-vp__copy {
        padding-bottom: 36px;
    }

    .rs-vp__stage {
        min-height: 500px;
    }

    .rs-vp__phone {
        width: 250px;
        height: 520px;
        bottom: -90px;
        padding: 10px;
        border-radius: 38px;
    }

    .rs-vp__screen {
        border-radius: 30px;
    }

    .rs-vp__chip {
        padding: 10px 12px;
        font-size: 12px;
    }

    .rs-vp__chip--a {
        left: 0;
        top: 10px;
    }

    .rs-vp__chip--b {
        right: 0;
        top: 10px;
    }

    .rs-cu__grid {
        gap: 10px;
    }

    .rs-cu__ph {
        padding: 12px;
    }

    .rs-cu__ph::after {
        left: 12px;
        right: 12px;
        bottom: 38px;
    }

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

    .rs-ctrio__lead {
        padding: 22px 0 20px;
    }

    .rs-ctrio__col,
    .rs-ctrio__col:first-of-type,
    .rs-ctrio__col:not(:last-child) {
        padding: 20px 0;
        border-left: 0;
        border-top: 1px solid var(--rc-line);
    }

    .rs-ctrio__t {
        margin-top: 16px !important;
        font-size: 19px;
    }

    .rs-ctrio__l {
        font-size: 14.5px;
    }

    .rs-ctrio__go {
        padding-top: 14px;
    }
}
