/* ============================================================
   GENERATED by admin-server/scripts/sync-site-chrome.js from the
   header/footer rules in /home.css. Do not edit by hand: change
   home.css (or the guards in the script) and re-run the script.

   Loaded by every page except the homepage, after
   /enhancements.css, for the shared top bar, header, mega menu,
   mobile menu and footer copied from /index.html.
   ============================================================ */

@keyframes nh-rise { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
@keyframes nh-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nh-marquee { to { transform: translate3d(-50%, 0, 0); } }

:root {
  --nh-ink: #0a0a0b;
  --nh-ink-2: #0e0e11;
  --nh-ink-3: #18181b;
  --nh-paper: #ffffff;
  --nh-paper-2: #f5f5f6;
  --nh-paper-3: #fafafa;
  --nh-line: rgba(17, 17, 17, 0.1);
  --nh-line-2: rgba(17, 17, 17, 0.2);
  --nh-text: #101012;
  --nh-text-2: #3a3b42;
  --nh-text-3: #6c6d74;
  --nh-silver: #a1a1aa;
  --nh-r: 1.25rem;
  --nh-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nh-ease-2: cubic-bezier(0.22, 1, 0.36, 1);
}
.nh-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nh-i {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nh-off,
.nh-off *,
.nh-off *::before,
.nh-off *::after { animation-play-state: paused !important; }
.nh-topbar {
  position: relative;
  overflow: hidden;
  background: var(--nh-ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #d4d4d8;
  font-size: 0.8rem;
}
.nh-topbar-track { display: flex; justify-content: center; }
.nh-topbar-list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0.6rem 0;
  list-style: none;
}
.nh-topbar-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.25rem;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nh-topbar-list li + li { border-left: 1px solid rgba(255, 255, 255, 0.14); }
.nh-topbar-list .nh-i { width: 0.95rem; height: 0.95rem; color: #ffffff; opacity: 0.75; }
.nh-topbar-dup { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .nh-topbar-list { animation: nh-fade 0.8s ease 0.1s backwards; }
}
@media (max-width: 900px) {
  .nh-topbar-track { justify-content: flex-start; width: max-content; }
  .nh-topbar-dup { display: flex; }
  .nh-topbar-list li + li,
  .nh-topbar-dup li:first-child { border-left: 1px solid rgba(255, 255, 255, 0.14); }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .nh-topbar-track { animation: nh-marquee 26s linear infinite; }
}
.nh-header .h-16 { gap: 1rem; }
.nh-nav { display: none; flex: 1; justify-content: center; min-width: 0; }
.nh-nav-list { display: flex; align-items: center; gap: 0.05rem; margin: 0; padding: 0; list-style: none; }
.nh-nav-item { position: static; }
.nh-header .nh-nav a { text-transform: none; letter-spacing: 0; }
.nh-header .nh-nav a::after { display: none; }
.nh-nav-trigger,
.nh-header .nh-nav a.nh-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.62rem;
  border: 0;
  border-radius: 0.6rem;
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--nh-text-2);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nh-nav-trigger .nh-i { width: 0.9rem; height: 0.9rem; opacity: 0.6; transition: transform 0.35s var(--nh-ease-2); }
.nh-nav-trigger:hover,
.nh-header .nh-nav a.nh-nav-link:hover,
.nh-nav-item.is-open > .nh-nav-trigger { color: var(--nh-text); background: rgba(17, 17, 17, 0.06); }
.nh-nav-item.is-open > .nh-nav-trigger .nh-i { transform: rotate(180deg); opacity: 1; }
.nh-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0 1rem 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, -8px, 0);
  transition: opacity 0.2s ease, transform 0.3s var(--nh-ease), visibility 0s linear 0.3s;
}
.nh-nav-item.is-open > .nh-mega,
html:not(.nh-js) .nh-nav-item:hover > .nh-mega,
html:not(.nh-js) .nh-nav-item:focus-within > .nh-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity 0.22s ease, transform 0.4s var(--nh-ease), visibility 0s;
}
.nh-mega-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: 1.5rem;
  max-width: 76rem;
  margin: 0.5rem auto 0;
  padding: 1.4rem;
  border: 1px solid var(--nh-line);
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.16);
}
.nh-mega-title {
  margin: 0.3rem 0 0.7rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nh-text-3);
}
.nh-mega-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.1rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nh-mega-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nh-header .nh-mega-list a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--nh-text-3);
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.3s var(--nh-ease-2);
}
.nh-mega-list strong { font-size: 0.92rem; font-weight: 650; color: var(--nh-text); }
.nh-header .nh-mega-list a:hover { background: #f3f3f4; transform: translateX(3px); }
.nh-header .nh-mega-list--3 a { flex-direction: row; align-items: center; gap: 0.65rem; }
.nh-mega-list--3 .nh-i { width: 1.15rem; height: 1.15rem; color: var(--nh-text-2); }
.nh-mega-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border-radius: 1rem;
  overflow: hidden;
  background: radial-gradient(18rem 12rem at 100% 0%, rgba(255, 255, 255, 0.14), transparent 65%), linear-gradient(160deg, #0d0d0f, #1c1c20);
  color: #c4c4cc;
}
.nh-mega-feature-ico {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.nh-mega-feature .nh-mega-feature-title {
  margin: 0 0 0.4rem;
  font-family: var(--nx-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.nh-mega-feature p { margin: 0; font-size: 0.86rem; line-height: 1.55; }
.nh-header .nh-mega-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: 0.86rem;
  font-weight: 650;
  color: #ffffff;
  text-decoration: none;
}
.nh-mega-feature-cta .nh-i { width: 1rem; height: 1rem; transition: transform 0.35s var(--nh-ease-2); }
.nh-mega-feature-cta:hover .nh-i { transform: translateX(4px); }
.nh-mega-feature p.nh-mega-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0; }
.nh-mega-chain span {
  position: relative;
  margin-right: 1.15rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #e4e4e7;
}
.nh-mega-chain span:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -1.05rem;
  top: 50%;
  transform: translateY(-50%);
  color: #71717a;
  font-weight: 400;
}
@media (prefers-reduced-motion: no-preference) {
  .nh-nav-item.is-open .nh-mega-list li,
  .nh-nav-item.is-open .nh-mega-feature {
    animation: nh-rise 0.45s var(--nh-ease) backwards;
    animation-delay: calc(var(--i, 0) * 22ms + 40ms);
  }
  .nh-nav-item.is-open .nh-mega-feature { animation-delay: 0.1s; }
}
.nh-header a.nh-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  white-space: nowrap;
  text-decoration: none;
}
.nh-header a.nh-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.nh-header a.nh-cta:hover::before { left: 130%; }
.nh-scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(10, 10, 11, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
body.nh-mega-on .nh-scrim { opacity: 1; visibility: visible; transition: opacity 0.25s ease; }
.nh-burger-btn {
  display: inline-grid;
  place-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  color: var(--nh-text);
  cursor: pointer;
}
.nh-burger-btn:hover { background: rgba(17, 17, 17, 0.06); }
.nh-burger-btn span {
  display: block;
  width: 20px;
  height: 1.75px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--nh-ease), opacity 0.2s ease;
}
.nh-burger-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.75px) rotate(45deg); }
.nh-burger-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nh-burger-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.75px) rotate(-45deg); }
.nh-mobile {
  max-height: calc(100vh - 4rem);
  max-height: calc(100dvh - 4rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--nh-line);
}
.nh-mobile-inner { display: flex; flex-direction: column; padding: 0.75rem 1rem 1.5rem; }
.nh-m-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0.35rem;
  border-bottom: 1px solid var(--nh-line);
  font-size: 1rem;
  font-weight: 650;
  color: var(--nh-text);
  list-style: none;
  cursor: pointer;
}
.nh-m-group summary::-webkit-details-marker { display: none; }
.nh-m-group summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.35rem;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s var(--nh-ease-2);
}
.nh-m-group[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.nh-m-group ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.1rem 0.5rem;
  margin: 0;
  padding: 0.5rem 0 0.75rem;
  list-style: none;
}
.nh-m-group ul a {
  display: block;
  padding: 0.55rem 0.35rem;
  border-radius: 0.5rem;
  font-size: 0.92rem;
  color: var(--nh-text-2);
  text-decoration: none;
}
.nh-m-group ul a:hover { background: rgba(17, 17, 17, 0.05); color: var(--nh-text); }
.nh-m-link {
  display: block;
  padding: 0.9rem 0.35rem;
  border-bottom: 1px solid var(--nh-line);
  font-weight: 650;
  color: var(--nh-text);
  text-decoration: none;
}
.nh-m-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.1rem;
  padding: 0.95rem;
  border-radius: 0.8rem;
  background: var(--nh-ink-3);
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}
@media (prefers-reduced-motion: no-preference) {
  #mobile-menu:not(.hidden) .nh-mobile-inner > * { animation: nh-rise 0.45s var(--nh-ease) backwards; }
  #mobile-menu:not(.hidden) .nh-mobile-inner > :nth-child(2) { animation-delay: 0.03s; }
  #mobile-menu:not(.hidden) .nh-mobile-inner > :nth-child(3) { animation-delay: 0.06s; }
  #mobile-menu:not(.hidden) .nh-mobile-inner > :nth-child(4) { animation-delay: 0.09s; }
  #mobile-menu:not(.hidden) .nh-mobile-inner > :nth-child(5) { animation-delay: 0.12s; }
  #mobile-menu:not(.hidden) .nh-mobile-inner > :nth-child(6) { animation-delay: 0.15s; }
  #mobile-menu:not(.hidden) .nh-mobile-inner > :nth-child(7) { animation-delay: 0.18s; }
  #mobile-menu:not(.hidden) .nh-mobile-inner > :nth-child(n + 8) { animation-delay: 0.21s; }
}
@media (max-width: 1279px) {
  .nh-header .nh-actions.md\:flex { display: none; }
  .nh-header .nh-burger.md\:hidden { display: flex; align-items: center; gap: 0.25rem; }
  .nh-header #mobile-menu.md\:hidden:not(.hidden) { display: block; }
}
@media (min-width: 1280px) {
  .nh-nav { display: flex; }
  .nh-header .nh-actions { display: flex; align-items: center; gap: 0.5rem; }
  .nh-header .nh-burger,
  .nh-header #mobile-menu { display: none !important; }
  .nh-header .nx-search-btn span { display: none; }
  .nh-header .nx-search-btn { padding: 0.5rem; }
  .nh-header [data-currency-switcher] { margin-right: 0; padding: 0.35rem 0.4rem; font-size: 0.78rem; }
  .nh-nav-trigger,
  .nh-header .nh-nav a.nh-nav-link { padding: 0.5rem 0.5rem; font-size: 0.85rem; }
}
.nh-foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.nh-foot-brand { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .nh-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .nh-foot-grid { grid-template-columns: minmax(0, 1.7fr) repeat(5, minmax(0, 1fr)); gap: 2rem; }
  .nh-foot-brand { grid-column: auto; padding-right: 1.5rem; }
}
.nh-foot-col h4 { margin: 0 0 1.1rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #ffffff; }
.nh-foot-col ul { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.nh-foot-col a { font-size: 0.9rem; line-height: 1.4; color: var(--nh-silver); text-decoration: none; transition: color 0.2s ease; }
.nh-foot-col a:hover { color: #ffffff; }
.nh-foot-more { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.75rem 1.25rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #2a2a30; }
.nh-foot-more-k { margin-right: 0.25rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #71717a; }
.nh-foot-more ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.nh-foot-more a { font-size: 0.82rem; color: #8a8a93; text-decoration: none; transition: color 0.2s ease; }
.nh-foot-more a:hover { color: #ffffff; }
@media (max-width: 640px) {
  .nh-m-group ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .nh-topbar-dup { display: none !important; }
  .nh-topbar-track { overflow-x: auto; }
  .nh-mega,
  .nh-scrim { transition: none; }
}

/* ============================================================
   Guards (from sync-site-chrome.js, not home.css)

   Warm-themed alcohol/bar URLs (html.nx-warm) swap the --nx-*
   palette and body colour for brown/amber. The chrome keeps the
   homepage's greyscale: default palette (enhancements.css :root)
   restored inside it.
   ============================================================ */

html.nx-warm .nh-topbar,
html.nx-warm .nh-header,
html.nx-warm .nh-footer {
  --nx-bg: #f5f5f6;
  --nx-surface: #ffffff;
  --nx-surface-2: #f0f1f3;
  --nx-surface-3: #fafafa;
  --nx-raise: #ececed;
  --nx-line: rgba(17, 17, 17, 0.12);
  --nx-line-dark: rgba(255, 255, 255, 0.10);
  --nx-text: #101012;
  --nx-text-mid: #3a3b42;
  --nx-text-soft: #6c6d74;
  --nx-copper: #18181b;
  --nx-copper-deep: #000000;
  --nx-copper-soft: #52525b;
  --nx-amber: #f4f4f5;
  --nx-amber-light: #ffffff;
  --nx-amber-pale: #d4d4d8;
  --nx-glow: #a1a1aa;
  --nx-accent-dual: #71717a;
  --nx-ink-on-amber: #111114;
  --nx-display: "Space Grotesk", "Syne", "Inter", system-ui, sans-serif;
}
/* The homepage header inherits the body colour; elsewhere a wrapper
   such as <div class="text-gray-900"> can sit in between. */
.nh-header { color: var(--nx-text-mid); }

/* The warm theme's !important button fills, put back to the homepage's
   enhancements.css values (the doubled class out-ranks
   html.nx-warm footer .bg-blue-600). */
html.nx-warm .nh-footer.nh-footer .bg-blue-600 { background-color: #111114 !important; }
html.nx-warm .nh-footer.nh-footer .bg-blue-800 { background-color: #26262b !important; }
html.nx-warm .nh-footer.nh-footer a.bg-white { background: #f4f4f5 !important; color: #111114 !important; }
