@font-face {
  font-family: "Source Sans 3";
  src: url("dd/fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: block;
}

/* Keep centered content aligned when a page is too short to scroll. */
html {
  scrollbar-gutter: stable;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px clamp(32px, 4vw, 64px);
  padding: 24px max(clamp(20px, 4vw, 64px), calc((100% - 76rem) / 2)) 14px;
  border-bottom: 1px solid #404040;
  background: #000;
  color: #fff;
  font: 1rem "Source Sans 3", "Segoe UI", sans-serif;
}

.site-header .brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-icon { width: 43px; height: 43px; object-fit: contain; }
.brand-wordmark { position: relative; display: block; width: 111px; aspect-ratio: 760 / 390; overflow: hidden; }
.brand-wordmark img { position: absolute; width: 197.368421%; height: auto; max-width: none; left: -48.684211%; top: -14.871795%; }

.studio-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.studio-nav::before {
  content: "";
  order: 1;
  width: 1px;
  height: 1em;
  background: #777;
}

.studio-nav a:last-child {
  order: 2;
}

.studio-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #c8c8c8;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.studio-nav a:is(:hover, [aria-current]) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .4em;
}

.social-links {
  display: flex;
  justify-self: end;
  gap: 4px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
}

.social-links a:hover { background: #252525; }

@media (max-width: 760px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 24px;
    padding-top: 20px;
  }

  .site-header .brand { gap: 8px; }
  .brand-icon { width: 32px; height: 32px; }
  .brand-wordmark { width: 74px; }
  .social-links {
    flex-basis: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 370px) {
  .studio-nav {
    flex-basis: 100%;
  }
}
