/* Vintage Modern floating dashboard navigation. All selectors are scoped. */
:root {
  --vm-dash-clearance: 136px;
}

.vm-dash-nav {
  --vm-dash-leather-light: #d2a06b;
  --vm-dash-leather-mid: #bc8957;
  --vm-dash-leather-dark: #9c683d;
  --vm-dash-ink: #151817;
  --vm-dash-type: #f5eee2;
  --vm-dash-amber: #e7b76b;
  --vm-dash-grain: url("./leather-grain.svg");
  --vm-dash-width: 1240px;
  --vm-dash-top: max(20px, env(safe-area-inset-top, 0px));
  --vm-dash-z: 70;
  position: fixed;
  top: var(--vm-dash-top);
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 64px), var(--vm-dash-width));
  z-index: var(--vm-dash-z);
  color: var(--vm-dash-type);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  color-scheme: dark;
  isolation: isolate;
}

.vm-dash-nav *,
.vm-dash-nav *::before,
.vm-dash-nav *::after {
  box-sizing: border-box;
}

.vm-dash-nav a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.vm-dash-nav__shell {
  position: relative;
  isolation: isolate;
  padding: 15px 20px 17px;
  border: 1px solid #80532f;
  border-top-color: #e5ba86;
  border-radius: 15px;
  background:
    linear-gradient(180deg, #fff3 0%, transparent 17%, transparent 77%, #40221124 100%),
    linear-gradient(100deg, var(--vm-dash-leather-mid), var(--vm-dash-leather-light) 32%, #c79562 64%, var(--vm-dash-leather-mid));
  box-shadow:
    inset 0 1px 1px #fff6,
    inset 0 -3px 4px #48281055,
    inset 2px 0 4px #fff2,
    0 2px 0 #4b321f,
    0 12px 22px -5px #0006,
    0 22px 54px -18px #0009;
  transition: box-shadow 180ms ease;
}

/* A single stitched seam. Grain is a small, local SVG, never an external request. */
.vm-dash-nav__shell::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed #f6d2a0aa;
  border-radius: 10px;
  box-shadow: 0 1px 0 #6843265c;
  pointer-events: none;
  z-index: -1;
}

.vm-dash-nav__shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--vm-dash-grain);
  background-size: 192px 192px;
  opacity: .31;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: -1;
}

.vm-dash-nav__fascia {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 6px 8px 6px 24px;
  border: 1px solid #111;
  border-top-color: #2e332e;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff07, transparent 48%, #0003),
    repeating-linear-gradient(0deg, #ffffff02 0 1px, transparent 1px 3px),
    var(--vm-dash-ink);
  box-shadow:
    0 -1px 2px #4e2e17bf,
    0 1px 1px #eec58acc,
    inset 0 2px 4px #0009,
    inset 0 -1px 1px #fff1;
}

.vm-dash-nav__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0;
  margin-right: auto;
  border-radius: 4px;
}

.vm-dash-nav__brand img {
  display: block;
  width: 209px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  /* Exact attached bitmap. No CSS filters, masks, tracing, or replacement fonts. */
}

.vm-dash-nav__links {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.vm-dash-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 5px;
  white-space: nowrap;
  letter-spacing: .035em;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.vm-dash-nav__indicator {
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  border-radius: 50%;
  background: #9e9384;
  box-shadow: 0 0 0 2px #0004;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.vm-dash-nav__link:hover,
.vm-dash-nav__link[aria-current="page"] {
  border-color: #dfb78630;
  background: #ffffff08;
  color: #ffe2b4;
}

.vm-dash-nav__link:hover .vm-dash-nav__indicator,
.vm-dash-nav__link[aria-current="page"] .vm-dash-nav__indicator {
  background: var(--vm-dash-amber);
  box-shadow: 0 0 7px #e7b76b88;
}

.vm-dash-nav .vm-dash-nav__configure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 16px;
  margin-left: 9px;
  border: 1px solid #b6b5a7;
  border-top-color: #f7f3e7;
  border-bottom-color: #77796f;
  border-radius: 5px;
  color: #222721;
  background:
    repeating-linear-gradient(0deg, #ffffff18 0 1px, #00000003 1px 2px),
    linear-gradient(180deg, #eee9dd, #bbbcb1 45%, #d8d6c8 55%, #c6c5b7);
  box-shadow:
    inset 0 1px 0 #fff9,
    inset 0 -2px 0 #0002,
    0 0 0 3px #030403,
    0 3px 3px #0007;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 0 #fff5;
  transition: box-shadow 140ms ease, background-color 140ms ease, transform 140ms ease;
}

.vm-dash-nav__lamp {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  border: 1px solid #764b1d;
  background: #e3a847;
  box-shadow: inset 0 1px 1px #ffdb90, 0 0 4px #e3a84788;
}

.vm-dash-nav__configure:hover {
  box-shadow: inset 0 1px 0 #fff9, inset 0 -2px 0 #0002, 0 0 0 3px #030403, 0 0 12px #e7b76b22;
}

.vm-dash-nav__configure:active,
.vm-dash-nav__toggle:active {
  transform: translateY(1px);
}

.vm-dash-nav__arrow,
.vm-dash-nav__phone svg {
  display: block;
  flex: 0 0 auto;
}

.vm-dash-nav__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  margin-left: 12px;
  padding: 0 13px 0 18px;
  border-left: 1px solid #ffffff1a;
  border-radius: 0 4px 4px 0;
  color: #e7ded0;
  font-size: 11px;
  letter-spacing: .035em;
  white-space: nowrap;
}

.vm-dash-nav__phone:hover {
  color: #ffe2b4;
}

.vm-dash-nav .vm-dash-nav__quick-configure,
.vm-dash-nav__toggle {
  display: none;
}

.vm-dash-nav__toggle {
  appearance: none;
  position: relative;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #57594e;
  border-radius: 5px;
  color: var(--vm-dash-type);
  background: linear-gradient(180deg, #34382f, #20231e);
  box-shadow: inset 0 1px 0 #ffffff1a, 0 2px 3px #0005;
  cursor: pointer;
}

.vm-dash-nav__toggle-line {
  position: absolute;
  width: 17px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transform: translateY(-3px);
  transition: transform 160ms ease;
}

.vm-dash-nav__toggle-line + .vm-dash-nav__toggle-line {
  transform: translateY(3px);
}

.vm-dash-nav__toggle[aria-expanded="true"] .vm-dash-nav__toggle-line {
  transform: rotate(45deg);
}

.vm-dash-nav__toggle[aria-expanded="true"] .vm-dash-nav__toggle-line + .vm-dash-nav__toggle-line {
  transform: rotate(-45deg);
}

.vm-dash-nav a:focus-visible,
.vm-dash-nav button:focus-visible {
  outline: 2px solid #ffd392;
  outline-offset: 3px;
}

.vm-dash-nav[data-scrolled="true"] .vm-dash-nav__shell {
  box-shadow: inset 0 1px 1px #fff6, inset 0 -3px 4px #48281055, 0 2px 0 #4b321f, 0 14px 26px -4px #0008, 0 22px 50px -12px #0008;
}

/* Subpages can opt in to space for the fixed bar without shifting an image hero. */
.vm-dash-content-offset {
  padding-top: var(--vm-dash-clearance);
}

@media (max-width: 1100px) and (min-width: 981px) {
  .vm-dash-nav { width: calc(100% - 40px); }
  .vm-dash-nav__shell { padding-inline: 14px; }
  .vm-dash-nav__fascia { padding-left: 16px; gap: 8px; }
  .vm-dash-nav__brand img { width: 170px; }
  .vm-dash-nav__link { padding-inline: 11px; }
  .vm-dash-nav__phone { padding-inline: 12px; margin-left: 6px; }
}

@media (max-width: 980px) {
  :root { --vm-dash-clearance: 112px; }
  .vm-dash-nav {
    --vm-dash-top: max(12px, env(safe-area-inset-top, 0px));
    position: sticky;
    left: auto;
    transform: none;
    width: calc(100% - 24px);
    margin: 12px auto;
  }
  .vm-dash-nav.is-enhanced {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }
  .vm-dash-nav__shell { padding: 11px 12px 13px; border-radius: 13px; }
  .vm-dash-nav__shell::before { inset: 5px; border-radius: 9px; }
  .vm-dash-nav__fascia { min-height: 56px; padding: 5px 6px 5px 14px; gap: 12px; flex-wrap: wrap; }
  .vm-dash-nav__brand img { width: 180px; }
  .vm-dash-nav__links { width: 100%; flex: 1 0 100%; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
  .vm-dash-nav.is-enhanced .vm-dash-nav__fascia { flex-wrap: nowrap; }
  .vm-dash-nav.is-enhanced .vm-dash-nav__links { display: none; }
  .vm-dash-nav.is-enhanced .vm-dash-nav__toggle { display: inline-flex; }
  .vm-dash-nav.is-enhanced .vm-dash-nav__quick-configure { display: inline-flex; margin-left: 0; }
  .vm-dash-nav.is-enhanced[data-menu-open="true"] .vm-dash-nav__links {
    position: absolute;
    top: calc(100% + 23px);
    right: -13px;
    left: -13px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    width: auto;
    max-height: calc(100dvh - 124px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding: 14px;
    border: 6px solid var(--vm-dash-leather-mid);
    border-top-color: var(--vm-dash-leather-light);
    border-radius: 12px;
    background: var(--vm-dash-ink);
    box-shadow: inset 0 1px 3px #0008, 0 15px 30px #0008;
  }
  .vm-dash-nav__links .vm-dash-nav__link { justify-content: flex-start; min-height: 48px; padding-inline: 14px; font-size: 13px; }
  .vm-dash-nav__links .vm-dash-nav__configure { min-height: 48px; margin: 8px 0; }
  .vm-dash-nav__links .vm-dash-nav__phone { margin: 0; min-height: 48px; border-left: 0; border-top: 1px solid #ffffff1a; font-size: 12px; }
}

@media (max-width: 500px) {
  .vm-dash-nav__fascia { padding-left: 10px; gap: 9px; }
  .vm-dash-nav__brand img { width: 126px; }
  .vm-dash-nav .vm-dash-nav__quick-configure { gap: 7px; padding-inline: 11px; font-size: 10px; letter-spacing: .045em; }
}

@media (max-width: 359px) {
  .vm-dash-nav__shell { padding-inline: 10px; }
  .vm-dash-nav__fascia { padding-left: 7px; gap: 7px; }
  .vm-dash-nav__brand img { width: 106px; }
  .vm-dash-nav .vm-dash-nav__quick-configure { padding-inline: 8px; gap: 5px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .vm-dash-nav *, .vm-dash-nav *::before, .vm-dash-nav *::after { transition: none !important; }
}

@media (forced-colors: active) {
  .vm-dash-nav__shell, .vm-dash-nav__fascia, .vm-dash-nav__links, .vm-dash-nav__toggle,
  .vm-dash-nav .vm-dash-nav__configure { background: Canvas; color: CanvasText; border-color: CanvasText; box-shadow: none; }
  .vm-dash-nav__shell::after { display: none; }
  .vm-dash-nav__brand { background: #151817; forced-color-adjust: none; }
  .vm-dash-nav__indicator, .vm-dash-nav__lamp { background: Highlight; }
  .vm-dash-nav a:focus-visible, .vm-dash-nav button:focus-visible { outline-color: Highlight; }
}
