/* V35 — keep a compact site navigation fixed after scrolling. */
body.site-v02 .site-header.is-fixed .nav-wrap {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  display: block;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(242, 238, 230, .98);
  box-shadow: 0 5px 18px rgba(48, 45, 38, .12);
}

body.site-v02 .site-header.is-fixed .nav-inner {
  min-height: 72px;
  padding-block: 0;
}

body.site-v02 .site-header.is-fixed .nav-brand--image {
  display: inline-flex;
  width: 160px;
}

body.site-v02 main[id],
body.site-v02 main [id] {
  scroll-margin-top: 88px;
}

@media (max-width: 1024px) {
  body.site-v02 .site-header.is-fixed .nav-inner {
    display: flex;
    width: min(100% - 34px, var(--page));
    height: 62px;
    min-height: 62px;
    margin-inline: auto;
    padding: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  body.site-v02 .site-header.is-fixed .nav-brand--image {
    width: 142px;
  }

  body.site-v02 .site-header.is-fixed .menu-toggle {
    display: grid;
    flex: none;
  }

  body.site-v02 .site-header.is-fixed .nav-inner .primary-nav {
    top: calc(100% + 4px);
    right: 0;
    left: auto;
  }
}