:root {
  --site-header-height: 42px;
  --site-header-ink: #111111;
  --site-header-paper: #ffffff;
  --site-header-line: rgba(17, 17, 17, 0.14);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  width: 100%;
  height: var(--site-header-height);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  border-bottom: 1px solid var(--site-header-line);
  background: var(--site-header-paper);
  color: var(--site-header-ink);
  font-family: "Heebo", Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
}

.site-header a,
.site-header span {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__name {
  justify-self: start;
  padding-left: clamp(10px, 1.2vw, 20px);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-header__about {
  justify-self: center;
}

.site-header__projects {
  justify-self: end;
  margin: 0;
  padding-right: clamp(10px, 1.2vw, 20px);
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.site-header__name:hover,
.site-header__name:focus-visible,
.site-header__about:hover,
.site-header__about:focus-visible,
.site-header__projects:hover,
.site-header__projects:focus-visible {
  outline: 0;
  opacity: 0.55;
}

.site-project-menu[hidden] {
  display: none;
}

.site-project-menu {
  position: fixed;
  top: var(--site-header-height);
  right: clamp(9px, 1.2vw, 20px);
  z-index: 99;
  display: grid;
  width: min(195px, calc(100vw - 18px));
  grid-template-columns: 1fr;
  border: 0;
  background: #ffffff;
  color: var(--site-header-ink);
  font-family: "Heebo", Arial, sans-serif;
}

.site-project-menu__item {
  display: flex;
  min-height: 32px;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--site-header-line);
  color: inherit;
  font-size: 9px;
  font-weight: 300;
  text-decoration: none;
}

.site-project-menu__item:last-child {
  border-bottom: 0;
}

.site-project-menu__item strong {
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
}

.site-project-menu__item[aria-current="page"] {
  color: #e2231a;
}

.site-project-menu__item[href]:hover,
.site-project-menu__item[href]:focus-visible {
  outline: 0;
  background: #ffffff;
  color: #e2231a;
}

.project-pagination {
  position: fixed;
  z-index: 35;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0 clamp(14px, 1.4vw, 24px) clamp(12px, 1.2vw, 20px);
  pointer-events: none;
  font-family: "Heebo", Arial, sans-serif;
  font-size: clamp(11px, 0.8vw, 13px);
  font-weight: 300;
  line-height: 1;
}

.project-pagination a {
  pointer-events: auto;
  color: var(--site-header-ink);
  text-decoration: none;
}

.project-pagination a span {
  display: inline-block;
  font-size: 1.15em;
  line-height: 0;
}

.project-pagination a:hover,
.project-pagination a:focus-visible {
  outline: 0;
  color: #e2231a;
}

.inbetween-page,
.habitan-page,
.insideout-page,
.urban-page,
.future-page {
  padding-bottom: clamp(72px, 8vw, 96px);
}

@media (max-width: 700px) {
  :root {
    --site-header-height: 38px;
  }

  .site-header {
    font-size: 9px;
  }

  .site-header__name {
    padding-left: 9px;
  }

  .site-header__projects {
    padding-right: 9px;
  }

  .site-project-menu__item {
    min-height: 30px;
  }

  .project-pagination {
    padding: 0 10px 10px;
  }
}
