/* Shared site navigation. The legacy header is hidden only after the replacement is
 * ready. Heights are constant while scrolling so pinned sections never jump.
 */
#snh-menu-source { display: none !important; }
html.snh-active body {
  --snh-height: var(--snh-height-desktop, 112px);
  --snh-logo-width: var(--snh-logo-desktop, 190px);
}
html.snh-active body .jupiterx-header.snh-ready {
  position: relative !important;
  height: var(--snh-height) !important;
  min-height: var(--snh-height) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #151515;
}
html.snh-active body .jupiterx-header.snh-ready > .elementor { display: none !important; }
.snh, .snh-dialog {
  --snh-white: #f7f4ef;
  --snh-muted: #b5ada5;
  --snh-orange: #ff8b34;
  --snh-rim: rgba(255, 255, 255, .09);
  font-family: Poppins, Arial, sans-serif;
  color: var(--snh-white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.snh *, .snh *::before, .snh *::after,
.snh-dialog *, .snh-dialog *::before, .snh-dialog *::after { box-sizing: border-box; }
.snh {
  position: fixed;
  z-index: 10000;
  inset: var(--wp-admin--admin-bar--height, 0px) 0 auto;
  height: var(--snh-height);
  isolation: isolate;
  background: linear-gradient(115deg, #1c1b1a, #111213 65%, #191614);
  border-bottom: 1px solid rgba(255, 139, 52, .17);
  box-shadow: 0 7px 24px rgba(0, 0, 0, .16);
}
.snh::after, .snh__toolbar::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  height: 1px;
  bottom: -1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #9c492133 12%, #ee772bb3 38%, #ffe1bccc 50%, #ee772bb3 62%, #9c492133 88%, transparent);
  box-shadow: 0 2px 12px 1px rgba(247, 113, 28, .2);
}
.snh::after { z-index: 0; }
.snh__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1600px;
  height: 100%;
  padding: 0 clamp(24px, 3.5vw, 64px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--snh-logo-width) minmax(0, 1fr);
  align-items: center;
  gap: 26px;
}
.snh__desktop { justify-self: stretch; min-width: 0; }
.snh .snh__brand, .snh-dialog .snh__brand {
  display: flex;
  position: relative;
  align-items: center;
  flex: 0 0 auto;
  justify-self: start;
  width: var(--snh-logo-width);
  max-width: 100%;
  min-height: 48px;
  border-radius: 6px;
  text-decoration: none;
}
.snh .snh__logo, .snh-dialog .snh__logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(var(--snh-height) - 16px);
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.snh .snh__wordmark, .snh-dialog .snh__wordmark {
  position: absolute;
  inset: 50% 0 auto;
  transform: translateY(-50%);
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.snh__wordmark--left { clip-path: inset(0 65% 0 0); }
.snh__wordmark--right { clip-path: inset(0 0 0 63%); }
.snh .snh__list, .snh .snh__sublist,
.snh-dialog .snh__list, .snh-dialog .snh__sublist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.snh .snh__list { display: flex; align-items: center; justify-content: flex-end; width: max-content; margin-left: auto; gap: var(--snh-menu-gap, 24px); }
.snh .snh__list > .snh__item { flex: 0 0 auto; }
.snh__item { position: relative; padding: 0; margin: 0; }
.snh__row { display: flex; align-items: center; }
.snh .snh__link, .snh-dialog .snh__link {
  color: var(--snh-white);
  text-decoration: none;
  font: inherit;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.snh .snh__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 7px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .045em;
}
.snh .snh__link:hover, .snh-dialog .snh__link:hover { color: #ffb474; }
.snh .snh__link[aria-current="page"], .snh-dialog .snh__link[aria-current="page"] { color: #ffb474; }
.snh .snh__list > .snh__item:not(.snh__item--contact) > .snh__row > .snh__link::after {
  content: '';
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #ff7e28, #ffb875);
  transition: transform 200ms ease;
}
.snh .snh__list > .snh__item > .snh__row > .snh__link:is(:hover, :focus-visible, [aria-current="page"])::after { transform: scaleX(1); }
.snh button, .snh-dialog button {
  appearance: none;
  -webkit-appearance: none;
  color: inherit;
  font: inherit;
  text-transform: none;
  cursor: pointer;
  box-shadow: none;
  margin: 0;
}
.snh .snh__disclosure, .snh-dialog .snh__disclosure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
}
.snh .snh__disclosure:hover, .snh-dialog .snh__disclosure:hover { color: #ffb474; background: #ff8b3412; }
/* Keep the chevron close to its label, with a full-height target. The same
 * flex gap separates each complete desktop menu item. Mobile retains 44px. */
.snh .snh__disclosure { flex-basis: 24px; width: 24px; border-radius: 7px; }
.snh__disclosure::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}
.snh__disclosure[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.snh .snh__sublist {
  position: absolute;
  z-index: 2;
  top: calc(100% + 12px);
  left: -14px;
  width: 248px;
  padding: 10px;
  border: 1px solid rgba(255, 164, 96, .2);
  border-radius: 16px;
  background: linear-gradient(140deg, #27211d, #191919 55%);
  box-shadow: 0 24px 60px #0006, 0 0 24px #ff7a1510, inset 0 1px #ffffff0a;
  animation: snh-dropdown 180ms ease both;
}
.snh .snh__sublist .snh__link { display: flex; width: 100%; min-height: 44px; padding: 11px 12px; font-size: 13px; letter-spacing: 0; }
.snh .snh__sublist .snh__row { width: 100%; }
.snh .snh__sublist .snh__link:hover { background: #ff9a3410; }
.snh .snh__sublist .snh__sublist { top: 0; left: 100%; }
.snh [hidden], .snh-dialog [hidden] { display: none !important; }

/* A narrow moving highlight ties the contact button to the service buttons. */
.snh .snh__contact, .snh-dialog .snh__contact {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(110deg, #28201b, #1b1918) padding-box,
    linear-gradient(115deg, #a94c1b 12%, #f78736 40%, #ffe4bf 48%, #c56527 56%, #87411f 88%) border-box;
  background-size: 100% 100%, 220% 100%;
  background-position: 0 0, 100% 0;
  box-shadow: 0 0 20px #f96c1812;
  color: var(--snh-white);
  letter-spacing: .025em;
  transition: background-position 600ms ease, box-shadow 200ms ease, transform 150ms ease, color 180ms ease;
}
.snh .snh__contact:hover, .snh-dialog .snh__contact:hover {
  background-position: 0 0, 0 0;
  box-shadow: 0 0 24px #f777252e, inset 0 0 18px #f77c2008;
  color: #fff;
}
.snh .snh__arrow, .snh-dialog .snh__arrow { display: block; width: 24px; height: 24px; flex: 0 0 24px; color: #ffb477; }
.snh .snh__contact:active, .snh-dialog .snh__contact:active,
.snh .snh__menu-button:active, .snh-dialog .snh__close-button:active { transform: scale(.97); }
.snh .snh__menu-button, .snh-dialog .snh__close-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  min-width: 48px;
  padding: 0 18px;
  border: 1px solid #ffc18b3b;
  border-radius: 999px;
  background: linear-gradient(120deg, #2d241e, #1e1c1a);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 150ms ease;
}
.snh .snh__menu-button { display: none; }
.snh .snh__menu-button, .snh-dialog .snh__close-button { width: 108px; height: 48px; flex: 0 0 108px; }
.snh__menu-label, .snh__close-label { font-size: 12px; font-weight: 500; letter-spacing: .025em; }
.snh .snh__menu-button:hover, .snh-dialog .snh__close-button:hover { border-color: #ffac6c99; box-shadow: 0 0 18px #fb791721; }
.snh__strokes { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; width: 22px; }
.snh__strokes span { display: block; width: 22px; height: 1.5px; border-radius: 2px; background: #ffb477; }
.snh__strokes span:last-child { width: 15px; }
.snh :is(a, button):focus-visible, .snh-dialog :is(a, button):focus-visible { outline: 2px solid #ffb575; outline-offset: 4px; }
.snh :is(a, button):focus:not(:focus-visible), .snh-dialog :is(a, button):focus:not(:focus-visible) { outline: none; }

/* Native dialog supplies focus containment and makes the page inert. */
.snh-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  color-scheme: dark;
}
.snh-dialog:not([open]) { display: none; }
.snh-dialog::backdrop { background: #090909b8; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.snh__sheet {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(560px, 100%);
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: radial-gradient(ellipse at 100% 10%, #a04a2017, transparent 58%), #151515;
  border-left: 1px solid #ffb07020;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  box-shadow: -20px 0 70px #0004;
}
.snh-dialog[open] .snh__sheet { animation: snh-menu-in 280ms cubic-bezier(.2, .8, .2, 1) both; }
.snh__toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  align-items: center;
  gap: 16px;
  position: relative;
  min-height: var(--snh-height);
  padding: max(8px, env(safe-area-inset-top)) 28px 8px;
  margin-bottom: 14px;
}
.snh__cross { position: relative; width: 16px; height: 16px; }
.snh__cross::before, .snh__cross::after { content: ''; position: absolute; top: 7px; left: 0; width: 16px; height: 1.5px; border-radius: 2px; background: #ffb477; transform: rotate(45deg); }
.snh__cross::after { transform: rotate(-45deg); }
.snh__mobile { padding: 8px 28px 24px; }
.snh-dialog .snh__list > .snh__item:not(.snh__item--contact) { border-bottom: 1px solid var(--snh-rim); }
.snh-dialog .snh__list > .snh__item > .snh__row { min-height: 76px; }
.snh-dialog .snh__link { display: flex; align-items: center; flex: 1; gap: 18px; min-width: 0; min-height: 52px; padding: 12px 0; font-size: clamp(23px, 5.7vw, 31px); font-weight: 600; letter-spacing: -.045em; }
.snh-dialog .snh__list > .snh__item > .snh__row .snh__link-label { white-space: nowrap; }
.snh-dialog .snh__number { flex: 0 0 21px; color: #e99a60; font-size: 10px; font-weight: 400; letter-spacing: .08em; }
.snh-dialog .snh__disclosure { border-color: #ffffff12; background: #ffffff04; }
.snh-dialog .snh__sublist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; padding: 0 0 18px 39px; }
.snh-dialog .snh__sublist .snh__link { min-height: 44px; padding: 8px 0; color: #c9c1ba; font-size: 13px; font-weight: 400; line-height: 1.5; letter-spacing: 0; }
.snh-dialog .snh__sublist .snh__link:hover { color: #ffb474; }
.snh-dialog .snh__sublist .snh__sublist { display: block; padding: 0 0 8px 12px; }
.snh-dialog .snh__item--contact { margin-top: 28px; }
.snh-dialog .snh__contact { min-height: 60px; justify-content: space-between; padding: 16px 24px; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.snh-dialog .snh__contact .snh__arrow { width: 26px; height: 26px; flex-basis: 26px; }
html.snh-active { scrollbar-gutter: stable; }
html.snh-menu-open { overflow: hidden !important; overscroll-behavior: none; }
.snh.snh--compact .snh__desktop { display: none; }
.snh.snh--compact .snh__menu-button { display: inline-flex; }
.snh.snh--compact .snh__inner { grid-template-columns: minmax(0, 1fr) 108px; }

@media (max-width: 1100px) {
  html.snh-active body { --snh-height: var(--snh-height-tablet, 96px); }
  .snh .snh__desktop { display: none; }
  .snh .snh__menu-button { display: inline-flex; }
  .snh__inner { grid-template-columns: minmax(0, 1fr) 108px; padding-inline: 28px; }
}
@media (max-width: 767px) {
  html.snh-active body { --snh-height: var(--snh-height-phone, 88px); --snh-logo-width: var(--snh-logo-phone, 156px); }
  .snh__inner { padding-inline: 20px; gap: 16px; }
  .snh__toolbar { padding-inline: 20px; }
  .snh__mobile { padding-inline: 24px; }
  .snh-dialog .snh__list > .snh__item > .snh__row { min-height: 70px; }
}
@media (max-width: 359px) {
  .snh__inner, .snh__toolbar { padding-inline: 16px; }
  .snh .snh__brand, .snh-dialog .snh__brand { width: min(var(--snh-logo-width), 142px); }
  .snh__mobile { padding-inline: 20px; }
  .snh-dialog .snh__sublist { gap: 0 12px; padding-left: 0; }
  .snh-dialog .snh__link { gap: 12px; }
}
@media (max-height: 520px) and (max-width: 1100px) {
  .snh__toolbar { min-height: 68px; margin-bottom: 0; }
  .snh-dialog .snh__list > .snh__item > .snh__row { min-height: 56px; }
  .snh-dialog .snh__link { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .snh *, .snh *::before, .snh *::after,
  .snh-dialog *, .snh-dialog *::before, .snh-dialog *::after { animation: none !important; transition: none !important; }
}
@keyframes snh-dropdown { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes snh-menu-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
