.site-header {
  position: fixed !important;
  z-index: 50 !important;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  border: 0;
  background: transparent;
  filter: blur(0);
  view-transition-name: none !important;
  transition:
    opacity 320ms ease,
    filter 440ms cubic-bezier(.16, 1, .3, 1);
}

body.nav-hidden .site-header {
  opacity: 0;
  filter: blur(7px);
  pointer-events: none;
}

.site-header .site-nav li,
.site-header .sky-switch {
  animation: none !important;
}

.nav-shell > .nav-indicator {
  right: auto;
  left: 0;
  width: var(--indicator-width, 0px);
  transform: translateX(var(--indicator-x, 0px));
  view-transition-name: none !important;
  transition:
    transform 280ms cubic-bezier(.22, .8, .26, 1),
    width 280ms cubic-bezier(.22, .8, .26, 1);
}

body:not(.router-ready) .nav-shell > .nav-indicator {
  transition: none;
}

body[data-page="about"] .about-layout {
  margin-top: clamp(8rem, 14vh, 10.5rem);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

body[data-page="about"] .about-layout .sky-scene {
  opacity: 1;
  transition: opacity 520ms cubic-bezier(.22, .8, .26, 1);
}

body[data-page="about"].about-at-end .about-layout .sky-scene {
  opacity: .4;
}

.home.has-entered .intro h1,
.home.has-entered .tagline,
.home.has-entered .role-line,
.home.has-entered .socials a,
.home.has-entered .panel {
  animation: none !important;
}

@media (max-width: 1100px) {
  .nav-shell > .nav-indicator { display: none; }

  body[data-page="about"] .about-layout {
    margin-top: clamp(7rem, 12vh, 8.5rem);
  }
}

@media (max-width: 760px) {
  body[data-page="about"] .about-layout { margin-top: 6.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  body[data-page="about"] .about-layout .sky-scene {
    transition: none;
  }
}
