/* Menu — was Menu.module.css. The bundler's hashed class names are
   replaced by a plain c-Menu_ prefix so the stylesheet stands alone. */

.c-Menu_nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.4s ease;
  will-change: transform;
}

.c-Menu_navHidden {
  transform: translateY(-200%);
}

.c-Menu_navInner {
  height: auto;
  padding: 0.75rem;
}

.c-Menu_menuShell {
  position: relative;
  width: 100%;
}

.c-Menu_bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.2rem 1.6rem;
  background: var(--base-1000);
  border-radius: 0.4rem;
}

.c-Menu_barOpen {
  border-radius: 0.4rem 0.4rem 0 0;
}

.c-Menu_logo {
  font-family: var(--font-schabo);
  font-size: 1.75rem;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--base-100);
  line-height: 1;
  flex-shrink: 0;
}

.c-Menu_desktopLeft {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.5rem;
}

.c-Menu_pill {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  height: 1.8rem;
  padding: 0 0.875rem 0.075rem 0.95rem;
  background: var(--base-100);
  color: var(--base-1000);
  border-radius: 999px;
  font-family: var(--font-dm-mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.c-Menu_pill:hover {
  opacity: 0.85;
}

.c-Menu_desktopRight {
  display: none;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.c-Menu_rightLink {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-family: var(--font-dm-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--base-100);
  line-height: 1;
  transition: opacity 0.2s ease;
}

.c-Menu_rightLink:hover {
  opacity: 0.7;
}

.c-Menu_linkLabel {
  display: block;
  line-height: 1;
}

.c-Menu_arrow {
  flex-shrink: 0;
  width: 1.25em;
  height: 1.25em;
  translate: 0;
}

.c-Menu_pill .c-Menu_linkLabel,
.c-Menu_rightLink .c-Menu_linkLabel {
  translate: 0 0.075em;
}

.c-Menu_menuToggle {
  position: relative;
  margin-left: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--base-100);
}

.c-Menu_hamburger {
  position: relative;
  width: 20px;
  height: 10px;
}

.c-Menu_hamburgerLine {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 0 4px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease;
}

.c-Menu_hamburgerLine:last-child {
  margin-bottom: 0;
}

.c-Menu_hamburgerOpen .c-Menu_hamburgerLine:first-child {
  transform: rotate(45deg);
  transform-origin: 5px;
}

.c-Menu_hamburgerOpen .c-Menu_hamburgerLine:last-child {
  transform: rotate(-45deg);
  transform-origin: 6px;
}

.c-Menu_overlay {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: -0.4rem;
  padding-top: 0.4rem;
  background: var(--base-1000);
  border-radius: 0 0 0.4rem 0.4rem;
  transform: scaleY(0);
  transform-origin: top center;
  overflow: hidden;
  will-change: transform;
}

.c-Menu_overlayNav {
  list-style: none;

  padding: 1.25rem 0 2rem 0;
}

.c-Menu_overlayNav li {
  margin: -2px 0;
}

.c-Menu_overlayNav a {
  display: block;
  padding: 0.35rem 1.5rem;
  font-family: var(--font-schabo);
  font-size: clamp(2rem, 12vw, 6rem);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--base-100);
  overflow: hidden;
}

.c-Menu_overlaySocial {
  display: flex;
  gap: 1rem;
  padding: 0 1.25rem 1.5rem;
}

/* The source put social links here; those are gone, so the rule has to reach
   the plain lines that replaced them or they inherit the page's dark ink and
   vanish against the overlay. */
.c-Menu_overlaySocial p,
.c-Menu_overlaySocial a {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: var(--base-100);
  font-family: var(--font-dm-mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.c-Menu_overlaySocial a { color: inherit; }

.c-Menu_overlaySocial a:hover,
.c-Menu_overlaySocial a:focus-visible {
  opacity: 0.7;
}

@media (min-width: 1000px) {
  .c-Menu_desktopLeft,
  .c-Menu_desktopRight {
    display: flex;
  }

  .c-Menu_menuToggle,
  .c-Menu_overlay {
    display: none;
  }
}
