.kz-site-header {
  position: relative;
  z-index: 5;
  background-color: #101613;
  /* Keep the wordmark, tagline, and links legible over the brightest gold. */
  background-image:
    linear-gradient(90deg, rgb(16 22 19 / .68), rgb(16 22 19 / .56) 50%, rgb(16 22 19 / .68)),
    linear-gradient(108deg, #101613 5%, #14332c 32%, #c9a227 63%, #14332c 91%);
  background-size: 100% 100%, 220% 220%;
  background-position: center, 0% 65%;
  border-bottom: 1px solid rgb(201 162 39 / .32);
  color: #fffdf6;
  font: 550 13px/1.5 "DM Sans", Arial, sans-serif;
  animation: korzano-header-flow 9s ease-in-out infinite alternate;
}

.kz-header-inner {
  width: min(1328px, calc(100% - 100px));
  min-height: 90px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.kz-site-header a {
  color: inherit;
  text-decoration: none;
}

.kz-header-logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 1px;
  line-height: 1.1;
  white-space: nowrap;
}

.kz-header-wordmark {
  color: #fffdf6;
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -.048em;
  animation: korzano-logo-enter .6s ease-out both;
}

.kz-header-tagline {
  margin-top: 7px;
  color: #f3dfaa;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .13em;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .kz-header-wordmark {
    background-image: linear-gradient(105deg, #fffdf6 39%, #fae3ad 46%, #e9c278 50%, #fae3ad 54%, #fffdf6 61%);
    background-size: 260% 100%;
    background-position: 100% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: korzano-logo-enter .6s ease-out both, korzano-logo-shine 5s linear infinite;
  }
}

.kz-header-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  white-space: nowrap;
}

.kz-header-nav a { padding-block: 28px; }
.kz-header-nav a:hover, .kz-header-nav a:focus-visible { color: #f3dfaa; }

.kz-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 14px 21px;
  border: 1px solid #c9a227;
  border-radius: 3px;
  background: #14332c;
  font-weight: 650;
  line-height: 1.25;
}
.kz-header-cta:hover { background: #25473e; }

.kz-header-menu {
  display: none;
  min-height: 45px;
  min-width: 47px;
  padding: 7px 11px;
  border: 1px solid #c9a227;
  border-radius: 3px;
  background: rgb(16 22 19 / .24);
  color: #fff3d2;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.kz-site-header :is(a, button):focus-visible {
  outline: 3px solid #b17a22;
  outline-offset: 5px;
}

@media (max-width: 1250px) {
  .kz-header-inner { width: calc(100% - 64px); }
  .kz-header-nav { gap: 17px; font-size: 11px; }
  .kz-header-cta { padding: 13px 16px; font-size: 11px; }
}

@media (max-width: 1200px) { .kz-header-cta { display: none; } }
@media (max-width: 1000px) { .kz-header-nav { gap: 13px; } }

@media (max-width: 800px) {
  .kz-header-inner { min-height: 74px; }
  .kz-header-menu { display: block; }
  .kz-header-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 14px;
    border-bottom: 1px solid #d9ddd4;
    background: #fdfcf9;
    color: #25342f;
    box-shadow: 0 9px 16px #19262016;
    font-size: .9375rem;
  }
  .kz-header-nav.open { display: flex; }
  .kz-header-nav a { padding: 12px 8px; border-bottom: 1px solid #e3e7df; }
  .kz-header-nav a:hover, .kz-header-nav a:focus-visible { color: #496659; }
}

@media (max-width: 700px) {
  .kz-header-inner { width: calc(100% - 40px); min-height: 70px; }
  .kz-header-wordmark { font-size: 26px; }
  .kz-header-tagline { font-size: 8px; letter-spacing: .11em; }
}

@media (max-width: 390px) { .kz-header-wordmark { font-size: 24px; } }

@keyframes korzano-header-flow {
  from { background-position: center, 0% 65%; }
  to { background-position: center, 100% 35%; }
}

@keyframes korzano-logo-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes korzano-logo-shine {
  0%, 14% { background-position: 100% 50%; }
  44%, 100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .kz-site-header, .kz-header-wordmark { animation: none; }
}

@media (forced-colors: active) {
  .kz-header-wordmark { background-image: none; color: CanvasText; }
}
