/* One mast and department switch for the studio, Sound and Systems. */
:root {
  --site-mast-height: 84px;
  --site-mast-gutter: clamp(20px, 4.3vw, 72px);
}
:root:has(.site-mast) {
  --omega-mast-height: var(--site-mast-height);
  --sound-mast-height: var(--site-mast-height);
}
.site-mast, .omega-index {
  --mast-ink: #0c100f;
  --mast-surface: #171b19;
  --mast-text: #efece3;
  --mast-muted: #bec3bb;
  --mast-gold: #e7cb91;
  --mast-tab-text: #d5d9d2;
  --mast-tab-active: #fff2d8;
  --mast-tab-surface: #292d28;
  --mast-font: var(--omega-sans, "Inter", Arial, sans-serif);
  font: 500 15px/1.3 var(--mast-font);
  color: var(--mast-text);
  box-sizing: border-box;
}
.site-mast {
  position: sticky;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
  background: var(--mast-ink);
  border-bottom: 1px solid #343934;
}
body.sound-edition .site-mast { position: fixed; }
.site-mast *, .omega-index * { box-sizing: border-box; }
.site-mast [hidden], .omega-index [hidden], .omega-index:not([open]) { display: none !important; }
.site-mast-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  max-width: 1740px;
  height: calc(var(--site-mast-height) - 1px);
  margin-inline: auto;
  padding-inline: var(--site-mast-gutter);
}
.site-brand { display: inline-flex; justify-self: start; align-items: center; min-height: 44px; max-width: 100%; }
.site-brand img { display: block; width: clamp(145px, 12vw, 186px); max-width: 100%; height: auto; }
.site-mast :is(.site-sections,.site-departments,.site-drawer) {
  position: static;
  inset: auto;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  animation: none;
  box-shadow: none;
  transform: none;
  backdrop-filter: none;
  z-index: auto;
}
.site-mast a { text-decoration: none; color: inherit; }
.site-mast .site-sections, .site-tools, .site-mast .site-departments {
  display: flex;
  align-items: center;
}
.site-mast .site-sections { justify-content: center; gap: clamp(3px, .33vw, 6px); }
.site-mast .site-sections a, .site-mast .site-drawer a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: clamp(12px, 1vw, 19px);
  border: 0;
  border-radius: 4px;
  color: var(--mast-tab-text);
  background: transparent;
  font: 570 14px/1.25 var(--mast-font);
  white-space: nowrap;
}
.site-mast :is(.site-sections, .site-drawer) a[aria-current="location"] {
  background: var(--mast-tab-surface);
  color: var(--mast-tab-active);
}
.site-mast :is(.site-sections, .site-drawer) a[aria-current="location"]::after {
  content: "";
  position: absolute;
  inset-inline: clamp(12px, 1vw, 19px);
  bottom: 5px;
  height: 2px;
  background: var(--mast-gold);
  pointer-events: none;
}
.site-tools { justify-self: end; gap: 8px; min-width: 0; }
.site-mast .site-departments {
  flex: none;
  justify-content: center;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid #50504a;
  background: #101212;
  margin-inline-end: clamp(12px, 1.45vw, 26px);
}
.site-mast .site-departments a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding-inline: 14px;
  border-radius: 999px;
  color: #c2c5bd;
  font: 600 13px/1.2 var(--mast-font);
  letter-spacing: .05em;
  white-space: nowrap;
}
.site-mast .site-departments a[aria-current="page"] { background: #2b2e2c; color: #f4e2b9; }
.site-mast .site-departments a[aria-current="page"]::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-inline-end: 7px;
  border-radius: 50%;
  background: var(--mast-gold);
}
.site-mast .site-search, .site-mast .site-menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 44px;
  gap: 8px;
  padding: 0 10px;
  color: var(--mast-text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font: 540 13px/1 var(--mast-font);
}
.site-search svg { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.site-search kbd { color: var(--mast-muted); font: 11px/1.2 ui-monospace, monospace; }
.site-mast .site-menu-trigger, .site-mast .site-drawer { display: none; }
.site-mast :is(a,button):focus-visible, .omega-index :is(a,button,input):focus-visible { outline: 2px solid var(--mast-gold); outline-offset: 2px; }
@media (hover:hover) {
  .site-mast .site-departments a:hover { color: #fff1cf; }
  .site-mast :is(.site-sections,.site-drawer) a:not([aria-current]):hover:not(:active) { background: #20251f; color: #f8f8f0; }
  .site-mast :is(.site-search, .site-menu-trigger):hover { border-color: #53584e; background: var(--mast-surface); }
}
.site-mast :is(.site-sections, .site-drawer) a:active { background: #353b32; color: #fff5dd; }
@media (min-width:1101px) and (max-width:1280px) {
  .site-mast-inner { grid-template-columns: auto minmax(0,1fr) auto; }
}
@media (max-width:1100px) {
  :root { --site-mast-height: 72px; }
  .site-mast-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .site-mast.is-enhanced .site-sections { display: none; }
  .site-mast.is-enhanced .site-menu-trigger { display: inline-flex; flex-direction: column; gap: 5px; }
  .site-menu-trigger span { width: 20px; height: 1.5px; background: currentColor; }
  .site-menu-trigger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .site-menu-trigger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .site-mast .site-drawer:not([hidden]) {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    gap: 6px;
    padding: 12px var(--site-mast-gutter) 16px;
    max-height: calc(100dvh - var(--site-mast-height));
    overflow-y: auto;
    background: var(--mast-ink);
    border-block: 1px solid #343934;
  }
  .site-mast .site-drawer a { justify-content: flex-start; min-height: 44px; }
  .site-mast .site-drawer a[aria-current="location"]::after {
    inset: 10px auto 10px 2px;
    width: 2px;
    height: auto;
  }
  .site-mast:not(.is-enhanced), body.sound-edition .site-mast:not(.is-enhanced) { position: relative; }
  .site-mast:not(.is-enhanced) .site-mast-inner { height: auto; min-height: var(--site-mast-height); padding-block: 6px; }
  .site-mast:not(.is-enhanced) .site-sections { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
  .site-tools { grid-column: 2; grid-row: 1; }
}
@media (max-width:650px) {
  :root { --site-mast-gutter: clamp(8px, 3vw, 18px); }
  .site-search span, .site-search kbd { display: none; }
  .site-mast .site-search, .site-mast .site-menu-trigger { width: 44px; padding: 0; }
  .site-mast .site-departments { margin-inline-end: 6px; }
  .site-mast .site-departments a { font-size: 11px; min-height: 35px; padding-inline: 9px; }
  .site-brand img { width: 128px; }
  .site-tools { gap: 2px; }
}
@media (max-width:420px) {
  .site-brand { width: 44px; overflow: hidden; container-type: inline-size; }
  .site-brand img { width: 370cqw; max-width: none; flex: none; }
}
@media (forced-colors:active) {
  .site-mast { border-color: CanvasText; }
  .site-mast :is(.site-sections, .site-drawer) a[aria-current="location"]:not(:focus-visible) { outline: 1px solid LinkText; }
  .site-mast :is(.site-sections, .site-drawer) a[aria-current="location"]::after { background: LinkText; forced-color-adjust: none; }
  .site-mast .site-departments a[aria-current="page"]:not(:focus-visible) { outline: 1px solid LinkText; }
  .site-mast :is(a, button):focus-visible { outline: 2px solid Highlight; }
  .site-mast .site-departments a[aria-current="page"]::before { background: LinkText; }
}

.omega-index {
  width: min(580px, calc(100% - 24px)); padding: 0; margin: auto;
  max-height: min(700px, 84vh); max-height: min(700px, 84dvh);
  color: var(--mast-text); background: var(--mast-surface); border: 1px solid #546367;
}
.omega-index[open] { display: flex; flex-direction: column; overflow: hidden; }
.omega-index::backdrop { background: rgb(4 9 11 / .77); }
html:has(.omega-index[open]) { overflow: hidden; }
.omega-index-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 8px; gap: 16px; }
.omega-index-head h2 { margin: 0; font: 600 1.35rem/1.2 var(--mast-font); letter-spacing: -.045em; }
.omega-index-close { border: 0; color: var(--mast-muted); background: transparent; cursor: pointer; min-height: 44px; padding: 0 4px; text-decoration: underline; text-underline-offset: 4px; }
.omega-input-wrap { padding: 6px 22px 16px; border-bottom: 1px solid #393f39; }
.omega-input-wrap input { color: var(--mast-text); appearance: none; width: 100%; padding: 12px; font: 400 1rem/1.4 var(--mast-font); background: var(--mast-ink); border: 1px solid #69797c; border-radius: 2px; }
.omega-input-wrap input::placeholder { color: var(--mast-muted); opacity: 1; }
.omega-index-list { list-style: none; margin: 0; padding: 8px 14px; overflow-y: auto; overscroll-behavior: contain; }
.omega-index-list a { color: var(--mast-text); display: flex; justify-content: space-between; align-items: baseline; column-gap: 1rem; padding: 9px 8px; min-height: 42px; border-bottom: 1px solid #393f39; text-decoration: none; }
.omega-index-list a:focus-visible { outline-offset: -2px; }
.omega-index-list small { color: var(--mast-gold); font: .7rem ui-monospace, monospace; }
.omega-index-list a:hover { background: var(--mast-ink); }
.omega-index-foot { margin: 0; padding: 10px 22px 13px; font-size: .8rem; color: var(--mast-muted); }

.omega-index :is(button,input) { font-family: var(--mast-font); }
.omega-index .omega-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (forced-colors:active) { .omega-index { border: 2px solid CanvasText; } }
