/* Floating glass island. The dark tint keeps labels legible over every section. */
.site-header,
.site-header.is-scrolled {
  position: fixed;
  inset: 18px 0 auto;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  pointer-events: none;
}

.site-header__inner {
  width: min(960px, calc(100% - 32px));
  min-height: 68px;
  padding: 10px 12px;
  gap: 20px;
  border: 1px solid rgb(255 255 255 / 0.26);
  border-radius: 999px;
  background: linear-gradient(120deg, rgb(255 255 255 / 0.13), transparent 38%, rgb(171 87 117 / 0.13)), rgb(17 10 15 / 0.83);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.3), inset 0 -1px 1px rgb(255 255 255 / 0.08), 0 12px 36px rgb(0 0 0 / 0.24);
  color: white;
  pointer-events: auto;
  transition: width 420ms cubic-bezier(.22, 1, .36, 1), border-radius 420ms ease, box-shadow 300ms ease;
}

.site-header.is-scrolled .site-header__inner {
  width: min(900px, calc(100% - 32px));
  box-shadow: inset 0 1px 1px #ffffff40, 0 8px 28px #00000033;
}

.site-header .ds-logo { gap: 10px; padding-left: 2px; }
.site-header .ds-logo__mark { border-radius: 50%; border-color: #b3768d66; background: linear-gradient(145deg, #8c3b58, #4a1426); color: #fff; }
.site-brand__text strong { font-size: 0.75rem; }
.site-brand__text small { color: #d3b9c3; font-size: 0.55rem; }
.site-nav { background: transparent; border: 0; padding: 0; gap: 3px; flex-wrap: nowrap; }
.site-nav a { color: #f1e8ec; border-radius: 999px; font-family: var(--font-sans); text-transform: none; min-height: 40px; padding-inline: 13px; }
.site-nav a:hover,
.site-nav a[aria-current="true"] { background: #ffffff1f; color: #fff; border-color: #ffffff26; box-shadow: inset 0 1px 0 #ffffff24; }
.site-nav .site-nav__contact,
.site-nav .site-nav__contact:hover,
.site-nav .site-nav__contact[aria-current="true"] { background: linear-gradient(145deg, #79314c, #4a1426); border-color: #bd7b9466; color: #fff; box-shadow: inset 0 1px 0 #ffffff22; }
.site-header :focus-visible { outline-color: #efb9cd; }
.hero { min-height: 100vh; padding-top: 132px; }
html { scroll-padding-top: 110px; }
[id] { scroll-margin-top: 110px; }

@media (max-width: 820px) {
  .site-brand__text small { display: none; }
  .site-nav a { padding-inline: 9px; }
  .site-header__inner { gap: 10px; }
}

@media (max-width: 680px) {
  .site-header { top: 12px; }
  .site-header__inner,
  .site-header.is-scrolled .site-header__inner {
    width: min(420px, calc(100% - 24px));
    min-height: 62px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 10px;
    padding: 10px;
    border-radius: 31px;
  }
  .site-header__inner:has(.is-open) { border-radius: 28px; }
  .site-brand__text { max-width: none; }
  .site-brand__text small { display: block; font-size: 0.5rem; }
  .menu-toggle { min-height: 40px; border-radius: 999px; background: #ffffff12; color: white; border-color: #ffffff26; font-family: var(--font-sans); text-transform: none; padding-inline: 14px; }
  .site-header.nav-ready .site-nav {
    position: static;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transition: max-height 420ms cubic-bezier(.22, 1, .36, 1), opacity 220ms ease, transform 420ms ease, visibility 420ms;
  }
  .site-header.nav-ready .site-nav.is-open { max-height: 310px; visibility: visible; opacity: 1; transform: translateY(0); padding-top: 12px; }
  .site-header.nav-ready .site-nav a { border: 1px solid transparent; border-radius: 16px; padding: 12px 16px; min-height: 44px; }
  .site-header.nav-ready .site-nav .site-nav__contact { border-radius: 999px; margin-top: 4px; border-color: #bd7b9466; }
  .hero { padding-top: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header__inner, .site-header.nav-ready .site-nav { transition: none; }
}
