:root {
  /* note to piper: shared header - height - changes the glass navigation bar height */
  --shared-header-height: 80px;
  /* note to piper: shared header - wash - changes the warm translucent color over the page */
  --shared-header-wash: rgba(250, 249, 249, 0.6);
  /* note to piper: shared header - logo size - changes the logo image inside the navigation */
  --shared-header-logo-width: clamp(190px, 20vw, 250px);
  --shared-header-logo-width-small-screen: 175px;
  --shared-header-logo-height: 58px;
  /* note to piper: shared header - layout - pins the logo and icon group from the viewport edges */
  --shared-header-gutter: 50px;
}

.landing-header {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  background: var(--shared-header-wash);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 40px 100px rgba(212, 230, 229, 0.1);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  transform: translateY(0);
  transition: transform 500ms ease-in-out, opacity 500ms ease-in-out, filter 500ms ease-in-out;
}

.landing-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--shared-header-height);
  margin: 0 auto;
  padding-right: var(--shared-header-gutter);
  padding-left: var(--shared-header-gutter);
}

.landing-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -20px;
  left: 0;
  height: 20px;
  pointer-events: none;
  background: var(--shared-header-wash);
  opacity: 0;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='1440' height='44' viewBox='0 0 1440 44' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M0 0H1440V17C1326 32 1216 16 1104 23C982 31 888 13 767 22C647 31 552 14 430 23C315 31 205 15 100 24C55 28 24 31 0 27V0Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg width='1440' height='44' viewBox='0 0 1440 44' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M0 0H1440V17C1326 32 1216 16 1104 23C982 31 888 13 767 22C647 31 552 14 430 23C315 31 205 15 100 24C55 28 24 31 0 27V0Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  transition: opacity 500ms ease-in-out;
}

body.landing-header-wavy .landing-header::after {
  opacity: 1;
}

body.landing-header-hidden .landing-header {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(-112%);
}

.landing-logo-link {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: var(--shared-header-logo-width);
  height: var(--shared-header-logo-height);
  line-height: 0;
  text-decoration: none;
}

.landing-logo-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.landing-logo-link:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.28);
  outline-offset: 4px;
}

.landing-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.landing-header-title {
  position: absolute;
  left: 50%;
  margin: 0;
  color: rgba(26, 28, 28, 0.78);
  font-family: Manrope, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.landing-icon-link {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #000;
  text-decoration: none;
  transition: color 300ms ease;
}

.landing-icon-link:hover,
.landing-icon-link:focus-visible {
  color: #4c4546;
}

.landing-icon-link:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.28);
  outline-offset: 4px;
}

.landing-icon-link svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

@media (max-width: 860px) {
  :root {
    --shared-header-height: 72px;
    --shared-header-logo-width: 112px;
  }
}

@media (max-width: 520px) {
  :root {
    --shared-header-logo-width: var(--shared-header-logo-width-small-screen);
  }
}
