.site-header {
  --header-ink: #181814;
  --header-paper: #f2efe6;
  --header-accent: #8d3b25;
  --header-line: #272720;
  width: min(100% - 88px, 1120px);
  margin-inline: auto;
  color: var(--header-ink);
  font-family: Arial, "Helvetica Neue", sans-serif;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--header-line);
}

.site-header a:focus-visible { outline: 2px solid var(--header-accent); outline-offset: 4px; }

.site-mark {
  color: inherit;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.1em;
  text-decoration: none;
}

.site-mark span { color: var(--header-accent); }

.site-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.site-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  padding-inline: 16px;
  border-radius: 999px;
  background: var(--header-ink);
  color: var(--header-paper);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.site-contact:hover { background: #38352f; }

.site-contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #18181412;
  color: var(--header-ink);
}

.site-contact-icon:hover {
  background: var(--header-ink);
  color: var(--header-paper);
}

@media (max-width: 899px) {
  .site-header { width: calc(100% - 48px); }
}

@media (max-width: 639px) {
  .site-header { width: calc(100% - 36px); min-height: 60px; }
}

@media (max-width: 420px) {
  .site-header { width: calc(100% - 24px); gap: 6px; }
  .site-mark { font-size: 24px; }
  .site-contacts { gap: 3px; }
  .site-contact { padding-inline: 8px; font-size: 12px; }
  .site-contact span { display: none; }
}
