/* ==========================================================================
   FSHNiSTA — rebrand stylesheet
   One theme. English only. No legacy imports, so no collision with .rv/.ch,
   cursor.css or the old nav. Every class here is prefixed rb-.
   ========================================================================== */

:root {
  --rb-canvas:  #F5F4F0;
  --rb-surface: #FFFFFF;
  --rb-ink:     #222222;
  --rb-muted:   #6B6478;
  --rb-faint:   #B8B2C2;
  --rb-line:    rgba(11, 9, 16, 0.10);
  --rb-purple:  #7C1CE1;
  --rb-black:   #0B0910;

  /* Product identity only — never chrome. */
  --rb-map:        #FF7A00;
  --rb-storefront: #00B84D;
  --rb-booking:    #0378FF;

  --rb-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI',
             Roboto, Helvetica, Arial, sans-serif;
  --rb-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --rb-gut: 24px;
  --rb-max: 1560px;
  --rb-radius: 20px;

  /* Measured off the reference: median gap between content bands is ~320px.
     Padding meets padding at a boundary, so half of that per side. */
  --rb-section: clamp(56px, 7vw, 116px);

  /* Measured off the reference: everything settles with a slight overshoot. */
  --rb-ease: cubic-bezier(.175, .885, .32, 1.275);
  --rb-ease-soft: cubic-bezier(.22, 1, .36, 1);
}

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

/* overflow-x: clip alone makes the visible y-axis compute to clip too, which
   silently disables programmatic scrolling (the pill's back-to-top). Pin y. */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  overflow-y: auto;
}
body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--rb-surface);
  color: var(--rb-ink);
  font-family: var(--rb-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--rb-purple);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.rb-skip {
  position: absolute; left: var(--rb-gut); top: -60px; z-index: 200;
  background: var(--rb-ink); color: #fff;
  padding: 10px 16px; border-radius: 999px; font-size: 13px;
  transition: top .18s ease;
}
.rb-skip:focus { top: 12px; }

.rb-wrap {
  width: 100%; max-width: var(--rb-max);
  margin-inline: auto;
  padding-inline: var(--rb-gut);
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.rb-ann {
  background: var(--rb-surface);
  border-bottom: 1px solid var(--rb-line);
  font-size: 13px;
  line-height: 1.3;
  min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  padding: 8px var(--rb-gut);
}
.rb-ann-news { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.rb-ann strong { font-weight: 600; }
.rb-ann span { color: var(--rb-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-ann-news:hover span { color: var(--rb-ink); }
.rb-ann svg { width: 13px; height: 13px; flex: none; transition: transform .2s ease; }
.rb-ann-news:hover svg { transform: translateX(3px); }
/* The quiet CTA: the one keeper from the merged-bar experiment. */
.rb-ann-cta { height: 38px; padding: 0 16px; font-size: 13.5px; }

/* ==========================================================================
   Header — wordmark left, pill centre, one CTA right. No nav links.
   On scroll the wordmark and CTA fade out; only the pill stays pinned.
   ========================================================================== */
.rb-head {
  position: sticky; top: 0; z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 0 var(--rb-gut);
  pointer-events: none;
}
.rb-head > * { pointer-events: auto; }

.rb-mark { justify-self: start; display: block; }
.rb-mark img { height: 46px; width: auto; }

.rb-head-cta { justify-self: end; }

/* Subpage header: wordmark left, one quiet return right. On mobile the
   shared card takes over — back left, logo centred, menu right. */
.rb-head-sub { grid-template-columns: 1fr auto; }

.rb-head-fade {
  transition: opacity .3s ease, transform .3s ease;
}
/* Travelling down: the furniture leaves, only the pill rides. */
.rb-head.is-scrolled.is-away .rb-head-fade {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}
/* Turning back up mid-page: the full nav returns on a white bar. */
@media (min-width: 901px) {
  .rb-head { transition: background .3s ease, box-shadow .3s ease; }
  .rb-head.is-scrolled:not(.is-away) {
    background: var(--rb-surface);
    box-shadow: 0 1px 0 var(--rb-line), 0 14px 34px -24px rgba(11, 9, 16, .16);
  }
}

/* The pill: the site's only persistent navigation. */
.rb-pill {
  justify-self: center;
  display: inline-flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--rb-line);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
}
.rb-pill button {
  position: relative; z-index: 1;
  appearance: none; border: 0; background: none;
  font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--rb-muted);
  padding: 9px 20px; border-radius: 999px;
  cursor: pointer;
  transition: color .22s ease;
  white-space: nowrap;
}
.rb-pill button[aria-selected="true"] { color: #fff; }
.rb-pill-thumb {
  position: absolute; z-index: 0; top: 4px; bottom: 4px;
  background: var(--rb-black);
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(11, 9, 16, 0.10);
  transition: left .3s var(--rb-ease), width .3s var(--rb-ease);
}
@media (prefers-reduced-motion: reduce) { .rb-pill-thumb { transition: none; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.rb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15px; font-weight: 500;
  height: 42px; padding: 0 18px; border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}
.rb-btn:active { transform: scale(.98); }
.rb-btn-solid { background: var(--rb-black); color: #fff; }
.rb-btn-solid:hover { opacity: .86; }
.rb-btn-brand { background: var(--rb-purple); color: #fff; }
.rb-btn-brand:hover { background: #6A15C4; }
.rb-btn-ghost { background: transparent; color: var(--rb-ink); border-color: var(--rb-line); }
.rb-btn-ghost:hover { background: rgba(11, 9, 16, .04); }
.rb-btn-lg { font-size: 16px; height: 48px; padding: 0 24px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.rb-hero { text-align: center; padding: clamp(56px, 6vw, 91px) 0 clamp(56px, 7vw, 104px); }

.rb-h1 {
  margin: 0 auto;
  max-width: 720px;
  font-size: clamp(34px, 4.22vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.rb-h1 em {
  font-family: var(--rb-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.rb-hero-sub {
  margin: 32px auto 0;
  max-width: 480px;
  font-size: clamp(17px, 1.17vw, 20px);
  color: var(--rb-ink);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.rb-hero-act { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.rb-hero-note { margin-top: 32px; font-size: 14px; color: var(--rb-muted); }

/* ==========================================================================
   Media — large radius, generous air. Placeholders until the film exists.
   ========================================================================== */
.rb-media {
  position: relative;
  border-radius: var(--rb-radius);
  overflow: hidden;
  background: linear-gradient(150deg, #F4F4F3 0%, #EFEFEE 55%, #EAEAE9 100%);
  aspect-ratio: 16 / 9;
}
.rb-media img, .rb-media video { width: 100%; height: 100%; object-fit: cover; }
.rb-media-tall { aspect-ratio: 4 / 5; }
.rb-media-sq   { aspect-ratio: 1 / 1; }
.rb-media-phone {
  aspect-ratio: 540 / 1002;
  height: 492px;
  width: auto;
  margin-inline: auto;
}
.rb-media-pair:has(.rb-media-phone) {
  align-items: start;
  position: relative;
}
.rb-media-pair:has(.rb-media-phone) .rb-hglass { z-index: 0; }
@media (min-width: 901px) {
  .rb-media-pair:has(.rb-media-phone) {
    grid-template-columns: repeat(2, minmax(0, 460px));
    justify-content: center;
    gap: clamp(40px, 6vw, 96px);
  }
}
/* each phone lives in a glass card matched to the finder / Twin stage */
.rb-phone {
  margin: 0;
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  min-height: 618px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 32px;
  padding: 24px 26px 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .75),
    0 44px 90px -40px rgba(94, 18, 184, .32);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .rb-phone { background: #fff; }
}
.rb-phone-cap {
  text-align: center;
  margin-bottom: 0;
}
.rb-phone-cap h3 {
  margin: 0 0 6px;
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 600;
  letter-spacing: -0.018em;
}
.rb-phone-cap h3 em {
  font-family: var(--rb-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.12em;
}
.rb-phone-cap p {
  margin: 0;
  font-size: 14px;
  color: var(--rb-muted);
}
@media (max-width: 900px) {
  .rb-phone { margin-bottom: 34px; }
  .rb-phone:last-child { margin-bottom: 0; }
}

.rb-media[data-slot]::after {
  content: attr(data-slot);
  position: absolute; inset: auto 0 0 0;
  padding: 14px 18px;
  font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--rb-muted);
}

.rb-hero-media { margin-top: clamp(48px, 7vw, 96px); }

.rb-media-pair {
  display: grid; gap: clamp(16px, 2.4vw, 32px);
  grid-template-columns: 1fr 1fr;
}

/* ==========================================================================
   Section rhythm — eyebrow pill top-left, statement right
   ========================================================================== */
.rb-sec { padding-block: var(--rb-section); }

.rb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(11, 9, 16, .12);
  color: var(--rb-ink);
}
.rb-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rb-purple);
}

.rb-statement-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(0, 3fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}

.rb-statement {
  margin: 0;
  font-size: clamp(23px, 2.81vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
}

/* The signature effect: words sit faint and fill to ink as you scroll past. */
.rb-fill span {
  color: var(--rb-faint);
  transition: color .18s linear;
}
.rb-fill span.is-lit { color: var(--rb-ink); }
@media (prefers-reduced-motion: reduce) {
  .rb-fill span { color: var(--rb-ink); transition: none; }
}

.rb-lede {
  margin: 28px 0 0;
  max-width: 62ch;
  font-size: clamp(15px, 1.35vw, 18px);
  color: var(--rb-muted);
}

.rb-h2 {
  margin: 0;
  font-size: clamp(24px, 2.81vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.rb-h2 em { font-family: var(--rb-serif); font-style: italic; font-weight: 500; }

/* ==========================================================================
   Stats — huge numerals, counted up on reveal
   ========================================================================== */
.rb-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.rb-stats-rule > div {
  border-top: 1px solid rgba(11, 9, 16, .14);
  padding-top: 18px;
}
.rb-stats-rule .rb-stat-n { font-size: clamp(48px, 4.6vw, 72px); }
/* The digits stand plain, like the reference — no ornament. */
/* The reference's digit: large, light, line-height 1 — then a bold body-size
   label and a body-size grey sentence under it. */
.rb-stat-n {
  font-size: clamp(48px, 4.6vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.rb-stat-n small { font-size: .52em; letter-spacing: -0.02em; }
.rb-stat-t {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.rb-stat-l {
  margin-top: 4px;
  font-size: 15.5px;
  color: var(--rb-muted);
  max-width: 30ch;
}

/* ==========================================================================
   Three-up feature row
   ========================================================================== */
.rb-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 3.4vw, 56px);
}
.rb-three h3 { margin: 0 0 8px; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.rb-three p  { margin: 0; font-size: 14.5px; color: var(--rb-muted); max-width: 40ch; }

/* ==========================================================================
   Module cards — the three services, product colour as identity
   ========================================================================== */
.rb-mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.rb-mod {
  background: var(--rb-surface);
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  padding: 28px;
}
.rb-mod-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 9px; }
.rb-mod h3 { margin: 0 0 10px; font-size: 16px; font-weight: 600; display: flex; align-items: center; }
.rb-mod p  { margin: 0; font-size: 14.5px; color: var(--rb-muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.rb-faq { border-top: 1px solid var(--rb-line); }
.rb-faq details { border-bottom: 1px solid var(--rb-line); }
.rb-faq summary {
  list-style: none; cursor: pointer;
  padding: 26px 40px 26px 0;
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 500; letter-spacing: -0.015em;
  position: relative;
}
.rb-faq summary::-webkit-details-marker { display: none; }
.rb-faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--rb-muted);
  border-bottom: 1.5px solid var(--rb-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .22s ease;
}
.rb-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.rb-faq p { margin: 0 0 26px; max-width: 70ch; color: var(--rb-muted); font-size: 15px; }

/* ==========================================================================
   Closing display line
   ========================================================================== */
.rb-close {
  padding-block: clamp(90px, 12vw, 200px) clamp(60px, 8vw, 120px);
  text-align: center;
}
.rb-close .rb-h2 { max-width: 18ch; margin-inline: auto; }

/* ==========================================================================
   Footer — black, full bleed
   ========================================================================== */
.rb-foot {
  background: var(--rb-black);
  color: #fff;
  padding: 0 0 34px;
  /* The black continues under the page end: rubber-band overscroll shows
     this shadow, which paints outside the box but adds no scroll space. */
  box-shadow: 0 25vh 0 25vh var(--rb-black);
}
.rb-foot-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.rb-foot-mark img { height: 44px; width: auto; }
.rb-foot h4 {
  margin: 0 0 20px;
  font-size: 14px; font-weight: 600;
}
.rb-foot ul { list-style: none; margin: 0; padding: 0; }
.rb-foot li { margin-bottom: 13px; }
.rb-foot li a { font-size: 14px; color: rgba(255, 255, 255, .62); transition: color .16s ease; }
.rb-foot li a:hover { color: #fff; }

.rb-foot-btm {
  margin-top: clamp(48px, 6vw, 86px);
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, .52);
}
.rb-foot-legalrow {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.rb-foot-legal {
  display: flex;
  gap: 16px;
}
.rb-foot-legal a {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .45);
}
.rb-foot-legal a:hover { color: #fff; }
.rb-foot-soc { display: flex; gap: 22px; }
.rb-foot-soc a { color: rgba(255, 255, 255, .62); }
.rb-foot-soc a:hover { color: #fff; }

/* ==========================================================================
   Reveal — used for blocks the scroll-fill does not cover
   ========================================================================== */
.rb-up { opacity: 0; transform: translateY(22px); transition: opacity .5s var(--rb-ease-soft), transform .55s var(--rb-ease); }
.rb-up.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rb-up { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Path switching — the pill shows one reader's page at a time
   ========================================================================== */
[data-path]{ display: none; }
body[data-view="members"]  [data-path~="members"],
body[data-view="business"] [data-path~="business"] { display: block; }

/* ==========================================================================
   Mobile navigation — the reference's pattern: a floating white card for a
   header, a hamburger, and a fullscreen card menu that unclips downward.
   Hidden entirely above 900px; the desktop bar keeps its three-column row.
   ========================================================================== */
.rb-burger {
  display: none;
  width: 40px; height: 40px;
  border: 0; padding: 0;
  background: rgba(11, 9, 16, .02);
  border-radius: 10px;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.rb-burger:active { background: rgba(11, 9, 16, .06); }
.rb-burger { color: var(--rb-ink); }
.rb-burger svg { width: 16px; height: 16px; }
.rb-burger span {
  display: block;
  width: 16px; height: 2px;
  background: var(--rb-ink);
  border-radius: 1px;
}
.rb-burger-x span:first-child { transform: translateY(3.5px) rotate(45deg); }
.rb-burger-x span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

.rb-drawer {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  pointer-events: none;
  background: rgba(11, 9, 16, 0);
  transition: background .3s ease;
}
.rb-drawer.open { pointer-events: auto; background: rgba(11, 9, 16, .28); }
.rb-drawer-card {
  position: absolute; top: 12px; left: 12px; right: 12px; bottom: 48px;
  display: flex; flex-direction: column;
  background: var(--rb-surface);
  border-radius: 16px;
  padding: 9px 16px 16px;
  clip-path: inset(0 0 100% 0 round 16px);
  transition: clip-path .5s var(--rb-ease-soft);
  overflow: hidden;
}
.rb-drawer.open .rb-drawer-card { clip-path: inset(0 0 0 0 round 16px); }
.rb-drawer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 46px;
  margin-bottom: 18px;
}
.rb-drawer-top img { grid-column: 2; height: 38px; width: auto; }
.rb-drawer-top .rb-burger { grid-column: 3; justify-self: end; display: inline-flex; }
.rb-drawer-views { display: flex; justify-content: center; margin-bottom: 28px; }
.rb-drawer-views > div {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(11, 9, 16, .06);
}
.rb-drawer-views button {
  appearance: none; border: 0; background: none;
  font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--rb-ink);
  height: 36px; padding: 0 18px;
  border-radius: 999px;
  cursor: pointer;
}
.rb-drawer-views button.on { background: var(--rb-black); color: #fff; }
.rb-drawer-nav { display: flex; flex-direction: column; gap: 14px; }
/* Without a views block (subpages), the links start a breath below the top row. */
.rb-drawer-top + .rb-drawer-nav { margin-top: 16px; }
.rb-drawer-nav a {
  font-size: 30px; font-weight: 600;
  letter-spacing: -0.022em; line-height: 1.1;
  color: var(--rb-ink);
  opacity: 0; transform: translateY(-10px);
  transition: opacity .5s var(--rb-ease-soft), transform .5s var(--rb-ease-soft);
}
.rb-drawer.open .rb-drawer-nav a { opacity: 1; transform: none; }
.rb-drawer.open .rb-drawer-nav a:nth-child(1) { transition-delay: .1s; }
.rb-drawer.open .rb-drawer-nav a:nth-child(2) { transition-delay: .16s; }
.rb-drawer.open .rb-drawer-nav a:nth-child(3) { transition-delay: .22s; }
.rb-drawer.open .rb-drawer-nav a:nth-child(4) { transition-delay: .28s; }
.rb-drawer.open .rb-drawer-nav a:nth-child(5) { transition-delay: .34s; }
.rb-drawer-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.rb-drawer-actions .rb-btn { width: 100%; }
body.rb-lock { overflow: hidden; }

/* ==========================================================================
   Responsive — not the desktop page squeezed, the reference's mobile page:
   components restructure (stats become rows, the header becomes a card),
   type steps down, buttons compact, stacks breathe.
   ========================================================================== */
@media (max-width: 900px) {
  :root { --rb-gut: 18px; --rb-section: 48px; }

  /* The announcement whisper is a desktop luxury. */
  .rb-ann { display: none; }

  /* The hero's glass glows stay inside the frame — a 4px bleed is enough
     to let a phone shimmy the whole page sideways. */
  .rb-wrap.rb-hero { overflow: clip; }

  /* Cycling tab captions keep their space (animating max-height shook the
     whole page) but still open fluidly: a clip-path wipe reveals the text
     downward like the desktop accordion, in paint only — zero layout.
     !important + the .rb-orbit-row prefix: the base rules sit later in the
     file and win cascade ties otherwise. */
  .rb-tabs p { max-height: 64px !important; }
  .rb-orbit-row .rb-tabs p {
    clip-path: inset(0 0 100% 0);
    transform: translateY(-8px);
    transition: clip-path .55s var(--rb-ease-soft), opacity .4s ease .05s,
                transform .55s var(--rb-ease-soft);
  }
  .rb-orbit-row .rb-tabs > div.is-on p {
    clip-path: inset(0 0 0 0);
    transform: none;
  }

  /* The brand tag breathes above itself instead of hanging on the footer's
     top edge. */
  .rb-foot .rb-foot-display { padding-top: clamp(40px, 10vw, 56px); }

  /* Floating card header: solid white, logo centred, menu right. */
  body { padding-top: 84px; }
  .rb-head {
    position: fixed; top: 12px; left: 12px; right: 12px;
    row-gap: 0;
    min-height: 0;
    padding: 9px 10px;
    background: var(--rb-surface);
    border: 0;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(11, 9, 16, .10);
  }
  .rb-mark img { height: 38px; }
  .rb-head:has(.rb-burger) { grid-template-columns: 1fr auto 1fr; }
  .rb-head:has(.rb-burger) .rb-mark { grid-column: 2; justify-self: center; }
  .rb-head-cta { display: none; }
  .rb-burger { display: inline-flex; grid-column: 3; justify-self: end; }
  /* Subpage back button rides the left slot, compact. */
  .rb-head-sub .rb-btn-ghost {
    grid-column: 1; grid-row: 1;
    justify-self: start;
    height: 34px; font-size: 13px; padding: 0 12px;
  }
  /* On mobile the card only steps aside for the pill (is-away); a plain
     is-scrolled keeps the full card so the menu stays reachable. */

  /* The reference's scroll swap: travelling down, the card chrome dissolves
     and the pill rides in its place; travelling up, the card returns. */
  .rb-head {
    transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  }
  .rb-head > * { transition: opacity .25s ease, transform .3s var(--rb-ease-soft); }
  .rb-head.is-away {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .rb-head.is-away > * { opacity: 0; transform: translateY(-6px); pointer-events: none; }

  .rb-pill {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%) scale(.96);
    opacity: 0; pointer-events: none;
    background: rgba(235, 235, 235, .52);
    border-color: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 20px rgba(11, 9, 16, .08);
  }
  .rb-head.is-away > .rb-pill {
    opacity: 1;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    transition-delay: .12s;
  }
  /* The reference's pill is smaller than desktop instincts: ~28px chips. */
  .rb-pill { padding: 3px; }
  .rb-pill button { font-size: 12.5px; padding: 6px 14px; }
  .rb-drawer-views > div {
    background: rgba(235, 235, 235, .52);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .rb-drawer-views button { height: 30px; font-size: 12.5px; padding: 0 14px; }

  .rb-drawer { display: block; }

  /* Hero: tighter type, compact centred buttons — not full-width slabs. */
  .rb-h1 { font-size: 34px; }
  .rb-hero-sub { font-size: 14px; max-width: 40ch; margin-inline: auto; }
  .rb-hero-act { margin-top: 24px; }
  .rb-hero-act .rb-btn { height: 40px; font-size: 14px; padding: 0 18px; }

  .rb-statement-row { grid-template-columns: 1fr; gap: 20px; }
  /* Stacked media breathes more than desktop columns did. */
  .rb-media-pair { grid-template-columns: 1fr; gap: 28px; }

  /* Stats restructure into rows: the number reads first, its label and
     sentence stack beside it. */
  .rb-stats { grid-template-columns: 1fr; gap: 14px; }
  /* Fixed column split, like the reference — every label starts on the same
     line no matter how wide the number runs. */
  .rb-stats > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    align-items: center;
    column-gap: 16px;
  }
  .rb-stats > div .rb-stat-n { grid-row: 1 / 3; align-self: center; }
  .rb-stat-n { font-size: 48px; }
  .rb-stat-t { margin-top: 0; align-self: end; font-size: 15px; }
  .rb-stat-l { margin-top: 0; align-self: start; font-size: 14px; }
  .rb-stats-rule > div { padding-top: 14px; }

  .rb-foot-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .rb-foot-mark { grid-column: 1 / -1; }
  .rb-foot-btm { flex-direction: column; align-items: flex-start; }

  /* --- Compaction tokens: one system, applied everywhere.
     A notch smaller than desktop instincts — the reference runs its phone
     type at 14px body and lets the whitespace carry the luxury. ---------- */
  .rb-statement { font-size: 20px; }
  .rb-eyebrow { font-size: 11px; }
  .rb-btn-lg { height: 44px; font-size: 15px; }
  .rb-tabs h3 { font-size: 18px; }
  .rb-tabs p { font-size: 14px; }
  .rb-phone-cap h3 { font-size: 18px; }
  .rb-phone-cap p { font-size: 13.5px; }
  .rb-hero-note { font-size: 13px; }

  /* Video shows its full frame — scaled down, never cropped. The film cuts
     are 16:9; declaring it reserves the frame before metadata arrives, so a
     first visit paints the box (and poster) instead of a collapsed strip.
     Phone mockups are excluded — they are portrait and keep their own frame. */
  .rb-media:not(.rb-media-phone):has(> video) { aspect-ratio: auto; }
  .rb-media:not(.rb-media-phone):has(> video) video {
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    display: block;
  }

  /* Phone mockups scale with the screen instead of keeping desktop heights —
     and they fill their glass card rather than floating small inside it. */
  .rb-media-phone { height: auto; width: min(76vw, 310px); }
  .rb-phone { min-height: 0; padding: 18px 14px 14px; border-radius: 22px; }

  /* The finder's dropdown carets go — the chips keep one clean line. */
  .rb-finder-chips i { display: none; }

  /* The fit form sits as a card in the column, not wall to wall — and no
     desktop min-height hollowing out its bottom. */
  .rb-fitstage { width: min(88%, 340px); margin-inline: auto; min-height: 0; }
}

@media (max-width: 560px) {
  .rb-foot-top { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Motion
   The reference paces itself with animation rather than decorating with it:
   the page reveals as you travel, and stands still when you stop.
   Everything below collapses to a static page under reduced-motion.
   ========================================================================== */

/* --- Hero entrance: words rise, then the furniture under them ------------ */
.rb-rise span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.44em);
  transition: opacity .45s var(--rb-ease-soft),
              transform .5s var(--rb-ease);
}
.rb-rise.is-up span { opacity: 1; transform: none; }

.rb-enter {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--rb-ease-soft), transform .55s var(--rb-ease);
}
.rb-enter.is-up { opacity: 1; transform: none; }

/* --- Stagger: a row arrives as a row, not all at once -------------------- */
.rb-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .45s var(--rb-ease-soft), transform .5s var(--rb-ease);
}
.rb-stagger.is-in > * { opacity: 1; transform: none; }
.rb-stagger.is-in > *:nth-child(1) { transition-delay: .2s; }
.rb-stagger.is-in > *:nth-child(2) { transition-delay: .25s; }
.rb-stagger.is-in > *:nth-child(3) { transition-delay: .3s; }
.rb-stagger.is-in > *:nth-child(4) { transition-delay: .35s; }

/* --- Media: parallax and a scale that settles ---------------------------- */
.rb-media { isolation: isolate; }
.rb-media::before {
  content: '';
  position: absolute;
  inset: -7% 0;
  z-index: 0;
  background: inherit;
  transform: translate3d(0, var(--rb-par, 0px), 0);
  will-change: transform;
}
.rb-media > *, .rb-media::after { position: relative; z-index: 1; }

.rb-media-rise {
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .7s var(--rb-ease-soft), transform .8s var(--rb-ease-soft);
}
.rb-media-rise.is-in { opacity: 1; transform: none; }

/* --- Eyebrow: arrives just ahead of the statement it labels -------------- */
.rb-eyebrow {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s var(--rb-ease-soft), transform .45s var(--rb-ease);
}
.rb-eyebrow.is-in { opacity: 1; transform: none; }

/* --- Announcement bar: a quiet arrival, once --------------------------- */
.rb-ann { animation: rb-fade .9s .15s both ease; }
@keyframes rb-fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .rb-rise span,
  .rb-enter,
  .rb-stagger > *,
  .rb-media-rise,
  .rb-eyebrow {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .rb-media::before { transform: none !important; }
  .rb-ann { animation: none; }
}

/* ==========================================================================
   Glass and colour
   The canvas stays #F5F4F0. Brand purple arrives as light behind the glass
   rather than as a fill on top of it — colour the page is lit by, not painted
   with, so the whitespace still reads as the luxury signal.
   ========================================================================== */

.rb-hero { position: relative; z-index: 1; }

/* --- The glass field behind the hero text. The same footage as the film
   below, blurred past recognition through the veil: colour and movement, not
   picture. Fades in below the header so the wordmark, pill and CTA sit on
   clean canvas, and dies out before the sharp film takes the stage. --- */
.rb-hero-bg {
  position: absolute;
  top: -8px;
  left: calc(50% - 50vw);
  width: 100vw;
  height: 104%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  /* Uniform: the veil is so white there is no seam to hide — only the very
     bottom fades, handing the glow off to the marquee and film. */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 84%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 84%, transparent 100%);
}
.rb-hero-bg { background: var(--rb-surface); }
.rb-hero-bg video,
.rb-hero-bg img {
  position: absolute;
  left: 50%; top: 0;
  height: 100%;
  width: clamp(320px, 40%, 640px);
  transform: translateX(-50%) scale(1.04);
  object-fit: cover;
  animation: rb-slowzoom 34s ease-in-out infinite alternate;
  filter: blur(22px) saturate(130%);
  opacity: .6;
  /* No rectangle: the ghost dissolves on every side. */
  -webkit-mask-image: radial-gradient(ellipse 54% 60% at 50% 66%, #000 34%, transparent 76%);
          mask-image: radial-gradient(ellipse 54% 60% at 50% 66%, #000 34%, transparent 76%);
}
@keyframes rb-slowzoom {
  from { transform: translateX(-50%) scale(1.04); }
  to   { transform: translateX(-50%) scale(1.14); }
}
.rb-hero-veil {
  position: absolute; inset: 0;
  /* Heavier frost only where the text actually sits, clearing toward the
     edges so the film shows around it. */
  -webkit-mask-image: none;
}
.rb-hero-veil::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 78% at 50% 48%,
              rgba(255, 255, 255, 0) 0%,
              rgba(255, 255, 255, .18) 62%,
              rgba(255, 255, 255, .7) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .rb-hero-bg video, .rb-hero-bg img { animation: none; transform: scale(1.02); }
}

/* --- The film. The reference gives the video the whole stage, sharp,
   edge to edge, immediately after the hero text. No blur, no frame. --- */
.rb-hero-film {
  position: relative;
  width: calc(100vw - 48px);
  margin-left: calc(50% - 50vw + 24px);
  margin-top: 0;
  height: min(88vh, 820px);
  overflow: hidden;
  border-radius: var(--rb-radius);
  background: linear-gradient(140deg, #F4F4F3 0%, #EFEFEE 55%, #EAEAE9 100%);
}
.rb-hero-film video,
.rb-hero-film img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.rb-hero-film[data-slot]::after {
  content: attr(data-slot);
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--rb-muted);
}

/* --- The glass itself ---------------------------------------------------- */
.rb-glass {
  background: rgba(255, 255, 255, .46);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .62);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .7) inset,
    0 18px 50px -22px rgba(11, 9, 16, .22);
}

/* A frosted badge above the headline. */
.rb-badge {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 26px;
  padding: 9px 17px;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--rb-ink);
}
.rb-badge b { font-weight: 600; color: var(--rb-purple); }
.rb-badge .rb-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rb-purple);
  box-shadow: 0 0 0 0 rgba(124, 28, 225, .55);
  animation: rb-pulse 2.6s ease-out infinite;
}
@keyframes rb-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(124, 28, 225, .5); }
  70%  { box-shadow: 0 0 0 9px rgba(124, 28, 225, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 28, 225, 0); }
}


/* The reference's pill: a grey track, and only the active segment white. */
.rb-pill {
  background: rgba(11, 9, 16, .06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: transparent;
  box-shadow: none;
}
.rb-pill-thumb {
  box-shadow: 0 1px 4px rgba(11, 9, 16, .14), 0 4px 14px -6px rgba(11, 9, 16, .12);
}

/* Backdrop-filter is the whole effect. Where it is unsupported, fall back to
   an opaque surface rather than leaving unreadable text on the aurora. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .rb-glass,
  .rb-pill,
  .rb-hero-media .rb-media { background: rgba(255, 255, 255, .92); }
}

@media (prefers-reduced-motion: reduce) {
  .rb-hero-bg video, .rb-hero-bg img { animation: none; transform: scale(1.02); }
}

/* Outcome tags on module cards, coloured by nothing: chrome stays neutral. */
.rb-mod-tags { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.rb-mod-tags span {
  font-size: 12px; font-weight: 500;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(11, 9, 16, .05);
  color: var(--rb-muted);
}


/* ==========================================================================
   Marquee — the reference's sliding strip under the hero film
   ========================================================================== */
.rb-marquee {
  overflow: hidden;
  padding: clamp(16px, 2vw, 26px) 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  /* Five names at a time: the outer fifth holds nothing, then a tight melt
     into a narrow solid centre. */
  -webkit-mask-image: linear-gradient(to right,
      transparent 0%, transparent 19%, rgba(0,0,0,.4) 24.5%, #000 30%,
      #000 70%, rgba(0,0,0,.4) 75.5%, transparent 81%, transparent 100%);
          mask-image: linear-gradient(to right,
      transparent 0%, transparent 19%, rgba(0,0,0,.4) 24.5%, #000 30%,
      #000 70%, rgba(0,0,0,.4) 75.5%, transparent 81%, transparent 100%);
}
.rb-marquee-track {
  display: flex;
  width: max-content;
  animation: rb-marquee 48s linear infinite;
}
.rb-marquee span {
  flex: none;
  padding: 0 38px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--rb-black);
  white-space: nowrap;
}
.rb-marquee span i { display: none; }
@keyframes rb-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rb-marquee-track { animation: none; } }

/* ==========================================================================
   Fanned card deck — the reference's Personalization composition
   ========================================================================== */
.rb-fan {
  position: relative;
  height: clamp(300px, 34vw, 520px);
  margin-bottom: clamp(28px, 4vw, 56px);
}
.rb-fan-card {
  position: absolute;
  left: 50%; bottom: 0;
  width: clamp(150px, 18vw, 300px);
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(11, 9, 16, .35);
  transform-origin: 50% 130%;
  transform: translateX(-50%) rotate(var(--fan-r, 0deg));
  transition: transform .6s var(--rb-ease), opacity .5s var(--rb-ease-soft);
}
.rb-fan-card img { width: 100%; height: 100%; object-fit: cover; }
.rb-fan-card:nth-child(1) { --fan-r: -26deg; z-index: 1; }
.rb-fan-card:nth-child(2) { --fan-r: -13deg; z-index: 2; }
.rb-fan-card:nth-child(3) { --fan-r:   0deg; z-index: 3; }
.rb-fan-card:nth-child(4) { --fan-r:  13deg; z-index: 2; }
.rb-fan-card:nth-child(5) { --fan-r:  26deg; z-index: 1; }
.rb-fan:not(.is-in) .rb-fan-card { transform: translateX(-50%) rotate(0deg); opacity: 0; }
.rb-fan-center { text-align: center; }
.rb-fan-center .rb-lede { margin-inline: auto; }

/* ==========================================================================
   Twin stage — the app's Twin screen, rebuilt live. Styles switch, the
   Twin stays.
   ========================================================================== */
.rb-twin-stagewrap { position: relative; }
.rb-twin-stagewrap .rb-hglass { z-index: 0; }
.rb-twinstage {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  margin-inline: auto;
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 32px;
  padding: 24px 26px 22px;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .75),
    0 44px 90px -40px rgba(94, 18, 184, .32);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .rb-twinstage { background: #fff; }
}
.rb-twinstage-head {
  font-family: var(--rb-serif);
  font-size: 27px;
  letter-spacing: .01em;
}
.rb-twinstage-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 8px 16px;
  border: 1.5px solid var(--rb-purple);
  border-radius: 999px;
  color: var(--rb-purple);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.rb-twinstage-pill i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rb-purple);
}
.rb-twinstage-fig {
  position: relative;
  height: 426px;
  margin-top: 16px;
  border-radius: 18px;
  overflow: hidden;
  animation: rb-twinfloat 6.5s ease-in-out infinite;
}
/* a quiet halo so the Twin has depth on the white card */
.rb-twinstage-fig::before {
  content: '';
  position: absolute;
  inset: 8% 6% 4%;
  background: radial-gradient(48% 42% at 50% 46%, rgba(124, 28, 225, .07), transparent 72%);
  z-index: 0;
}
.rb-twinstage-fig img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity .5s ease, transform .9s var(--rb-ease-soft);
  z-index: 1;
}
.rb-twinstage-fig img.on { opacity: 1; transform: scale(1); }
@keyframes rb-twinfloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.rb-twinstage-chips {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
}
.rb-twinstage-chips span {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1.5px solid rgba(11, 9, 16, .16);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.rb-twinstage-chips span.on {
  background: var(--rb-purple);
  border-color: var(--rb-purple);
  color: #fff;
  animation: rb-chippop .4s var(--rb-ease);
}
@keyframes rb-chippop {
  0% { transform: scale(.92); }
  55% { transform: scale(1.07); }
  100% { transform: scale(1); }
}
/* the whole card gives a tiny shiver as the new look lands */
.rb-twinstage.jolt { animation: rb-twinjolt .38s ease; }
@keyframes rb-twinjolt {
  0%   { transform: translateX(0) rotate(0); }
  22%  { transform: translateX(1.6px) rotate(.18deg); }
  44%  { transform: translateX(-1.4px) rotate(-.15deg); }
  66%  { transform: translateX(.9px) rotate(.08deg); }
  84%  { transform: translateX(-.5px) rotate(0); }
  100% { transform: translateX(0); }
}
.rb-twinstage-cap {
  margin: 13px 0 0;
  font-size: 10.5px;
  letter-spacing: .04em;
  white-space: nowrap;
  color: var(--rb-muted);
  transition: opacity .3s ease;
}
.rb-twinstage-cap.swap { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .rb-twinstage-fig { animation: none; }
  .rb-twinstage-chips span.on { animation: none; }
  .rb-twinstage.jolt { animation: none; }
}

/* ==========================================================================
   Orbit — cards ringing a centre portrait
   ========================================================================== */
.rb-orbit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.rb-orbit-row > div:first-child { padding-top: clamp(12px, 2vw, 36px); }
.rb-content-row {
  margin-top: clamp(36px, 4.5vw, 64px);
  align-items: center;
  grid-template-columns: minmax(0, 460px) minmax(0, 460px);
  justify-content: center;
  gap: clamp(40px, 6vw, 96px);
}
.rb-content-row > div:first-child { padding-top: 0; }

/* --- Size & Fit vignette: the measured card ------------------------------ */
.rb-fit-stagewrap { position: relative; }
.rb-fit-stagewrap .rb-hglass { z-index: 0; }
.rb-fitstage {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  min-height: 618px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 32px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .75),
    0 44px 90px -40px rgba(94, 18, 184, .32);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .rb-fitstage { background: #fff; }
}

/* --- The intake form, prefilled and filling itself ----------------------- */
.rb-fitform { width: min(100%, 360px); padding: 8px 0; }
.rb-fitform-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 22px;
}
.rb-fitform-head b {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--rb-purple);
}
.rb-fitform-head span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rb-muted);
}
.rb-fitform-bar {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(11, 9, 16, .08);
  position: relative;
  overflow: hidden;
}
.rb-fitform-bar::after {
  content: '';
  position: absolute;
  inset: 0 100% 0 0;
  background: var(--rb-purple);
  border-radius: 3px;
  transition: inset-inline-end 1.2s var(--rb-ease-soft) .3s;
}
.rb-fit-stagewrap.is-in .rb-fitform-bar::after { inset-inline-end: 75%; }

.rb-fitfield {
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  padding: 14px 16px 12px;
  margin-bottom: 10px;
}
.rb-fitfield-last { margin-bottom: 0; }
.rb-fitfield-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.rb-fitfield-top .lbl { font-size: 13px; font-weight: 600; }
.rb-fitfield-top .tgl {
  display: inline-flex;
  gap: 2px;
  background: rgba(11, 9, 16, .06);
  border-radius: 999px;
  padding: 3px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
}
.rb-fitfield-top .tgl b,
.rb-fitfield-top .tgl span { padding: 3px 9px; border-radius: 999px; color: var(--rb-muted); }
.rb-fitfield-top .tgl b { background: #fff; color: var(--rb-ink); box-shadow: 0 1px 3px rgba(11, 9, 16, .12); }
.rb-fitfield-val {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.rb-fitfield-val span {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.rb-fitfield-val small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rb-muted);
}
.rb-fitruler {
  margin-top: 9px;
  height: 22px;
  position: relative;
  background: repeating-linear-gradient(to right,
    rgba(11, 9, 16, .16) 0 1px, transparent 1px 9px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.rb-fitruler i {
  position: absolute;
  top: -3px; bottom: -3px;
  left: 6%;
  width: 2.5px;
  border-radius: 2px;
  background: var(--rb-purple);
  transition: left 1.3s var(--rb-ease-soft) .25s;
}
.rb-fit-stagewrap.is-in .rb-fitruler i { left: var(--rx); }

/* --- Step slide: 01 basic profile <-> 02 body and shape ------------------ */
.rb-fitsteps { overflow: hidden; margin-inline: -4px; }
.rb-fitsteps-track {
  display: flex;
  width: 200%;
  transition: transform .85s var(--rb-ease-soft);
}
.rb-fitform.s2 .rb-fitsteps-track { transform: translateX(-50%); }
.rb-fitstep { width: 50%; flex: none; padding-inline: 4px; }
.rb-fitform.s2 .rb-fitform-bar::after { inset-inline-end: 50%; }

.rb-fitgroup {
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  padding: 13px 16px 14px;
  margin-bottom: 10px;
}
.rb-fitgroup:last-child { margin-bottom: 0; }
.rb-fitgroup .glbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--rb-muted);
  margin-bottom: 9px;
}
.rb-fitpills { display: flex; gap: 7px; }
.rb-fitpills span {
  flex: 1;
  text-align: center;
  padding: 8px 4px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid rgba(11, 9, 16, .1);
  font-size: 12px;
  font-weight: 500;
  color: var(--rb-muted);
}
.rb-fitpills span.on {
  background: rgba(124, 28, 225, .09);
  border-color: var(--rb-purple);
  color: var(--rb-ink);
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .rb-fitsteps-track { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-fitruler i { transition: none; left: var(--rx); }
  .rb-fitform-bar::after { transition: none; inset-inline-end: 75%; }
}
.rb-fitcard {
  width: min(78%, 320px);
  background: #fff;
  border-radius: 22px;
  padding: 26px 26px 22px;
  box-shadow: 0 30px 70px -30px rgba(11, 9, 16, .28);
}
.rb-fitcard-head {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--rb-muted);
  margin-bottom: 14px;
}
.rb-fitrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--rb-line);
  font-size: 14.5px;
}
.rb-fitrow span { color: var(--rb-muted); }
.rb-fitrow b { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.rb-fitverdict {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 500;
}
.rb-fitverdict b { font-weight: 700; }
.rb-orbit {
  position: relative;
  aspect-ratio: 1;
  max-width: 640px;
  margin-inline: auto;
  width: 100%;
}
.rb-orbit-center {
  position: absolute; left: 50%; top: 50%;
  width: 38%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 24px 70px -30px rgba(11, 9, 16, .35);
}
.rb-orbit-center img { width: 100%; height: 100%; object-fit: cover; }
.rb-orbit-card {
  position: absolute;
  width: 17%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  left: calc(50% + var(--ox) - 8.5%);
  top:  calc(50% + var(--oy) - 10.5%);
  box-shadow: 0 14px 40px -20px rgba(11, 9, 16, .3);
  transition: transform .6s var(--rb-ease), opacity .5s var(--rb-ease-soft);
}
.rb-orbit-card img { width: 100%; height: 100%; object-fit: cover; }
.rb-orbit:not(.is-in) .rb-orbit-card { transform: scale(.6); opacity: 0; }

/* The reference's vertical capability list beside the orbit. */
.rb-tabs { margin-top: clamp(24px, 3vw, 40px); }
.rb-tabs > div {
  position: relative;
  padding: 13px 0 13px 24px;
}
/* the rail: a quiet track, and a fill that times the cycle */
.rb-tabs > div::before {
  content: '';
  position: absolute;
  left: 0; top: 10px; bottom: 10px;
  width: 2px;
  background: rgba(11, 9, 16, .08);
  border-radius: 2px;
}
.rb-tabs > div::after {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 2px;
  height: 0;
  background: var(--rb-ink);
  border-radius: 2px;
}
.rb-tabs > div.is-on::after { animation: rb-tabfill 3.2s linear forwards; }
@keyframes rb-tabfill { to { height: calc(100% - 20px); } }
.rb-tabs h3 {
  margin: 0;
  font-size: clamp(19px, 1.75vw, 25px);
  font-weight: 600;
  letter-spacing: -0.018em;
  color: #C7C3CF;
  transition: color .45s ease, transform .45s var(--rb-ease-soft);
  transform-origin: left center;
}
.rb-tabs h3 em {
  font-family: var(--rb-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.1em;
}
.rb-tabs p {
  margin: 7px 0 0;
  font-size: 14.5px;
  color: var(--rb-muted);
  max-width: 44ch;
  max-height: 0;
  opacity: 0;
  transform: translateY(4px);
  overflow: hidden;
  transition: max-height .5s var(--rb-ease-soft), opacity .45s ease .1s, transform .45s var(--rb-ease-soft) .1s;
}
.rb-tabs > div.is-on h3 { color: var(--rb-ink); transform: translateX(2px); }
.rb-tabs > div.is-on p { max-height: 64px; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rb-tabs > div.is-on::after { animation: none; height: calc(100% - 20px); }
}

/* ==========================================================================
   Dark band — the reference's trust section
   ========================================================================== */
.rb-dark {
  background: var(--rb-black);
  color: #fff;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(80px, 10vw, 160px) 0;
  text-align: center;
}
.rb-dark-lock { color: var(--rb-purple); margin-bottom: 22px; }
.rb-dark-lock svg { width: 26px; height: 26px; display: block; margin: 0 auto; }
.rb-dark h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.rb-dark h2 span { display: block; color: rgba(255, 255, 255, .38); }
.rb-dark-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 26px;
  font-size: 15px; font-weight: 500; color: #fff;
}
.rb-dark-link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.rb-dark-link:hover svg { transform: translateX(3px); }
.rb-dark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(56px, 7vw, 110px);
}
.rb-dark-grid svg { width: 46px; height: 46px; margin: 0 auto 18px; display: block; opacity: .95; }
.rb-dark-grid h3 { margin: 0 0 10px; font-size: 16px; font-weight: 600; color: #fff; }
.rb-dark-grid p { margin: 0 auto; font-size: 14.5px; color: rgba(255, 255, 255, .55); max-width: 44ch; }

@media (max-width: 900px) {
  /* minmax(0, 1fr): a bare 1fr keeps its content's minimum width and can
     overflow the wrap sideways (the fit form's 360px forced exactly that). */
  .rb-orbit-row { grid-template-columns: minmax(0, 1fr); }
  .rb-fan { height: clamp(240px, 60vw, 380px); }
  .rb-fan-card { width: clamp(120px, 30vw, 200px); }
}

/* ==========================================================================
   People lineup — figures across the page, a breather before the FAQ
   ========================================================================== */
.rb-people {
  -webkit-mask-image: linear-gradient(to right,
      transparent 0%, rgba(0,0,0,.5) 4%, #000 12%, #000 88%, rgba(0,0,0,.5) 96%, transparent 100%);
          mask-image: linear-gradient(to right,
      transparent 0%, rgba(0,0,0,.5) 4%, #000 12%, #000 88%, rgba(0,0,0,.5) 96%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(10px, 2vw, 36px);
  padding: var(--rb-section) var(--rb-gut) 0;
  max-width: var(--rb-max);
  margin-inline: auto;
}
.rb-people img {
  height: var(--ph, 46vh);
  width: auto;
  object-fit: contain;
}
@media (max-width: 900px) {
  .rb-people img { height: calc(var(--ph, 46vh) * .55); }
  .rb-people img:nth-child(n+5) { display: none; }
}

/* ==========================================================================
   Closing CTA — full-bleed photograph, white type, one button
   ========================================================================== */
.rb-close-cta {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: var(--rb-section);
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rb-close-cta > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.rb-close-cta::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(11, 9, 16, .55);
}
.rb-close-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 var(--rb-gut);
}
.rb-close-chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13.5px; font-weight: 500;
  margin-bottom: 26px;
}
.rb-close-cta-inner h2 {
  margin: 0 0 30px;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: #fff;
}

/* ==========================================================================
   Footer display — the brand tag at full width above the columns
   ========================================================================== */
.rb-foot-display { padding: 0 0 clamp(56px, 8vw, 130px); }
.rb-foot-display img { transform: translateY(-2px); }
.rb-foot-display img { width: 100%; height: auto; display: block; }

/* The reference's footer wordmark: static and full on desktop, a big
   drifting marquee on phones. */
.rb-foot-tagloop { display: none; overflow: hidden; }
.rb-foot-tagtrack {
  display: flex;
  width: max-content;
  align-items: center;
  animation: rb-tagdrift 16s linear infinite;
}
.rb-foot-tagtrack img {
  width: auto;
  height: 58px;
  margin-right: 56px;
  flex: none;
}
@keyframes rb-tagdrift { to { transform: translateX(-50%); } }
@media (max-width: 900px) {
  .rb-foot-display img.rb-foot-tagstatic { display: none; }
  .rb-foot-tagloop { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-foot-tagtrack { animation: none; }
}

/* Module card icon tiles */
.rb-mod-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--mc, var(--rb-ink));
  background: color-mix(in srgb, var(--mc, var(--rb-ink)) 9%, #fff);
}
.rb-mod-icon svg { width: 24px; height: 24px; }
.rb-mod-tags span {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--rb-line);
  background: none;
}
.rb-mod-tags span svg { width: 11px; height: 11px; }

/* --- Filled service cards: the card wears its service colour ------------- */
.rb-mod-fill {
  background: linear-gradient(155deg, var(--mc) 0%, color-mix(in srgb, var(--mc) 82%, #000) 100%);
  border: none;
  box-shadow: 0 26px 54px -26px color-mix(in srgb, var(--mc) 65%, #000);
}
.rb-mod-fill h3 { color: #fff; }
.rb-mod-fill p { color: rgba(255, 255, 255, .82); }
.rb-mod-fill .rb-mod-icon {
  color: #fff;
  background: rgba(255, 255, 255, .16);
}
.rb-mod-fill .rb-mod-tags span {
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .1);
}

/* ==========================================================================
   Marquee logotypes — each category set as its own wordmark, the way the
   reference's brand strip mixes scripts, caps and weights.
   ========================================================================== */
.rb-marquee span { font-size: 16px; }
.rb-marquee span:nth-child(8n+1) { font-family: var(--rb-serif); font-style: italic; font-size: 24px; font-weight: 600; }
.rb-marquee span:nth-child(8n+2) { text-transform: uppercase; letter-spacing: .14em; font-size: 13.5px; font-weight: 700; }
.rb-marquee span:nth-child(8n+3) { font-family: var(--rb-serif); font-variant: small-caps; font-size: 23px; font-weight: 600; letter-spacing: .04em; }
.rb-marquee span:nth-child(8n+4) { text-transform: lowercase; font-weight: 500; font-size: 17px; letter-spacing: .01em; }
.rb-marquee span:nth-child(8n+5) { text-transform: uppercase; letter-spacing: .2em; font-size: 12.5px; font-weight: 600; }
.rb-marquee span:nth-child(8n+6) { font-family: var(--rb-serif); font-style: italic; font-size: 23px; font-weight: 600; letter-spacing: .02em; }
.rb-marquee span:nth-child(8n+7) { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.rb-marquee span:nth-child(8n+8) { text-transform: uppercase; font-size: 13px; font-weight: 600; letter-spacing: .1em; }
.rb-marquee-track { align-items: center; }

/* ==========================================================================
   Staged UI chips — the product demonstrated on the photography
   ========================================================================== */
.rb-chip {
  position: absolute;
  left: var(--cx, 50%); top: var(--cy, 50%);
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .65);
  box-shadow: 0 14px 34px -16px rgba(11, 9, 16, .35);
  font-size: 13.5px; font-weight: 500; color: var(--rb-ink);
  white-space: nowrap;
}
.rb-chip b { font-weight: 600; }
.rb-chip .rb-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rb-storefront); }
.rb-chip .rb-chip-x { color: var(--rb-faint); text-decoration: line-through; font-weight: 400; }
.rb-chip-dark {
  background: rgba(11, 9, 16, .62);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}
/* A quieter chip for sitting on the garment itself rather than beside it. */
.rb-chip-sm {
  padding: 7px 13px;
  gap: 7px;
  font-size: 12px;
  background: rgba(255, 255, 255, .48);
  border-color: rgba(255, 255, 255, .55);
  box-shadow: 0 10px 26px -16px rgba(11, 9, 16, .3);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .rb-chip { background: rgba(255, 255, 255, .96); }
  .rb-chip-dark { background: rgba(11, 9, 16, .88); }
}

/* The people lineup reads as intended cards, not accidental boxes. */
.rb-people img { border-radius: 16px; }

/* Media cards blend with the photography's own studio grey. */
.rb-media, .rb-orbit-card, .rb-fan-card { background: #F5F5F6; }

/* ==========================================================================
   Mosaic close — square photo cards banding the final ask, each one alive
   under the cursor.
   ========================================================================== */
.rb-mosaic {
  padding: var(--rb-section) 0 clamp(70px, 9vw, 140px);
  text-align: center;
  overflow: hidden;
}
.rb-mosaic-row {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 22px);
  padding: 0 var(--rb-gut);
}
.rb-mosaic-row + .rb-mosaic-row { margin-top: clamp(10px, 1.6vw, 22px); }
.rb-mosaic-card {
  flex: none;
  width: clamp(84px, 9.5vw, 150px);
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #F5F5F6;
  box-shadow: 0 10px 26px -14px rgba(11, 9, 16, .22);
  transform: rotate(var(--mr, 0deg)) translateY(var(--my, 0px));
  transition: transform .45s var(--rb-ease), box-shadow .45s var(--rb-ease);
}
.rb-mosaic-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .6s var(--rb-ease-soft);
}
.rb-mosaic-card:hover {
  transform: rotate(0deg) translateY(calc(var(--my, 0px) - 8px)) scale(1.07);
  box-shadow: 0 24px 48px -20px rgba(11, 9, 16, .35);
  z-index: 2;
  position: relative;
}
.rb-mosaic-card:hover img { transform: scale(1.12); }

.rb-mosaic-center { padding: clamp(44px, 6vw, 80px) var(--rb-gut); }
.rb-mosaic-center h2 {
  margin: 0 0 30px;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--rb-ink);
}
.rb-mosaic-chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(11, 9, 16, .05);
  font-size: 13.5px; font-weight: 500;
  color: var(--rb-ink);
  margin-bottom: 24px;
}

/* Rows drift in from opposite sides as they reveal. */
.rb-mosaic-row { transition: transform .9s var(--rb-ease-soft), opacity .7s var(--rb-ease-soft); }
.rb-mosaic:not(.is-in) .rb-mosaic-row:first-child { transform: translateX(-40px); opacity: 0; }
.rb-mosaic:not(.is-in) .rb-mosaic-row:last-child  { transform: translateX(40px);  opacity: 0; }

@media (max-width: 900px) {
  .rb-mosaic-card:nth-child(n+6) { display: none; }
  .rb-mosaic-card { width: clamp(70px, 17vw, 110px); }
}
@media (prefers-reduced-motion: reduce) {
  .rb-mosaic-card, .rb-mosaic-card img, .rb-mosaic-row { transition: none; }
}

/* ==========================================================================
   Hero cards — FSHNiSTA's own signature: the community scattered around the
   headline, floating, alive under the cursor. Not the reference's ghost.
   ========================================================================== */
.rb-hero { min-height: clamp(520px, calc(100svh - 300px), 860px); display: flex; flex-direction: column; justify-content: center; }
.rb-hero-cards {
  position: absolute;
  inset: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  pointer-events: none;
  z-index: 0;
}
.rb-hero > :not(.rb-hero-cards) { position: relative; z-index: 1; }

.rb-hcard {
  position: absolute;
  left: var(--hx); top: var(--hy);
  width: var(--hs, 10.4vw);
  max-width: 172px;
  min-width: 96px;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: #F5F5F6;
  box-shadow: 0 18px 40px -20px rgba(11, 9, 16, .28);
  pointer-events: auto;
  transform: rotate(var(--hr, 0deg));
  transition: transform .5s var(--rb-ease), box-shadow .5s var(--rb-ease),
              opacity .6s var(--rb-ease-soft);
}
.rb-hcard-f {
  width: 100%; height: 100%;
  animation: rb-float var(--fd, 7s) ease-in-out var(--fo, 0s) infinite alternate;
}
.rb-hcard img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--rb-ease-soft);
}
@keyframes rb-float {
  from { transform: translateY(-6px); }
  to   { transform: translateY(8px); }
}
.rb-hcard:hover {
  transform: rotate(0deg) scale(1.06);
  box-shadow: 0 30px 60px -24px rgba(11, 9, 16, .4);
  z-index: 3;
}
.rb-hcard:hover img { transform: scale(1.1); }

/* Entrance: cards rise into place behind the headline's own entrance. */
.rb-hero-cards:not(.is-in) .rb-hcard {
  opacity: 0;
  transform: rotate(0deg) translateY(46px) scale(.85);
}
.rb-hero-cards.is-in .rb-hcard:nth-child(1) { transition-delay: .30s; }
.rb-hero-cards.is-in .rb-hcard:nth-child(2) { transition-delay: .38s; }
.rb-hero-cards.is-in .rb-hcard:nth-child(3) { transition-delay: .46s; }
.rb-hero-cards.is-in .rb-hcard:nth-child(4) { transition-delay: .34s; }
.rb-hero-cards.is-in .rb-hcard:nth-child(5) { transition-delay: .42s; }
.rb-hero-cards.is-in .rb-hcard:nth-child(6) { transition-delay: .50s; }

@media (max-width: 1180px) {
  .rb-hcard { display: none; }
  .rb-hero { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-hcard-f { animation: none; }
  .rb-hcard, .rb-hcard img { transition: none; }
}

/* ==========================================================================
   Hero glass field — blurred images breathing behind the cards. The
   glassmorphism, without a video.
   ========================================================================== */
.rb-hglass {
  position: absolute;
  left: var(--gx); top: var(--gy);
  width: var(--gs, 30vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  opacity: .5;
  filter: blur(58px) saturate(120%);
  transform: translate(-50%, -50%);
}
.rb-hglass img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: rb-float var(--fd, 12s) ease-in-out var(--fo, 0s) infinite alternate;
}

/* Cards: calmer tilt, softer shadow — composed, not scattered. */
.rb-hcard { box-shadow: 0 14px 32px -18px rgba(11, 9, 16, .22); }

/* ==========================================================================
   Finale — the page's one full-volume purple moment. The photograph's flat
   purple stage melts into CSS purple, so image and section read as a single
   surface with the model standing in it.
   ========================================================================== */
.rb-finale {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: var(--rb-section);
  min-height: min(92vh, 880px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #3A1C99;
}
.rb-finale > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 68% 24%;
}
/* Melt the photo into flat purple on the left, where the words live. */
.rb-finale::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right,
      #3A1C99 0%, #3A1C99 26%, rgba(58, 28, 153, 0) 58%);
}
.rb-finale-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--rb-max);
  margin-inline: auto;
  padding: clamp(70px, 9vw, 130px) var(--rb-gut);
  text-align: left;
  color: #fff;
}
.rb-finale-chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13.5px; font-weight: 500;
  margin-bottom: 26px;
}
.rb-finale-inner h2 {
  margin: 0 0 32px;
  max-width: 13ch;
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: #fff;
}
.rb-finale-inner h2 em {
  font-family: var(--rb-serif);
  font-style: italic;
  font-weight: 500;
}
.rb-btn-white { background: #fff; color: var(--rb-ink); }
.rb-btn-white:hover { background: rgba(255, 255, 255, .88); }

@media (max-width: 900px) {
  .rb-finale > img { object-position: 60% 20%; opacity: .45; }
  .rb-finale::after { background: rgba(58, 28, 153, .5); }
  .rb-finale-inner { text-align: center; }
  .rb-finale-inner h2 { margin-inline: auto; }
}

/* The cast stands full-bleed, its feet locked straight into the dark band
   below — no white seam between image and black. */
.rb-cast {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: clamp(36px, 4.5vw, 64px);
  line-height: 0;
}
.rb-cast img {
  width: 100%;
  height: auto;
  display: block;
}


/* ==========================================================================
   Mobile refinements
   ========================================================================== */
@media (max-width: 900px) {
  .rb-hero-film { height: min(54vh, 460px); }

  .rb-marquee span { padding: 0 26px; font-size: 15px; }
  .rb-marquee span:nth-child(8n+1) { font-size: 22px; }
  .rb-marquee span:nth-child(8n+2) { font-size: 12.5px; }
  .rb-marquee span:nth-child(8n+3) { font-size: 21px; }
  .rb-marquee span:nth-child(8n+4) { font-size: 15.5px; }
  .rb-marquee span:nth-child(8n+5) { font-size: 12px; }
  .rb-marquee span:nth-child(8n+6) { font-size: 21px; }
  .rb-marquee span:nth-child(8n+7) { font-size: 15px; }
  .rb-marquee span:nth-child(8n+8) { font-size: 12.5px; }

  /* The glass wash carries the hero alone on phones — a touch stronger. */
  .rb-hglass { opacity: .6; }
}

/* ==========================================================================
   The map, drawn — not a screenshot. A stylised surface, pins that drop,
   one card open. Communicates the product; copies nothing verbatim.
   ========================================================================== */
.rb-map {
  position: relative;
  border-radius: var(--rb-radius);
  overflow: hidden;
  background: #F6F6F3;
  aspect-ratio: 21 / 10;
  min-height: 380px;
}
.rb-map svg.rb-map-ground { position: absolute; inset: 0; width: 100%; height: 100%; }
.rb-map-label {
  position: absolute;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  color: rgba(11, 9, 16, .18);
  text-transform: uppercase;
  pointer-events: none;
}

/* Pins: the service colour doing its one job. */
.rb-pin {
  position: absolute;
  left: var(--px); top: var(--py);
  transform: translate(-50%, -100%);
  text-align: center;
  pointer-events: none;
}
.rb-pin-dot {
  width: 38px; height: 38px;
  margin-inline: auto;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: var(--rb-map);
  box-shadow: 0 10px 22px -8px rgba(255, 122, 0, .5);
  display: flex; align-items: center; justify-content: center;
}
.rb-pin-dot span {
  transform: rotate(45deg);
  font-size: 15px; font-weight: 700; color: #fff;
  font-family: var(--rb-serif);
}
.rb-pin-name {
  margin-top: 8px;
  font-size: 11.5px; font-weight: 600;
  color: var(--rb-ink);
  white-space: nowrap;
}
.rb-pin-cat { font-size: 10.5px; color: var(--rb-muted); white-space: nowrap; }

/* The active pin breathes. */
.rb-pin-live .rb-pin-dot { background: var(--rb-ink); box-shadow: 0 10px 22px -8px rgba(11,9,16,.4); }
.rb-pin-live::before {
  content: '';
  position: absolute;
  left: 50%; top: 19px;
  width: 38px; height: 38px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid var(--rb-map);
  animation: rb-ping 2.4s ease-out infinite;
}
@keyframes rb-ping {
  0%   { opacity: .8; transform: translate(-50%, -50%) scale(.6); }
  100% { opacity: 0;  transform: translate(-50%, -50%) scale(2.1); }
}

/* Pins drop in when the section reveals. */
.rb-map:not(.is-in) .rb-pin { opacity: 0; transform: translate(-50%, -160%); }
.rb-pin { transition: opacity .5s var(--rb-ease-soft), transform .6s var(--rb-ease); }
.rb-map.is-in .rb-pin:nth-of-type(1) { transition-delay: .15s; }
.rb-map.is-in .rb-pin:nth-of-type(2) { transition-delay: .3s; }
.rb-map.is-in .rb-pin:nth-of-type(3) { transition-delay: .45s; }
.rb-map.is-in .rb-pin:nth-of-type(4) { transition-delay: .6s; }

/* The floating search — the product's own sentence. */
.rb-map-search {
  position: absolute;
  top: 22px; left: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--rb-muted);
  box-shadow: 0 14px 34px -18px rgba(11, 9, 16, .3);
}
.rb-map-search svg { width: 15px; height: 15px; color: var(--rb-ink); }
.rb-map:not(.is-in) .rb-map-search { opacity: 0; transform: translateY(-10px); }
.rb-map-search { transition: opacity .5s var(--rb-ease-soft) .5s, transform .5s var(--rb-ease) .5s; }

/* The open card: a salon, its craft, its work. */
.rb-map-card {
  position: absolute;
  right: clamp(14px, 3vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(250px, 24vw, 320px);
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 30px 70px -30px rgba(11, 9, 16, .38);
}
.rb-map:not(.is-in) .rb-map-card { opacity: 0; transform: translateY(-42%); }
.rb-map-card { transition: opacity .6s var(--rb-ease-soft) .75s, transform .7s var(--rb-ease) .75s; }
.rb-map-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rb-map-ava {
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid var(--rb-purple);
}
.rb-map-ava img { width: 100%; height: 100%; object-fit: cover; }
.rb-map-card-head h3 { margin: 0; font-size: 16.5px; font-weight: 600; letter-spacing: -0.015em; }
.rb-map-card-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--rb-muted); }
.rb-map-card-head p b { color: var(--rb-purple); font-weight: 600; }
.rb-map-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.rb-map-chips span {
  font-size: 12px; font-weight: 500;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(11, 9, 16, .05);
}
.rb-map-work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 16px; }
.rb-map-work img {
  width: 100%; aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}
.rb-map-card .rb-btn { width: 100%; height: 40px; font-size: 14px; }

@media (max-width: 900px) {
  .rb-map { aspect-ratio: auto; min-height: 520px; }
  .rb-map-card {
    right: 14px; left: 14px; width: auto;
    top: auto; bottom: 14px; transform: none;
  }
  .rb-map:not(.is-in) .rb-map-card { transform: translateY(16px); }
  .rb-pin-name, .rb-pin-cat { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-pin-live::before { animation: none; }
  .rb-map .rb-pin, .rb-map-search, .rb-map-card { transition: none; }
}

/* Depth over the map: a breath of vignette, edges falling away. */
.rb-map-depth {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 130% at 50% 38%, rgba(11,9,16,0) 55%, rgba(11,9,16,.055) 100%),
    linear-gradient(to bottom, rgba(255,255,255,.5), rgba(255,255,255,0) 14%);
}

/* ==========================================================================
   Near you — the map concept without a map. A search that speaks the
   product's specialisms, and the people it finds, with their distances.
   ========================================================================== */
.rb-near { position: relative; }
.rb-near-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  background: #F5F5F7;
  border-radius: 999px;
  padding: 17px 24px;
  font-size: 16px;
  color: var(--rb-ink);
}
.rb-near-search svg { width: 17px; height: 17px; flex: none; color: var(--rb-muted); }
.rb-near-q { position: relative; display: inline-block; min-width: 150px; height: 1.4em; }
.rb-near-q span {
  position: absolute; left: 0; top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s var(--rb-ease-soft), transform .5s var(--rb-ease);
  font-weight: 600;
}
.rb-near-q span.on { opacity: 1; transform: none; }
.rb-near-search em { font-style: normal; color: var(--rb-muted); font-weight: 400; }

.rb-near-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rb-near-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #F5F5F6;
}
.rb-near-card > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--rb-ease-soft);
}
.rb-near-card:hover > img { transform: scale(1.04); }
.rb-near-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11, 9, 16, .62) 0%, rgba(11, 9, 16, .05) 45%, rgba(11, 9, 16, 0) 60%);
}
.rb-near-dist {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12.5px; font-weight: 600;
}
.rb-near-dist svg { width: 12px; height: 12px; color: var(--rb-map); }
.rb-near-meta {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  z-index: 1;
  color: #fff;
}
.rb-near-meta h3 { margin: 0 0 3px; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.rb-near-meta p { margin: 0 0 10px; font-size: 13px; color: rgba(255, 255, 255, .82); }
.rb-near-meta span {
  display: inline-block;
  font-size: 12px; font-weight: 500;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 900px) {
  .rb-near-grid { grid-template-columns: 1fr; }
  .rb-near-card { aspect-ratio: 16 / 11; }
}

/* Real screens, floating: the product shown, not described. */
.rb-near-shots { align-items: center; }
.rb-near-shot {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 10 / 13.2;
  background: #F1EEF7;
  box-shadow: 0 30px 60px -28px rgba(11, 9, 16, .35);
  transition: transform .5s var(--rb-ease), box-shadow .5s var(--rb-ease);
}
.rb-near-shot img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.rb-near-shot:nth-child(1) { transform: rotate(-2.5deg) translateY(10px); }
.rb-near-shot:nth-child(2) { transform: scale(1.04); z-index: 1; box-shadow: 0 40px 80px -30px rgba(11, 9, 16, .45); }
.rb-near-shot:nth-child(3) { transform: rotate(2.5deg) translateY(10px); }
.rb-near-shot:hover { transform: rotate(0deg) translateY(0) scale(1.05); z-index: 2; }

@media (max-width: 900px) {
  .rb-near-shots { grid-template-columns: 1fr; }
  .rb-near-shot { aspect-ratio: 10 / 12; max-width: 420px; margin-inline: auto; width: 100%; }
  .rb-near-shot:nth-child(n) { transform: none; }
}

/* One screen is enough. */
.rb-near-solo { max-width: 430px; margin-inline: auto; }
.rb-near-solo .rb-near-shot {
  transform: none;
  aspect-ratio: 10 / 14.5;
}
.rb-near-solo .rb-near-shot:hover { transform: scale(1.02); }

/* ==========================================================================
   The finder — map1's screen, rebuilt to the pixel in our own code.
   ========================================================================== */
.rb-finder-stage {
  position: relative;
  max-width: 460px;
  margin-inline: auto;
}
.rb-finder-stage .rb-hglass { z-index: 0; }
.rb-finder {
  position: relative;
  z-index: 1;
  background: rgba(243, 238, 250, .55);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 34px;
  padding: 28px 22px 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7),
    0 44px 90px -36px rgba(94, 18, 184, .35);
  overflow: hidden;
}
/* A slow light sweep across the glass. */
.rb-finder::before {
  content: '';
  position: absolute;
  top: -60%; left: -80%;
  width: 60%; height: 220%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(12deg);
  animation: rb-shine 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes rb-shine {
  0%, 55% { left: -80%; }
  85%, 100% { left: 160%; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .rb-finder { background: #F1ECF9; }
}
.rb-finder-hi {
  font-size: 13.5px;
  color: #6E6580;
  margin: 2px 4px 10px;
}
.rb-finder-title {
  font-size: clamp(26px, 2.4vw, 31px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 4px 20px;
  max-width: 9ch;
}
.rb-finder-input {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  padding: 20px 22px;
  font-size: 15.5px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(11, 9, 16, .03);
}
.rb-finder-input svg { width: 17px; height: 17px; flex: none; color: #9A93A8; }
.rb-finder-q { color: #8B8498; white-space: pre; }
.rb-finder-caret {
  display: inline-block;
  width: 2px; height: 1.15em;
  background: var(--rb-purple);
  margin-left: 1px;
  vertical-align: text-bottom;
  animation: rb-caret 1s steps(1) infinite;
}
@keyframes rb-caret { 50% { opacity: 0; } }
.rb-finder-chips {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.rb-finder-chips span {
  display: inline-flex; align-items: center; gap: 5px;
  flex: none;
  font-size: 11.5px; font-weight: 500;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--rb-ink);
  border: 1.5px solid rgba(255, 255, 255, .7);
  transition: border-color .3s ease;
}
.rb-finder-chips span.on { border-color: var(--rb-ink); }
.rb-finder-chips svg { width: 11px; height: 11px; color: var(--rb-ink); }
.rb-finder-chips i {
  font-style: normal;
  font-size: 9px;
  color: #9A93A8;
}
/* Small screens: text-only chips, one clean line, all four fitting fully.
   The row borrows the card's side padding; sideways scroll is the fallback. */
@media (max-width: 480px) {
  .rb-finder-chips {
    gap: 5px;
    margin-inline: -22px;
    padding-inline: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .rb-finder-chips::-webkit-scrollbar { display: none; }
  .rb-finder-chips span { font-size: 10px; padding: 5px 10px; gap: 0; }
  .rb-finder-chips svg { display: none; }
  .rb-finder-chips i { display: none; }
}
.rb-finder-list { min-height: 246px; display: flex; flex-direction: column; gap: 10px; }
.rb-finder-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 18px;
  padding: 13px 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s var(--rb-ease-soft), transform .45s var(--rb-ease);
}
.rb-finder-row.in { opacity: 1; transform: none; }
.rb-finder-ava {
  width: 46px; height: 46px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--rb-serif);
  font-size: 19px; font-weight: 600;
  color: #fff;
}
.rb-finder-ava.fa-serif { font-family: var(--rb-serif); font-style: italic; font-weight: 500; font-size: 20px; }
.rb-finder-ava.fa-caps  { font-family: var(--rb-sans); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; }
.rb-finder-ava.fa-mono  { font-family: ui-monospace, 'SF Mono', Consolas, monospace; font-size: 13px; font-weight: 600; }
.rb-finder-ava.sq { border-radius: 13px; }
.rb-finder-ava.ci { border-radius: 50%; }
.rb-finder-row h4 { margin: 0; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.rb-finder-row p { margin: 1px 0 0; font-size: 12.5px; color: #8B8498; }
.rb-finder-dist { font-size: 13.5px; font-weight: 600; color: var(--rb-purple); }
.rb-finder-open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(100deg, #8A2BE8 0%, #5E12B8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    0 14px 34px -12px rgba(94, 18, 184, .55);
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  transition: transform .3s var(--rb-ease), box-shadow .3s ease;
}
.rb-finder-open:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    0 20px 44px -14px rgba(94, 18, 184, .65);
}

/* Little truths floating around the glass. */
.rb-finder-float {
  position: absolute;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  padding: 10px 15px;
  font-size: 12.5px; font-weight: 600;
  box-shadow: 0 16px 36px -16px rgba(11, 9, 16, .3);
  animation: rb-float var(--fd, 7s) ease-in-out var(--fo, 0s) infinite alternate;
  pointer-events: none;
}
.rb-finder-float svg { width: 13px; height: 13px; }
.rb-finder-float.f1 { top: 96px; right: -74px; --fd: 6.5s; }
.rb-finder-float.f2 { bottom: -16px; left: -58px; --fd: 8s; --fo: 1.4s; }
@media (max-width: 1100px) { .rb-finder-float { display: none; } }
