.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
  180deg,
  rgba(0,0,0,0.90) 0%,         /* solid at the very top */
  rgba(0,0,0,0.50) 60%,     /* keep upper half dark */
  rgba(0,0,0,0.01) 100%
);
  color: var(--nav-text);
  border-bottom: none;
  z-index: 100;
  transition: all 0.3s ease;
  animation: slideDown 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: 5px;
   background-repeat: no-repeat;
  background-size: 100% 110px; /* adjust: try 60–72px */
  background-position: top;
}

.about-header {
  margin-top: 40px; /* adjust 20–30px until the logo clears it nicely */
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* scrolled state – slightly darker, same height & position */
.site-header.scrolled {
  background: linear-gradient(
  180deg,
  rgba(0,0,0,1.0) 0%,         /* solid at the very top */
  rgba(0,0,0,0.50) 60%,     /* keep upper half dark */
  rgba(0,0,0,0.01) 100%
);
  background-repeat: no-repeat;
  background-size: 100% 120px;   /* match the height above */
  background-position: top;
}

.nav-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  justify-items: center;
  min-height: 60px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover {
  transform: scale(1.12);
}

.brand img {
  width: 120px;
  height: auto;
  display: block;
}

.nav-cart {
  grid-column: 1;
  justify-self: start;
}

.nav-hamburger {
  grid-column: 3;
  justify-self: end;
}

.nav-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  color: var(--nav-text);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-icon:hover {
  color: #FEC027;
  transform: scale(1.08);
}

.nav-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.nav-desktop {
  display: none;
}

@media (min-width: 901px) {
  .nav-wrap {
    padding: 0 32px;
    min-height: 70px;
    
  }

  .nav-cart,
  .nav-hamburger,
  .nav-wrap > .brand {
    display: none;
  }

  .nav-desktop {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    width: 100%;
     
  }

  .nav-desktop > .brand {
    display: flex;
    grid-column: 2;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .nav-desktop > .brand:hover {
    transform: scale(1.12);
  }

  .nav-desktop > .brand img {
    width: 120px;
  }

  .nav-left {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    position: relative;
    top: -10px;        /* raise only the left menu: tweak -3 to -8 */
  }

  .nav-right {
    display: flex;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    position: relative;
    top: -10px;        /* raise only the right menu */
  }


  .nav-desktop li {
    position: relative;
  }

  .nav-link,
  .nav-parent {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 8px 10px;
    color: var(--nav-text);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px;
    transition: color 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    text-decoration: none;
  }

  .nav-link:hover,
  .nav-parent:hover {
    color: #FEC027;
    transform: scale(1.18);
  }

  .caret {
    font-size: 16px;
    margin-left: 2px;
    color: var(--nav-red);
    transition: transform 0.3s ease;
    display: inline-block;
  }

  .has-sub[data-open="true"] .caret {
    transform: rotate(180deg);
  }

  .has-sub {
    position: relative;
  }

  .has-sub::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 20px;
    background: transparent;
  }

  .dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 250px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(254, 192, 39, 0.25);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease 0.15s;
    pointer-events: none;
  }

  .has-sub[data-open="true"] .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
  }

  .dropdown li {
    margin: 0;
  }

  .dropdown a {
    display: block;
    padding: 12px 16px;
    color: var(--nav-text);
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  .dropdown a:hover {
    background: rgba(254, 192, 39, 0.12);
    color: #FEC027;
    transform: translateX(4px);
  }
}
/* keep your current mobile rules */
@media (max-width: 900px) {
  .nav-desktop {
    display: none !important;
  }
  
  .nav-cart,
  .nav-hamburger,
  .nav-wrap > .brand {
    display: flex !important;
  }
}

/* desktop-only tightening */
@media (min-width: 901px) {
  .nav-wrap { min-height: 60px; }      /* try 60; adjust 58–62 as needed */
  .nav-strap { margin-top: -8px; }     /* optional: -6 to -10 to tuck under logo */
}
.nav-strap {
  background: linear-gradient(90deg, rgba(254, 192, 39, 0.04) 0%, rgba(254, 192, 39, 0.08) 50%, rgba(254, 192, 39, 0.04) 100%);
  border-bottom: 1px solid rgba(254, 192, 39, 0.18);
  padding: 20px 0;
  text-align: center;
}

.strap-line {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.025em;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.mobile-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.mobile-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateY(-100%);
  transition: transform 1.0s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-overlay[aria-hidden="false"] .mobile-panel {
  transform: translateY(0);
}

.mobile-panel::-webkit-scrollbar {
  width: 6px;
}

.mobile-panel::-webkit-scrollbar-track {
  background: transparent;
}

.mobile-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.mobile-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.mobile-top {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

.nav-close {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 60px;
  font-weight: 600;
  line-height: 1;
  transition: color 0.2s ease;
}

.nav-close:hover {
  color: #FEC027;
}

.mobile-nav {
  padding: 80px 20px 60px 20px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.m-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.m-list > li {
  margin-bottom: 2px;
}

.m-cat {
  display: inline-block;
  cursor: pointer;
  padding: 4px 0 8px 0;
  position: relative;
}

.m-cat.has-submenu::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 3px;
  background: #d4232a;
  transition: background 0.3s ease;
}

.m-cat-text {
  color: #fff;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
  display: block;
}

.m-solo {
  display: block;
  color: #fff;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 0;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.1;
}

.m-solo:active {
  color: #FEC027;
}
/* CLOSED state (closing) */
.m-sub {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translate3d(0, -6px, 0);
  backface-visibility: hidden;
  will-change: max-height, opacity, transform;
  contain: layout paint;
  
  /* CLOSE: Slower so new menu has time to appear */
  transition:
    opacity 0.22s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 1.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    max-height 0.22s linear;
  transition-delay: 0s;
  
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

/* OPEN state */
.m-sub[data-open="true"] {
  max-height: 480px;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  margin-top: 8px;
  pointer-events: auto;
  
  /* OPEN: Fast and immediate */
  transition:
    opacity 0.16s cubic-bezier(0.33, 1, 0.68, 1),  /* Snappier easing */
    transform -0.30s cubic-bezier(0.33, 1, 0.68, 1),
    max-height 0.16s ease-out;
  transition-delay: -0.05s;  /* Starts opening 50ms BEFORE close finishes */
}

.m-sub a {
  display: block;
  color: #ffffff;
  font-size: 25px;
  font-weight: 400;
  padding: 2px 0;
  text-decoration: none;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.m-sub a:active {
  color: #FEC027;
}

@media (min-width: 901px) {
  .mobile-overlay {
    display: none;
  }
}
