body.header-refined.scene-preview > header {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  align-items: center;
  gap: 25px;
  position: sticky;
  top: 0;
  width: auto;
  margin: 0 4%;
  padding: 22px 22px;
  border: 1px solid transparent;
  border-radius: 50px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition:
    background 0.65s ease,
    border-color 0.65s ease,
    box-shadow 0.65s ease,
    backdrop-filter 0.65s ease;
}

body.header-refined.intro-refined.intro-revealing > header {
  animation: refined-header-arrival 1.1s 0.15s cubic-bezier(0.16, 1, 0.3, 1)
    both;
}
@keyframes refined-header-arrival {
  from {
    opacity: 0;
    transform: translateY(70px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.header-refined.intro-refined.intro-revealing > header {
    animation: none;
  }
}
body.header-refined.scene-preview > header.is-scrolled {
  top: 10px;
  margin: 0 2.5%;
  padding: 13px 22px;
  border-radius: 80px;
  border-color: #c2b5d21c;
  background: linear-gradient(110deg, #c7bfd51c, #191720a8 43%, #0d0e15d9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1px #e6d7f609,
    0 9px 25px #0002;
}
body.header-refined header .brand-cluster {
  display: flex;
  align-items: center;
  gap: 0;
}
body.header-refined header .brand {
  display: flex;
  align-items: center;
  gap: 0;
}
body.header-refined header .brand > span:last-child {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body.header-refined header .brand-icon {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
body.header-refined header nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 32px;
  border: 0;
  background: none;
  border-radius: 0;
  padding: 0;
}
body.header-refined header nav a {
  padding: 9px 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #9d98a6;
  background: none;
  border-radius: 0;
  white-space: nowrap;
  transition: color 0.2s;
}
body.header-refined header nav a:after {
  display: none;
}
body.header-refined header nav a:hover,
body.header-refined header nav a[aria-current="location"] {
  color: #e5d6f8;
  background: none;
}
body.header-refined header nav .nav-indicator {
  bottom: 0;
  height: 1px;
  background: #bea1df;
  box-shadow: none;
}
.header-reference-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-self: end;
}
body.header-refined header .motion-toggle.audio-control,
body.header-refined header .header-link {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  min-width: 0;
  height: 37px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid #9b91ac45;
  border-radius: 5px;
  background: #11111a40;
  color: #b7afc4;
  font: 10px/1.2 monospace;
  letter-spacing: 1.5px;
  opacity: 1;
  transition:
    border-color 0.25s,
    background 0.25s,
    color 0.25s;
}
body.header-refined header .motion-toggle.audio-control:hover,
body.header-refined header .header-link:hover {
  border-color: #baa1d576;
  background: #b294d10a;
  color: #e1cef5;
}
body.header-refined header .header-link {
  gap: 12px;
}
body.header-refined header .header-wave {
  width: 12px;
  height: 14px;
}
body.header-refined header .header-wave i {
  display: none;
}
body.header-refined header .header-wave:before {
  content: "♪";
  font-size: 12px;
  line-height: 1;
  color: #b9a6cf;
}
body.header-refined header .header-wave:after {
  display: none !important;
}
@media (min-width: 681px) and (max-width: 1000px) {
  body.header-refined.scene-preview > header {
    margin-inline: 2%;
    padding: 18px 12px;
    gap: 12px;
    grid-template-columns: 55px 1fr auto;
  }
  body.header-refined header nav {
    gap: 18px;
  }
  body.header-refined header nav a {
    font-size: 11px;
  }
  body.header-refined header .motion-toggle.audio-control,
  body.header-refined header .header-link {
    padding: 0 10px;
    font-size: 8px;
    letter-spacing: 1px;
  }
}
@media (max-width: 680px) {
  body.header-refined.scene-preview > header,
  body.header-refined.scene-preview > header.is-scrolled {
    display: flex;
    flex-wrap: wrap;
    margin: 0 3%;
    padding: 13px 12px;
    top: 7px;
    gap: 12px;
    border-radius: 20px;
  }
  body.header-refined header .brand-cluster {
    flex: 1;
  }
  body.header-refined header .brand-icon {
    width: 34px;
    height: 34px;
  }
  body.header-refined .header-reference-actions {
    gap: 7px;
  }
  body.header-refined header .motion-toggle.audio-control {
    height: 32px;
    padding: 0 10px;
    font-size: 8px;
  }
  body.header-refined header .header-link {
    display: none;
  }
  body.header-refined header .mobile-nav-toggle {
    order: 3;
    display: flex;
    background: none;
    border: 1px solid #9b91ac35;
    width: 32px;
    height: 32px;
  }
  body.header-refined header nav {
    display: none;
    flex-basis: 100%;
    order: 5;
    border: 0;
    border-top: 1px solid #b099ce22;
    padding-top: 10px;
  }
  body.header-refined header.nav-expanded nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: stretch;
  }
  body.header-refined header nav a {
    padding: 12px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.header-refined.scene-preview > header {
    transition: none;
  }
}

body.header-refined.scene-preview > header,
body.header-refined.scene-preview > header.is-scrolled {
  width: calc(100% - 64px);
  max-width: 1160px;
  box-sizing: border-box;
  margin: 10px auto 0;
  top: 10px;
  padding: 10px 20px;
  gap: 18px;
  grid-template-columns: minmax(220px, 1fr) auto minmax(75px, 1fr);
}
body.header-refined.scene-preview > header.is-scrolled {
  border-radius: 50px;
}
body.header-refined header .brand-cluster {
  gap: 17px;
}
body.header-refined header .brand {
  gap: 10px;
}
body.header-refined header .brand > span:last-child {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip-path: none;
  white-space: nowrap;
  font-size: 9px;
  letter-spacing: 1.1px;
  color: #d9cde9;
}
body.header-refined header .brand .handle {
  display: block;
  margin-top: 5px;
  font-size: 7px;
  letter-spacing: 2px;
  color: #8d7da7;
}
body.header-refined header .brand-icon {
  width: 32px;
  height: 32px;
}
body.header-refined header .motion-toggle.audio-control {
  border: 0;
  border-bottom: 1px solid #a58aff40;
  background: none;
  border-radius: 0;
  padding: 0 0 7px;
  height: 29px;
  gap: 10px;
  min-width: 62px;
  font: 8px monospace;
  letter-spacing: 1.7px;
  color: #b6a4cb;
}
body.header-refined header .header-wave {
  width: 20px;
  height: 16px;
}
body.header-refined header .header-wave i {
  display: block;
}
body.header-refined header .header-wave:before {
  display: none;
}
body.header-refined header .audio-control:not(.is-playing) .header-wave:after {
  display: block !important;
}
body.header-refined header .audio-control.is-playing .header-wave:after {
  display: none !important;
}
body.header-refined header nav {
  gap: 6px;
}
body.header-refined header nav a {
  padding: 10px 13px;
  font-size: 11px;
  border: 1px solid transparent;
  border-radius: 50px;
  transition:
    color 0.22s,
    background 0.22s,
    border-color 0.22s;
}
body.header-refined header nav a:hover,
body.header-refined header nav a:focus-visible {
  color: #ddc5fb;
  background: #aa83dc17;
  border-color: #b590e04a;
}
body.header-refined header nav a[aria-current="location"] {
  color: #d2b3f2;
}
body.header-refined header nav .nav-indicator {
  display: none;
}
body.header-refined header .header-link {
  justify-self: end;
  height: 32px;
  padding: 0 12px;
  font-size: 9px;
  letter-spacing: 0.6px;
}
@media (min-width: 681px) and (max-width: 1000px) {
  body.header-refined.scene-preview > header {
    width: calc(100% - 32px);
    padding: 10px 13px;
    gap: 12px;
    grid-template-columns: 200px 1fr 72px;
  }
  body.header-refined header .brand-cluster {
    gap: 10px;
  }
  body.header-refined header .brand > span:last-child {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  body.header-refined header nav {
    gap: 1px;
  }
  body.header-refined header nav a {
    font-size: 9px;
    padding: 9px 7px;
  }
  body.header-refined header .motion-toggle.audio-control {
    min-width: 46px;
    gap: 5px;
    font-size: 7px;
  }
}
@media (max-width: 680px) {
  body.header-refined.scene-preview > header,
  body.header-refined.scene-preview > header.is-scrolled {
    width: calc(100% - 24px);
    margin: 8px auto 0;
    top: 8px;
    padding: 11px 14px;
  }
  body.header-refined header .brand-cluster {
    gap: 19px;
  }
  body.header-refined header .brand > span:last-child {
    font-size: 9px;
  }
  body.header-refined header.nav-expanded nav a {
    font-size: 12px;
    padding: 12px;
  }
}

body.header-refined.scene-preview > header,
body.header-refined.intro-refined.intro-revealing > header {
  animation: none;
  opacity: var(--header-progress, 0);
  transform: translateY(calc((1 - var(--header-progress, 0)) * -120%));
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  body.header-refined.scene-preview > header {
    opacity: 1;
    transform: none;
  }
}

body.header-refined.scene-preview > header,
body.header-refined.scene-preview > header.is-scrolled,
body.header-refined.intro-refined.intro-revealing > header {
  opacity: 1;
  transform: none;
  animation: none;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  isolation: isolate;
  will-change: auto;
}
body.header-refined.scene-preview > header::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  pointer-events: none;
  border: 1px solid #c2b5d21c;
  border-radius: 50px;
  background: linear-gradient(110deg, #c7bfd51c, #191720a8 43%, #0d0e15d9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1px #e6d7f609,
    0 9px 25px #0002;
  opacity: var(--capsule-progress, 0);
  transform: none;
  will-change: transform, opacity;
}
@media (max-width: 680px) {
  body.header-refined.scene-preview > header::before {
    border-radius: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.header-refined.scene-preview > header::before {
    transform: none;
  }
}
