:root {
  --header-h: 88px;
  --yellow: #ffc400;
  --black-0: #000000;
  --black-1: #05070b;
  --black-2: #0a0d12;
  --gray-1: #2a3038;
  --silver: #c8cdd2;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--black-0);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

body {
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(22px, 4vw, 72px);
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid rgba(255, 196, 0, 0.42);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  display: block;
  width: clamp(190px, 16vw, 276px);
  max-height: 66px;
  object-fit: contain;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 34px);
  min-width: 0;
}

.products-control {
  position: relative;
}

.products-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 19px;
  border: 1px solid rgba(200, 205, 210, 0.34);
  border-radius: 7px;
  background: #0a0d12;
  color: #f4f6f8;
  font: 800 15px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.11em;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.products-button:hover,
.products-button:focus-visible,
.products-button[aria-expanded="true"] {
  border-color: var(--yellow);
  background: #11151b;
  color: var(--yellow);
  outline: none;
}

.chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.products-button[aria-expanded="true"] .chevron {
  transform: rotate(225deg) translate(-2px, -1px);
}

.distributor-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  width: clamp(204px, 17vw, 285px);
  overflow: hidden;
  text-decoration: none;
  transition: filter 160ms ease, transform 160ms ease;
}

.distributor-link:hover,
.distributor-link:focus-visible {
  filter: brightness(1.09);
  transform: translateY(-1px);
  outline: none;
}

.distributor-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.products-menu {
  position: fixed;
  top: calc(var(--header-h) + 12px);
  right: clamp(22px, 4vw, 72px);
  width: min(1180px, calc(100vw - 44px));
  max-height: calc(100vh - var(--header-h) - 30px);
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(200, 205, 210, 0.28);
  border-top: 3px solid var(--yellow);
  border-radius: 10px;
  background: rgba(5, 7, 11, 0.985);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.72);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.menu-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #2a3038;
  border-radius: 8px;
  background: #0a0d12;
  color: #ffffff;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.menu-card:hover,
.menu-card:focus-visible {
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 196, 0, 0.12);
  outline: none;
}

.menu-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #05070b;
}

.menu-card > span {
  display: block;
  padding: 11px 12px 12px;
  border-top: 1px solid #2a3038;
  font: 800 15px/1.15 Arial, Helvetica, sans-serif;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.menu-card--deer {
  grid-column: span 2;
}

.menu-card--deer img {
  aspect-ratio: 3 / 1;
  object-fit: contain;
}

.hero {
  padding-top: var(--header-h);
  background: #000;
}

.hero-picture {
  width: 100%;
  display: block;
  line-height: 0;
  background: #000;
}

.hero-picture img {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}

@media (max-width: 1180px) {
  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .menu-card--deer {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    gap: 9px;
    padding: 0 12px;
  }

  .brand img {
    width: clamp(92px, 27vw, 118px);
    max-height: 43px;
  }

  .top-nav {
    gap: 7px;
  }

  .products-button {
    min-height: 40px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 11px;
    letter-spacing: 0.07em;
  }

  .products-button .chevron {
    width: 7px;
    height: 7px;
  }

  .distributor-link {
    width: clamp(126px, 37vw, 154px);
    height: 44px;
  }

  .products-menu {
    top: calc(var(--header-h) + 8px);
    right: 8px;
    left: 8px;
    width: auto;
    padding: 12px;
    max-height: calc(100vh - var(--header-h) - 18px);
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .menu-card--deer {
    grid-column: auto;
  }

  .menu-card--deer img {
    aspect-ratio: 3 / 1;
  }

  .menu-card:not(.menu-card--deer) {
    display: grid;
    grid-template-columns: 42% 1fr;
    align-items: center;
  }

  .menu-card:not(.menu-card--deer) img {
    aspect-ratio: 16 / 9;
    height: 100%;
  }

  .menu-card > span {
    border-top: 0;
    border-left: 1px solid #2a3038;
    padding: 16px;
    font-size: 14px;
  }

  .hero-picture img {
    object-position: center top;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
