.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 10000;
  padding: 12px 16px;
  background: var(--color-orange);
  color: var(--color-black);
}
.skip-link:focus {
  left: 20px;
  top: 20px;
}

.header__main {
  background: rgba(8, 8, 8);
  width: 100%;
}
.header__main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
}
.header__location,
.header__separator {
  display: none;
}

.header__logo img {
  max-width: 48px;
  max-height: 48px;
  border-radius: 4px;
}

.nav-links {
  list-style: none;
  display: none;
  gap: 24px;
  font-family: "Barlow Condensed", sans-serif;
}

.mobile-menu__img-overlay {
  position: absolute;
  right: -100px;
  bottom: -200px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.3;
}

.mobile-menu-overlay-img {
  display: block;
  width: 400px;
  height: auto;
}

#menu-main-menu.nav-links a {
  color: var(--color-white);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.15em;
  transition: color 0.2s ease;
}

#menu-main-menu.nav-links a:hover,
#menu-main-menu .current-menu-item a {
  color: var(--color-orange);
}

.header__title {
  text-wrap: balance;
  text-transform: uppercase;
}
.header__main-left {
  display: flex;
  gap: 12px;
  text-decoration: none;
}

#menu-main-menu .current-menu-item a {
  border-bottom: 2px solid var(--color-orange);
  padding-bottom: 2px;
}

.header__top-left {
  display: flex;
  gap: 24px;
  font-family: "Barlow Condensed", sans-serif;
}
.header__top {
  background: var(--color-orange);
  width: 100%;
  position: relative;
}
.header__top-inner {
  padding: 6px 12px;
  text-transform: uppercase;
  color: var(--color-black);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__top-right {
  z-index: 20;
}
.header__top-right .nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}
.header__top-right .nav-links li:not(:last-child)::after {
  content: "|";
  margin: 0 16px;
  opacity: 0.6;
}

#menu-secondary-header .menu-item a:hover {
  color: var(--color-white);
}
#menu-secondary-header .menu-item a {
  color: var(--color-black);
  text-decoration: none;
  transition: color 0.2s ease;
}
.header__main-left span {
  text-decoration: none;
  color: var(--color-white);
}

.header__style {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 40%;
  background-color: #d4580b;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.header__style::before {
  content: "";
  position: absolute;
  inset: -50%;
  opacity: 0.35;
  background: repeating-linear-gradient(
    135deg,
    var(--color-orange) 0,
    var(--color-orange) 10px,
    #d4580b 10px,
    #d4580b 20px
  );
}

.header__style::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--color-orange) 0%,
    var(--color-orange) 40%,
    rgba(0, 0, 0, 0) 100%
  );
}
.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 220;
}

.header__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header__burger[aria-expanded="true"] .header__burger-line:nth-child(2) {
  opacity: 0;
}
.header__burger[aria-expanded="true"] .header__burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.header__main-right {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(8, 8, 8);
  padding: 24px 16px;
  border-top: 1px solid var(--color-border-2);
  z-index: 99;
}

.header__main-right.is-open {
  display: block;
}

.header__main-right .nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.header__main-right .nav-links .menu-item a {
  display: block;
  padding: 14px 0;
  color: var(--color-white);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.15em;
  border-bottom: 1px solid var(--color-border-2);
}

.header__main-right .nav-links .menu-item a:hover,
.header__main-right .nav-links .current-menu-item a {
  color: var(--color-orange);
}

.header__main {
  position: relative;
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  display: block;
}

.mobile-menu__text-overlay {
  position: absolute;
  right: 24px;
  bottom: 32px;
  z-index: 2;
  pointer-events: none;
  text-align: right;
}

.mobile-menu-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: min(100vw, 320px);
  max-width: 100%;
  background: rgba(8, 8, 8);
  z-index: 210;
  padding: 88px 24px 32px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__links {
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 10;
  position: relative;
  display: flex;
  flex-direction: column;
}

.mobile-menu__text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  font-family: "Road Rage", sans-serif;
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--color-white);
  opacity: 0.05;
  letter-spacing: 0.02em;
}

.mobile-menu__links .menu-item a {
  display: block;
  padding: 16px 0;
  color: var(--color-white);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.15em;
  border-bottom: 1px solid var(--color-border-2);
}

.mobile-menu__links .menu-item a:hover,
.mobile-menu__links .current-menu-item a {
  color: var(--color-orange);
}

@media (min-width: 768px) {
  .header__main-inner {
    padding: 12px 24px;
  }
  .header__top-inner {
    padding: 8px 24px;
  }

  .header__logo img {
    max-width: 48px;
    max-height: 48px;
  }

  .nav-links {
    display: flex;
  }
  button.header__burger,
  .mobile-menu,
  .mobile-menu-backdrop {
    display: none !important;
  }
  .header__location,
  .header__separator {
    display: block;
  }
  .header__main-right {
    display: block;
    position: static;
    padding: 0;
    border: none;
    background: transparent;
  }

  .header__main-right .nav-links {
    flex-direction: row;
    gap: 24px;
  }

  .header__main-right .nav-links .menu-item a {
    padding: 0;
    border: none;
  }
  #mobile-menu {
    display: none;
  }
}
