/* Rexos Gate V1 managed site pages */

.rxg-site {
  overflow: clip;
}

.rxg-site h1,
.rxg-site h2,
.rxg-site h3 {
  color: var(--rxg-ink);
  font-family: var(--rxg-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
  hyphens: none;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.rxg-site p {
  color: #5f5849;
  font-size: clamp(14.5px, 1.4vw, 16.5px);
  line-height: 1.6;
}

.rxg-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.rxg-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--rxg-ink);
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 4px;
}

.rxg-text-link--light {
  color: var(--rxg-paper);
}

.rxg-site-section {
  padding: var(--rxg-section-y) 0;
  background: var(--rxg-paper);
}

.rxg-site-section--linen {
  background: var(--rxg-linen);
}

.rxg-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  align-items: end;
  gap: clamp(24px, 3vw, 40px);
  margin-bottom: clamp(24px, 3vw, 40px);
}

.rxg-section-heading h2,
.rxg-site-band h2,
.rxg-business-teaser h2,
.rxg-faq-layout h2,
.rxg-business-plan h2 {
  margin: 11px 0 0;
  max-width: 30ch;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.01em;
}

.rxg-section-heading > p,
.rxg-section-heading > div > p {
  max-width: 66ch;
  margin: 10px 0 0;
  font-size: clamp(14.5px, 1.4vw, 16.5px);
  line-height: 1.6;
}

.rxg-section-heading--actions {
  grid-template-columns: minmax(0, 1fr) auto;
}

.rxg-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rxg-card-gap);
}

.rxg-value-grid article {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--rxg-card-padding);
  border: 1px solid var(--rxg-card-border);
  border-radius: 12px;
  background: var(--rxg-white);
}

.rxg-value-grid article > span {
  color: var(--rxg-bronze);
  font-family: var(--rxg-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.rxg-value-grid h3 {
  margin: 0;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.1;
}

.rxg-value-grid p {
  margin: 0;
  font-size: clamp(13.5px, 1.2vw, 14.5px);
  line-height: 1.55;
}

/* Shared configured media */

.rxg-site-media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--rxg-border);
  border-radius: 14px;
  background: #e9e3d7;
}

.rxg-site-media__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(135deg, #ede8dd, #ede8dd 14px, #e7e1d4 14px, #e7e1d4 28px);
}

.rxg-site-media__placeholder span {
  color: #9a907d;
  font-family: var(--rxg-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rxg-site-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--rxg-media-position, center center);
  transition: transform 260ms ease;
}

.rxg-site-media--fit-contain > img,
.rxg-site-media--fit-contain img {
  object-fit: contain;
}

.rxg-site-media.is-missing > img {
  display: none;
}

.rxg-site-media figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 7px;
  background: rgba(23, 19, 13, 0.78);
  color: var(--rxg-paper);
  backdrop-filter: blur(8px);
}

.rxg-site-media figcaption span {
  color: var(--rxg-bronze-light);
  font-family: var(--rxg-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rxg-site-media figcaption strong {
  overflow: hidden;
  font-size: 11px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Homepage */

.rxg-home-hero {
  position: relative;
  min-height: clamp(620px, calc(100svh - var(--rxg-header-height)), 820px);
  overflow: hidden;
  background: var(--rxg-ink);
  color: var(--rxg-paper);
}

[data-rxg-template="home"] > .rxg-site-section {
  padding: var(--rxg-feature-section-y) 0;
}

.rxg-home-hero__media {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  background: var(--rxg-ink);
}

.rxg-home-hero__media > img {
  object-fit: cover;
  object-position: center center;
}

.rxg-home-hero__media .rxg-site-media__placeholder {
  display: none;
}

.rxg-home-hero__media figcaption {
  display: none;
}

.rxg-home-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 8, 5, 0.91) 0%, rgba(10, 8, 5, 0.72) 38%, rgba(10, 8, 5, 0.22) 68%, rgba(10, 8, 5, 0.12) 100%),
    linear-gradient(0deg, rgba(10, 8, 5, 0.34) 0%, transparent 42%);
}

.rxg-home-hero__content {
  position: relative;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(90px, 12vw, 140px);
  padding-bottom: 0;
}

.rxg-home-hero__tag {
  position: absolute;
  top: clamp(34px, 5vw, 60px);
  right: var(--rxg-gutter);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid rgba(246, 243, 236, 0.26);
  border-radius: 999px;
  background: rgba(246, 243, 236, 0.1);
  color: rgba(246, 243, 236, 0.84);
  font-family: var(--rxg-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rxg-home-hero__tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rxg-bronze-light);
}

.rxg-home-hero__copy {
  max-width: 780px;
  padding-bottom: clamp(30px, 4.5vw, 50px);
}

.rxg-home-hero .rxg-eyebrow,
.rxg-site-band .rxg-eyebrow,
.rxg-business-hero .rxg-eyebrow {
  color: var(--rxg-bronze-light);
}

.rxg-home-hero h1 {
  max-width: 20ch;
  margin: 15px 0 18px;
  color: var(--rxg-paper);
  font-size: clamp(46px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.012em;
}

.rxg-home-hero__title-line {
  display: block;
}

.rxg-home-hero__copy > p {
  max-width: 58ch;
  margin: 0 0 24px;
  color: rgba(246, 243, 236, 0.82);
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.55;
}

.rxg-home-hero .rxg-button {
  height: 52px;
}

.rxg-home-hero__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(246, 243, 236, 0.2);
  background: rgba(10, 8, 5, 0.48);
  backdrop-filter: blur(8px);
}

.rxg-home-hero__facts div {
  min-height: 94px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
  border-right: 1px solid rgba(246, 243, 236, 0.14);
}

.rxg-home-hero__facts div:last-child {
  border-right: 0;
}

.rxg-home-hero__facts dt,
.rxg-fact-strip dt,
.rxg-business-hero__facts dt,
.rxg-request-facts dt {
  color: var(--rxg-bronze-light);
  font-family: var(--rxg-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rxg-home-hero__facts dd {
  margin: 7px 0 0;
  color: var(--rxg-paper);
  font-size: 14px;
  font-weight: 600;
}

.rxg-card-grid--featured {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}

.rxg-media-mosaic {
  min-height: 610px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.rxg-media-mosaic .rxg-site-media {
  min-height: 0;
}

.rxg-media-mosaic__lead {
  grid-row: span 2;
  grid-column: span 2;
}

.rxg-media-mosaic:hover .rxg-site-media__lead img,
.rxg-media-mosaic:hover .rxg-site-media > img {
  transform: scale(1.015);
}

.rxg-site-band {
  padding: var(--rxg-section-y) 0;
  background: var(--rxg-ink);
  color: var(--rxg-paper);
}

.rxg-site-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(30px, 7vw, 100px);
}

.rxg-site-band h2 {
  max-width: 30ch;
  color: var(--rxg-paper);
}

.rxg-site-band p {
  max-width: 64ch;
  margin: 14px 0 0;
  color: rgba(246, 243, 236, 0.68);
}

.rxg-site-band--final {
  padding: clamp(48px, 6vw, 84px) 0;
}

.rxg-site-band--final .rxg-site-band__inner {
  width: min(100%, calc(760px + var(--rxg-gutter) + var(--rxg-gutter)));
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 24px;
  text-align: center;
}

.rxg-site-band--final .rxg-site-band__inner > div {
  min-width: 0;
}

.rxg-site-band--final h2 {
  margin-inline: auto;
  font-size: clamp(30px, 4vw, 52px);
}

.rxg-site-band--final .rxg-title-accent {
  color: var(--rxg-bronze-light);
}

.rxg-site-band--final p {
  max-width: 52ch;
  margin-inline: auto;
}

.rxg-site-band--final .rxg-actions {
  justify-content: center;
  gap: 12px;
}

.rxg-business-teaser__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(34px, 7vw, 100px);
}

.rxg-business-teaser__media {
  width: 100%;
  max-width: 560px;
  justify-self: start;
}

.rxg-business-concept {
  min-width: 0;
  margin: 0;
}

.rxg-business-concept__stage {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(46, 38, 28, 0.12);
  border-radius: 14px;
  background: #f6f3ec;
}

.rxg-business-concept__stage > img,
.rxg-business-concept__stage > .rxg-site-media__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rxg-business-concept__stage > img {
  z-index: 1;
  display: block;
  object-fit: contain;
  object-position: var(--rxg-media-position, center);
  padding: 6px;
}

.rxg-business-concept__stage > .rxg-site-media__placeholder {
  display: grid;
  place-items: center;
  color: rgba(46, 38, 28, 0.48);
  background: #f6f3ec;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rxg-business-concept figcaption {
  display: grid;
  gap: 4px;
  padding-top: 9px;
  color: var(--rxg-muted);
}

.rxg-business-concept figcaption span {
  color: var(--rxg-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rxg-business-concept figcaption p {
  max-width: 58ch;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
}

.rxg-business-teaser__copy p {
  margin: 17px 0 24px;
}

/* Shared Project presentation and compact location context */

.rxg-project-visuals__card figcaption {
  padding: clamp(17px, 2vw, 24px);
  background: var(--rxg-white);
}

.rxg-project-visuals__card figcaption span {
  color: var(--rxg-bronze);
  font-family: var(--rxg-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rxg-project-visuals__card figcaption p {
  margin: 9px 0 0;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.5;
}

.rxg-location-teaser__grid {
  display: grid;
  grid-template-areas:
    "copy media"
    "action media";
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: 0 clamp(34px, 6vw, 86px);
}

.rxg-location-teaser__copy {
  grid-area: copy;
}

.rxg-location-teaser__copy h2 {
  max-width: 19ch;
  margin: 11px 0 0;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.03;
}

.rxg-location-teaser__copy > p {
  max-width: 56ch;
  margin: 17px 0 22px;
  line-height: 1.58;
}

.rxg-location-teaser__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--rxg-border-dark);
}

.rxg-location-teaser__facts div {
  min-width: 0;
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--rxg-border-dark);
}

.rxg-location-teaser__facts div:nth-child(odd) {
  border-right: 1px solid var(--rxg-border-dark);
}

.rxg-location-teaser__facts div:nth-child(even) {
  padding-left: 16px;
}

.rxg-location-teaser__facts dt {
  font-size: 12px;
  font-weight: 700;
}

.rxg-location-teaser__facts dd {
  margin: 5px 0 0;
  color: var(--rxg-muted);
  font-family: var(--rxg-mono);
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rxg-location-teaser__media {
  grid-area: media;
  align-self: center;
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.rxg-location-teaser__media figcaption {
  display: none;
}

.rxg-location-teaser__action {
  grid-area: action;
  justify-self: start;
  margin-top: 24px;
}

#purchase-process > .rxg-container {
  width: min(100%, 1520px);
}

.rxg-process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(22px, 1.5vw, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.rxg-process-grid li {
  min-height: 236px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
  padding: 29px 28px;
  border: 1px solid var(--rxg-card-border);
  border-radius: 15px;
  background: var(--rxg-paper);
}

.rxg-process-grid li > span {
  margin-bottom: 16px;
  color: var(--rxg-bronze);
  font-family: var(--rxg-mono);
  font-size: 13px;
  line-height: 1.35;
}

.rxg-process-grid h3 {
  max-width: none;
  margin: 0 0 14px;
  font-size: 25px;
  line-height: 1.16;
}

.rxg-process-grid p {
  max-width: none;
  margin: 0;
  font-size: 16.5px;
  line-height: 1.55;
}

.rxg-faq-layout {
  width: min(100%, calc(920px + var(--rxg-gutter) + var(--rxg-gutter)));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.rxg-faq-header {
  text-align: center;
}

.rxg-faq-header h2 {
  margin-inline: auto;
}

.rxg-faq-list {
  display: grid;
  gap: 8px;
}

.rxg-faq-list details {
  display: grid;
  gap: 8px;
}

.rxg-faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  border: 1px solid var(--rxg-border);
  border-radius: 10px;
  background: var(--rxg-white);
  cursor: pointer;
  color: var(--rxg-ink);
  font-size: 16px;
  font-weight: 600;
  list-style: none;
}

.rxg-faq-list summary:hover {
  border-color: var(--rxg-border-dark);
}

.rxg-faq-list summary::-webkit-details-marker {
  display: none;
}

.rxg-faq-list summary span {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.rxg-faq-list summary span::before,
.rxg-faq-list summary span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 1px;
  background: currentColor;
}

.rxg-faq-list summary span::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.rxg-faq-list details[open] summary span::after {
  transform: rotate(0);
}

.rxg-faq-list details p {
  max-width: none;
  margin: 0;
  padding: 16px 20px;
  border: 1px solid var(--rxg-border);
  border-radius: 10px;
  background: var(--rxg-white);
  font-size: 14px;
}

/* Project */

.rxg-page-hero {
  padding: clamp(28px, 4.5vw, 56px) 0 0;
  background: var(--rxg-paper);
}

.rxg-page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
}

.rxg-page-hero__copy h1,
.rxg-contact-hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.01em;
}

.rxg-page-hero__copy h1 {
  max-width: 18ch;
}

.rxg-page-hero__copy > p {
  max-width: 56ch;
  margin: 0 0 22px;
  font-size: clamp(14.5px, 1.4vw, 16.5px);
  line-height: 1.6;
}

.rxg-page-hero__media {
  aspect-ratio: 4 / 3;
}

.rxg-fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(20px, 3vw, 32px) 0 0;
  padding: 0;
  border-top: 1px solid var(--rxg-border);
}

.rxg-fact-strip div {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  border-right: 1px solid var(--rxg-border);
}

@media (min-width: 769px) {
  .rxg-fact-strip div:first-child {
    padding-left: 0;
  }
}

.rxg-fact-strip div:last-child {
  border-right: 0;
}

.rxg-fact-strip dt,
.rxg-request-facts dt {
  color: var(--rxg-bronze);
}

.rxg-fact-strip dd {
  margin: 7px 0 0;
  color: var(--rxg-ink);
  font-size: 15px;
  font-weight: 600;
}

.rxg-project-visuals {
  height: clamp(580px, 42vw, 630px);
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 16px;
}

.rxg-project-visuals__stack {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rxg-project-visuals__card {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--rxg-border);
  border-radius: 14px;
  background: var(--rxg-white);
}

.rxg-project-visuals__stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #f3eee5;
}

.rxg-project-visuals__stage .rxg-site-media__placeholder {
  background: #f3eee5;
}

.rxg-project-visuals__stage > img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--rxg-media-position, center center);
  transition: transform 260ms ease;
}

.rxg-project-visuals__card.rxg-site-media--fit-contain .rxg-project-visuals__stage > img {
  object-fit: contain;
  padding: clamp(10px, 1vw, 18px);
}

.rxg-project-visuals__card.is-missing .rxg-project-visuals__stage > img {
  display: none;
}

.rxg-home-project-visuals {
  color: inherit;
  text-decoration: none;
}

.rxg-home-project-visuals:hover .rxg-project-visuals__card:not(.rxg-site-media--fit-contain) .rxg-project-visuals__stage > img {
  transform: scale(1.012);
}

.rxg-drawing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rxg-card-gap);
}

.rxg-drawing-card {
  position: relative;
  min-width: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--rxg-card-border);
  border-radius: 12px;
  background: var(--rxg-white);
  color: inherit;
  cursor: zoom-in;
  text-align: left;
}

.rxg-drawing-card .rxg-site-media {
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 0;
}

.rxg-drawing-card .rxg-site-media > img {
  object-fit: contain;
  padding: 10px;
  background: #eee8dc;
}

.rxg-drawing-card .rxg-site-media figcaption {
  display: none;
}

.rxg-drawing-card > .rxg-micro,
.rxg-drawing-card__title,
.rxg-drawing-card__copy {
  display: block;
  margin-inline: 16px;
}

.rxg-drawing-card > .rxg-micro {
  margin-top: 16px;
  color: var(--rxg-bronze);
}

.rxg-drawing-card__title {
  margin-top: 7px;
  color: var(--rxg-ink);
  font-family: var(--rxg-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.05;
}

.rxg-drawing-card__copy {
  min-height: 60px;
  margin-top: 8px;
  color: var(--rxg-muted);
  font-size: 12px;
  line-height: 1.5;
}

.rxg-drawing-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: var(--rxg-ink);
  font-size: 13px;
  font-weight: 600;
}

.rxg-drawing-card__action i {
  color: var(--rxg-bronze);
  font-style: normal;
}

.rxg-drawing-card:hover {
  border-color: var(--rxg-ink);
}

.rxg-drawing-card:hover img {
  transform: scale(1.015);
}

.rxg-drawing-disclosure {
  max-width: 88ch;
  margin: 24px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--rxg-bronze);
  color: var(--rxg-muted);
  font-size: 12px;
  line-height: 1.55;
}

.rxg-blueprint-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
}

.rxg-blueprint-cta h2 {
  margin: 10px 0 12px;
}

.rxg-blueprint-cta p {
  max-width: 68ch;
  margin: 0;
  color: var(--rxg-muted);
}

.rxg-site-lightbox {
  width: min(96vw, 1320px);
  max-width: none;
  height: min(92vh, 980px);
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #15110c;
  color: var(--rxg-paper);
  box-shadow: var(--rxg-shadow);
}

.rxg-site-lightbox::backdrop {
  background: rgba(10, 8, 5, 0.86);
  backdrop-filter: blur(4px);
}

.rxg-site-lightbox figure {
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
}

.rxg-site-lightbox img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  padding: clamp(16px, 3vw, 38px);
  background: #eee8dc;
}

.rxg-site-lightbox figcaption {
  padding: 14px 20px;
  color: var(--rxg-paper);
  font-size: 13px;
}

.rxg-site-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(246, 243, 236, 0.3);
  border-radius: 50%;
  background: rgba(23, 19, 13, 0.76);
  color: var(--rxg-paper);
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
}

/* Business Spaces */

.rxg-business-hero {
  padding: clamp(34px, 4vw, 56px) 0 clamp(28px, 3.5vw, 46px);
  overflow: hidden;
  background: #1c1915;
  color: var(--rxg-paper);
}

.rxg-business-hero > .rxg-container {
  display: block;
}

.rxg-business-hero__copy {
  max-width: 68ch;
}

.rxg-business-hero h1 {
  max-width: 20ch;
  margin: 14px 0;
  color: var(--rxg-paper);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.01em;
}

.rxg-business-hero .rxg-title-accent {
  color: var(--rxg-bronze-light);
}

.rxg-business-hero__copy > p {
  max-width: 52ch;
  margin: 0 0 24px;
  color: rgba(246, 243, 236, 0.78);
  font-size: clamp(14.5px, 1.55vw, 17px);
  line-height: 1.6;
}

.rxg-business-hero .rxg-button {
  height: 52px;
}

.rxg-business-hero__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(26px, 3vw, 38px) 0 0;
  border-top: 1px solid rgba(246, 243, 236, 0.16);
}

.rxg-business-hero__facts div {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  border-right: 1px solid rgba(246, 243, 236, 0.13);
}

.rxg-business-hero__facts div:first-child {
  padding-left: 0;
}

.rxg-business-hero__facts div:nth-child(2) {
  border-right: 1px solid rgba(246, 243, 236, 0.13);
}

.rxg-business-hero__facts div:nth-child(-n + 2) {
  border-bottom: 0;
}

.rxg-business-hero__facts div:last-child {
  border-right: 0;
}

.rxg-business-hero__facts dd {
  margin: 7px 0 0;
  color: var(--rxg-paper);
  font-size: 14px;
  font-weight: 600;
}

.rxg-business-plan {
  display: block;
}

.rxg-business-plan__copy > p {
  max-width: 68ch;
  margin: 17px 0 0;
}

.rxg-business-plan__presentation {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr);
  align-items: start;
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(26px, 3vw, 38px);
}

.rxg-business-plan__concept {
  width: min(100%, 680px);
  justify-self: center;
}

.rxg-business-plan__support {
  display: grid;
  align-content: start;
  gap: 24px;
}

.rxg-business-plan__technical {
  width: min(100%, 260px);
}

.rxg-business-plan__technical-label {
  display: block;
  padding: 12px 14px 10px;
  color: var(--rxg-ink);
  font-family: var(--rxg-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rxg-business-plan__technical .rxg-site-media__placeholder {
  background: #eee8dc;
}

.rxg-business-plan__technical .rxg-site-media > img {
  padding: 6px;
}

.rxg-business-plan__technical:hover img {
  transform: none;
}

.rxg-business-plan__support .rxg-request-facts {
  grid-template-columns: 1fr;
}

.rxg-business-plan__support .rxg-request-facts div {
  min-height: 60px;
}

.rxg-request-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid var(--rxg-border-dark);
}

.rxg-request-facts div {
  min-height: 82px;
  padding: 17px 10px 14px 0;
  border-bottom: 1px solid var(--rxg-border-dark);
}

.rxg-request-facts dd {
  margin: 6px 0 0;
  color: var(--rxg-ink);
  font-size: 14px;
  font-weight: 600;
}

/* Contact */

.rxg-contact-hero {
  padding: clamp(28px, 4.5vw, 52px) 0 clamp(18px, 2.5vw, 28px);
  background: var(--rxg-paper);
}

.rxg-contact-hero h1 {
  width: fit-content;
  max-width: 100%;
}

.rxg-contact-hero > .rxg-container > p {
  max-width: 60ch;
  margin: 0;
  font-size: clamp(14.5px, 1.4vw, 16.5px);
  line-height: 1.6;
}

.rxg-contact-channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(20px, 3vw, 32px);
}

.rxg-contact-channels > * {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 17px 20px;
  border: 1px solid var(--rxg-card-border);
  border-radius: 11px;
  background: var(--rxg-white);
  text-decoration: none;
}

.rxg-contact-channels a:hover {
  border-color: var(--rxg-ink);
}

.rxg-contact-channels span {
  color: var(--rxg-muted);
  font-family: var(--rxg-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rxg-contact-channels strong {
  color: var(--rxg-ink);
  font-size: 15px;
}

.rxg-contact-section {
  padding-top: clamp(20px, 3vw, 32px);
}

.rxg-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
  align-items: start;
  gap: clamp(20px, 3vw, 40px);
}

.rxg-contact-form-shell {
  padding: var(--rxg-card-padding);
  border: 1px solid var(--rxg-card-border);
  border-radius: var(--rxg-radius-lg);
  background: var(--rxg-white);
}

.rxg-contact-form-shell > h2 {
  margin: 22px 0 7px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
}

.rxg-contact-form-shell__intro {
  margin: 0 0 24px;
  font-size: 14px;
}

.rxg-subject-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}

.rxg-subject-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--rxg-border-dark);
  border-radius: 999px;
  color: var(--rxg-ink);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
}

.rxg-subject-nav a:hover,
.rxg-subject-nav a.is-active {
  border-color: var(--rxg-ink);
  background: var(--rxg-ink);
  color: var(--rxg-paper);
}

.rxg-contact-form-shell .rexos-contact-form {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.rxg-contact-form-shell .rexos-contact-form__title {
  display: none;
}

.rxg-contact-form-shell .rexos-contact-form__notice {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 18px;
  padding: 13px 14px;
  border: 1px solid #ddcda7;
  border-radius: 9px;
  background: var(--rxg-warning-bg);
  color: var(--rxg-ink);
}

.rxg-contact-form-shell .rexos-contact-form__notice--success {
  border-color: #b9d0bf;
  background: var(--rxg-success-bg);
}

.rxg-contact-form-shell .rexos-contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rxg-contact-form-shell .rexos-contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
}

.rxg-contact-form-shell .rexos-contact-form__field--message {
  grid-column: 1 / -1;
}

.rxg-contact-form-shell .rexos-contact-form__field label {
  color: var(--rxg-ink);
  font-size: 13px;
  font-weight: 600;
}

.rxg-contact-form-shell .rexos-contact-form__field input,
.rxg-contact-form-shell .rexos-contact-form__field textarea {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #d8d0c0;
  border-radius: 8px;
  background: var(--rxg-white);
  color: var(--rxg-ink);
  font-size: 15px;
}

.rxg-contact-form-shell .rexos-contact-form__field textarea {
  height: auto;
  min-height: 120px;
  padding: 12px 14px;
  line-height: 1.55;
  resize: vertical;
}

.rxg-contact-form-shell .rexos-contact-form__field input:focus,
.rxg-contact-form-shell .rexos-contact-form__field textarea:focus {
  border-color: var(--rxg-bronze);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(158, 106, 67, 0.14);
}

.rxg-contact-form-shell .rexos-contact-form__field input:focus-visible,
.rxg-contact-form-shell .rexos-contact-form__field textarea:focus-visible {
  outline: var(--rxg-focus-width) solid var(--rxg-focus-color);
  outline-offset: var(--rxg-focus-offset);
  box-shadow: none;
}

.rxg-contact-form-shell .rexos-contact-form__field-error {
  color: #8a3a26;
  font-size: 12px;
}

.rxg-contact-form-shell .rexos-contact-form__submit {
  height: 52px;
  margin-top: 18px;
  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-contact-form-shell .rexos-contact-form__trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.rxg-contact-privacy {
  margin: 18px 0 0;
  color: var(--rxg-muted) !important;
  font-size: 12px;
}

.rxg-contact-privacy a {
  color: var(--rxg-ink);
  text-underline-offset: 3px;
}

.rxg-legal {
  max-width: 820px;
}

.rxg-legal__intro {
  max-width: 68ch;
  margin: 0;
  color: var(--rxg-ink);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.rxg-legal__sections {
  margin-top: clamp(34px, 5vw, 54px);
}

.rxg-legal__section {
  padding: 28px 0;
  border-top: 1px solid var(--rxg-border);
}

.rxg-legal__section h2 {
  margin: 0 0 10px;
  color: var(--rxg-ink);
  font-family: var(--rxg-serif);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.08;
}

.rxg-legal__section p {
  margin: 0;
  max-width: 72ch;
}

.rxg-legal__contact {
  margin-top: 8px;
}

.rxg-contact-next {
  position: sticky;
  top: calc(var(--rxg-header-height) + 24px);
  padding: 24px;
  border: 1px solid var(--rxg-border);
  border-radius: var(--rxg-radius-lg);
  background: var(--rxg-linen);
}

.rxg-contact-next ol {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.rxg-contact-next li {
  display: flex;
  gap: 12px;
}

.rxg-contact-next li > span {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rxg-ink);
  color: var(--rxg-paper);
  font-family: var(--rxg-mono);
  font-size: 10px;
}

.rxg-contact-next li p {
  margin: 2px 0 0;
  font-size: 13px;
}

.rxg-contact-next__note {
  padding-top: 18px;
  border-top: 1px solid var(--rxg-border-dark);
  font-size: 12px;
}

.rxg-contact-next .rxg-button--outline {
  padding-inline: 20px;
  border-color: #d8d0c0;
}

/* Safe generic pages and footer */

.rxg-safe-content {
  color: #5f5849;
}

.rxg-safe-content h2,
.rxg-safe-content h3,
.rxg-updating-state h2 {
  margin: 36px 0 12px;
  color: var(--rxg-ink);
  font-family: var(--rxg-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.05;
}

.rxg-updating-state {
  margin-top: 32px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--rxg-border);
  border-radius: var(--rxg-radius-lg);
  background: var(--rxg-linen);
}

.rxg-updating-state h2 {
  margin-top: 0;
}

.rxg-updating-state p {
  max-width: 60ch;
}

.rxg-footer__grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(26px, 4vw, 58px);
}

.rxg-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rxg-footer__contact p {
  margin: 0 0 2px;
  color: rgba(246, 243, 236, 0.64);
  font-size: 12px;
  line-height: 1.55;
}

.rxg-footer__contact > a:last-child {
  color: var(--rxg-bronze-light);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rxg-footer__contact a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--rxg-paper);
  text-decoration: none;
}

.rxg-footer__contact-number {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rxg-footer__contact span {
  color: rgba(246, 243, 236, 0.64);
  font-family: var(--rxg-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rxg-footer__contact strong {
  font-size: 12px;
  font-weight: 500;
}

.rxg-footer__legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.rxg-footer__legal a {
  color: inherit;
  text-decoration: none;
}

.rxg-footer__legal a:hover {
  color: var(--rxg-paper);
}

@media (max-width: 1320px) {
  .rxg-process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {

  .rxg-drawing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rxg-footer__grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }

  .rxg-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .rxg-section-heading,
  .rxg-section-heading--actions,
  .rxg-site-band__inner,
  .rxg-page-hero__grid,
  .rxg-business-teaser__grid,
  .rxg-business-plan,
  .rxg-contact-layout,
  .rxg-blueprint-cta__inner {
    grid-template-columns: 1fr;
  }

  .rxg-location-teaser__grid,
  .rxg-business-plan__presentation {
    grid-template-columns: 1fr;
  }

  .rxg-location-teaser__grid {
    grid-template-areas:
      "copy"
      "media"
      "action";
    align-items: start;
    gap: 28px;
  }

  .rxg-location-teaser__media {
    width: min(100%, 560px);
    min-height: 0;
    justify-self: center;
    aspect-ratio: 4 / 5;
  }

  .rxg-location-teaser__action {
    margin-top: 0;
  }

  .rxg-business-plan__technical {
    width: min(100%, 260px);
  }

  .rxg-business-plan__support .rxg-request-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rxg-section-heading {
    align-items: start;
    gap: 18px;
  }

  .rxg-section-heading--actions .rxg-button {
    justify-self: start;
  }

  .rxg-value-grid {
    grid-template-columns: 1fr;
  }

  .rxg-value-grid article {
    min-height: 0;
  }

  .rxg-value-grid h3 {
    margin-top: 0;
  }

  .rxg-media-mosaic {
    min-height: 760px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 2fr 1fr 1fr;
  }

  .rxg-media-mosaic__lead {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .rxg-page-hero__media {
    min-height: 480px;
  }

  .rxg-business-teaser__copy,
  .rxg-business-plan__copy {
    max-width: 720px;
  }

  .rxg-contact-next {
    position: static;
  }
}

@media (max-width: 768px) {
  .rxg-home-hero {
    min-height: calc(100svh - var(--rxg-header-height));
  }

  .rxg-home-hero__media > img {
    object-fit: cover;
    object-position: 72% center;
  }

  .rxg-home-hero__shade {
    background:
      linear-gradient(180deg, rgba(10, 8, 5, 0.28) 0%, rgba(10, 8, 5, 0.58) 38%, rgba(10, 8, 5, 0.94) 100%),
      linear-gradient(90deg, rgba(10, 8, 5, 0.44) 0%, rgba(10, 8, 5, 0.08) 100%);
  }

  .rxg-project-visuals {
    height: auto;
    grid-template-columns: 1fr;
  }

  .rxg-project-visuals__stack {
    display: contents;
  }

  .rxg-project-visuals__card--lead .rxg-project-visuals__stage {
    aspect-ratio: 4 / 5;
  }

  .rxg-project-visuals__card--living .rxg-project-visuals__stage,
  .rxg-project-visuals__card--interior .rxg-project-visuals__stage {
    aspect-ratio: 16 / 9;
  }

  .rxg-home-hero__content {
    padding-top: 100px;
  }

  .rxg-home-hero__copy {
    padding-bottom: 26px;
  }

  .rxg-home-hero__facts,
  .rxg-fact-strip,
  .rxg-business-hero__facts {
    grid-template-columns: 1fr 1fr;
  }

  .rxg-home-hero__facts div:nth-child(2),
  .rxg-fact-strip div:nth-child(2),
  .rxg-business-hero__facts div:nth-child(2) {
    border-right: 0;
  }

  .rxg-home-hero__facts div:nth-child(-n + 2),
  .rxg-fact-strip div:nth-child(-n + 2),
  .rxg-business-hero__facts div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(246, 243, 236, 0.14);
  }

  .rxg-fact-strip div {
    border-bottom-color: var(--rxg-border) !important;
  }

  .rxg-card-grid--featured {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  }

  .rxg-process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rxg-faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rxg-contact-channels {
    grid-template-columns: 1fr;
  }

  .rxg-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .rxg-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .rxg-site-section {
    padding: var(--rxg-section-y) 0;
  }

  .rxg-process-grid li {
    min-height: 0;
    padding: 26px 24px;
  }

  .rxg-home-hero h1 {
    font-size: clamp(46px, 7vw, 96px);
  }

  .rxg-home-hero__tag {
    top: 24px;
    right: 16px;
  }

  .rxg-home-hero .rxg-actions .rxg-button {
    width: 100%;
  }

  .rxg-home-hero .rxg-text-link {
    justify-content: center;
    width: 100%;
  }

  .rxg-home-hero__facts div {
    min-height: 82px;
    padding: 13px 12px;
  }

  .rxg-home-hero__facts dd {
    font-size: 12px;
  }

  .rxg-card-grid--featured,
  .rxg-process-grid,
  .rxg-drawing-grid {
    grid-template-columns: 1fr;
  }

  .rxg-location-teaser__action {
    width: 100%;
  }

  .rxg-location-teaser__facts div {
    padding-right: 10px;
  }

  .rxg-location-teaser__facts div:nth-child(even) {
    padding-left: 12px;
  }

  .rxg-media-mosaic {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .rxg-media-mosaic .rxg-site-media {
    width: 100%;
  }

  .rxg-media-mosaic .rxg-site-media {
    aspect-ratio: 16 / 9;
  }

  .rxg-site-band__inner > .rxg-button,
  .rxg-site-band__inner > .rxg-actions,
  .rxg-site-band__inner .rxg-actions .rxg-button {
    width: 100%;
  }

  .rxg-page-hero__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .rxg-page-hero__copy h1,
  .rxg-contact-hero h1,
  .rxg-business-hero h1 {
    font-size: clamp(34px, 5vw, 60px);
  }

  .rxg-fact-strip div,
  .rxg-business-hero__facts div {
    padding: 14px 12px;
  }

  .rxg-business-plan {
    gap: 30px;
  }

  .rxg-request-facts,
  .rxg-contact-form-shell .rexos-contact-form__grid {
    grid-template-columns: 1fr;
  }

  .rxg-contact-form-shell .rexos-contact-form__field--message {
    grid-column: auto;
  }

  .rxg-subject-nav a {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .rxg-footer__grid {
    grid-template-columns: 1fr;
  }

  .rxg-footer__brand {
    grid-column: auto;
  }
}
