/* Optional LUXI colour edition. All changes to the previous colour system live here. */
:root {
  --luxi-ivory:#fff9ec;
  --luxi-parchment:#f6ecd7;
  --luxi-midnight:#101d2c;
  --luxi-navy:#152c46;
  --luxi-brass:#775326;
  --luxi-champagne:#dabf89;
  --luxi-blue:#174f9d;
  --luxi-gold:var(--luxi-champagne);
}
html[data-theme="day"],html[data-theme="day"] body {
  --body:#fbf4e6;
  --panel:#fffbf1;
  --panel2:#f0e6d1;
  --paper:#fcf5e5;
  --card:#fffaf0;
  --tint:#f4ead5;
  --ink:#172638;
  --print:#172638;
  --sub:#48525a;
  --muted:#48525a;
  --pale:#585547;
  --line:#d6c9ad;
  --quiet:#675332;
  --blue:#20568e;
  --money:#28504b;
  --luxi-gold:var(--luxi-brass);
}
html[data-theme="night"] {
  --body:#0b1320;
  --panel:#131f2e;
  --panel2:#182738;
  --ink:#f6eedf;
  --muted:#c0cad3;
  --line:#374352;
  --quiet:#a7c9e3;
}
html[data-theme="night"] body:not(#top) {
  --paper:#0e1825;
  --card:#152232;
  --sub:#bfccd5;
  --line:#394655;
  --tint:#233044;
  --blue:#a3ccf0;
}
html[data-theme="day"] :is(.mast,.topnav) {
  background:rgba(255,249,235,.96);
  color:var(--luxi-midnight);
  border-color:#d6c9ac;
}
html[data-theme="day"] .mast .primaryNav a {color:#2f4051}
html[data-theme="day"] .mast .primaryNav a[aria-current="page"] {text-decoration-color:var(--luxi-brass)}
html[data-theme="day"] .mast .navPartner {
  color:#fffaef;
  background:var(--luxi-navy);
  border-color:var(--luxi-navy);
}
html[data-theme="day"] #top .atelierSection.hero,
html[data-theme="day"] #top .atelierSection.hero:before {
  background:#f7edd9;
  color:var(--luxi-midnight);
}
html[data-theme="day"] #top .metricBand {background:#f3e8cf;border-color:#d6c7aa}
html[data-theme="day"] #top .metricBand .metrics>div {border-color:#d6c7aa}
html[data-theme="day"] .modeSwitch {background:#ecdfc6}
html[data-theme="day"] .modeSwitch button[aria-pressed="true"] {background:var(--luxi-navy);color:#fff9ee}
html[data-theme="day"] #top .lightRoom {background:#f5e8cd;color:var(--luxi-midnight)}
html[data-theme="day"] #top .modelSection {background:#f9f0dd}
html[data-theme="day"] #top .hero .btnStone {background:var(--luxi-navy);color:#fff8e7;border-color:var(--luxi-navy)}
html[data-theme="day"] #top .hero .btnGhost {color:var(--luxi-navy);border-color:#ad9d7f}
#top :is(.collection,.insightSection) {
  --luxi-gold:var(--luxi-brass);
  --quiet:#664e2d;
}
html[data-theme="day"] #top :is(.collection,.insightSection) {
  background:var(--luxi-ivory);
  --line:#dbceb5;
}
#top :is(.studioIntro,.sectionIntro,.lightText,.accessCopy) .rule {background:var(--luxi-gold)}
#top .access .rule {background:var(--luxi-champagne)}
#top .projectGrid .photoTag {background:#17283a;color:#fff5df;border-color:#c8a86b}
#top .projectGrid .photoTag.concept {background:#272b31;color:#fff3dc;border-color:#c0ac87}
#top .filters button {
  background:transparent;
  color:var(--luxi-navy);
  border-color:#c4b9a4;
}
#top .filters button:hover {background:#f6e9cf;border-color:#a9926c}
#top .filters button[aria-pressed="true"] {
  background:var(--luxi-navy);
  color:#fff7e6;
  border-color:var(--luxi-navy);
  box-shadow:inset 0 -2px #b99c63;
}
#top .projectCard .cardAction {
  color:var(--luxi-navy);
  text-decoration-color:var(--luxi-brass);
}
#top .projectCard :is(.cardAction.investProject,.investProject) {
  background:var(--luxi-blue);
  color:white;
  border-color:var(--luxi-blue);
}
#top .projectCard .investProject:hover {background:#103b78}
#top .cardLaunch,.projectCard .cardBottom {border-color:#b8a5825c}
html[data-theme="day"] #top .simGrid {background:var(--card);border-color:#d2c4a7}
#top .buybackQuote {border-color:var(--luxi-gold)}
html[data-theme="day"] :is(.buyLead,.controlpanel,.allocationpanel,.timebox,.planwrap,.doc,.phaseCard,.pubCard) {
  background:var(--card);
  border-color:var(--line);
}
header.buyLead aside {border-color:var(--luxi-gold)}
.page .phaseMenu>div>a[aria-current="page"] {box-shadow:inset 0 -2px var(--luxi-gold);border-bottom-color:transparent}
.page :is(.label,.kicker) {color:var(--luxi-gold)}
.page :is(.arrival,.coverImage,.theater,.rawCover) :is(.kicker,.overline) {color:#fff2d6}
.page .purchaseTours .openDesign,.page .safaInvest,.arrival .safaInvest {background:var(--luxi-blue);color:white;border-color:var(--luxi-blue)}
.page .purchaseTours .openDesign:hover,.page .safaInvest:hover,.arrival .safaInvest:hover {background:#123d79;color:white}
html[data-theme="night"] .page .purchaseTours .openDesign {border-color:#7199c2}
.page .textLink,.legalLinks a,.formPrivacy a {text-decoration-color:var(--luxi-gold)}
footer,.legalPage footer {
  background:#101b2a;
  color:#f5ecd9;
  border-block-start:1px solid #8f7b58;
}
footer .footerGrid :is(a:not(.brand),span,address),footer .footgrid :is(a:not(.footerbrand),p),footer .foot,footer .footerBase {
  color:#c9cdd1;
}
footer :is(.footerGrid,.footgrid) :is(h3,h4) {color:#f8efdd}
footer :is(.legalLinks a,.groupSites a):hover {color:#f4dba7}
footer .legalLinks {--luxi-gold:var(--luxi-champagne)}
.legalPage {color:var(--ink);background:var(--paper)}
.legalPage :where(h2,h3) {text-decoration-color:var(--luxi-gold)}
@media(prefers-contrast:more){
  #top .filters button {border-color:currentColor}
  header.buyLead aside {border-width:2px}
}
/* Night surfaces are shared by the landing, directory and purchase studios. */
html[data-theme="night"] {
  color-scheme:dark;
  background:#0b1320;
  --paper:#0e1825;
  --print:#f6eedf;
  --pale:#bfccd5;
  --card:#152232;
  --tint:#203047;
  --blue:#a3ccf0;
  --sub:#bfccd5;
}
html[data-theme="night"] #top :is(.collection,.insightSection,.lightRoom) {
  --quiet:#a7c9e3;
  --line:#394b5c;
  --luxi-gold:var(--luxi-champagne);
  background:var(--paper);
  color:var(--ink);
}
html[data-theme="night"] #top .lightRoom {background:var(--panel)}
html[data-theme="night"] #top :is(.cardKind,.cardLocation,.cardLaunch>span,.cardBottom,.lightText>p:not(.eyebrow)) {color:var(--muted)}
html[data-theme="night"] #top :is(.lightRoom .eyebrow,.lightRoom .quietLink,.insightSection .quietLink,.articles small,.articles .textBtn,.cardBottom .textBtn,.cardPhases a) {color:var(--quiet)}
html[data-theme="night"] #top :is(.articles article,.cardLaunch,.cardBottom,.cardPhases a) {border-color:var(--line)}
html[data-theme="night"] #top .cardPhases a:hover {background:var(--tint)}
html[data-theme="night"] #top .projectCard .cardAction:not(.investProject) {color:var(--quiet);text-decoration-color:var(--luxi-champagne)}
html[data-theme="night"] #top .filters button {color:var(--muted);border-color:#536377}
html[data-theme="night"] #top .filters button:hover {color:var(--ink);background:#203047;border-color:#8596a8}
html[data-theme="night"] #top .filters button[aria-pressed="true"] {color:#fff5e0;background:#283d54;border-color:#b7a781}
html[data-theme="night"] :is(input,textarea,select) {color-scheme:dark}
html[data-theme="night"] .lx-model.lx-night .lx-stage {background:radial-gradient(ellipse at 50% 32%,#35485b,#1a2a3a 72%,#111c2b)}
html[data-theme="night"] .lx-toolbar,
html[data-theme="night"] :is(.lx-gallery-controls,.lx-dialog-head,.lx-room-caption,.lx-dialog-content:has(.lx-room-view),.lxloc-north,.lxloc-credit) {background:var(--card);color:var(--ink);border-color:var(--line)}
html[data-theme="night"] .lx-toolbar button,
html[data-theme="night"] :is(.lx-close,.lx-model-badge,.lx-model-readout,.lx-gallery-controls button,.lxloc-credit a) {color:var(--ink)}
html[data-theme="night"] :is(.lx-model-badge,.lx-model-readout) {background:#122030ed;border-radius:3px}
html[data-theme="night"] .lx-overlay {background:var(--card)!important;color:var(--ink)!important;border-color:var(--line)!important}
html[data-theme="night"] .lxloc-stage {background:#263641}
html[data-theme="night"] .level>span {background:#132437ed;color:#f6eedf}
html[data-theme="night"] :is(.wu-detail figure,.planphoto,.slidePhoto.plan) {background:var(--panel2)}
