@font-face {
  font-family: "MLT Cormorant";
  src: url("fonts/cormorant-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "MLT Public Sans";
  src: url("fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "MLT Plex Mono";
  src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --lux-paper: #f4ece2;
  --lux-card: #fbf8f3;
  --lux-ink: #191614;
  --lux-muted: #5b524b;
  --lux-rule: #d9cbb8;
  --lux-accent: #ffac66;
  --lux-focus: #8a4a14;
  --lux-serif: "MLT Cormorant", Georgia, serif;
  --lux-sans: "MLT Public Sans", system-ui, sans-serif;
  --lux-mono: "MLT Plex Mono", ui-monospace, monospace;
  --lux-max: 1320px;
  --lux-gutter: max(20px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --lux-header-height: 72px;
}
@media (max-width: 1140px) { :root { --lux-header-height: 64px; } }

.lux-mast, .lux-mast * { box-sizing: border-box; }
header.lux-mast {
  position: sticky;
  top: 0;
  z-index: 1500;
  margin: 0;
  padding: 0;
  width: 100%;
  height: var(--lux-header-height);
  background: var(--lux-paper);
  border: 0;
  border-bottom: 1px solid var(--lux-rule);
  color: var(--lux-ink);
  font: 500 14px/1.3 var(--lux-sans);
  text-transform: none;
  letter-spacing: 0;
}
.lux-mast .lux-mast__inner {
  position: relative;
  height: 100%;
  max-width: var(--lux-max);
  margin: 0 auto;
  padding: 0 var(--lux-gutter);
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 22px);
}
.lux-mast a, .lux-mast summary, .lux-mast button {
  font: inherit;
  color: inherit;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
}
.lux-mast .lux-mast__brand { display: flex; align-items: center; margin-right: auto; flex-shrink: 1; min-width: 0; }
.lux-mast .lux-mast__brand img { display: block; width: clamp(158px, 17.4vw, 242px); max-width: 100%; height: auto; margin: 0; }
.lux-mast .lux-mast__primary { display: flex; align-items: center; gap: clamp(11px, 1.2vw, 20px); margin: 0; }
.lux-mast .lux-mast__primary a, .lux-mast .lux-mast__saved { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.lux-mast .lux-mast__saved { color: var(--lux-muted); }
.lux-mast .lux-mast__contact, .lux-mast .lux-mast__panel button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 16px; min-height: 42px; background: var(--lux-ink); color: white; border: 1px solid var(--lux-ink); border-radius: 4px;
  font-weight: 600; cursor: pointer;
}
.lux-mast details.lux-mast__menu { position: static; border: 0; margin: 0; padding: 0; }
.lux-mast details.lux-mast__menu > summary {
  display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px; margin: 0;
  cursor: pointer; list-style: none; background: transparent; border: 0; white-space: nowrap;
}
.lux-mast summary::-webkit-details-marker { display: none; }
.lux-mast details.lux-mast__menu > summary::before, .lux-mast details.lux-mast__menu > summary::after { content: none; }
.lux-mast .lux-mast__panel {
  position: absolute; top: 100%; right: var(--lux-gutter);
  width: min(530px, calc(100% - 2 * var(--lux-gutter)));
  max-height: calc(100vh - var(--lux-header-height) - 12px);
  max-height: calc(100dvh - var(--lux-header-height) - 12px);
  overflow: auto; overscroll-behavior: contain;
  background: var(--lux-card); border: 1px solid var(--lux-rule); padding: 18px; box-shadow: 0 14px 32px rgb(25 22 20 / 12%);
}
.lux-mast .lux-mast__panel nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.lux-mast .lux-mast__panel nav a { display: flex; align-items: center; min-height: 42px; padding: 7px 0; border-bottom: 1px solid var(--lux-rule); }
.lux-mast .lux-mast__panel form { display: flex; align-items: stretch; gap: 8px; margin: 0 0 12px; }
.lux-mast .lux-mast__panel input {
  flex: 1 1 auto; min-width: 0; width: 0; height: 44px; border: 1px solid var(--lux-rule); border-radius: 4px;
  padding: 0 10px; background: var(--lux-card); color: var(--lux-ink); font: 400 16px/1.25 var(--lux-sans);
}
.lux-mast a:hover, .lux-mast summary:hover { color: var(--lux-focus); }
.lux-mast .lux-mast__contact:hover, .lux-mast .lux-mast__panel button:hover { color: var(--lux-ink); background: var(--lux-accent); }
.lux-mast :is(a, summary, input, button):focus-visible { outline: 2px solid var(--lux-focus); outline-offset: 2px; }
@media (max-width: 1140px) { .lux-mast .lux-mast__primary { display: none; } }
@media (max-width: 600px) {
  .lux-mast .lux-mast__saved { display: none; }
  .lux-mast .lux-mast__inner { gap: 12px; padding-inline: max(14px, env(safe-area-inset-left), env(safe-area-inset-right)); }
  .lux-mast .lux-mast__brand img { width: 176px; }
  .lux-mast .lux-mast__contact { padding-inline: 12px; min-height: 44px; }
  .lux-mast .lux-mast__panel { width: 100%; right: 0; padding: 14px var(--lux-gutter); }
}
