@font-face {
  font-family: OPS;
  src: url("/assets/OPSSuiteSans-Bold.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
}

@font-face {
  font-family: Hedvig;
  src: url("/assets/Hedvig.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

.site-width {
  max-width: 1740px;
  margin-inline: auto;
  padding-inline: clamp(20px, 3.2vw, 56px);
}

.mast,
.site-end {
  color: #092e33;
  font: 18px/1.45 Hedvig, Arial, sans-serif;
}

.mast {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6vw;
  min-height: 72px;
  border-bottom: 1px solid currentColor;
}

.wordmark {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
}

.wordmark img { width: 83px; height: auto; }

.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 42px);
}

.desktop-nav { margin-left: auto; }
.mast button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.desktop-nav a,
.header-actions button,
.header-actions .contact-link,
.site-end a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-size: 17px;
}

.mast a:hover, .mast button:hover, .site-end a:hover,
.mast a:focus-visible, .site-end a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact-link { font-family: OPS, Hedvig, sans-serif; }
.mast .menu-link, #mobile-nav { display: none; }

.site-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(45px, 6vw, 95px);
  padding: 24px 0;
  border-top: 1px solid currentColor;
}

.site-end > div { display: flex; flex-wrap: wrap; gap: 25px; }

@media (min-width: 741px) and (max-width: 980px) {
  .mast { gap: 4vw; }
}

@media (max-width: 740px) {
  .site-width { padding-inline: 16px; }
  .mast, .site-end { font-size: 17px; }
  .mast { min-height: 53px; gap: 16px; }
  .mast .wordmark, .site-end .wordmark { min-height: 42px; }
  .wordmark img { width: 60px; }
  .desktop-nav { display: none; }
  .header-actions { gap: 17px; margin-left: auto; }
  .header-actions button, .header-actions .contact-link { font-size: 16px; }
  .mast .menu-link { display: inline-flex; }
  .menu-link span { font-size: 20px; }
  .menu-link::before {
    content: "";
    width: 1px;
    height: 19px;
    margin-right: 6px;
    background: #aab6ac;
  }
  #mobile-nav:not([hidden]) {
    position: absolute;
    inset: 100% 0 auto;
    z-index: 8;
    display: grid;
    padding: 6px 15px;
    border: 1px solid #092e33;
    background: #f7f5ed;
    box-shadow: 0 8px 15px #092e3314;
  }
  #mobile-nav a { padding: 11px 1px; border-bottom: 1px solid #aab6ac; }
  #mobile-nav a:last-child { border: 0; }
  .site-end { align-items: flex-start; }
  .site-end > div { flex-direction: column; align-items: flex-end; gap: 2px; }
  .site-end a { font-size: 15px; }
}
