/* ==========================================================================
   PropertyRubix — Homepage "From the World to Your Door"
   Loaded only on the homepage. All selectors are scoped under .rx or
   body.page-home so nothing leaks into other pages.
   Content is fully visible without JS; .rx-js (set by home-experience.js)
   enables the motion states.
   ========================================================================== */

.rx {
  --rx-ink: #060a14;
  --rx-navy: #0b1220;
  --rx-navy-2: #121b31;
  --rx-line: rgba(255, 255, 255, .12);
  --rx-gold: #f7cb46;
  --rx-gold-2: #e5a93b;
  --rx-cream: #fbf8f1;
  --rx-paper: #ffffff;
  --rx-text: #0f172a;
  --rx-muted: #5b6476;
  --rx-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --rx-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --rx-gutter: clamp(16px, 4vw, 56px);
  --rx-ease: cubic-bezier(.22, 1, .36, 1);

  font-family: var(--rx-display);
  color: var(--rx-text);
  background: var(--rx-cream);
  overflow-x: clip;
}
.rx *, .rx *::before, .rx *::after { box-sizing: border-box; }
.rx em { font-family: var(--rx-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.rx a { text-decoration: none; }

.rx-wrap {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--rx-gutter);
}

/* ── Type ───────────────────────────────────────────────────────────────── */
.rx-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rx-gold-2);
  margin: 0 0 18px;
}
.rx-kicker::before { content: ''; width: 28px; height: 1.5px; background: currentColor; }
.rx-kicker--light { color: var(--rx-gold); }
.rx-kicker--center { display: flex; justify-content: center; }
.rx-h1 {
  font-size: clamp(2.6rem, 7.2vw, 6.4rem);
  font-weight: 800; line-height: .98; letter-spacing: -.035em;
  color: #fff; margin: 0 0 22px;
}
.rx-h1 em { color: var(--rx-gold); font-size: 1.08em; }
.rx-h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -.03em;
  margin: 0 0 18px;
}
.rx-h2 em { color: var(--rx-gold-2); }
.rx-display {
  font-size: clamp(2.6rem, 8vw, 7.2rem);
  font-weight: 800; line-height: .95; letter-spacing: -.04em;
  color: #fff; margin: 0;
}
.rx-display em { color: var(--rx-gold); }
.rx-lede { font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.6; color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto 30px; }
.rx-muted { color: var(--rx-muted); font-size: 1.05rem; line-height: 1.65; max-width: 460px; }
.rx-line { display: block; overflow: hidden; padding-bottom: .06em; }
.rx-line > span { display: inline-block; }

/* ── Buttons & links ────────────────────────────────────────────────────── */
.rx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 700 1rem/1 var(--rx-display); letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--rx-ease), background .3s, color .3s, box-shadow .35s, border-color .3s;
}
.rx-btn:hover { transform: translateY(-2px); }
.rx-btn:focus-visible { outline: 3px solid var(--rx-gold); outline-offset: 3px; }
.rx-btn--gold { background: var(--rx-gold); color: #1a1405; box-shadow: 0 10px 30px -8px rgba(247,203,70,.6); }
.rx-btn--gold:hover { background: #ffd95e; color: #1a1405; box-shadow: 0 16px 40px -8px rgba(247,203,70,.75); }
.rx-btn--ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rx-btn--ghost:hover { background: #fff; color: var(--rx-navy); border-color: #fff; }
.rx-btn--lg { min-height: 60px; padding: 0 32px; font-size: 1.06rem; }
.rx-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--rx-text); border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.rx-link i { transition: transform .3s var(--rx-ease); }
.rx-link:hover { color: var(--rx-gold-2); }
.rx-link:hover i { transform: translateX(4px); }

.rx-glass {
  background: rgba(11, 18, 32, .55);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}

/* ── Header over the dark stage ─────────────────────────────────────────── */
body.page-home { background: #060a14; }
/* Dark glass header on the homepage: transparent at the top, frosted navy once scrolled */
body.page-home .site-header {
  background: rgba(6, 10, 20, .9) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  backdrop-filter: blur(16px) saturate(140%) !important; -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
  transition: background .4s, border-color .4s, box-shadow .4s;
}
body.page-home .site-header:not(.scrolled) {
  background: transparent !important; border-bottom-color: transparent !important; box-shadow: none !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
body.page-home .site-header .logo-main > span:first-child,
body.page-home .site-header .logo-dot-com,
body.page-home .site-header .country-selector a { color: #fff !important; }
body.page-home .site-header .hamburger-btn span { background-color: #fff !important; }
body.page-home .site-header .header-logo img { filter: brightness(0) invert(1); }
.rx-focus__sub { display: block; font-size: .38em; font-weight: 600; letter-spacing: .02em; color: rgba(255,255,255,.55); margin-top: 8px; }

/* ══ 1–2 · STAGE ══════════════════════════════════════════════════════════ */
.rx-stage {
  position: relative;
  background:
    radial-gradient(1200px 700px at 50% 115%, rgba(247,203,70,.10), transparent 60%),
    radial-gradient(900px 600px at 85% 10%, rgba(56,99,201,.18), transparent 60%),
    linear-gradient(180deg, #060a14 0%, #0a1222 60%, #0b1220 100%);
  color: #fff;
}
.rx-stage__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  margin-bottom: -100vh; margin-bottom: -100svh;
  overflow: hidden; pointer-events: none; z-index: 0;
}
.rx-globe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rx-stage__stars {
  position: absolute; inset: 0; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 72%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 32%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 58%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 90% 26%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 52%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 88%, #fff 50%, transparent 51%);
  background-size: 640px 640px;
}
.rx-stage__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(6,10,20,.75) 100%);
}

.rx-hero, .rx-focus {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
}
.rx-hero__inner {
  text-align: center;
  padding-top: calc(var(--pr-header-h, 72px) + 24px);
  padding-bottom: 16vh;
}
.rx-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; margin: 0 0 28px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.85);
}
.rx-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--rx-gold); box-shadow: 0 0 0 0 rgba(247,203,70,.7); animation: rxPulse 2.2s infinite; }
@keyframes rxPulse { 70% { box-shadow: 0 0 0 10px rgba(247,203,70,0); } 100% { box-shadow: 0 0 0 0 rgba(247,203,70,0); } }

/* Search */
.rx-search { position: relative; max-width: 720px; margin: 0 auto 22px; text-align: left; }
.rx-search__form {
  display: flex; align-items: center; gap: 6px;
  padding: 7px; border-radius: 999px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.65), 0 0 0 1px rgba(247,203,70,.35), 0 0 0 7px rgba(247,203,70,.08);
}
.rx-search__icon { color: #94a3b8; font-size: 1.05rem; padding-left: 16px; }
.rx-search__input {
  flex: 1 1 auto; min-width: 0; height: 54px;
  border: 0; outline: 0; background: transparent;
  font: 500 1.05rem var(--rx-display); color: var(--rx-text);
}
.rx-search__input::placeholder { color: #94a3b8; }
.rx-search__btn { min-height: 54px; padding: 0 30px; }
.rx-search__dropdown {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 50;
  max-height: 400px; overflow-y: auto;
  background: #fff; border-radius: 20px;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,.45);
  overscroll-behavior: contain;
}
.rx-search__group { padding: 10px 18px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; background: #f8fafc; }
.rx-search__item { display: flex; align-items: center; gap: 12px; padding: 11px 18px; color: var(--rx-text) !important; border-bottom: 1px solid #f1f5f9; transition: background .2s; }
.rx-search__item:hover, .rx-search__item:focus { background: #fef7df; }
.rx-search__item strong { display: block; font-size: .95rem; }
.rx-search__item small { display: block; color: #64748b; font-size: .78rem; }
.rx-search__ico { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(247,203,70,.18); color: #8a6716; }
.rx-search__empty { padding: 16px 18px; color: #64748b; font-size: .92rem; }

.rx-hero__ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.rx-scrollcue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6) !important;
}
.rx-scrollcue span { width: 1.5px; height: 44px; background: linear-gradient(var(--rx-gold), transparent); animation: rxCue 2s var(--rx-ease) infinite; transform-origin: top; }
@keyframes rxCue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Focus */
.rx-focus__inner { display: flex; justify-content: flex-start; padding-block: 12vh; }
.rx-focus__panel { width: min(100%, 470px); padding: clamp(24px, 3vw, 36px); border-radius: 28px; }
.rx-focus .rx-kicker { color: var(--rx-gold); }
.rx-focus .rx-h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.rx-flag { font-size: .8em; }
.rx-focus__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 24px; padding-block: 18px; border-block: 1px solid var(--rx-line); }
.rx-focus__stats strong { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--rx-gold); letter-spacing: -.03em; line-height: 1; }
.rx-focus__stats span { font-size: .8rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.rx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rx-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); color: #fff !important; font-size: .88rem; font-weight: 600;
  transition: background .25s, border-color .25s, color .25s;
}
.rx-chip small { font-size: .72rem; padding: 2px 7px; border-radius: 99px; background: rgba(247,203,70,.2); color: var(--rx-gold); }
.rx-chip:hover { background: var(--rx-gold); border-color: var(--rx-gold); color: #1a1405 !important; }
.rx-chip:hover small { background: rgba(0,0,0,.12); color: #1a1405; }
.rx-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 22px; font-size: .85rem; color: rgba(255,255,255,.55); }
.rx-switch a { color: rgba(255,255,255,.85) !important; font-weight: 600; }
.rx-switch a:hover { color: var(--rx-gold) !important; }

/* ══ 3 · CITY ═════════════════════════════════════════════════════════════ */
.rx-city {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--rx-navy); color: #fff;
  isolation: isolate;
}
.rx-city__media {
  position: absolute; inset: -6% 0; z-index: -3;
  background: var(--rx-img) center / cover no-repeat;
  transform-origin: 50% 60%;
}
.rx-city__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(11,18,32,.95) 0%, rgba(11,18,32,.35) 40%, rgba(11,18,32,.55) 75%, var(--rx-cream) 100%); }
.rx-skyline { position: absolute; left: 0; bottom: 0; width: 100%; height: 62%; z-index: -1; }
.rx-skyline--back path { fill: url(#rxSkyBack); }
.rx-skyline--mid path { fill: url(#rxSkyMid); }
.rx-skyline--front path { fill: var(--rx-cream); }
.rx-city__copy { position: relative; padding-block: 18vh 30vh; }
.rx-city__copy .rx-display { max-width: 11ch; text-shadow: 0 10px 40px rgba(0,0,0,.4); }

/* ══ 4 · TOWER ════════════════════════════════════════════════════════════ */
.rx-tower { background: var(--rx-cream); padding-block: clamp(64px, 10vw, 120px); position: relative; }
.rx-tower__grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(24px, 5vw, 80px); }
.rx-floors { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid #e7e1d2; }
.rx-floors li { border-bottom: 1px solid #e7e1d2; }
.rx-floors a {
  display: grid; grid-template-columns: 44px 1fr auto 20px; align-items: center; gap: 12px;
  padding: 16px 6px; color: var(--rx-text) !important;
  transition: background .3s, padding .35s var(--rx-ease);
}
.rx-floors a:hover, .rx-floors a.is-hot { background: #fff; padding-inline: 16px; }
.rx-floors__lvl { font-size: .72rem; font-weight: 800; color: #a59f8f; letter-spacing: .08em; }
.rx-floors__name { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.rx-floors__n { font-size: .85rem; color: var(--rx-muted); font-weight: 600; }
.rx-floors a i { color: var(--rx-gold-2); transition: transform .3s var(--rx-ease); }
.rx-floors a:hover i { transform: translateX(4px); }

.rx-tower__art { position: relative; }
.rx-tower__svg { width: 100%; height: auto; display: block; overflow: visible; }
.rx-face--l { fill: url(#rxFaceL); }
.rx-face--r { fill: url(#rxFaceR); }
.rx-face--t { fill: #3a4b74; }
.rx-face--gold { fill: var(--rx-gold); }
.rx-tower__lobby .rx-face--l, .rx-tower__lobby .rx-face--r { fill: #0f1729; }
.rx-tower__lobby .rx-face--t { fill: #2b3a5e; }
.rx-win { fill: #33466f; transition: fill .5s; }
.rx-win--r { fill: #3b5080; }
.rx-tower__floor.is-lit .rx-win { fill: #f7cb46; }
.rx-tower__floor.is-lit .rx-win--r { fill: #ffde7a; }
.rx-tower__floor.is-hot .rx-face--t { fill: var(--rx-gold); }
.rx-tower__floor.is-hot .rx-win { fill: #fff2c2; }
.rx-tower__tag line { stroke: #b9a26a; stroke-width: 1.2; }
.rx-tower__tag circle { fill: var(--rx-gold-2); }
.rx-tower__tag text { font: 700 15px var(--rx-display); fill: var(--rx-text); }
.rx-tower__spire { stroke: #3a4b74; stroke-width: 3; }
.rx-tower__beacon { fill: var(--rx-gold); filter: drop-shadow(0 0 6px var(--rx-gold)); animation: rxBlink 2s infinite; }
@keyframes rxBlink { 50% { opacity: .25; } }

/* ══ 5 · STATS ════════════════════════════════════════════════════════════ */
.rx-stats { background: var(--rx-navy); color: #fff; padding-block: clamp(48px, 7vw, 88px); }
.rx-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.rx-stat { padding-left: 20px; border-left: 1px solid var(--rx-line); }
.rx-stat strong { display: block; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--rx-gold); font-variant-numeric: tabular-nums; }
.rx-stat > span { display: block; margin-top: 10px; color: rgba(255,255,255,.65); font-weight: 600; font-size: .92rem; }

/* ══ 6 · RAIL ═════════════════════════════════════════════════════════════ */
.rx-rail { background: var(--rx-cream); padding-block: clamp(64px, 9vw, 110px); overflow: hidden; }
.rx-rail__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.rx-rail__head .rx-h2 { margin: 0; }
.rx-rail__viewport {
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  /* align the first card with the centred .rx-wrap content */
  padding-inline: max(var(--rx-gutter), calc((100% - 1320px) / 2 + var(--rx-gutter)));
  scroll-padding-inline: max(var(--rx-gutter), calc((100% - 1320px) / 2 + var(--rx-gutter)));
}
.rx-rail__viewport::-webkit-scrollbar { display: none; }
.rx-rail__track { display: flex; gap: clamp(14px, 2vw, 26px); width: max-content; padding-bottom: 10px; }
.rx-card {
  position: relative; flex: 0 0 auto; width: min(82vw, 380px);
  scroll-snap-align: start;
  border-radius: 24px; background: var(--rx-paper);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 50px -30px rgba(15,23,42,.35);
  transform-style: preserve-3d; will-change: transform;
  transition: box-shadow .4s var(--rx-ease);
}
.rx-card:hover { box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 40px 70px -30px rgba(15,23,42,.45); }
.rx-card__link { display: block; color: inherit !important; border-radius: inherit; }
.rx-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px 24px 0 0; background: #e8e3d6; }
.rx-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--rx-ease); }
.rx-card:hover .rx-card__media img { transform: scale(1.06); }
.rx-card__badge { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(11,18,32,.75); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; backdrop-filter: blur(6px); }
.rx-card__body { padding: 20px 22px 22px; }
.rx-card__meta { font-size: .82rem; color: var(--rx-muted); margin: 0 0 6px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rx-card__meta i { color: var(--rx-gold-2); }
.rx-card__title { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; margin: 0; color: var(--rx-text); line-height: 1.2; }
.rx-card__by { margin: 4px 0 0; font-size: .86rem; color: var(--rx-muted); }
.rx-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed #e5e0d3; }
.rx-card__price { font-weight: 800; font-size: 1.02rem; color: var(--rx-text); }
.rx-card__cfg { font-size: .76rem; font-weight: 700; color: #7a6223; background: #fbf1d0; padding: 5px 10px; border-radius: 99px; max-width: 50%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rx-card--more {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px;
  min-height: 100%; padding: 28px; background: var(--rx-navy); color: #fff !important;
}
.rx-card--more strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.rx-card--more > span:last-child { color: rgba(255,255,255,.65); }
.rx-card--more__ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--rx-gold); color: var(--rx-gold); margin-bottom: auto; font-size: 1.2rem; transition: background .3s, color .3s, transform .4s var(--rx-ease); }
.rx-card--more:hover .rx-card--more__ring { background: var(--rx-gold); color: #1a1405; transform: rotate(-45deg); }

/* ══ 7 · BUILDERS ═════════════════════════════════════════════════════════ */
.rx-builders { background: var(--rx-paper); padding-block: clamp(56px, 7vw, 90px); overflow: hidden; border-block: 1px solid #efe9da; }
.rx-builders .rx-kicker { margin-bottom: 30px; }
.rx-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.rx-marquee + .rx-marquee { margin-top: 14px; }
.rx-marquee__track { display: flex; gap: 14px; width: max-content; animation: rxMarquee 48s linear infinite; }
.rx-marquee--rev .rx-marquee__track { animation-direction: reverse; animation-duration: 56s; }
.rx-marquee:hover .rx-marquee__track { animation-play-state: paused; }
@keyframes rxMarquee { to { transform: translateX(-50%); } }
.rx-builder {
  display: inline-flex; align-items: center; gap: 12px;
  height: 68px; padding: 0 26px; border-radius: 18px;
  background: var(--rx-cream); border: 1px solid #efe9da;
  color: var(--rx-text) !important; font-weight: 800; font-size: 1.02rem; white-space: nowrap;
  transition: background .3s, border-color .3s, transform .3s var(--rx-ease);
}
.rx-builder img { height: 34px; width: auto; max-width: 110px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.rx-builder:hover { background: #fff; border-color: var(--rx-gold); transform: translateY(-2px); }
.rx-builder:hover img { filter: none; opacity: 1; }

/* ══ 8 · STEPS ════════════════════════════════════════════════════════════ */
.rx-steps { background: var(--rx-navy); color: #fff; padding-block: clamp(72px, 10vw, 130px); }
.rx-steps .rx-h2 { color: #fff; }
.rx-steps .rx-h2 em { color: var(--rx-gold); }
.rx-steps__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(40px, 6vw, 72px); }
.rx-steps__line { position: absolute; left: 0; right: 0; top: 46px; width: 100%; height: 40px; z-index: 0; }
.rx-steps__line path { fill: none; stroke: var(--rx-gold); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; opacity: .7; }
.rx-step { position: relative; z-index: 1; padding: 26px; border-radius: 24px; background: var(--rx-navy-2); border: 1px solid var(--rx-line); }
.rx-step__n { position: absolute; right: 22px; top: 20px; font-size: .8rem; font-weight: 800; color: rgba(255,255,255,.35); letter-spacing: .1em; }
.rx-step__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--rx-gold); color: #1a1405; font-size: 1.3rem; margin-bottom: 22px; box-shadow: 0 0 0 8px var(--rx-navy); }
.rx-step h3 { font-size: 1.25rem; font-weight: 800; margin: 0 0 8px; color: #fff; }
.rx-step p { margin: 0; color: rgba(255,255,255,.65); line-height: 1.6; font-size: .95rem; }

/* ══ 9 · VOICES ═══════════════════════════════════════════════════════════ */
.rx-voices { background: var(--rx-cream); padding-block: clamp(64px, 9vw, 110px); }
.rx-voices__row {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 24px var(--rx-gutter) 10px; scroll-padding-inline: var(--rx-gutter);
}
.rx-voices__row::-webkit-scrollbar { display: none; }
.rx-voice { flex: 0 0 min(86vw, 420px); scroll-snap-align: start; margin: 0; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid #efe9da; display: flex; flex-direction: column; }
.rx-voice__stars { color: var(--rx-gold-2); letter-spacing: 3px; margin-bottom: 14px; }
.rx-voice blockquote { font-family: var(--rx-serif); font-size: 1.4rem; line-height: 1.35; color: var(--rx-text); margin: 0 0 22px; flex: 1; }
.rx-voice figcaption { display: flex; align-items: center; gap: 12px; }
.rx-voice figcaption img, .rx-voice__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--rx-navy); color: var(--rx-gold); font-weight: 800; }
.rx-voice figcaption strong { display: block; font-size: .95rem; }
.rx-voice figcaption small { color: var(--rx-muted); }

/* ══ 10 · INSIGHTS ════════════════════════════════════════════════════════ */
.rx-insights { background: var(--rx-paper); padding-block: clamp(64px, 9vw, 110px); }
.rx-insights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rx-post { display: block; color: var(--rx-text) !important; }
.rx-post__media { aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #1b2642, #0b1220); margin-bottom: 16px; }
.rx-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--rx-ease); }
.rx-post:hover .rx-post__media img { transform: scale(1.05); }
.rx-post__cat { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rx-gold-2); }
.rx-post h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; margin: 6px 0 6px; }
.rx-post small { color: var(--rx-muted); }

/* ══ 11 · DOOR ════════════════════════════════════════════════════════════ */
.rx-door {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--rx-ink); color: #fff;
  perspective: 1600px;
}
.rx-door__light {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(40% 60% at 50% 55%, rgba(247,203,70,.45), transparent 70%),
    radial-gradient(70% 90% at 50% 60%, rgba(247,203,70,.12), transparent 70%);
}
.rx-door__leaf {
  position: absolute; top: 0; bottom: 0; width: 50.5%; z-index: -1;
  background: linear-gradient(180deg, #0e1628, #070b16);
  border: 1px solid rgba(255,255,255,.06);
  display: none; /* enabled by JS (tier A/B) */
}
.rx-door__leaf span { position: absolute; top: 50%; width: 6px; height: 90px; margin-top: -45px; border-radius: 3px; background: linear-gradient(var(--rx-gold), var(--rx-gold-2)); }
.rx-door__leaf--l { left: 0; transform-origin: left center; }
.rx-door__leaf--l span { right: 28px; }
.rx-door__leaf--r { right: 0; transform-origin: right center; }
.rx-door__leaf--r span { left: 28px; }
.rx-door__content { padding-block: 14vh; }
.rx-door .rx-display { margin-bottom: 22px; }
.rx-door__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.rx-door__call { margin: 22px 0 0; color: rgba(255,255,255,.6); }
.rx-door__call a { color: var(--rx-gold) !important; font-weight: 700; }

/* ══ JS-enabled motion states (only applied when .rx-js is present) ═════ */
.rx-js .rx-door__leaf { display: block; }
.rx-js .rx-tower__floor.is-pending, .rx-js .rx-tower__crown.is-pending { opacity: 0; }

/* ══ Responsive ═══════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .rx-tower__grid { grid-template-columns: 1fr; }
  .rx-tower__art { order: -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .rx-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .rx-steps__grid { grid-template-columns: repeat(2, 1fr); }
  .rx-steps__line { display: none; }
  .rx-insights__grid { grid-template-columns: 1fr 1fr; }
  .rx-focus__inner { justify-content: center; align-items: flex-end; min-height: 100svh; padding-bottom: 8vh; }
}
@media (max-width: 767.98px) {
  .rx-hero__inner { padding-bottom: 22vh; }
  .rx-eyebrow { font-size: .74rem; margin-bottom: 22px; }
  .rx-search__form { padding: 5px; }
  .rx-search__icon { display: none; }
  .rx-search__input { height: 50px; padding-left: 16px; font-size: 1rem; }
  .rx-search__btn { min-height: 50px; padding: 0 20px; }
  .rx-hero__ctas { flex-direction: column; align-items: stretch; max-width: 360px; margin-inline: auto; }
  .rx-scrollcue { display: none; }
  .rx-focus__panel { border-radius: 24px; }
  .rx-city__copy { padding-block: 14vh 26vh; }
  .rx-tower__tag { display: none; }
  .rx-floors a { grid-template-columns: 36px 1fr auto 16px; padding-block: 14px; }
  .rx-steps__grid { grid-template-columns: 1fr; }
  .rx-insights__grid { grid-template-columns: 1fr; }
  .rx-door__ctas { flex-direction: column; align-items: stretch; max-width: 360px; margin-inline: auto; }
  .rx-door__leaf span { height: 60px; margin-top: -30px; }
}

@media (prefers-reduced-motion: reduce) {
  .rx *, .rx *::before, .rx *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rx-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .rx-marquee__track > [aria-hidden="true"] { display: none; }
}

/* Lenis smooth scroll (tier A) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
