#header-placeholder {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
}

#header-placeholder .hc-header {
  position: relative;
  top: auto;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e8ebef;
  background: #fff;
  color: var(--hc-ink);
  box-shadow: 0 8px 28px rgb(25 53 87 / .07);
  backdrop-filter: none;
  font: var(--hc-weight-bold) var(--hc-type-body)/1.45 var(--hc-font);
  text-align: start;
}

#header-placeholder .hc-nav {
  width: var(--hc-layout-width);
  min-height: 80px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

#header-placeholder .hc-brand {
  display: block;
  min-width: 0;
  text-decoration: none;
}

#header-placeholder .hc-brand-lockup {
  display: grid;
  width: fit-content;
  max-width: 100%;
  gap: 7px;
}

#header-placeholder .hc-wordmark {
  display: block;
  width: 100%;
  contain: inline-size;
}

#header-placeholder .hc-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

#header-placeholder .hc-brand-name {
  display: block;
  color: var(--hc-ink);
  font: inherit;
  letter-spacing: normal;
  text-align: center;
}

#header-placeholder .hc-nav-menu {
  display: flex;
  margin-inline-start: auto;
}

#header-placeholder .hc-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
  color: inherit;
  font: inherit;
}

#header-placeholder .hc-nav-links a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

#header-placeholder .hc-nav-links a:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: .2em;
}

#header-placeholder .hc-nav-mascot {
  width: 64px;
  height: 64px;
  flex: none;
  align-self: end;
  object-fit: contain;
  object-position: center bottom;
}

#header-placeholder .hc-menu-toggle {
  display: none;
}

@media (max-width: 960px) {
  #header-placeholder .hc-nav {
    min-height: 62px;
    gap: 8px;
  }

  #header-placeholder .hc-menu-toggle {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    order: 3;
    min-width: 42px;
    min-height: 42px;
    padding: 5px 8px;
  }

  #header-placeholder .hc-nav-menu {
    position: absolute;
    inset: 100% 0 auto;
    box-sizing: border-box;
    width: auto;
    display: none;
    padding: 16px var(--hc-gutter);
    border-bottom: 1px solid #e8ebef;
    background: #fff;
    box-shadow: 0 8px 28px rgb(25 53 87 / .07);
  }

  #header-placeholder .hc-nav-menu.active {
    display: flex;
  }

  #header-placeholder .hc-nav-links {
    width: 100%;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }

  #header-placeholder .hc-nav-links a {
    padding-block: 8px;
  }

  #header-placeholder .hc-nav-mascot {
    width: 42px;
    height: 46px;
    margin-inline-start: auto;
    order: 2;
  }
}

@media (max-width: 360px) {
  #header-placeholder .hc-nav-mascot {
    width: 28px;
    height: 34px;
  }
}
