:root {
  --rxg-ink: #17130d;
  --rxg-ink-soft: #2a231a;
  --rxg-bronze: #965f3d;
  --rxg-bronze-light: #c79a5b;
  --rxg-paper: #f6f3ec;
  --rxg-linen: #efebe1;
  --rxg-white: #fff;
  --rxg-border: #e2dccf;
  --rxg-card-border: #e9e3d7;
  --rxg-border-dark: #cfc7b5;
  --rxg-muted: #736b5c;
  --rxg-muted-light: #a79c89;
  --rxg-success: #2f6a45;
  --rxg-success-bg: #e7efe8;
  --rxg-warning: #8a611f;
  --rxg-warning-bg: #f4ecda;
  --rxg-reserved: #8a611f;
  --rxg-sold: #7b3e3e;
  --rxg-radius-sm: 7px;
  --rxg-radius: 12px;
  --rxg-radius-lg: 14px;
  --rxg-shadow: 0 24px 60px -28px rgba(23, 19, 13, 0.48);
  --rxg-container: 1280px;
  --rxg-gutter: clamp(20px, 5vw, 40px);
  --rxg-section-y: clamp(44px, 6vw, 80px);
  --rxg-feature-section-y: clamp(52px, 8vw, 96px);
  --rxg-card-gap: clamp(14px, 1.6vw, 22px);
  --rxg-card-padding: clamp(22px, 2.4vw, 30px);
  --rxg-header-height: 72px;
  --rxg-focus-color: var(--rxg-bronze);
  --rxg-focus-width: 2px;
  --rxg-focus-offset: 2px;
  --rxg-serif: "Cormorant Garamond", Georgia, serif;
  --rxg-sans: "Hanken Grotesk", system-ui, sans-serif;
  --rxg-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--rxg-paper);
  color: var(--rxg-ink);
  font-family: var(--rxg-sans);
  font-size: clamp(14.5px, 1.4vw, 16.5px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.rxg-menu-open,
body.rxg-dialog-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

button,
a,
summary,
select,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  border-color: var(--rxg-bronze);
  outline: var(--rxg-focus-width) solid var(--rxg-focus-color);
  outline-offset: var(--rxg-focus-offset);
  box-shadow: none;
}

#rxg-content,
#inquiry,
#ground-floor-plan,
#project-drawings {
  scroll-margin-top: calc(var(--rxg-header-height) + 16px);
}

.rxg-visually-hidden,
.rxg-filter-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

::selection {
  background: var(--rxg-ink);
  color: var(--rxg-paper);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--rxg-border-dark);
  background-clip: content-box;
}

[hidden] {
  display: none !important;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rxg-container {
  width: min(100%, var(--rxg-container));
  margin-inline: auto;
  padding-inline: var(--rxg-gutter);
}

.rxg-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: var(--rxg-radius-sm);
  background: var(--rxg-ink);
  color: var(--rxg-paper);
  font-weight: 700;
  transform: translateY(-160%);
}

.rxg-skip-link:focus {
  transform: translateY(0);
}

.rxg-eyebrow,
.rxg-micro {
  color: var(--rxg-bronze);
  font-family: var(--rxg-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.rxg-lead {
  max-width: 56ch;
  margin: 0;
  color: #5f5849;
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.55;
}

.rxg-button {
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.rxg-button:hover {
  transform: translateY(-1px);
}

.rxg-button--ink {
  background: var(--rxg-ink);
  color: var(--rxg-paper);
}

.rxg-button--ink:hover {
  background: var(--rxg-ink-soft);
}

.rxg-button--paper {
  background: var(--rxg-paper);
  color: var(--rxg-ink);
}

.rxg-button--paper:hover {
  background: var(--rxg-white);
}

.rxg-button--outline {
  border-color: var(--rxg-ink);
  background: transparent;
  color: var(--rxg-ink);
}

.rxg-button--outline-light {
  border-color: rgba(246, 243, 236, 0.36);
  background: transparent;
  color: var(--rxg-paper);
}

.rxg-button--outline-light:hover {
  background: rgba(246, 243, 236, 0.08);
}

.rxg-button--wide {
  width: 100%;
}

/* Header */

.rxg-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(226, 220, 207, 0.9);
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(16px);
}

.admin-bar .rxg-header {
  top: 32px;
}

.rxg-header__inner {
  width: min(100%, var(--rxg-container));
  height: var(--rxg-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-inline: auto;
  padding-inline: var(--rxg-gutter);
}

.rxg-brand {
  flex: 0 0 auto;
  display: block;
  line-height: 1;
  text-decoration: none;
}

.rxg-brand-mark {
  display: block;
  width: auto;
  height: 48px;
  max-width: 100%;
}

.rxg-brand-mark--dark {
  height: 64px;
}

.rxg-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.rxg-nav--desktop {
  flex: 0 0 auto;
}

.rxg-nav__link {
  position: relative;
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 1px;
  color: #5f5849;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.rxg-nav__link:hover,
.rxg-nav__link.is-active {
  color: var(--rxg-ink);
}

.rxg-nav__link.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 2px;
  background: var(--rxg-bronze);
}

.rxg-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rxg-header__request {
  height: 44px;
  padding-inline: 16px;
  border-radius: 7px;
  font-size: 13px;
}

.rxg-language {
  position: relative;
}

.rxg-language summary {
  min-width: 130px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #d8d0c0;
  border-radius: var(--rxg-radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  list-style: none;
}

.rxg-language summary::-webkit-details-marker {
  display: none;
}

.rxg-language summary img,
.rxg-language__menu img,
.rxg-language-list img {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.rxg-language__code {
  display: none;
  font-family: var(--rxg-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.rxg-language summary i {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.rxg-language[open] summary i {
  transform: rotate(225deg) translate(-1px, -1px);
}

.rxg-language__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  padding: 6px;
  border: 1px solid var(--rxg-border);
  border-radius: 10px;
  background: var(--rxg-white);
  box-shadow: var(--rxg-shadow);
}

.rxg-language__menu a {
  min-height: 44px;
  display: grid;
  grid-template-columns: 20px 1fr auto 14px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 7px;
  color: var(--rxg-ink);
  font-size: 14px;
  text-decoration: none;
}

.rxg-language__menu a:hover,
.rxg-language__menu a[aria-current="page"] {
  background: var(--rxg-paper);
}

.rxg-language__menu small {
  color: var(--rxg-muted);
  font-family: var(--rxg-mono);
  font-size: 10px;
}

.rxg-language__menu b {
  color: var(--rxg-bronze);
}

.rxg-menu-button {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #d8d0c0;
  border-radius: var(--rxg-radius-sm);
  background: transparent;
  color: var(--rxg-ink);
  cursor: pointer;
}

.rxg-menu-button__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.rxg-menu-button__icon {
  width: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rxg-menu-button__icon i {
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
}

.rxg-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: var(--rxg-paper);
}

.admin-bar .rxg-mobile-menu {
  top: 32px;
}

.rxg-mobile-menu__top {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--rxg-border);
}

.rxg-icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.rxg-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 12px;
}

.rxg-mobile-menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 12px;
  border-radius: 8px;
  color: #5f5849;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.rxg-mobile-menu__nav a:hover,
.rxg-mobile-menu__nav a.is-active {
  background: var(--rxg-linen);
  color: var(--rxg-ink);
}

.rxg-mobile-menu__bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
  padding: 20px;
  border-top: 1px solid var(--rxg-border);
}

.rxg-language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rxg-language-list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 11px;
  border: 1px solid var(--rxg-border);
  border-radius: 8px;
  background: var(--rxg-white);
  font-size: 13px;
  text-decoration: none;
}

.rxg-language-list a.is-active {
  border-color: var(--rxg-bronze);
  background: #f4ecda;
}

/* Catalogue */

.rxg-catalogue-hero {
  padding: clamp(28px, 4.5vw, 56px) 0 clamp(20px, 3vw, 32px);
}

.rxg-catalogue-hero h1,
.rxg-detail-hero h1,
.rxg-support-cta h2,
.rxg-related h2,
.rxg-detail-content h2,
.rxg-inquiry-card h2,
.rxg-dialog h2,
.rxg-empty-state h2,
.rxg-media-empty h3 {
  font-family: var(--rxg-serif);
  font-weight: 600;
  letter-spacing: -0.012em;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
  hyphens: none;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.rxg-catalogue-hero h1 {
  max-width: 20ch;
  margin: 12px 0 12px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.01em;
}

.rxg-title-accent {
  color: var(--rxg-bronze);
  font-style: italic;
  font-weight: 600;
}

.rxg-project-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(26px, 5vw, 64px);
  margin: 30px 0 0;
  padding: 20px 0;
  border-top: 1px solid var(--rxg-border);
  border-bottom: 1px solid var(--rxg-border);
}

.rxg-project-facts div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rxg-project-facts dt,
.rxg-detail-facts dt {
  color: var(--rxg-muted);
  font-family: var(--rxg-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rxg-project-facts dd {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.rxg-data-note {
  max-width: 780px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 17px;
  padding: 12px 14px;
  border: 1px solid #e7d8b6;
  border-radius: 9px;
  background: var(--rxg-warning-bg);
  color: #745a28;
  font-size: 13px;
  line-height: 1.5;
}

.rxg-data-note__icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  margin-top: 1px;
  border-radius: 50%;
  background: #b07a2e;
  color: #fff;
  font-family: var(--rxg-serif);
  font-size: 13px;
  font-weight: 700;
}

.rxg-data-note p {
  margin: 0;
}

.rxg-catalogue-tools {
  position: sticky;
  top: var(--rxg-header-height);
  z-index: 50;
  border-top: 1px solid var(--rxg-border);
  border-bottom: 1px solid var(--rxg-border);
  background: rgba(246, 243, 236, 0.96);
  backdrop-filter: blur(12px);
}

.admin-bar .rxg-catalogue-tools {
  top: calc(var(--rxg-header-height) + 32px);
}

.rxg-catalogue-tools .rxg-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-block: 11px 12px;
}

.rxg-floor-tabs {
  display: flex;
  gap: 8px;
  align-items: stretch;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 1px 1px 4px;
  scroll-padding-inline: 1px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.rxg-floor-tabs::-webkit-scrollbar,
.rxg-media-tabs::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.rxg-floor-tabs button {
  flex: 0 0 auto;
  min-width: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--rxg-border);
  border-radius: var(--rxg-radius);
  background: var(--rxg-white);
  color: #5f5849;
  font-family: var(--rxg-mono);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.rxg-floor-tabs button[data-floor="all"] {
  min-width: 92px;
}

.rxg-floor-tabs__label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.rxg-floor-tabs__meta {
  font-size: 9.5px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  color: currentColor;
  opacity: 0.55;
}

.rxg-floor-tabs button:not(.is-active):not(:disabled):hover {
  border-color: var(--rxg-ink-soft);
  transform: translateY(-2px);
}

.rxg-floor-tabs button.is-active {
  border-color: var(--rxg-ink-soft);
  background: var(--rxg-ink-soft);
  color: var(--rxg-paper);
}

.rxg-floor-tabs button:disabled {
  opacity: 0.45;
  cursor: default;
}

.rxg-filter-toggle {
  display: none;
}

.rxg-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.rxg-filter-group {
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.rxg-filter-group legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rxg-filter-pills {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rxg-filter-pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid #d8d0c0;
  border-radius: 999px;
  background: var(--rxg-white);
  color: #5f5849;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.rxg-filter-pill:hover {
  border-color: #a99f8d;
}

.rxg-filter-pill.is-active {
  border-color: var(--rxg-ink);
  background: var(--rxg-ink);
  color: var(--rxg-paper);
}

.rxg-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #8a8175;
}

.rxg-status-dot--available {
  background: #3f7a54;
}

.rxg-status-dot--reserved {
  background: #b07a2e;
}

.rxg-filter-pill.is-active .rxg-status-dot {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22);
}

.rxg-filter-separator {
  display: none;
}

.rxg-select-filter,
.rxg-sort-control {
  flex: 0 0 auto;
  display: flex;
  min-width: 0;
}

.rxg-control-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rxg-filter-bar select {
  height: 44px;
  min-width: 122px;
  padding: 0 32px 0 12px;
  border: 1px solid #d8d0c0;
  border-radius: 999px;
  background-color: var(--rxg-white);
  color: var(--rxg-ink);
  cursor: pointer;
  font-size: 13px;
}

.rxg-sort-control select {
  min-width: 164px;
  border-radius: 8px;
}

.rxg-check-filter {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0 12px;
  border: 1px solid #d8d0c0;
  border-radius: 999px;
  background: var(--rxg-white);
  cursor: pointer;
  white-space: nowrap;
}

.rxg-check-filter:has(input:checked) {
  border-color: var(--rxg-ink);
  background: var(--rxg-ink);
  color: var(--rxg-paper);
}

.rxg-check-filter:has(input:focus-visible) {
  border-color: var(--rxg-bronze);
  outline: var(--rxg-focus-width) solid var(--rxg-focus-color);
  outline-offset: var(--rxg-focus-offset);
  box-shadow: none;
}

.rxg-check-filter input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  accent-color: var(--rxg-bronze);
}

.rxg-check-filter span {
  color: inherit !important;
  font-family: var(--rxg-sans) !important;
  font-size: 13px !important;
  font-weight: 500;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.rxg-filter-actions {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-left: 0;
}

.rxg-clear-filters {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--rxg-bronze);
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.rxg-clear-filters[hidden] {
  display: none;
}

.rxg-results-line {
  color: #5f5849;
  font-family: var(--rxg-mono);
  font-size: 11px;
  white-space: nowrap;
}

.rxg-results-line strong {
  color: var(--rxg-ink);
  font-weight: 600;
}

.rxg-results-line--mobile {
  display: none;
}

.rxg-catalogue-results {
  min-height: 420px;
  padding: clamp(24px, 4vw, 42px) 0 clamp(52px, 8vw, 90px);
}

.rxg-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: var(--rxg-card-gap);
}

.rxg-apartment-card {
  min-width: 0;
  border: 1px solid var(--rxg-card-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--rxg-white);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rxg-apartment-card:hover {
  border-color: var(--rxg-border-dark);
  box-shadow: var(--rxg-shadow);
  transform: translateY(-3px);
}

.rxg-apartment-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.rxg-apartment-card > a:focus-visible {
  outline-offset: calc(-1 * var(--rxg-focus-width));
}

.rxg-apartment-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(158, 106, 67, 0.04), transparent 45%),
    repeating-linear-gradient(135deg, #ede8dd, #ede8dd 11px, #e7e1d4 11px, #e7e1d4 22px);
}

.rxg-apartment-card__media img {
  width: 100%;
  height: 100%;
}

.rxg-apartment-card__media--plan img {
  padding: 20px;
  object-fit: contain;
  filter: saturate(0.72) contrast(1.03);
}

.rxg-apartment-card__media--visual img {
  object-fit: contain;
  object-position: center;
}

.rxg-apartment-card__media--visual {
  height: clamp(320px, 24vw, 356px);
  aspect-ratio: auto;
  padding: 14px;
  background: #f4efe6;
}

.rxg-media-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--rxg-muted);
  font-family: var(--rxg-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rxg-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  color: var(--rxg-success);
  font-family: var(--rxg-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.rxg-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.rxg-status--reserved {
  color: var(--rxg-reserved);
}

.rxg-status--sold,
.rxg-status--unavailable {
  color: var(--rxg-sold);
}

.rxg-apartment-card__media > .rxg-status {
  position: absolute;
  top: 11px;
  left: 11px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
}

.rxg-tour-badge {
  position: absolute;
  top: 11px;
  right: 11px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(23, 19, 13, 0.86);
  color: var(--rxg-paper);
  font-family: var(--rxg-mono);
  font-size: 10px;
}

.rxg-media-label {
  position: absolute;
  bottom: 11px;
  left: 11px;
  padding: 5px 8px;
  border-radius: 5px;
  background: rgba(23, 19, 13, 0.68);
  color: var(--rxg-paper);
  font-family: var(--rxg-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rxg-apartment-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 17px 17px 15px;
}

.rxg-apartment-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--rxg-mono);
  font-size: 11px;
}

.rxg-apartment-card__meta span {
  color: var(--rxg-bronze);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rxg-apartment-card__meta strong {
  font-size: 12px;
  font-weight: 500;
}

.rxg-apartment-card h2 {
  margin: 0;
  font-family: var(--rxg-serif);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
}

.rxg-apartment-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
  color: var(--rxg-muted);
  font-family: var(--rxg-mono);
  font-size: 10.5px;
  line-height: 1.45;
}

.rxg-apartment-card__facts i {
  color: var(--rxg-border-dark);
  font-style: normal;
}

.rxg-apartment-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #eae4d8;
  font-size: 12.5px;
}

.rxg-apartment-card__action > span {
  color: var(--rxg-muted);
}

.rxg-showcase-price {
  color: var(--rxg-ink);
  font-family: var(--rxg-sans);
  font-weight: 700;
}

.rxg-apartment-card__action strong {
  font-size: 13px;
}

.rxg-apartment-card__action i {
  display: inline-block;
  margin-left: 4px;
  font-style: normal;
  transition: transform 160ms ease;
}

.rxg-apartment-card:hover .rxg-apartment-card__action i {
  transform: translateX(3px);
}

.rxg-empty-state {
  padding: clamp(54px, 8vw, 90px) 24px;
  border: 1px dashed var(--rxg-border-dark);
  border-radius: var(--rxg-radius-lg);
  background: var(--rxg-white);
  text-align: center;
}

.rxg-empty-state h2 {
  margin: 12px 0 8px;
  font-size: 30px;
}

.rxg-empty-state p {
  max-width: 44ch;
  margin: 0 auto 22px;
  color: var(--rxg-muted);
}

.rxg-support-cta {
  padding: clamp(48px, 7vw, 76px) 0;
  border-top: 1px solid var(--rxg-border);
  background: var(--rxg-linen);
}

.rxg-support-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.rxg-support-cta h2 {
  margin: 10px 0 6px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.rxg-support-cta p {
  max-width: 60ch;
  margin: 0;
  color: var(--rxg-muted);
}

/* Detail */

.rxg-detail-return {
  border-bottom: 1px solid var(--rxg-border);
}

.rxg-detail-return .rxg-container {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

.rxg-detail-return a {
  font-weight: 600;
  text-decoration: none;
}

.rxg-detail-return nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--rxg-muted);
  font-family: var(--rxg-mono);
  font-size: 10px;
}

.rxg-detail-return nav a {
  font-weight: 400;
}

.rxg-detail-return nav strong {
  color: var(--rxg-ink);
  font-weight: 500;
}

.rxg-detail-hero {
  padding: clamp(22px, 3.4vw, 38px) 0 clamp(14px, 2vw, 20px);
}

.rxg-detail-hero__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.rxg-detail-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
}

.rxg-detail-hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.rxg-detail-hero__badges > span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--rxg-linen);
  color: #5f5849;
  font-size: 12px;
}

.rxg-detail-hero__badges > .rxg-status {
  background: var(--rxg-success-bg);
  color: var(--rxg-success);
  font-size: 10px;
}

.rxg-detail-hero__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.rxg-detail-mobile-action {
  display: none;
}

.rxg-media {
  padding-bottom: clamp(32px, 5vw, 58px);
}

.rxg-media-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.rxg-media-tabs button {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 16px;
  border: 1px solid #d8d0c0;
  border-radius: 999px;
  background: transparent;
  color: #5f5849;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.rxg-media-tabs button.is-active {
  border-color: var(--rxg-ink);
  background: var(--rxg-ink);
  color: var(--rxg-paper);
}

.rxg-media-tabs button:disabled {
  color: #b3aa98;
  cursor: not-allowed;
}

.rxg-media-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.8;
  overflow: hidden;
  border: 1px solid var(--rxg-border);
  border-radius: var(--rxg-radius-lg);
  background: var(--rxg-linen);
}

.rxg-media-panel {
  position: absolute;
  inset: 0;
}

.rxg-media-panel--ph-tour:not([hidden]) {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.rxg-media-panel--ph-tour .rxg-tour {
  min-height: 0;
  height: auto;
}

.rxg-tour-scene-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--rxg-border);
  background: var(--rxg-linen);
}

.rxg-tour-scene-selector a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--rxg-border);
  border-radius: 999px;
  background: var(--rxg-paper);
  color: var(--rxg-ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.rxg-tour-scene-selector a:hover,
.rxg-tour-scene-selector a:focus-visible {
  border-color: var(--rxg-bronze);
}

.rxg-tour-scene-selector a[aria-current="page"] {
  border-color: var(--rxg-ink);
  background: var(--rxg-ink);
  color: var(--rxg-paper);
}

@media (min-width: 769px) {
  .rxg-media-stage:has(.rxg-media-panel[data-rxg-media-panel="tour"]:not([hidden])) {
    aspect-ratio: 12 / 5;
  }

  .rxg-media-stage:has(.rxg-media-panel--ph-tour:not([hidden])) {
    aspect-ratio: auto;
  }

  .rxg-media-panel--ph-tour:not([hidden]) {
    position: relative;
    inset: auto;
  }

  .rxg-media-panel--ph-tour .rxg-tour {
    aspect-ratio: 12 / 5;
  }
}

.rxg-media-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background:
    radial-gradient(circle at 50% 45%, rgba(199, 154, 91, 0.12), transparent 28%),
    repeating-linear-gradient(135deg, #241d15, #241d15 16px, #1d1710 16px, #1d1710 32px);
  color: var(--rxg-paper);
  text-align: center;
}

.rxg-media-empty--light {
  background:
    linear-gradient(135deg, rgba(158, 106, 67, 0.05), transparent 45%),
    repeating-linear-gradient(135deg, #f6f3ec, #f6f3ec 16px, #f0ece3 16px, #f0ece3 32px);
  color: var(--rxg-ink);
}

.rxg-media-empty__mark {
  width: 54px;
  height: 54px;
  position: relative;
  display: block;
  margin-bottom: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.55;
}

.rxg-media-empty__mark::before,
.rxg-media-empty__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 28px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.rxg-media-empty__mark::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.rxg-media-empty .rxg-micro {
  color: var(--rxg-bronze-light);
}

.rxg-media-empty h3 {
  margin: 10px 0 7px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.rxg-media-empty p {
  max-width: 56ch;
  margin: 0 0 20px;
  color: rgba(246, 243, 236, 0.7);
  font-size: 14px;
  line-height: 1.55;
}

.rxg-media-empty--light p {
  color: var(--rxg-muted);
}

.rxg-gallery {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: var(--rxg-linen);
}

.rxg-gallery:has(.rxg-gallery__thumbs) {
  grid-template-rows: minmax(0, 1fr) auto auto;
}

.rxg-gallery__viewport {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--rxg-linen);
}

.rxg-gallery figure {
  position: absolute;
  inset: 0;
  margin: 0;
}

.rxg-media-enlarge {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.rxg-media-enlarge:focus-visible {
  outline: 3px solid var(--rxg-focus-color);
  outline-offset: -5px;
}

.rxg-gallery figure img {
  width: 100%;
  height: 100%;
  padding: clamp(4px, 0.8vw, 10px);
  object-fit: contain;
  background: var(--rxg-linen);
}

.rxg-media-caption {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
  border-top: 1px solid var(--rxg-border);
  background: var(--rxg-paper);
}

.rxg-media-caption .rxg-micro {
  flex: 0 0 auto;
  color: var(--rxg-bronze);
}

.rxg-media-caption p {
  margin: 0;
  color: var(--rxg-muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.rxg-media-caption__verified {
  color: var(--rxg-success);
  font-weight: 700;
}

.rxg-media-caption__verified > span {
  margin-right: 5px;
}

.rxg-gallery__prev,
.rxg-gallery__next {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(246, 243, 236, 0.94);
  color: var(--rxg-ink);
  cursor: pointer;
  font-size: 24px;
  transform: translateY(-50%);
}

.rxg-gallery__prev {
  left: 14px;
}

.rxg-gallery__next {
  right: 14px;
}

.rxg-gallery__counter {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(23, 19, 13, 0.72);
  color: var(--rxg-paper);
  font-family: var(--rxg-mono);
  font-size: 10px;
}

.rxg-gallery__prev:disabled,
.rxg-gallery__next:disabled {
  cursor: default;
  opacity: 0.36;
}

.rxg-gallery__thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px 12px;
  border-top: 1px solid var(--rxg-border);
  background: var(--rxg-paper);
}

.rxg-gallery__thumbs button {
  width: 64px;
  aspect-ratio: 4 / 3;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(246, 243, 236, 0.64);
  border-radius: 5px;
  background: var(--rxg-ink);
  cursor: pointer;
}

.rxg-gallery__thumbs button.is-active {
  border-color: var(--rxg-bronze-light);
  box-shadow: 0 0 0 2px rgba(199, 154, 91, 0.32);
}

.rxg-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--rxg-paper);
}

.rxg-plan-frame {
  position: relative;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--rxg-paper);
}

.rxg-plan-frame img {
  width: 100%;
  height: 100%;
  padding: clamp(6px, 1vw, 14px);
  object-fit: contain;
}

.rxg-plan-frame--individual,
.rxg-plan-frame--position-source,
.rxg-plan-frame--shared-source {
  background: var(--rxg-linen);
}

.rxg-plan-frame--individual {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.rxg-plan-frame__visual {
  min-height: 0;
  overflow: hidden;
}

.rxg-plan-frame--individual img,
.rxg-plan-frame--position-source img {
  padding: clamp(4px, 0.75vw, 10px);
}

.rxg-plan-frame--shared-source img {
  padding: clamp(6px, 0.9vw, 12px);
}

.rxg-plan-frame--mapped {
  display: grid;
  place-items: center;
  padding: 20px;
}

.rxg-position-map {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.rxg-position-map__shape {
  fill: rgba(158, 106, 67, 0.32);
  stroke: var(--rxg-bronze);
  stroke-width: 0.55;
  vector-effect: non-scaling-stroke;
}

.rxg-position-map__marker rect {
  fill: var(--rxg-ink);
  stroke: var(--rxg-paper);
  stroke-width: 0.18;
  vector-effect: non-scaling-stroke;
}

.rxg-position-map__marker text {
  fill: var(--rxg-paper);
  font-family: Arial, sans-serif;
  font-size: 2.2px;
  font-weight: 700;
}

.rxg-position-composition {
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: var(--rxg-paper);
}

.rxg-floor-plan-visuals {
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
}

.rxg-floor-plan-visuals.has-position-map {
  grid-template-columns: minmax(0, 1.55fr) minmax(170px, 0.45fr);
}

.rxg-floor-plan-visuals.has-position-map .rxg-plan-frame--shared-source {
  border-left: 1px solid var(--rxg-border);
  background: #eee8dc;
}

.rxg-tour {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  background: var(--rxg-ink);
}

body.has-rxg-pseudo-fullscreen {
  overflow: hidden;
}

.rxg-tour.is-pseudo-fullscreen {
  position: fixed;
  z-index: 10000;
  inset: 0;
  width: 100vw;
  height: 100vh;
}

.rxg-tour:fullscreen {
  width: 100vw;
  height: 100vh;
}

.rxg-tour__exit {
  position: absolute;
  z-index: 8;
  top: 14px;
  right: 14px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(246, 243, 236, 0.68);
  border-radius: 999px;
  background: rgba(23, 19, 13, 0.84);
  color: var(--rxg-paper);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.rxg-tour__exit[hidden] {
  display: none;
}

.rxg-tour__viewer {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.rxg-tour__viewer .rexos-360-viewer,
.rxg-tour__viewer .rexos-360-viewer__canvas {
  width: 100%;
  height: 100%;
}

.rxg-tour__fallback {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  background-color: var(--rxg-ink);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: auto 400%;
  cursor: grab;
  touch-action: none;
}

.rxg-tour__fallback.is-dragging {
  cursor: grabbing;
}

.rxg-tour__viewer.has-live-webgl .rxg-tour__fallback {
  visibility: hidden;
  pointer-events: none;
}

.rxg-tour__viewer .rexos-360-viewer__status {
  z-index: 2;
}

.rxg-tour__unavailable {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background:
    radial-gradient(ellipse at center, rgba(158, 106, 67, 0.15), transparent 42%),
    repeating-linear-gradient(135deg, #241d15, #241d15 16px, #1d1710 16px, #1d1710 32px);
  color: var(--rxg-paper);
  text-align: center;
}

.rxg-tour__orbit {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border: 1px solid rgba(246, 243, 236, 0.6);
  border-radius: 50%;
  color: var(--rxg-paper);
  font-family: var(--rxg-mono);
  font-size: 15px;
}

.rxg-tour__unavailable h3 {
  margin: 10px 0 8px;
  font-family: var(--rxg-serif);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.rxg-tour__unavailable p {
  max-width: 56ch;
  margin: 0;
  color: rgba(246, 243, 236, 0.68);
  font-size: 14px;
}

.rxg-tour__controls {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 0;
  color: var(--rxg-paper);
}

.rxg-tour__rooms {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rxg-tour__rooms button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(246, 243, 236, 0.22);
  border-radius: 999px;
  background: transparent;
  color: var(--rxg-paper);
  cursor: pointer;
  font-size: 11px;
}

.rxg-tour__controls .rxg-button {
  min-height: 42px;
  flex: 0 0 auto;
  border-color: rgba(23, 19, 13, 0.18);
  box-shadow: 0 4px 16px rgba(23, 19, 13, 0.2);
}

.rxg-tour__controls .rxg-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.rxg-detail-content {
  padding: var(--rxg-section-y) 0;
  border-top: 1px solid var(--rxg-border);
}

.rxg-detail-content__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: start;
  gap: clamp(28px, 4vw, 54px);
}

.rxg-detail-content__grid > * {
  min-width: 0;
}

.rxg-detail-content h2 {
  margin: 0 0 20px;
  max-width: 30ch;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.01em;
}

.rxg-detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--rxg-border);
  border-radius: 12px;
  background: var(--rxg-border);
}

.rxg-detail-facts > div {
  min-width: 0;
  min-height: 98px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--rxg-white);
}

.rxg-detail-facts > div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.rxg-detail-facts dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.rxg-detail-facts small {
  color: var(--rxg-bronze);
  font-family: var(--rxg-mono);
  font-size: 9px;
  line-height: 1.4;
}

.rxg-apartment-specifications { padding: 18px clamp(18px, 3vw, 28px); background: var(--rxg-white); }
.rxg-apartment-specifications header { margin-bottom: 10px; }
.rxg-apartment-specifications header p { margin: 0; max-width: 68ch; color: var(--rxg-muted); font-size: 13px; line-height: 1.45; }
.rxg-apartment-specifications__body { border: 1px solid var(--rxg-border); border-radius: 12px; padding: 0 16px 8px; overflow-x: auto; }
.rxg-apartment-specifications table { width: 100%; border-collapse: collapse; text-align: left; }
.rxg-apartment-specifications th,.rxg-apartment-specifications td { padding: 8px 7px; border-bottom: 1px solid var(--rxg-border); vertical-align: top; line-height: 1.3; }
.rxg-apartment-specifications thead th { color: var(--rxg-muted); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.rxg-apartment-specifications tbody th { font-weight: 600; }
.rxg-apartment-specifications tbody td { white-space: nowrap; }
.rxg-apartment-specifications tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 520px) {
  .rxg-apartment-specifications { padding: 14px; }
  .rxg-apartment-specifications__body { padding: 0 9px 8px; }
  .rxg-apartment-specifications th,.rxg-apartment-specifications td { padding: 7px 4px; font-size: 12px; }
  .rxg-apartment-specifications tbody td:last-child { white-space: normal; }
}

.rxg-disclosure {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--rxg-border);
  border-radius: 10px;
  background: var(--rxg-white);
  color: var(--rxg-muted);
  font-size: 13px;
  line-height: 1.5;
}

.rxg-disclosure > span {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rxg-warning-bg);
  color: var(--rxg-warning);
  font-family: var(--rxg-serif);
  font-weight: 700;
}

.rxg-disclosure p {
  margin: 0;
}

.rxg-disclosure--rows {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.rxg-disclosure--rows > div {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  padding: 15px 16px;
}

.rxg-disclosure--rows > div + div {
  border-top: 1px solid var(--rxg-border);
}

.rxg-disclosure--rows > div > span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rxg-warning-bg);
  color: var(--rxg-warning);
  font-size: 11px;
  font-weight: 800;
}

.rxg-disclosure--rows > div:first-child > span {
  background: var(--rxg-success-bg);
  color: var(--rxg-success);
}

.rxg-disclosure--rows strong {
  display: block;
  margin-bottom: 3px;
  color: var(--rxg-ink);
  font-family: var(--rxg-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rxg-inquiry-card {
  position: sticky;
  top: calc(var(--rxg-header-height) + 18px);
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--rxg-radius-lg);
  background: var(--rxg-ink);
  color: var(--rxg-paper);
}

.admin-bar .rxg-inquiry-card {
  top: calc(var(--rxg-header-height) + 50px);
}

.rxg-inquiry-card .rxg-eyebrow {
  color: var(--rxg-bronze-light);
}

.rxg-inquiry-card h2 {
  margin: 9px 0 8px;
  font-size: 30px;
  line-height: 1;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
}

.rxg-inquiry-card > p {
  margin: 0 0 18px;
  color: rgba(246, 243, 236, 0.7);
  font-size: 13.5px;
  line-height: 1.55;
}

.rxg-inquiry-card__context {
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(246, 243, 236, 0.15);
  border-radius: 10px;
  background: rgba(246, 243, 236, 0.07);
}

.rxg-inquiry-card__context .rxg-micro {
  color: rgba(246, 243, 236, 0.48);
  font-size: 9px;
}

.rxg-inquiry-card__context > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.rxg-inquiry-card__context > div span {
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(246, 243, 236, 0.1);
  font-size: 11px;
}

.rxg-inquiry-card__context small {
  display: block;
  margin-top: 11px;
  overflow: hidden;
  color: rgba(246, 243, 236, 0.42);
  font-family: var(--rxg-mono);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rxg-inquiry-card > .rxg-button + .rxg-button {
  margin-top: 9px;
}

.rxg-inquiry-card > small {
  display: block;
  margin-top: 12px;
  color: rgba(246, 243, 236, 0.5);
  font-size: 11px;
  line-height: 1.45;
}

.rxg-related {
  padding: 0 0 var(--rxg-section-y);
}

.rxg-related h2 {
  margin: 9px 0 22px;
  max-width: 30ch;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.01em;
}

.rxg-card-grid--related {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}

/* Secure inquiry dialog and plugin form */

.rxg-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: min(860px, calc(100vh - 32px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--rxg-border);
  border-radius: var(--rxg-radius-lg);
  background: var(--rxg-paper);
  color: var(--rxg-ink);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.42);
}

.rxg-dialog::backdrop {
  background: rgba(16, 13, 9, 0.72);
  backdrop-filter: blur(4px);
}

.rxg-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--rxg-border);
}

.rxg-dialog h2 {
  margin: 4px 0 0;
  font-size: 28px;
}

.rxg-dialog__body {
  max-height: calc(100vh - 140px);
  padding: 20px;
  overflow-y: auto;
}

.rxg-dialog__body > p {
  margin: 0 0 13px;
  color: var(--rxg-muted);
}

.rxg-inquiry-context {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.rxg-inquiry-context span {
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--rxg-linen);
  font-size: 11px;
}

.rxg-dialog .rexos-contact-form {
  padding: 0;
  background: transparent;
}

.rxg-dialog .rexos-contact-form__title {
  display: none;
}

.rxg-dialog .rexos-contact-form form,
.rxg-dialog .rexos-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rxg-dialog .rexos-contact-form form {
  grid-template-columns: 1fr;
}

.rxg-dialog .rexos-contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.rxg-dialog .rexos-contact-form__field--message {
  grid-column: 1 / -1;
}

.rxg-dialog .rexos-contact-form label {
  font-size: 12px;
  font-weight: 600;
}

.rxg-dialog .rexos-contact-form input,
.rxg-dialog .rexos-contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #d8d0c0;
  border-radius: 8px;
  background: var(--rxg-white);
  color: var(--rxg-ink);
  font-size: 15px;
}

.rxg-dialog .rexos-contact-form textarea {
  min-height: 120px;
  padding: 12px 14px;
  line-height: 1.55;
  resize: vertical;
}

.rxg-dialog .rexos-contact-form__submit {
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 9px;
  background: var(--rxg-ink);
  color: var(--rxg-paper);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

.rxg-dialog .rexos-contact-form__trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.rxg-dialog .rexos-contact-form__notice {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 8px;
  background: var(--rxg-warning-bg);
  font-size: 13px;
}

/* Footer and generic pages */

.rxg-footer {
  padding: clamp(36px, 4.5vw, 56px) 0 24px;
  border-top: 1px solid rgba(246, 243, 236, 0.13);
  background: var(--rxg-ink);
  color: var(--rxg-paper);
}

.rxg-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: clamp(28px, 5vw, 70px);
}

.rxg-footer__brand p {
  max-width: 42ch;
  margin: 15px 0 0;
  color: rgba(246, 243, 236, 0.64);
  font-size: 13px;
  line-height: 1.55;
}

.rxg-footer .rxg-micro {
  margin: 0 0 14px;
  color: rgba(246, 243, 236, 0.64);
}

.rxg-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rxg-footer__nav a {
  color: var(--rxg-paper);
  font-size: 13px;
  text-decoration: none;
}

.rxg-footer__nav a:hover {
  color: var(--rxg-bronze-light);
}

.rxg-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rxg-footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(246, 243, 236, 0.13);
  color: rgba(246, 243, 236, 0.64);
  font-family: var(--rxg-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.rxg-generic {
  min-height: 60vh;
  padding: var(--rxg-feature-section-y) 0;
}

.rxg-prose {
  max-width: 900px;
}

.rxg-prose h1 {
  margin: 0 0 20px;
  font-family: var(--rxg-serif);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.rxg-prose {
  color: #5f5849;
  line-height: 1.7;
}

/*
 * The staging navigation contains one additional Gallery item. Switch to the
 * dedicated mobile menu before the desktop row can become crowded enough for
 * neighbouring hit areas to compete at laptop widths.
 */
@media (max-width: 1240px) {
  .rxg-nav--desktop {
    display: none;
  }

  .rxg-menu-button {
    display: inline-flex;
  }
}

@media (max-width: 1160px) {
  .rxg-nav {
    gap: 13px;
  }

  .rxg-header__request {
    display: none;
  }

  .rxg-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .rxg-filter-separator {
    display: none;
  }

  .rxg-filter-actions {
    flex: 0 0 100%;
    justify-content: flex-end;
    margin-left: 0;
  }

  .rxg-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .rxg-apartment-card__media--visual {
    height: min(410px, 44vw);
  }

  :root {
    --rxg-gutter: clamp(20px, 5vw, 40px);
    --rxg-header-height: 72px;
  }

  .rxg-nav--desktop {
    display: none;
  }

  .rxg-menu-button {
    display: inline-flex;
  }

  .rxg-header__request {
    display: inline-flex;
  }

  .rxg-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rxg-detail-content__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  }

  .rxg-card-grid--related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .admin-bar .rxg-header {
    top: 46px;
  }

  .admin-bar .rxg-catalogue-tools {
    top: calc(var(--rxg-header-height) + 46px);
  }

  .admin-bar .rxg-mobile-menu {
    top: 46px;
  }
}

@media (max-width: 768px) {
  :root {
    --rxg-header-height: 60px;
  }

  .rxg-header__request {
    display: none;
  }

  .rxg-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    display: grid;
    column-gap: 16px;
    padding-inline: 20px;
  }

  .rxg-header .rxg-brand {
    width: max-content;
    min-width: 0;
    align-self: center;
  }

  .rxg-header__actions {
    grid-template-columns: 77px 44px;
    display: grid;
    align-items: center;
    gap: 10px;
  }

  .rxg-header .rxg-language {
    display: block;
  }

  .rxg-header .rxg-language summary {
    min-width: 0;
    width: 77px;
    padding-inline: 10px;
  }

  .rxg-header .rxg-language__label {
    display: none;
  }

  .rxg-header .rxg-language__code {
    display: inline;
  }

  .rxg-header .rxg-language__menu {
    min-width: 210px;
  }

  .rxg-header .rxg-brand-mark,
  .rxg-mobile-menu .rxg-brand-mark {
    height: 38px;
  }

  .rxg-catalogue-hero {
    padding-top: 32px;
  }

  .rxg-catalogue-hero h1 {
    font-size: clamp(34px, 5vw, 60px);
  }

  .rxg-project-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .rxg-project-facts dd {
    font-size: 14px;
  }

  .rxg-catalogue-tools {
    position: relative;
    top: auto;
  }

  .admin-bar .rxg-catalogue-tools {
    top: auto;
  }

  .rxg-filter-toggle {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border: 1px solid var(--rxg-ink);
    border-radius: 9px;
    background: var(--rxg-white);
    color: var(--rxg-ink);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
  }

  .rxg-filter-bar {
    display: none;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--rxg-border);
    border-radius: 10px;
    background: var(--rxg-white);
  }

  .rxg-filter-group--status,
  .rxg-filter-group--layout {
    grid-column: 1 / -1;
  }

  .rxg-filter-group legend {
    position: static;
    width: auto;
    height: auto;
    display: block;
    margin-bottom: 8px;
    overflow: visible;
    clip: auto;
    color: var(--rxg-muted);
    font-family: var(--rxg-mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: normal;
  }

  .rxg-filter-pills {
    flex-wrap: wrap;
  }

  .rxg-filter-pill {
    min-height: 44px;
    padding-inline: 14px;
    font-size: 13px;
  }

  .rxg-select-filter,
  .rxg-check-filter {
    width: 100%;
  }

  .rxg-select-filter,
  .rxg-sort-control {
    align-items: stretch;
    flex-direction: column;
  }

  .rxg-control-label {
    position: static;
    width: auto;
    height: auto;
    display: block;
    margin-bottom: 8px;
    overflow: visible;
    clip: auto;
    color: var(--rxg-muted);
    font-family: var(--rxg-mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: normal;
  }

  .rxg-filter-bar select {
    width: 100%;
    height: 44px;
    padding-inline: 10px 32px;
    border-radius: 9px;
  }

  .rxg-filter-bar.is-open {
    display: grid;
  }

  .rxg-check-filter {
    height: 44px;
    border-radius: 8px;
  }

  .rxg-filter-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 1fr);
    align-items: center;
    gap: 10px;
    margin-left: 0;
  }

  .rxg-filter-actions .rxg-sort-control {
    grid-column: 2;
    grid-row: 1;
  }

  .rxg-filter-actions .rxg-clear-filters {
    grid-column: 1;
    grid-row: 1;
    min-height: 44px;
    justify-self: start;
  }

  .rxg-results-line--desktop {
    display: none;
  }

  .rxg-results-line--mobile {
    display: flex;
    justify-content: flex-end;
  }

  .rxg-results-line--mobile strong {
    margin-inline-end: 0.45em;
  }

  .rxg-floor-tabs {
    margin-inline: calc(var(--rxg-gutter) * -1);
    padding-inline: var(--rxg-gutter);
    scroll-padding-inline: var(--rxg-gutter);
  }

  .rxg-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rxg-support-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .rxg-detail-return nav {
    display: none;
  }

  .rxg-detail-hero__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .rxg-detail-hero__actions {
    width: 100%;
  }

  .rxg-media-stage {
    aspect-ratio: 4 / 3;
  }

  .rxg-tour__controls {
    position: static;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    padding: 6px 0 0;
    background: var(--rxg-linen);
  }

  .rxg-tour {
    grid-template-rows: minmax(0, 1fr) auto;
    background: var(--rxg-linen);
  }

  .rxg-tour__controls .rxg-button {
    width: 100%;
    box-shadow: none;
  }

  .rxg-detail-content__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rxg-inquiry-card {
    position: static;
  }

  .rxg-card-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rxg-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .rxg-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .rxg-apartment-card__media--visual {
    height: clamp(380px, 110vw, 440px);
    padding: 12px;
  }

  :root {
    --rxg-gutter: 20px;
  }

  .rxg-project-facts {
    grid-template-columns: 1fr 1fr;
  }

  .rxg-card-grid,
  .rxg-card-grid--related {
    grid-template-columns: 1fr;
  }

  .rxg-apartment-card__media {
    aspect-ratio: 4 / 3;
  }

  .rxg-filter-bar {
    grid-template-columns: 1fr;
  }

  .rxg-filter-group--status,
  .rxg-filter-group--layout,
  .rxg-filter-actions {
    grid-column: 1;
  }

  .rxg-check-filter {
    width: 100%;
  }

  .rxg-filter-actions {
    grid-template-columns: 1fr;
  }

  .rxg-filter-actions .rxg-sort-control,
  .rxg-filter-actions .rxg-clear-filters {
    grid-column: 1;
  }

  .rxg-filter-actions .rxg-sort-control {
    grid-row: 1;
  }

  .rxg-filter-actions .rxg-clear-filters {
    grid-row: 2;
    justify-self: stretch;
    border: 1px solid #d8d0c0;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
  }

  .rxg-support-cta .rxg-button {
    width: 100%;
  }

  .rxg-detail-hero h1 {
    font-size: clamp(34px, 4.6vw, 58px);
  }

  .rxg-detail-hero__desktop-action {
    display: none;
  }

  .rxg-detail-hero__actions .rxg-detail-mobile-action {
    width: 100%;
    height: auto;
    min-height: 50px;
    display: inline-flex;
    grid-row: auto;
    grid-column: auto;
    padding: 12px 18px;
    line-height: 1.25;
    white-space: normal;
  }

  .rxg-detail-mobile-action--available {
    background: var(--rxg-success);
    color: var(--rxg-white);
  }

  .rxg-detail-mobile-action--available:hover {
    background: #285a3b;
  }

  .rxg-detail-mobile-action--reserved,
  .rxg-detail-mobile-action--unavailable {
    background: var(--rxg-warning);
    color: var(--rxg-white);
  }

  .rxg-detail-mobile-action--reserved:hover,
  .rxg-detail-mobile-action--unavailable:hover {
    background: #765219;
  }

  .rxg-detail-mobile-action--sold {
    border-color: var(--rxg-warning);
    background: var(--rxg-bronze-light);
    color: var(--rxg-ink);
  }

  .rxg-detail-mobile-action--sold:hover {
    background: #b9894e;
  }

  .rxg-detail-mobile-action:active {
    transform: translateY(0);
    filter: brightness(0.94);
  }

  .rxg-media-tabs {
    margin-inline: -20px;
    padding-inline: 20px;
  }

  .rxg-tour-scene-selector a {
    min-width: 0;
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
  }

  .rxg-media-stage {
    aspect-ratio: 3 / 4;
    border-radius: 11px;
  }

  .rxg-media-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding: 9px 11px 10px;
  }

  .rxg-media-caption p {
    font-size: 11px;
    text-align: left;
  }

  .rxg-floor-plan-visuals.has-position-map {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1.3fr) minmax(96px, 0.7fr);
  }

  .rxg-floor-plan-visuals.has-position-map .rxg-plan-frame--shared-source {
    border-top: 1px solid var(--rxg-border);
    border-left: 0;
  }

  .rxg-media-empty {
    padding: 22px;
  }

  .rxg-media-empty h3,
  .rxg-tour__unavailable h3 {
    font-size: 30px;
  }

  .rxg-plan-frame img {
    padding: 6px;
  }

  .rxg-gallery figure img {
    padding: 4px;
  }

  .rxg-gallery__prev,
  .rxg-gallery__next {
    width: 44px;
    height: 44px;
  }

  .rxg-gallery__thumbs button {
    width: 58px;
    min-height: 44px;
  }

  .rxg-plan-frame--mapped {
    padding: 10px;
  }

  .rxg-detail-facts {
    grid-template-columns: 1fr;
  }

  .rxg-detail-facts > div {
    min-height: 84px;
  }

  .rxg-dialog .rexos-contact-form__grid {
    grid-template-columns: 1fr;
  }

  .rxg-dialog .rexos-contact-form__field--message {
    grid-column: auto;
  }

  .rxg-footer__grid {
    grid-template-columns: 1fr;
  }

  .rxg-footer__brand {
    grid-column: auto;
  }

  .rxg-footer__legal {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 375px) {
  .rxg-catalogue-hero h1 {
    font-size: clamp(34px, 5vw, 60px);
  }

  .rxg-project-facts {
    grid-template-columns: 1fr;
  }

  .rxg-apartment-card__body {
    padding: 15px;
  }

  .rxg-detail-hero__badges > span {
    font-size: 11px;
  }
}

@media (max-width: 320px) {
  :root {
    --rxg-gutter: 20px;
  }

  .rxg-header .rxg-brand-mark {
    height: 36px;
  }

  .rxg-catalogue-hero h1,
  .rxg-detail-hero h1 {
    font-size: 34px;
  }

  .rxg-floor-tabs {
    margin-inline: -20px;
    padding-inline: 20px;
  }

  .rxg-media-tabs {
    margin-inline: -20px;
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
