.mx-enquiry {
  --mx-gold: #d8b780;
  --mx-text: #f5eee3;
  --mx-muted: #c1b7a9;
  --mx-dark: #171614;
  --mx-line: #8e806455;
  --mx-offset: clamp(12px, 2.2vw, 28px);
  --mx-bottom: max(var(--mx-offset), calc(env(safe-area-inset-bottom) + 8px));
  font-family: 'Source Sans Pro', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: var(--mx-text);
}

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

.mx-enquiry :is(button, textarea, input, select, a) { font: inherit; }
.mx-enquiry button, .mx-enquiry a { cursor: pointer; }
/* The homepage applies important text colours and full-width styles to every button. */
.mx-enquiry button {
  width: auto;
  color: var(--mx-text) !important;
  box-shadow: none;
  text-transform: none;
  letter-spacing: normal;
}
.mx-enquiry :focus-visible { outline: 2px solid var(--mx-gold); outline-offset: 3px; }

.mx-enquiry .mx-launcher, .mx-teaser {
  position: fixed;
  right: max(var(--mx-offset), env(safe-area-inset-right));
  z-index: 90;
  color: var(--mx-text);
  background: var(--mx-dark);
  border: 1px solid #b5935c99;
  box-shadow: 0 10px 32px #0007;
}

.mx-launcher {
  bottom: var(--mx-bottom);
  display: flex;
  align-items: center;
  min-height: 52px;
  gap: 11px;
  padding: 8px 15px 8px 9px;
  border-radius: 999px;
  font-weight: 650;
}

.mx-enquiry .mx-launcher:hover { background: #28231c; border-color: var(--mx-gold); }
.mx-launcher-mark {
  background: repeating-linear-gradient(132deg, #ad8c55 0 2px, #392f24 3px 6px);
  border: 1px solid #ecd9ab73;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.mx-launcher-arrow, .mx-choice-arrow { color: var(--mx-gold); }

.mx-teaser {
  bottom: calc(var(--mx-bottom) + 65px);
  width: min(300px, calc(100% - 2 * var(--mx-offset)));
  display: flex;
  align-items: flex-start;
  border-radius: 12px;
  overflow: hidden;
}

.mx-enquiry :is(.mx-teaser-link, .mx-teaser-close) {
  border: 0;
  background: transparent;
  color: inherit;
}

.mx-enquiry :is(.mx-teaser-link, .mx-teaser-close):hover { background: #d8b78019; }

.mx-enquiry .mx-teaser-link { flex: 1; min-height: 44px; padding: 10px 14px; text-align: left; }
.mx-enquiry .mx-teaser-close { width: 44px; height: 44px; font-size: 22px; color: var(--mx-gold); }

.mx-dialog {
  position: fixed;
  inset: auto max(var(--mx-offset), env(safe-area-inset-right)) var(--mx-bottom) auto;
  margin: 0;
  padding: 0;
  width: min(440px, calc(100% - 2 * var(--mx-offset)));
  max-width: none;
  max-height: min(760px, calc(100dvh - var(--mx-offset) - var(--mx-bottom)));
  color: var(--mx-text);
  color-scheme: dark;
  background: var(--mx-dark);
  border: 1px solid #b5935c7a;
  border-radius: 18px;
  box-shadow: 0 24px 88px #0009;
  overflow: hidden;
}

.mx-dialog[open] { display: flex; flex-direction: column; }
.mx-dialog::backdrop { background: #090807a8; }
body:has(.mx-dialog[open]) { overflow: hidden; }

.mx-cover {
  position: relative;
  isolation: isolate;
  flex: none;
  height: clamp(66px, 12dvh, 102px);
  display: flex;
  align-items: flex-end;
  padding: 16px 22px;
  background:
    linear-gradient(90deg, #15120fe3 0%, #19151130 100%),
    #4e4438 url('/assets/responsive/2cbe50b51556e1e4-480.webp') center 46% / cover;
  border-bottom: 1px solid #d8b7805c;
}

.mx-brand { font-size: 15px; font-weight: 650; letter-spacing: .28em; }
.mx-enquiry .mx-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid #d8b78080;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  padding: 0 0 2px;
  line-height: 1;
  font-size: 26px;
  color: var(--mx-text);
  background: #191613d9;
}

.mx-scroll { overflow: auto; overscroll-behavior: contain; padding: 20px 22px 22px; }
.mx-progress { display: flex; gap: 5px; align-items: center; }
.mx-progress span { width: 22px; height: 2px; border-radius: 2px; background: #5e554a; }
.mx-progress .mx-current { background: var(--mx-gold); }
.mx-progress small { margin: 0; margin-left: 6px; color: var(--mx-muted); font-size: 13px; }
.mx-dialog h2 {
  font: 400 clamp(25px, 4vw, 30px) / 1.12 Georgia, serif;
  color: var(--mx-text);
  letter-spacing: -.025em;
  text-transform: none;
  margin: 12px 0 6px;
}
.mx-dialog h2:focus { outline: none; }
.mx-intro { margin: 0 0 17px; color: var(--mx-muted); line-height: 1.35; }

.mx-choices, .mx-form { display: grid; gap: 7px; }
.mx-enquiry .mx-choice {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 55px;
  width: 100%;
  background: #ffffff04;
  color: var(--mx-text);
  border: 1px solid var(--mx-line);
  border-radius: 9px;
  text-align: left;
  padding: 7px 11px;
  line-height: 1.22;
}
.mx-enquiry .mx-choice:hover { border-color: var(--mx-gold); background: #d8b78013; }
.mx-choice strong { display: block; margin: 0; font-size: 15px; font-weight: 650; }
.mx-choice small { display: block; color: var(--mx-muted); margin: 3px 0 0; font-size: 13px; }
.mx-choice-mark {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 6px;
  background: #d8b78019;
  color: var(--mx-gold);
  font: 19px / 1 Georgia, serif;
}
.mx-choice-mark::after { content: '◇'; }
.mx-choice-mark[data-reason="1"]::after { content: '▤'; }
.mx-choice-mark[data-reason="2"]::after { content: '✧'; }
.mx-choice-mark[data-reason="3"]::after { content: '◫'; }
.mx-choice-mark[data-reason="4"]::after { content: '?'; }

.mx-form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 9px; row-gap: 11px; }
.mx-enquiry .mx-field {
  display: block;
  min-width: 0;
  margin: 0;
  color: var(--mx-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.mx-field small { color: var(--mx-muted); font-size: 12px; font-weight: 400; }
.mx-field:has(textarea), .mx-form .mx-actions { grid-column: 1 / -1; }
.mx-hint { display: block; margin-top: 2px; }
.mx-enquiry :is(.mx-field input, .mx-field select, .mx-field textarea, .mx-draft) {
  display: block;
  width: 100%;
  min-height: 44px;
  border: 1px solid #8e80648c;
  border-radius: 7px;
  background: #211f1c;
  color: var(--mx-text);
  margin-top: 4px;
  padding: 8px 9px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}
.mx-enquiry .mx-field select { appearance: auto; }
.mx-enquiry .mx-field textarea { min-height: 76px; }
.mx-field textarea, .mx-draft { resize: vertical; }
.mx-draft { margin-bottom: 12px; }

.mx-actions { display: flex; gap: 8px; align-items: stretch; justify-content: space-between; }
.mx-enquiry :is(.mx-primary, .mx-secondary, .mx-back) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 7px 12px;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
}
.mx-enquiry .mx-primary { background: var(--mx-gold); color: #1b1711 !important; font-weight: 700; }
.mx-primary:hover { filter: brightness(1.1); }
.mx-enquiry .mx-secondary { color: var(--mx-text); border-color: #8e80648c; background: transparent; }
.mx-enquiry .mx-back { color: var(--mx-muted) !important; background: transparent; padding-inline: 0; }
.mx-enquiry :is(.mx-secondary, .mx-back, .mx-close):hover {
  background: #d8b78019;
  color: var(--mx-gold) !important;
}
.mx-status { margin: 4px 0 0; color: var(--mx-gold); font-size: 14px; }
.mx-status:empty { display: none; }

@media (max-width: 480px) {
  .mx-scroll { padding: 16px 14px 17px; }
  .mx-cover { padding-inline: 14px; }
  .mx-enquiry .mx-choice { padding-inline: 8px; gap: 8px; }
}
@media (max-width: 350px) {
  .mx-form { grid-template-columns: minmax(0, 1fr); }
  .mx-draft-actions { flex-wrap: wrap; }
}
