/* Main nav: Speakers, Sponsors, Organizers, Ambassadors, FAQ and Badge always shown; the rest under a More dropdown. Shared by every page, loaded after each page's own styles. */
.nav-group { position: relative; }
.nav-cat { background: none; border: 0; cursor: pointer; color: inherit; }
.nav-caret { display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  vertical-align: middle; transform: translateY(-5px) rotate(45deg); transition: transform .25s cubic-bezier(.3,.9,.3,1); }
.nav-drop { display: flex; flex-direction: column; }
.nav-sub { display: block; padding: 9px 14px; border-radius: 6px; color: inherit; text-decoration: none; font: 500 17px/1.3 var(--h-serif); letter-spacing: .01em; white-space: nowrap;
  transition: background-color .15s, color .15s; }
.nav-sub:hover, .nav-sub:focus-visible { background: rgb(63 41 144 / .08); color: var(--h-copper); outline: none; }
.nav-sub[aria-current] { color: var(--h-copper); }

@media (min-width: 861px) {
  .nav-links { gap: clamp(10px, 1.4vw, 22px); }
  .nav-drop { position: absolute; z-index: 60; top: 100%; right: 0; min-width: 190px; padding: 8px;
    background: #faf1e1; color: #2a1a5e; border: 1px solid rgb(63 41 144 / .14); border-radius: 10px; box-shadow: 0 18px 34px rgb(31 18 72 / .18);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .18s, transform .22s cubic-bezier(.3,.9,.3,1), visibility 0s .22s; }
  .nav-group:hover .nav-drop, .nav-group.open .nav-drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-group:hover .nav-caret, .nav-group.open .nav-caret { transform: translateY(-1px) rotate(225deg); }
  /* Just after a pick, stay shut even though the pointer is still over it */
  .nav-group.shut .nav-drop { opacity: 0; visibility: hidden; transform: translateY(8px); }
  .nav-group.shut .nav-caret { transform: translateY(-5px) rotate(45deg); }
  /* The current page's category keeps its flower */
  .nav-group:has([aria-current]) > .nav-cat::after { transform: none; }
}

@media (max-width: 860px) {
  .nav-group { display: block; }
  .nav-links .nav-cat { display: flex; width: 100%; align-items: center; justify-content: space-between; text-align: left; }
  .nav-drop { display: none; padding: 2px 0 10px 12px; border-bottom: 1px solid rgb(63 41 144 / .12); }
  .nav-group.open .nav-drop { display: flex; }
  .nav-group.open .nav-cat { border-bottom-color: transparent; }
  .nav-group.open .nav-caret { transform: translateY(-1px) rotate(225deg); }
  .nav-sub { padding: 10px 4px; font-size: 20px; }
  .nav-group:has([aria-current]) > .nav-cat { color: var(--h-copper); }
}

/* Become a Sponsor: an outlined pill at the right end of the bar (desktop only; the hero carries the same link) */
.nav-cta { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border: 1.5px solid currentColor; border-radius: 999px;
  color: inherit; text-decoration: none; white-space: nowrap; font: 500 15px/1 "Poppins", sans-serif; transition: background-color .25s, transform .25s; }
.nav-cta svg { width: 15px; height: 15px; flex: none; transition: transform .25s; }
.nav-cta:hover { background: rgb(63 41 144 / .1); }
.nav-cta:hover svg { transform: translate(2px, -2px); }
.nav-cta:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 1180px) { .nav-cta { display: none; } }
/* Links set small and even, as in the landing design */
@media (min-width: 861px) {
  .topbar .nav-a { font: 500 16px/1.3 "Poppins", sans-serif; letter-spacing: 0; }
  .topbar .nav-links { gap: clamp(14px, 1.9vw, 34px); }
}

/* Images can't be dragged out of the page or long-pressed to save */
img, svg { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; }
img { user-select: none; -webkit-user-select: none; }

/* Semantic text for the illustrated event wordmark. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
