.hero {
  min-height: 220px;
  min-height: clamp(220px, 34vw, 360px);
  position: relative;
  background: #d9d9d9 url("https://r0binnilss0n.imgix.net/assets/header_bg_mobile.jpg?auto=format%2Ccompress&w=900&q=88") center center no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.14), rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  display: block;
  width: 180px;
  width: clamp(140px, 18vw, 240px);
  max-width: 42vw;
  height: auto;
  margin: 0 auto;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

@media (min-width: 761px) {
  .hero {
    background-image: url("https://r0binnilss0n.imgix.net/assets/header_bg.jpg?auto=format%2Ccompress&w=1800&q=88");
  }
}

.navbar {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: flex-start !important;
  width: 100%;
}

#siteNav {
  display: flex;
  gap: 20px;
  margin-left: 0 !important;
  margin-right: auto !important;
}

#siteNav a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

#siteNav a:hover {
  opacity: 0.6;
}

#siteNav a[aria-current="page"] {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#siteNav a:focus-visible {
  outline: 3px solid #2f6fed;
  outline-offset: 3px;
  border-radius: 8px;
}

@media (max-width: 760px) {
  .hero {
    min-height: 190px;
  }

  .hero-inner {
    padding: 14px 16px;
  }

  .hero-logo {
    width: 140px;
    width: clamp(120px, 34vw, 180px);
    max-width: 56vw;
  }

  .nav-inner {
    justify-content: center;
  }

  #siteNav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  #siteNav a {
    padding: 8px 12px;
    border: 1px solid #e7e7e7;
    border-radius: 999px;
    font-size: 14px;
  }
}

@supports not (width: clamp(120px, 20vw, 240px)) {
  .hero-logo {
    width: 180px;
  }
}
