.studio-header {
  padding: clamp(.65rem, 1.9vw, 1.25rem) 0 .45rem;
  background: radial-gradient(ellipse at top, #f7fbff, transparent 76%), linear-gradient(#dceaf4, #f7faff);
}
.studio-header-inner { display: grid; justify-items: center; gap: .65rem; }
.site-nameplate {
  display: inline-flex; align-items: center; justify-content: center; gap: clamp(4px, 1vw, 10px);
  padding: .42rem clamp(.55rem, 2vw, 1.2rem);
  border: 1px solid #576d7c60; border-radius: .45rem;
  background: linear-gradient(115deg, #f7fbfedd, #d6e5edbd 65%, #f9fdffcf);
  box-shadow: inset 0 1px #fff9, inset 0 -1px #7893a142, 0 3px 7px #29435426;
}
.site-label { color: #324b5a; font: 700 clamp(.6rem, 1.2vw, .8rem)/1 system-ui, sans-serif; }
.studio-header-brand {
  color: #39586b; text-shadow: 0 1px #fff; text-decoration: none;
  font: 850 clamp(.9rem, 3vw, 2rem)/1.1 "Avenir Next", Avenir, system-ui, sans-serif;
  letter-spacing: -.028em;
}
.studio-header-brand:hover { text-decoration: underline; }
.site-switch {
  display: grid; place-items: center; flex: none; border: 0; border-radius: 99px;
  width: clamp(42px, 6vw, 58px); height: clamp(22px, 3.5vw, 29px);
  background: #a9adb1;
}
.site-switch::before {
  content: ""; width: 17px; aspect-ratio: 1; border-radius: 50%; background: #f7f8fa;
  box-shadow: 0 1px 3px #14203159; transform: translateX(var(--switch-offset, 0px));
  transition: transform .14s ease;
}
.site-switch[data-mode="off"] { --switch-offset: -10px; }
.site-switch[data-mode="on"] { --switch-offset: 10px; background: #288858; }
.studio-header-home { gap: .5rem; }
.studio-header-home-track {
  position: relative; width: 31px; height: 17px;
  border: 1px solid #1a6340; border-radius: 999px; background: #288858;
  box-shadow: 0 1px 3px #14203147;
}
.studio-header-home-track::after {
  content: ""; position: absolute; top: 2px; left: 16px;
  width: 11px; aspect-ratio: 1; border-radius: 50%; background: #f7f8fa;
  box-shadow: 0 1px 2px #14203159;
}
.studio-header-home:active .studio-header-home-track { background: #a9adb1; border-color: #555e66; }
.studio-header-home:active .studio-header-home-track::after { left: 2px; }
.studio-header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .1rem clamp(.7rem, 3vw, 1.4rem);
  font-size: .85rem;
  line-height: 1.2;
}
.studio-header nav > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding-block: .22rem;
  white-space: nowrap;
}
.studio-header .site-title { margin: 0; font: 400 clamp(1.75rem, 4vw, 2.75rem)/1.04 Georgia, serif; letter-spacing: -.04em; color: #274458; }
@media (prefers-reduced-motion: reduce) { .site-switch::before { transition: none; } }

.studio-header { color: #192c49; text-align: center; }
.studio-header-inner { width: min(100% - 1.5rem, 1260px); margin-inline: auto; }
.studio-header nav { font-family: "Avenir Next", Avenir, system-ui, sans-serif; }
.studio-header nav > a { color: inherit; text-underline-offset: .22em; }
.studio-header nav > a[aria-current="page"] { font-weight: 750; }
.studio-header .site-switch { padding: 0; justify-self: auto; }
.studio-header .site-switch:is(a):hover::before { --switch-offset: -10px; }
.studio-header .about-masthead-switch::before {
  transform: translateX(clamp(-14px, calc(var(--switch-offset, -11px) + var(--lever-travel, 0px)), 14px));
}
.studio-header .about-masthead-switch[aria-checked="true"] { --switch-offset: 11px; background: #288858; }
.studio-header-links-only { --masthead-height: 3rem; }
.studio-header-links-only.site-masthead { height: auto; place-items: center; padding: .45rem 0; }
.studio-header-links-only .studio-nameplate { display: none; }
.studio-header-links-only.masthead-intro .studio-nameplate { display: inline-flex; }
.studio-header-links-only.masthead-intro nav { visibility: hidden; }
html.embedded .studio-header { display: none; }
@media print { .studio-header { display: none; } }
