/* Navigation based on the gold frame and blue gem of Flaro's profile card. */
.masthead .site-header { gap: clamp(12px, 2vw, 28px); }
.masthead .desktop-nav {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  gap: clamp(8px, .7vw, 10px);
  margin-left: 0;
}
.masthead .desktop-nav :is(a, button) {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 11px clamp(12px, 1vw, 15px);
  border: 1px solid #d8a253;
  border-radius: 14px;
  background: linear-gradient(145deg, #092239ee, #061625f7 52%, #0b2638ee);
  box-shadow: inset 0 0 0 1px #070f19, 0 7px 18px #0009;
  color: #ffe6b4;
  font: 700 clamp(10px, .8vw, 12px) Georgia,serif;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 5px #000, 0 0 12px #c08a425e;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease, color .28s ease;
}
.masthead .desktop-nav :is(a, button)::before {
  content: '';
  position: absolute;
  inset: 5px;
  z-index: -1;
  border: 1px solid #c79551c7;
  border-radius: 10px;
  pointer-events: none;
}
.masthead .desktop-nav :is(a, button)::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 30%;
  right: 30%;
  bottom: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #98eafa, transparent);
  box-shadow: 0 0 8px #48cdef;
  opacity: .5;
  transition: left .28s ease, right .28s ease, opacity .28s ease;
}
.masthead .desktop-nav .nav-label { position: relative; z-index: 1; }
.masthead .desktop-nav .nav-gem {
  position: absolute;
  left: 50%;
  top: -6px;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  border: 1px solid #e3ae65;
  background: linear-gradient(140deg, #7de5f1, #12516b 56%, #061a2d);
  box-shadow: 0 0 0 2px #071827, 0 0 9px #57dbe8;
  transition: box-shadow .28s ease, background .28s ease;
}
.masthead .desktop-nav .nav-gem::after {
  content: '';
  position: absolute;
  inset: 2px;
  border: 1px solid #a8eff3b9;
}
.masthead .desktop-nav .nav-corner {
  position: absolute;
  width: 23px;
  height: 23px;
  color: #c6904d;
  opacity: .85;
  pointer-events: none;
  transition: color .28s ease, opacity .28s ease;
}
.masthead .desktop-nav .nav-corner::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
  border-radius: 95% 0 0 0;
  transform: rotate(-12deg);
}
.masthead .desktop-nav .nav-corner::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 9px;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(35deg);
}
.masthead .desktop-nav .nav-corner.tl { top: 6px; left: 6px; }
.masthead .desktop-nav .nav-corner.tr { top: 6px; right: 6px; transform: scaleX(-1); }
.masthead .desktop-nav .nav-corner.bl { bottom: 6px; left: 6px; transform: scaleY(-1); }
.masthead .desktop-nav .nav-corner.br { bottom: 6px; right: 6px; transform: scale(-1); }
.masthead .desktop-nav :is(a, button):hover,
.masthead .desktop-nav :is(a, button):focus-visible {
  transform: translateY(-3px);
  background: linear-gradient(145deg, #123b52, #0a2034 48%, #362a29);
  box-shadow: inset 0 0 0 1px #f7d1916b, 0 0 23px #5edbea78, 0 0 33px #d9944970, 0 10px 20px #000b;
  color: #fff5db;
}
.masthead .desktop-nav :is(a, button):hover::after,
.masthead .desktop-nav :is(a, button):focus-visible::after { left: 14%; right: 14%; opacity: 1; }
.masthead .desktop-nav :is(a, button):hover .nav-gem,
.masthead .desktop-nav :is(a, button):focus-visible .nav-gem {
  background: linear-gradient(140deg, #e4ffff, #48d2ea 55%, #167392);
  box-shadow: 0 0 0 2px #071827, 0 0 17px #5eeeff;
}
.masthead .desktop-nav :is(a, button):hover .nav-corner,
.masthead .desktop-nav :is(a, button):focus-visible .nav-corner { color: #f3c57b; opacity: 1; }
.masthead .header-actions { flex: none; gap: clamp(12px, 1.2vw, 19px); margin-left: 0; }
.masthead .header-cta {
  border-radius: 10px;
  background: linear-gradient(145deg, #092239ee, #061625f7);
  box-shadow: inset 0 0 0 3px #091d2b, inset 0 0 0 4px #c7955180, 0 6px 18px #0008;
}
.masthead .header-cta:hover { background: linear-gradient(130deg, #123b52, #362a29); color: #fff5db; box-shadow: 0 0 20px #5edbea78, 0 8px 18px #0009; }

@media (min-width: 1281px) and (max-width: 1380px) {
  .masthead .desktop-nav { gap: 6px; }
  .masthead .desktop-nav :is(a, button) { padding-inline: 10px; font-size: 10px; }
  .masthead .header-actions { gap: 10px; }
  .masthead .header-cta { padding-inline: 11px; font-size: 10px; }
}

@media (max-width: 1280px) {
  .masthead .desktop-nav,
  .masthead .header-cta { display: none; }
  .masthead .site-header { justify-content: space-between; }
  .masthead .menu-toggle { display: grid; }
  .masthead .mobile-nav:not([hidden]) {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 4px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 19px;
    border: 1px solid #bf8d51;
    border-radius: 14px;
    background: #061827f5;
  }
  .masthead .mobile-nav :is(a, [data-shop-open]) {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 52px;
    padding: 10px 12px;
    border: 1px solid #c79551;
    border-radius: 11px;
    background: linear-gradient(145deg, #0b2b40, #061625);
    box-shadow: inset 0 0 0 4px #061827, inset 0 0 0 5px #ad7d4380;
    color: #ffe6b4;
    font: 700 12px Georgia,serif;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
  }
  .masthead .mobile-nav :is(a, [data-shop-open])::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    width: 11px;
    height: 11px;
    transform: translateX(-50%) rotate(45deg);
    border: 1px solid #e3ae65;
    background: #2389a2;
    box-shadow: 0 0 0 2px #071827, 0 0 9px #57dbe8;
  }
  .masthead .mobile-nav :is(a, [data-shop-open]):hover,
  .masthead .mobile-nav :is(a, [data-shop-open]):focus-visible { background: linear-gradient(145deg, #123b52, #362a29); box-shadow: 0 0 18px #5edbea78, inset 0 0 0 4px #061827, inset 0 0 0 5px #e1b46d; }
}
@media (max-width: 480px) {
  .masthead .mobile-nav:not([hidden]) { gap: 11px; padding: 15px 11px; }
  .masthead .mobile-nav :is(a, [data-shop-open]) { min-height: 50px; padding: 8px 5px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .masthead .desktop-nav :is(a, button),
  .masthead .desktop-nav :is(a, button)::after,
  .masthead .desktop-nav .nav-gem,
  .masthead .desktop-nav .nav-corner { transition: none; }
}
