.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  max-width: 1380px;
  margin-inline: auto;
  padding-inline: clamp(8px, 2vw, 16px);
}

.site-nav {
  display: flex;
  align-items: stretch;
  min-height: 72px;
  padding-left: 24px;
  border-radius: 0 0 16px 16px;
  background: rgb(255 255 255 / 95%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.site-brand,
.site-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1.25;
}

.site-nav :is(a, button):focus-visible {
  outline: 3px solid #242424;
  outline-offset: -4px;
}

.site-brand {
  min-width: 0;
  margin-right: auto;
}

.site-brand img {
  display: block;
  width: auto;
  height: 40px;
  max-width: 100%;
  object-fit: contain;
}

.site-invitation {
  align-self: center;
  margin: 0;
  padding: 0 clamp(14px, 2.2vw, 32px);
  color: #434655;
  font-size: clamp(.875rem, 1.2vw, 1.0625rem);
  line-height: 1.35;
  text-align: right;
}
.site-invitation strong {
  color: #202943;
  font-weight: 650;
}

.site-contact {
  padding-inline: clamp(20px, 3vw, 36px);
  gap: 10px;
  border: 0;
  border-radius: 0 0 16px 0;
  background-color: #e74511;
  color: white;
  font-size: 1.1875rem;
  font-weight: 700;
  cursor: pointer;
}
.site-contact::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: translateY(-2px) rotate(45deg);
}

.site-contact:hover, .site-nav:has(:popover-open) .site-contact {
  background-color: #c93a0e;
}
.site-nav:has(:popover-open) .site-contact::after {
  transform: translateY(2px) rotate(225deg);
}
.contact-options {
  position: fixed;
  inset: calc(var(--nav-height) + 6px) max(16px, calc((100% - 1380px) / 2 + 16px)) auto auto;
  width: min(272px, calc(100% - 24px));
  max-height: calc(100dvh - var(--nav-height) - 16px);
  margin: 0;
  padding: 7px;
  border: 1px solid #dedbd7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(26 23 20 / 18%);
}
.contact-options a {
  display: grid;
  gap: 1px;
  padding: 10px 14px;
  border-radius: 6px;
  color: #202943;
  line-height: 1.4;
  text-decoration: none;
}
.contact-options a + a { border-top: 1px solid #e9e6e2; }
.contact-options a:hover, .contact-options a:focus-visible { background: #fff3ed; }
.contact-options span { color: #5b5d63; font-size: .8125rem; }
.contact-options strong { font-weight: 650; }

@media (max-width: 980px), (max-aspect-ratio: 6/5) {
  .site-header {
    width: var(--bezel-width);
    padding-inline: 0;
  }
  .contact-options {
    right: calc((100% - var(--bezel-width)) / 2);
    max-width: var(--bezel-width);
  }
}

@media (max-width: 640px) {
  .site-nav {
    min-height: 56px;
    padding-left: clamp(8px, 2.2vw, 14px);
  }

  .site-brand img {
    width: clamp(78px, 23vw, 128px);
    height: auto;
  }

  .site-invitation {
    padding-inline: clamp(6px, 1.6vw, 12px);
    font-size: clamp(.75rem, 2.8vw, .875rem);
  }

  .site-contact {
    padding-inline: clamp(10px, 2.5vw, 16px);
    gap: 7px;
    background-color: #d43c0b;
    font-size: clamp(.875rem, 3vw, 1rem);
  }
}

@media (max-width: 540px) {
  .site-invitation span { display: none; }
}

@media (min-width: 600px) and (max-width: 980px) and (orientation: landscape) and (max-height: 560px) {
  .site-header { width: 100%; padding-inline: 16px; }
  .contact-options { right: 16px; }
}
