/* The hosted pages share one compact title and menu bar. */
.site-header {
  --structure: #f96;
  --interactive: #c9c;
  --data: #9cf;
  --bright: #ff9;
  box-sizing: border-box;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 5%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border: 0;
}
.site-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--structure);
  text-decoration: none;
  padding: 0;
  font:
    44px/1 Antonio,
    sans-serif;
}
.site-brand span {
  font:
    11px/1 Antonio,
    sans-serif;
  color: var(--interactive);
  letter-spacing: 0.06em;
}
.title-bar-title {
  margin: 0;
  color: var(--bright);
  font:
    32px/1.1 Antonio,
    sans-serif;
  letter-spacing: -0.015em;
  text-wrap: nowrap;
}
.title-bar-description {
  margin: 8px 0 0;
  color: var(--data);
  font: 13px/1.5 var(--body-font, system-ui, sans-serif);
}
.site-header nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 3px;
}
.site-header .header-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 0;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
  font:
    19px/1.2 Antonio,
    sans-serif;
}
.site-header .header-action:first-child {
  border-radius: 26px 0 0 26px;
  background: var(--structure);
}
.site-header .header-action:nth-child(2) {
  background: var(--interactive);
}
.site-header .header-action:last-child {
  border-radius: 0 26px 26px 0;
  background: var(--data);
}
.site-header .header-action:hover {
  filter: brightness(1.12);
  text-decoration: none;
}
.site-header .header-action[aria-current='page'] {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-header .lucide {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.site-header a:focus-visible,
.component-nav a:focus-visible {
  outline: 3px solid #ff9;
  outline-offset: 4px;
}
.component-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0 0 28px;
}
.component-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 36px 10px 12px;
  border: 0;
  border-bottom: 1px solid #c9c;
  border-radius: 0;
  background: #000;
  color: #9cf;
  text-decoration: none;
  font:
    17px/1.3 Antonio,
    sans-serif;
}
.component-nav a[aria-current='page'] {
  color: #fc6;
  border-color: #fc6;
}
.component-nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  right: 12px;
  top: calc(50% - 2px);
  width: 12px;
  height: 4px;
  background: currentColor;
}
.component-nav a:hover {
  color: #ff9;
  border-color: #ff9;
}
.hosted-gallery-workspace {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 42px;
}
.hosted-gallery-workspace aside {
  align-self: start;
  position: sticky;
  top: 20px;
  padding-right: 12px;
}
.hosted-gallery-content {
  min-width: 0;
}
.hosted-gallery #instruments {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hosted-gallery {
  max-width: none;
  margin: 0;
  padding: 0;
}
.hosted-gallery main {
  max-width: 1440px;
  margin: auto;
  padding: 24px 5% 64px;
}
.hosted-gallery .hosted-gallery-title h1 {
  font-size: clamp(40px, 4.5vw, 64px);
  color: #ff9;
  margin: 0 0 24px;
}
.hosted-gallery footer {
  max-width: 1440px;
  margin: auto;
  padding: 0 5% 36px;
}
.hosted-gallery .skip {
  position: absolute;
  z-index: 4;
  top: 8px;
  left: 8px;
  padding: 12px;
  background: #ff9;
  color: #000;
  transform: translateY(-160%);
}
.hosted-gallery .skip:focus {
  transform: none;
}
@media (max-width: 1100px) {
  .site-header {
    gap: 20px;
  }
  .title-bar-title {
    font-size: 25px;
  }
  .title-bar-description {
    max-width: 34ch;
    font-size: 12px;
  }
  .site-header .header-action {
    padding: 12px 16px;
    font-size: 17px;
    gap: 8px;
  }
}
@media (max-width: 850px) {
  .site-header {
    padding: 20px 6%;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px 20px;
  }
  .site-header nav {
    grid-column: 1 / -1;
  }
  .site-header .header-action {
    flex: 1;
    min-width: 0;
  }
  .site-brand {
    font-size: 36px;
  }
  .title-bar-title {
    font-size: clamp(21px, 3.7vw, 28px);
    text-wrap: balance;
  }
  .title-bar-description {
    font-size: 12px;
    max-width: none;
    margin-top: 6px;
  }
}
@media (max-width: 760px) {
  .hosted-gallery-workspace {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hosted-gallery-workspace aside {
    position: static;
    padding-right: 0;
  }
}
@media (max-width: 700px) {
  .hosted-gallery #instruments {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 430px) {
  .site-header {
    gap: 16px;
  }
  .site-header .header-action {
    font-size: 17px;
    padding: 12px 8px;
    white-space: normal;
    text-align: center;
  }
  .site-header .header-action .lucide {
    display: none;
  }
  .site-brand span {
    font-size: 10px;
  }
  .title-bar-title {
    font-size: 23px;
  }
  .component-nav a {
    font-size: 17px;
  }
}
