@font-face {
  font-family: Michroma;
  src: url("console/Michroma-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --engraved-type: Michroma, sans-serif;
  scroll-padding-top: 4.75rem;
}

.topbar {
  position: sticky;
  inset-block-start: 0;
  z-index: 7;
  background: #161917;
  color: #f3edde;
  border-bottom: 1px solid #77796c;
  font: .75rem/1.35 var(--engraved-type);
  font-synthesis: none;
}

.topbar .header-inner {
  display: flex;
  align-items: center;
  gap: clamp(.65rem, 2vw, 1.75rem);
  width: min(94%, 78rem);
  margin: auto;
  padding-block: .45rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: .55rem;
  color: inherit;
  font: .72rem/1.35 var(--engraved-type);
  text-decoration: none;
  text-transform: uppercase;
}
.site-brand img { display: block; width: 60px; height: auto; }
.site-brand small { display: block; font-size: inherit; letter-spacing: .18em; }

.topbar nav { margin-inline-start: auto; }
.topbar ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 clamp(.45rem, 1.3vw, 1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar nav a,
.site-language {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}
.site-language {
  min-width: 44px;
  justify-content: center;
  border: 1px solid #879081;
}

.topbar a:hover,
.topbar a[aria-current="page"] {
  color: #ffbe67;
  text-decoration: underline;
  text-underline-offset: .23em;
}
.topbar a:focus-visible { outline: 2px solid #ffbe67; outline-offset: 2px; }
.skip { position: fixed; z-index: 9; }

@media (max-width: 800px) {
  :root { scroll-padding-top: 7rem; }
  .topbar .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 .55rem;
    padding-block: .25rem 0;
  }
  .topbar nav { order: 1; width: 100%; margin: 0; }
  .topbar nav a { padding-inline: .1rem; }
}

@media (max-width: 440px) {
  .topbar { font-size: .66rem; }
  .topbar ul { gap: 0 .2rem; }
}
@media (max-width: 355px) {
  :root { scroll-padding-top: 9.75rem; }
}

/* Follow the original chip and its contacts so the page shows through around it. */
.topbar .site-brand img,
.hero-figure img {
  clip-path: polygon(
    24.544% 13.281%, 25.651% 13.281%, 25.651% 11.816%, 26.497% 11.816%, 26.497% 10.156%, 43.945% 10.156%, 43.945% 11.816%, 44.922% 11.816%, 44.922% 13.477%, 45.964% 13.477%, 45.964% 16.113%, 47.005% 16.113%, 47.005% 17.969%, 52.995% 17.969%, 52.995% 16.113%, 54.102% 16.113%, 54.102% 13.477%, 55.143% 13.477%, 55.143% 11.719%, 56.12% 11.719%, 56.12% 10.156%, 73.372% 10.156%, 73.372% 11.719%, 74.154% 11.719%, 74.154% 13.281%, 75.391% 13.281%,
    75.391% 20.508%, 83.398% 20.508%, 83.398% 21.875%, 84.31% 21.875%, 84.31% 26.563%, 83.398% 26.563%, 83.398% 27.93%, 75.391% 27.93%,
    75.391% 35.742%, 83.398% 35.742%, 83.398% 37.012%, 84.31% 37.012%, 84.31% 41.602%, 83.398% 41.602%, 83.398% 42.969%, 75.391% 42.969%,
    75.391% 50.879%, 83.464% 50.879%, 83.464% 52.148%, 84.375% 52.148%, 84.375% 56.738%, 83.464% 56.738%, 83.464% 58.105%, 75.391% 58.105%,
    75.391% 66.406%, 83.464% 66.406%, 83.464% 67.676%, 84.375% 67.676%, 84.375% 72.363%, 83.464% 72.363%, 83.464% 73.73%, 75.391% 73.73%,
    75.391% 81.152%, 83.529% 81.152%, 83.529% 82.422%, 84.375% 82.422%, 84.375% 86.816%, 83.529% 86.816%, 83.529% 88.086%, 75.391% 88.086%,
    75.391% 88.379%, 74.219% 88.379%, 74.219% 89.746%, 73.372% 89.746%, 73.372% 91.113%, 26.367% 91.113%, 26.367% 90.137%, 25.781% 90.137%, 25.781% 88.77%, 24.544% 88.77%,
    24.544% 88.086%, 16.471% 88.086%, 16.471% 86.816%, 15.625% 86.816%, 15.625% 82.422%, 16.471% 82.422%, 16.471% 81.152%, 24.544% 81.152%,
    24.544% 73.73%, 16.536% 73.73%, 16.536% 72.363%, 15.625% 72.363%, 15.625% 67.676%, 16.536% 67.676%, 16.536% 66.406%, 24.544% 66.406%,
    24.544% 58.105%, 16.536% 58.105%, 16.536% 56.738%, 15.625% 56.738%, 15.625% 52.148%, 16.536% 52.148%, 16.536% 50.879%, 24.544% 50.879%,
    24.544% 42.969%, 16.536% 42.969%, 16.536% 41.602%, 15.625% 41.602%, 15.625% 37.012%, 16.536% 37.012%, 16.536% 35.742%, 24.544% 35.742%,
    24.544% 27.93%, 16.536% 27.93%, 16.536% 26.563%, 15.625% 26.563%, 15.625% 21.875%, 16.536% 21.875%, 16.536% 20.508%, 24.544% 20.508%
  );
}
