/* Valunxt UK: Dubai Property Advisory page.
   Loaded after the theme sheets (type.css). Everything is scoped to this
   page's own classes, so no other page changes.

     0. Hero                (.rm-hero--ribbon, .vx-ribbon: the moving data ribbon)
     1. Overview            (.rm-ov)
     2. Scope               (.rm-scope--v2, the standard scope block, made compact)
     3. How Dubai advisory runs (.rm-flow2) and 4. What you receive (.rm-recv):
        card rows with previous / next that also move on their own (.rm-cnav, .rm-cbtn)
     4. What you receive    (.rm-recv)
     5. Where this connects (.rm-rel)
     6. FAQ                 (.rm-dfaq)
     7. 50px above and below every section; square corners everywhere after the hero

   Scroll-in uses the site's own [data-rise] reveal (bf.js). Hover and focus
   states are CSS. Under prefers-reduced-motion nothing moves. */

/* ---------- 0. Hero: the data ribbon ----------
   The hero's picture is a live drawing (vx-ribbon.js): a ribbon of coloured
   bars twisting slowly on deep navy, after the client's reference film. The
   <img> under it is the first frame of the same scene: it shows at once,
   and stays where the script or WebGL is not available. */
.rm-hero--ribbon { background: #020a44; }
/* A compact hero: the text column is wide (up to 920px), so the heading, the line under it
   and the paragraph take few lines, and the gaps are moderate: about 590px tall on a
   1440px-wide window (the standard hero is about 770px; the first compact version, 496px,
   was too tight). */
.rm-hero.rm-hero--ribbon { min-height: 0; }
.rm-hero--ribbon .rm-hero__in { padding-top: clamp(124px, 10.6vw, 152px); padding-bottom: clamp(56px, 6.2vw, 90px); }
.rm-hero--ribbon .rm-crumbs { margin-bottom: 20px; }
.rm-hero--ribbon .rm-hero__eyebrow { margin-bottom: 16px; }
.rm-hero.rm-hero--ribbon .rm-hero__title { max-width: min(100%, 920px); }
.rm-hero--ribbon .rm-hero__sub { max-width: min(100%, 880px); margin-top: 16px; }
.rm-hero--ribbon .rm-hero__lead { max-width: min(100%, 880px); margin-top: 22px; }
.rm-hero--ribbon .rm-hero__actions { margin-top: 40px; }
.rm-hero--ribbon .rm-hero__media img { object-position: 50% 50%; }
.vx-ribbon { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.vx-ribbon__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .9s ease; }
.vx-ribbon.is-ready .vx-ribbon__canvas { opacity: 1; }
.vx-ribbon.is-static .vx-ribbon__canvas { display: none; }
/* a navy shade on the left only, so the copy reads over the soft end of the ribbon */
.rm-hero--ribbon .rm-hero__media::after { background: linear-gradient(90deg, rgba(1, 4, 36, .7) 0%, rgba(1, 4, 36, .5) 36%, rgba(1, 4, 36, .2) 60%, rgba(1, 4, 36, 0) 78%), linear-gradient(180deg, rgba(1, 4, 36, .5) 0%, rgba(1, 4, 36, 0) 30%, rgba(1, 4, 36, 0) 82%, rgba(1, 4, 36, .28) 100%); }
@media (max-width: 767px) {
    .rm-hero--ribbon .rm-hero__in { padding-top: 116px; padding-bottom: 54px; }
    .rm-hero--ribbon .rm-crumbs { margin-bottom: 18px; }
    .rm-hero--ribbon .rm-hero__actions { margin-top: 32px; }
    .rm-hero--ribbon .rm-hero__media::after { background: linear-gradient(180deg, rgba(1, 4, 36, .62) 0%, rgba(1, 4, 36, .5) 55%, rgba(1, 4, 36, .62) 100%); }
}
@media (prefers-reduced-motion: reduce) { .vx-ribbon__canvas { transition: none; } }

/* ---------- 1. Overview ---------- */
.rm-ov__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5.5vw, 96px); align-items: center; }
.rm-ov__media { position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--navy); }
.rm-ov__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 63% 50%; transform: scale(1.07); transition: transform 1.8s var(--out, cubic-bezier(.16, 1, .3, 1)); }
.rm-ov__media.is-in img { transform: none; }
.rm-ov__cap { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, .24); background: rgba(8, 14, 40, .42); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); color: #fff; }
.rm-ov__cap small { display: block; margin-bottom: 2px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.rm-ov__cap b { font-size: 18px; font-weight: 400; letter-spacing: -.015em; }
.rm-ov__body .rm-label { margin-bottom: 14px; }
.rm-ov__body .rm-h2 { max-width: 18ch; margin: 0 0 22px; }
.rm-ov__lead { max-width: 62ch; font-size: 17.5px; line-height: 1.65; color: var(--body); }
.rm-ov .rm-ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; max-width: none; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.rm-ov .rm-ticks li { font-size: 15.5px; line-height: 1.45; }
.rm-ov .rm-ticks .rm-tick { color: var(--blue); }

/* Four points, set like the "What sets us apart" row on the group site: a large line icon, a heading and
   a short paragraph, no borders. Each sits on a light blue panel, the icon on a deeper blue square. */
.rm-ov .bf-feats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 4.6vw, 68px); }
.rm-ov .bf-feats li {
    position: relative; padding: clamp(26px, 2.4vw, 36px) clamp(22px, 2.2vw, 32px) clamp(28px, 2.6vw, 38px); border: 0; background: #eef3ff;
    transition: opacity .4s var(--ease), transform .5s var(--out, cubic-bezier(.16, 1, .3, 1)), background-color .35s var(--ease);
    transition-delay: var(--d, 0ms), var(--d, 0ms), 0s;
}
.rm-ov .bf-feats li.is-in { transition-delay: 0s; }
.rm-ov .bf-feats li:hover { background: #e4ecff; }
.bf-anim .rm-ov .bf-feats li.is-in:hover { transform: translateY(-4px); }
.rm-ov .bf-feats svg { box-sizing: border-box; width: 68px; height: 68px; padding: 16px; margin-bottom: 26px; background: #d9e4ff; color: var(--blue); stroke-width: 1.3; }
.rm-ov .bf-feats h3 { margin-bottom: 10px; font-size: clamp(20px, 1.6vw, 24px); font-weight: 400; letter-spacing: -.015em; line-height: 1.25; color: var(--navy); }
.rm-ov .bf-feats p { font-size: 16px; line-height: 1.6; color: var(--body); }

/* ---------- 2. Scope: compact, aligned, animated ---------- */
.rm-scope--v2 .rm-head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(18px, 2vw, 28px); padding-top: 0; border-top: 0; }
.rm-scope--v2 .rm-head .rm-h2 { margin-bottom: 0; font-size: clamp(28px, 2.8vw, 40px); }
.rm-scope--v2 .rm-head__side p { max-width: 40ch; margin: 0; }
.rm-scope--v2 .rm-scope__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: stretch; }
.rm-scope--v2 .rm-scope__list { counter-reset: sc; align-self: start; }
.rm-scope--v2 .rm-scope__item { position: relative; counter-increment: sc; }
.rm-scope--v2 .rm-scope__item::before { content: ""; position: absolute; left: -14px; top: 0; bottom: -1px; width: 2px; background: #fff; transform: scaleY(0); transform-origin: top; transition: transform .5s var(--out, cubic-bezier(.16, 1, .3, 1)); }
.rm-scope--v2 .rm-scope__item.is-open::before { transform: scaleY(1); }
.rm-scope--v2 .rm-scope__item button { padding: 14px 0; font-size: clamp(18px, 1.5vw, 22px); }
.rm-scope--v2 .rm-scope__item button span { display: flex; align-items: baseline; gap: 16px; }
.rm-scope--v2 .rm-scope__item button span::before { content: counter(sc, decimal-leading-zero); min-width: 22px; font-size: 12px; letter-spacing: .08em; font-variant-numeric: tabular-nums; opacity: .55; }
.rm-scope--v2 .rm-scope__panel { transition: grid-template-rows .55s var(--out, cubic-bezier(.16, 1, .3, 1)); }
.rm-scope--v2 .rm-scope__panel p, .rm-scope--v2 .rm-scope__tags li { opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .45s var(--out, cubic-bezier(.16, 1, .3, 1)); }
.rm-scope--v2 .rm-scope__item.is-open .rm-scope__panel p { opacity: 1; transform: none; transition-delay: .12s; }
.rm-scope--v2 .rm-scope__item.is-open .rm-scope__tags li { opacity: 1; transform: none; }
.rm-scope--v2 .rm-scope__item.is-open .rm-scope__tags li:nth-child(1) { transition-delay: .2s; }
.rm-scope--v2 .rm-scope__item.is-open .rm-scope__tags li:nth-child(2) { transition-delay: .26s; }
.rm-scope--v2 .rm-scope__item.is-open .rm-scope__tags li:nth-child(3) { transition-delay: .32s; }
/* one line only: the white marker beside the open row (the fainter rule beside its text is gone) */
.rm-scope--v2 .rm-scope__panel p { padding-left: 38px; border-left: 0; }
.rm-scope--v2 .rm-scope__panel p:last-child { margin-bottom: 18px; }
.rm-scope--v2 .rm-scope__tags { padding: 12px 0 18px 38px; }
.rm-scope--v2 .rm-scope__aside { display: flex; flex-direction: column; min-width: 0; }
.rm-scope--v2 .rm-scope__frame { flex: 1; min-height: 300px; aspect-ratio: auto; }
.rm-scope--v2 .rm-scope__frame img { transform: scale(1.07); transition: opacity .7s var(--ease), transform 1.8s var(--out, cubic-bezier(.16, 1, .3, 1)); }
.rm-scope--v2 .rm-scope__frame img.is-on { transform: none; }
.rm-scope--v2 .rm-scope__cap b { display: block; }
.rm-scope--v2 .rm-scope__cap b.is-swap { animation: rm-cap-in .55s var(--out, cubic-bezier(.16, 1, .3, 1)) both; }
@keyframes rm-cap-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- shared: previous / next for the card rows ---------- */
.rm-cnav { display: flex; gap: 8px; }
.rm-cbtn { display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease); }
.rm-cbtn:hover:not(:disabled) { border-color: var(--blue); background: var(--blue); color: #fff; }
.rm-cbtn:disabled { opacity: .4; cursor: default; }
.rm-cbtn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- 3. How Dubai advisory runs: a row of cards, four in view ---------- */
.rm-flow2 { background: #fff; }
.rm-flow2__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 48px; margin-bottom: clamp(22px, 2.4vw, 32px); }
.rm-flow2__intro { max-width: 640px; }
.rm-flow2 .rm-label { margin-bottom: 10px; }
.rm-flow2 .rm-h2 { margin: 0 0 10px; }
.rm-flow2__intro > p:not(.rm-label) { margin: 0; font-size: 17px; line-height: 1.6; color: var(--body); }
.rm-flow2__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.rm-flow2__track, .rm-recv__cards {
    --gap: 20px;
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); gap: var(--gap);
    margin: -8px 0; padding: 8px 0 12px; list-style: none;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.rm-flow2__track::-webkit-scrollbar, .rm-recv__cards::-webkit-scrollbar { display: none; }
.rm-flow2__track:focus-visible, .rm-recv__cards:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.rm-flow2__card {
    display: flex; flex-direction: column; overflow: hidden; scroll-snap-align: start; background: #f2f5fc; color: var(--ink);
    transition: opacity .4s var(--ease), transform .55s var(--out, cubic-bezier(.16, 1, .3, 1)), box-shadow .45s var(--ease);
    transition-delay: var(--d, 0ms), var(--d, 0ms), 0s;
}
.rm-flow2__card.is-in { transition-delay: 0s; }
.rm-flow2__card:hover { box-shadow: 0 22px 40px -28px rgba(10, 24, 90, .45); }
.bf-anim .rm-flow2__card.is-in:hover { transform: translateY(-5px); }
.rm-flow2__top { flex: 1; padding: clamp(20px, 1.8vw, 26px) clamp(20px, 1.8vw, 26px) clamp(20px, 1.8vw, 24px); }
.rm-flow2__when { display: flex; gap: 10px; margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.rm-flow2__when span { color: var(--muted); font-variant-numeric: tabular-nums; }
.rm-flow2__card h3 { margin: 0 0 10px; font-size: clamp(24px, 1.9vw, 30px); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; color: var(--navy); }
.rm-flow2__desc { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--body); }
.rm-flow2__art { flex: none; height: clamp(150px, 11.5vw, 190px); overflow: hidden; background: var(--navy); }
.rm-flow2__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--out, cubic-bezier(.16, 1, .3, 1)); }
.rm-flow2__card:hover .rm-flow2__art img { transform: scale(1.08); }

/* ---------- 4. What you receive ---------- */
/* cards: a photograph over a deep blue panel, as in the industries row on the group site */
/* head: title and line on the left, previous / next on the right */
.rm-recv__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 48px; margin-bottom: clamp(22px, 2.4vw, 32px); }
.rm-recv__intro { max-width: 640px; }
.rm-recv__intro .rm-h2 { margin: 0 0 10px; }
.rm-recv__intro .rm-head__text { margin: 0; }
/* cards: a photograph over a deep blue panel, four in a row (the row itself is set with the process row above) */
.rm-recv__card {
    position: relative; display: flex; flex-direction: column; overflow: hidden; scroll-snap-align: start; background: #0a2496; color: #fff;
    transition: opacity .4s var(--ease), transform .5s var(--out, cubic-bezier(.16, 1, .3, 1)), box-shadow .4s var(--ease);
    transition-delay: var(--d, 0ms), var(--d, 0ms), 0s;
}
.rm-recv__card.is-in { transition-delay: 0s; }
.rm-recv__card:hover { box-shadow: 0 22px 40px -26px rgba(10, 24, 90, .7); }
.bf-anim .rm-recv__card.is-in:hover { transform: translateY(-5px); }
.rm-recv__media { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #0a1a5c; }
.rm-recv__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--out, cubic-bezier(.16, 1, .3, 1)); }
.rm-recv__card:hover .rm-recv__media img { transform: scale(1.06); }
.rm-recv__body { display: flex; flex-direction: column; flex: 1; padding: clamp(18px, 1.6vw, 24px); }
.rm-recv__card h3 { margin: 0 0 12px; font-size: clamp(19px, 1.45vw, 22px); font-weight: 400; line-height: 1.22; letter-spacing: -.02em; color: #fff; }
.rm-recv__when { margin: 0; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .86); }
.rm-recv__when span, .rm-recv__fmt i { display: block; margin-bottom: 3px; font-size: 11px; font-style: normal; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.rm-recv__fmt { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: auto 0 0; padding-top: 18px; font-size: 16px; font-weight: 500; color: #c7d4ff; }
.rm-recv__fmt svg { flex: none; transition: transform .45s var(--out, cubic-bezier(.16, 1, .3, 1)); }
.rm-recv__card:hover .rm-recv__fmt svg { transform: translateY(-3px); }
/* ownership rules: a photograph banner with the title centred on a full-width blurred strip across its lower part, then four points, each with a small line icon on a soft tile that draws itself in when it scrolls into view */
.rm-rules { margin-top: clamp(32px, 3.6vw, 48px); background: #f6f8fc; }
.rm-rules__banner { position: relative; display: block; height: clamp(170px, 15vw, 230px); overflow: hidden; background: var(--navy); }
.rm-rules__banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; transform: scale(1.04); transition: transform 1.6s var(--out, cubic-bezier(.16, 1, .3, 1)); }
.rm-rules:hover .rm-rules__banner img { transform: none; }
.rm-rules__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 18, 56, .06) 0%, rgba(8, 18, 56, .14) 50%, rgba(8, 18, 56, .3) 100%); }
.rm-rules__banner .rm-h3 { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; height: 46%; margin: 0; padding: 0 20px; text-align: center; font-size: clamp(24px, 2.6vw, 38px); font-weight: 400; line-height: 1.1; letter-spacing: .01em; color: #fff; text-shadow: 0 2px 18px rgba(4, 10, 40, .35); }
.rm-rules__banner .rm-h3::before { content: ""; position: absolute; inset: -18% 0 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 22, 66, 0) 0%, rgba(10, 22, 66, .16) 40%, rgba(10, 22, 66, .3) 100%); -webkit-backdrop-filter: blur(12px) saturate(1.15); backdrop-filter: blur(12px) saturate(1.15); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%); mask-image: linear-gradient(180deg, transparent 0%, #000 34%); }
.rm-rules__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 2.4vw, 32px) clamp(28px, 4vw, 64px); margin: 0; padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 44px); list-style: none; }
.rm-rules__item { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 20px; align-items: start; }
.rm-rules__icon { display: grid; place-items: center; width: 54px; height: 54px; background: linear-gradient(145deg, #f3f6ff 0%, #dfe8ff 100%); box-shadow: inset 0 0 0 1px rgba(11, 45, 190, .12), 0 12px 24px -16px rgba(11, 45, 190, .6); color: var(--blue); line-height: 0; transition: background .45s var(--ease), color .45s var(--ease), transform .5s var(--out, cubic-bezier(.16, 1, .3, 1)), box-shadow .45s var(--ease); }
.rm-rules__icon svg { width: 28px; height: 28px; stroke-width: 1.5; }
.rm-rules__item:hover .rm-rules__icon { background: linear-gradient(150deg, #2a55f0 0%, #0b2dbe 100%); color: #fff; transform: translateY(-3px); box-shadow: 0 16px 28px -14px rgba(11, 45, 190, .75); }
.bf-anim .rm-rules__item .rm-rules__icon svg > * { stroke-dasharray: 80; stroke-dashoffset: 80; }
.bf-anim .rm-rules__item.is-in .rm-rules__icon svg > * { animation: rm-draw 1.5s cubic-bezier(.65, 0, .35, 1) forwards; animation-delay: calc(var(--d, 0ms) + .25s); }
.bf-anim .rm-rules__item.is-in .rm-rules__icon svg > :nth-child(2) { animation-delay: calc(var(--d, 0ms) + .45s); }
.bf-anim .rm-rules__item.is-in .rm-rules__icon svg > :nth-child(n+3) { animation-delay: calc(var(--d, 0ms) + .65s); }
@keyframes rm-draw { to { stroke-dashoffset: 0; } }
.rm-rules__text { display: flex; flex-direction: column; gap: 5px; padding-top: 2px; }
.rm-rules__text h4 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--navy); }
.rm-rules__text p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--body); }
.rm-recv__src { padding-top: 2px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--blue); }
.rm-recv__src i { margin-right: 6px; font-style: normal; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.rm-rules .rm-table-note { display: none; }

/* ---------- Who it is for: each row answers the pointer, smoothly ----------
   A light blue wash slides in from the left, a blue edge draws down the side,
   and the text eases to the right; all on the row's own layers, so the
   scroll-in fade on the row is untouched. */
.rm-aud .rm-rows li { position: relative; isolation: isolate; }
.rm-aud .rm-rows li::before { content: ""; position: absolute; top: 0; bottom: 0; left: -16px; right: -16px; z-index: -1; background: linear-gradient(90deg, #eef3ff 0%, #f7f9ff 100%); transform: scaleX(0); transform-origin: left center; transition: transform .7s var(--out, cubic-bezier(.16, 1, .3, 1)); }
.rm-aud .rm-rows li::after { content: ""; position: absolute; top: 0; bottom: -1px; left: -16px; width: 3px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--out, cubic-bezier(.16, 1, .3, 1)) .06s; }
.rm-aud .rm-rows li:hover::before { transform: scaleX(1); }
.rm-aud .rm-rows li:hover::after { transform: scaleY(1); }
.rm-aud .rm-rows li > div, .rm-aud .rm-rows li > p { transition: transform .65s var(--out, cubic-bezier(.16, 1, .3, 1)), color .4s var(--ease); }
.rm-aud .rm-rows li h3 { transition: color .4s var(--ease); }
.rm-aud .rm-rows li:hover > div { transform: translateX(14px); }
.rm-aud .rm-rows li:hover > p { transform: translateX(10px); color: var(--ink); }
.rm-aud .rm-rows li:hover h3 { color: var(--blue); }

/* ---------- Scope and fee band: the particle artwork ---------- */
.bf-band--particles .bf-band__media img { object-position: 30% 50%; }

/* ---------- 5. Where this connects: large square photo tiles (as on the group site) ---------- */
.rm-rel { background: #f5f6fa; }
.rm-rel__kicker { margin: 0 0 18px; font-size: 15px; font-weight: 500; color: var(--blue); }
.rm-rel__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 80px); align-items: center; margin-bottom: clamp(28px, 3vw, 44px); }
.rm-rel__title { margin: 0; font-size: clamp(32px, 3vw, 46px); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; color: var(--navy); }
.rm-rel__text { max-width: 560px; margin: 0; padding: 6px 0 6px clamp(24px, 3vw, 48px); border-left: 1px solid var(--line); font-size: 17px; line-height: 1.65; color: var(--muted); }
.rm-rel__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.rm-rel__tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; isolation: isolate; background: #0a1a5c; color: #fff; text-decoration: none; }
.rm-rel__media { position: absolute; inset: 0; z-index: -2; }
.rm-rel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--out, cubic-bezier(.16, 1, .3, 1)); }
.rm-rel__tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 10, 30, 0) 35%, rgba(5, 10, 30, .8) 100%); }
.rm-rel__tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 45, 190, .5); opacity: 0; transition: opacity .45s var(--ease); }
.rm-rel__go { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--blue); opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--out, cubic-bezier(.16, 1, .3, 1)); }
.rm-rel__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 1.6vw, 26px); }
.rm-rel__name { display: block; font-size: clamp(18px, 1.45vw, 22px); font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.rm-rel__tile:hover .rm-rel__media img, .rm-rel__tile:focus-visible .rm-rel__media img { transform: scale(1.06); }
.rm-rel__tile:hover::before, .rm-rel__tile:focus-visible::before { opacity: 1; }
.rm-rel__tile:hover .rm-rel__go, .rm-rel__tile:focus-visible .rm-rel__go { opacity: 1; transform: none; }
.rm-rel__tile:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- 6. FAQ, as on the group home page ---------- */
.rm-dfaq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.rm-dfaq__side { display: flex; flex-direction: column; align-items: flex-start; }
.rm-dfaq__title { max-width: 16ch; margin: 0; }
.rm-dfaq__text { max-width: 460px; margin-top: 16px; font-size: 16px; line-height: 1.6; color: var(--body); }
.rm-dfaq__text a { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(11, 45, 190, .3); text-underline-offset: 3px; }
.rm-dfaq__media { position: relative; width: 100%; margin: 28px 0 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.rm-dfaq__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.2s var(--out, cubic-bezier(.16, 1, .3, 1)); }
.rm-dfaq__media:hover img { transform: scale(1.04); }
.rm-dfaq__item { border-bottom: 1px solid #e3e7ef; background: #f7f8fb; transition: background-color .35s var(--ease), opacity .4s var(--ease), transform .5s var(--out, cubic-bezier(.16, 1, .3, 1)); transition-delay: 0s, var(--d, 0ms), var(--d, 0ms); }
.rm-dfaq__item:first-child { border-top: 1px solid #e3e7ef; }
.rm-dfaq__item:hover, .rm-dfaq__item.is-open { background: #fff; }
.rm-dfaq__q { margin: 0; font: inherit; }
.rm-dfaq__q button { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 26px 28px; border: 0; background: none; color: var(--blue); font-size: clamp(18px, 1.5vw, 22px); font-weight: 400; line-height: 1.35; letter-spacing: -.01em; text-align: left; cursor: pointer; }
.rm-dfaq__q button:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
/* a chevron: down when closed, up when open */
.rm-dfaq__icon { position: relative; flex: none; width: 12px; height: 12px; margin-right: 4px; transform: rotate(45deg) translate(-3px, -3px); transition: transform .45s var(--out, cubic-bezier(.16, 1, .3, 1)); }
.rm-dfaq__icon::before, .rm-dfaq__icon::after { content: ""; position: absolute; right: 0; bottom: 0; width: 100%; height: 1.5px; background: currentColor; }
.rm-dfaq__icon::after { width: 1.5px; height: 100%; }
.rm-dfaq__item.is-open .rm-dfaq__icon { transform: rotate(-135deg) translate(-3px, -3px); }
.rm-dfaq__a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s var(--out, cubic-bezier(.16, 1, .3, 1)); }
.rm-dfaq__inner { min-height: 0; overflow: hidden; padding: 0 28px 26px; font-size: 16px; line-height: 1.65; color: var(--body); transition: opacity .45s var(--ease) .12s, padding-bottom .55s var(--out, cubic-bezier(.16, 1, .3, 1)); }
.rm-dfaq__inner p + p { margin-top: .8em; }
.rm-dfaq__inner a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
/* closing only once the script runs: without it every answer stays readable */
.js .rm-dfaq__item:not(.is-open) .rm-dfaq__a { grid-template-rows: 0fr; }
.js .rm-dfaq__item:not(.is-open) .rm-dfaq__inner { padding-bottom: 0; opacity: 0; transition: opacity .3s var(--ease), padding-bottom .55s var(--out, cubic-bezier(.16, 1, .3, 1)); }

/* ---------- 7. One rhythm: 50px above and below every section after the hero ---------- */
body.page-service main > section:not(.rm-hero), body.page-service > section.signup { padding-top: 50px; padding-bottom: 50px; }

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
    .rm-ov__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
    .rm-ov__media { aspect-ratio: 16 / 10; }
    .rm-ov__media img { object-position: 60% 40%; }
    .rm-ov__body .rm-h2 { max-width: none; }
    .rm-scope--v2 .rm-head { grid-template-columns: minmax(0, 1fr); }
    .rm-scope--v2 .rm-scope__grid { grid-template-columns: minmax(0, 1fr); }
    .rm-scope--v2 .rm-scope__aside { max-width: none; }
    .rm-scope--v2 .rm-scope__frame { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
    .rm-flow2__track { grid-auto-columns: calc((100% - var(--gap)) / 2.15); }
    .rm-recv__cards { grid-auto-columns: calc((100% - var(--gap)) / 2.15); }
    .rm-ov .bf-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rm-rel__head { grid-template-columns: minmax(0, 1fr); }
    .rm-rel__text { padding-left: 20px; }
    /* tiles: one row that swipes sideways, as on the group site */
    .rm-rel__tiles { grid-auto-flow: column; grid-auto-columns: 38%; grid-template-columns: none; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .rm-rel__tiles::-webkit-scrollbar { display: none; }
    .rm-rel__tiles > li { scroll-snap-align: start; }
    .rm-dfaq__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .rm-dfaq__title { max-width: none; }
}
@media (max-width: 767px) {
    .rm-ov .rm-ticks { grid-template-columns: minmax(0, 1fr); }
    .rm-ov .bf-feats { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .rm-flow2__track { --gap: 14px; grid-auto-columns: 84%; }
    .rm-recv__cards { --gap: 14px; grid-auto-columns: 84%; }
    .rm-cbtn { width: 44px; height: 44px; }
    .rm-aud .rm-rows li::before { left: -10px; right: -10px; }
    .rm-aud .rm-rows li::after { left: -10px; }
    .rm-rules__grid { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; gap: 22px; }
    .rm-rules__item { grid-template-columns: 46px minmax(0, 1fr); gap: 16px; }
    .rm-rules__icon { width: 46px; height: 46px; }
    .rm-rules__icon svg { width: 24px; height: 24px; }
    .rm-scope--v2 .rm-scope__item::before { left: -10px; }
    .rm-rel__tiles { grid-auto-columns: 72%; }
    .rm-dfaq__q button { padding: 20px 18px; }
    .rm-dfaq__inner { padding: 0 18px 20px; }
    .js .rm-dfaq__item:not(.is-open) .rm-dfaq__inner { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .rm-ov__media img, .rm-scope--v2 .rm-scope__frame img { transform: none; transition: opacity .2s linear; }
    .rm-scope--v2 .rm-scope__panel p, .rm-scope--v2 .rm-scope__tags li { transform: none; transition: none; }
    .rm-scope--v2 .rm-scope__cap b.is-swap { animation: none; }
    .rm-flow2__card, .rm-flow2__art img, .rm-rules__banner img, .rm-aud .rm-rows li::before, .rm-aud .rm-rows li::after, .rm-aud .rm-rows li > div, .rm-aud .rm-rows li > p, .rm-recv__media img, .rm-ov .bf-feats li, .rm-rel__media img, .rm-rel__go, .rm-dfaq__a, .rm-dfaq__inner, .rm-dfaq__icon, .rm-dfaq__media img, .rm-recv__card, .rm-recv__card::before { transition: none; }
    .rm-rules__icon { transition: none; }
    .rm-rules__item:hover .rm-rules__icon { transform: none; }
    .bf-anim .rm-ov .bf-feats li.is-in:hover, .bf-anim .rm-recv__card.is-in:hover, .bf-anim .rm-flow2__card.is-in:hover, .rm-aud .rm-rows li:hover > div, .rm-aud .rm-rows li:hover > p, .rm-flow2__card:hover .rm-flow2__art img, .rm-recv__card:hover .rm-recv__media img { transform: none; }
}

/* ---------- Square corners in every section after the hero (and the newsletter block) ---------- */
body.page-service main > section:not(.rm-hero), body.page-service main > section:not(.rm-hero) *, body.page-service main > section:not(.rm-hero) *::before, body.page-service main > section:not(.rm-hero) *::after,
body.page-service > section.signup, body.page-service > section.signup *, body.page-service > section.signup *::before, body.page-service > section.signup *::after { border-radius: 0 !important; }
