/* Shared marketing header. */
@font-face {
  font-family: "Source Sans 3";
  src: url(/fonts/SourceSans3-latin.woff2) format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

body > header.tempero-site-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 14px clamp(16px, 4.5vw, 72px);
  border: 0;
  border-bottom: 1px solid #f3eee320;
  background: #162632;
  color: #f3eee3;
  font: 400 15px/1.2 "Source Sans 3", Arial, sans-serif;
}

body[data-overlay-header] > header.tempero-site-header { position: fixed; }

.tempero-site-header > a { flex: none; }
.tempero-site-header > a img {
  display: block;
  width: clamp(138px, 13vw, 184px);
  height: auto;
}

header #main-nav.tempero-primary-menu {
  position: static;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(12px, 1.6vw, 25px);
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font: inherit;
  white-space: nowrap;
}

header #main-nav.tempero-primary-menu > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #f3eee3;
  text-decoration: none;
}

header #main-nav.tempero-primary-menu > a:hover { color: #e5b6a0; }
header #main-nav.tempero-primary-menu > .tempero-menu-cta {
  justify-content: center;
  padding: 0 17px;
  border: 1px solid #d3a28a;
  border-radius: 9px;
  background: #d3a28a;
  color: #162632;
  font-weight: 700;
}
header #main-nav.tempero-primary-menu > .tempero-menu-cta:hover {
  background: #e5b6a0;
  border-color: #e5b6a0;
  color: #162632;
}

.tempero-site-header .tempero-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid #f3eee344;
  border-radius: 9px;
  background: #162632;
  color: #f3eee3;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.tempero-site-header :is(a, button):focus-visible {
  outline: 2px solid #d3a28a;
  outline-offset: 3px;
}
.tempero-menu-icon {
  display: block;
  width: 15px;
  height: 8px;
  border-block: 1.5px solid currentColor;
}

@media (max-width: 820px) {
  body > header.tempero-site-header { padding: 12px clamp(14px, 5vw, 24px); }
  .tempero-site-header > a img { width: clamp(124px, 39vw, 150px); }

  body > header.tempero-site-header:not([data-menu-ready]) { position: relative; flex-wrap: wrap; }
  header:not([data-menu-ready]) #main-nav.tempero-primary-menu { flex-wrap: wrap; width: 100%; }

  .tempero-site-header[data-menu-ready] .tempero-menu-button { display: inline-flex; }
  header[data-menu-ready] #main-nav.tempero-primary-menu { display: none; }
  header[data-menu-ready] #main-nav.tempero-primary-menu.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    inset: calc(100% + 8px) clamp(14px, 5vw, 24px) auto auto;
    z-index: 12;
    width: min(288px, calc(100vw - 32px));
    padding: 8px;
    border: 1px solid #f3eee333;
    border-radius: 13px;
    background: #162632;
    box-shadow: 0 16px 34px #06111955;
  }
  header #main-nav.tempero-primary-menu.open > a { padding-inline: 12px; }
  header #main-nav.tempero-primary-menu.open > .tempero-menu-cta { margin-top: 4px; }
}

@media print {
  body > header.tempero-site-header { display: none; }
}
