.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Keep hamburger chrome matching original span styling */
.header .hamburger {
  cursor: pointer;
  background: none;
  border: 0;
  appearance: none;
  padding: 0;
  display: none;
}

.header .hamburger .nav-icon,
.header .hamburger .nav-icon span {
  display: block;
}

.header .hamburger .nav-icon span {
  width: 30px;
  height: 3px;
  margin: 5px 0;
  border-radius: 3px;
  background-color: #ff8b28;
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

@media (max-width: 767px) {
  .headstart {
    height: auto !important;
    min-height: 65px;
  }

  .header .hamburger {
    display: block;
    float: right;
    padding-top: 10px;
    z-index: 6;
  }

  .headstart .header {
    flex-wrap: wrap;
    align-items: flex-start;
    min-height: 40px !important;
    height: auto !important;
    padding-bottom: 10px;
  }

  .headstart .header .menulist {
    display: none !important;
    flex: 1 1 100%;
    width: 100%;
    order: 3;
    margin: 0.75rem 0 0 !important;
    padding: 0;
    float: none;
    position: relative;
    z-index: 1001;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .headstart .header .menulist > ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .headstart .header .menulist ul li {
    float: none !important;
    display: block;
    width: 100%;
    padding: 0 !important;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .headstart .header .menulist ul li a {
    display: block;
    padding: 14px 15px;
  }

  .headstart .header .menulist ul li.button a {
    border-radius: 0;
    padding: 15px;
  }

  body.opened .headstart .header .menulist {
    display: block !important;
  }

  body.opened .header .hamburger .nav-icon span:nth-child(1) {
    transform: translateY(8px) rotate(135deg);
  }

  body.opened .header .hamburger .nav-icon span:nth-child(2) {
    transform: translateY(0) rotate(-135deg);
  }

  body.opened .header .hamburger .nav-icon span:nth-child(3) {
    transform: scale(0);
    opacity: 0;
  }

  body.opened .header-stopper {
    background: rgba(0, 0, 0, 0.1);
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 54px;
    left: 0;
    z-index: 999;
  }
}

@media (min-width: 768px) {
  .headstart .header .menulist {
    display: block !important;
  }
}

.empowered-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 0.75rem 1.25rem;
  background: #000;
  color: #fff;
  text-decoration: underline;
}

.empowered-skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Hide legacy loader if markup remains in cache */
#shivam-soni-dev-loader {
  display: none !important;
}

/**
 * Site-wide floating pill header (fixes About / Work / etc.).
 * Old float + fixed-height layout pushed nav + Donate below the pill.
 */
.headstart {
  height: auto !important;
  min-height: 65px;
  border-radius: 2rem !important;
  overflow: visible;
  background: #fff;
}

.headstart .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 65px;
  padding: 0 1.25rem !important;
  background: transparent !important;
  border-radius: 2rem;
}

.headstart .header .logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.headstart .header .logo img {
  float: none !important;
  width: 140px;
  height: auto !important;
  max-height: 48px;
  padding: 0 !important;
  margin: 0 !important;
  object-fit: contain;
}

@media (min-width: 768px) {
  .headstart .header .menulist {
    margin-left: auto !important;
    float: none;
    display: block !important;
  }

  .headstart .header .menulist > ul {
    float: none !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0.15rem;
  }

  .headstart .header .menulist ul li {
    float: none !important;
    display: block;
    padding: 0.35rem 0 0.35rem 1.15rem !important;
  }

  .headstart .header .menulist ul li.button {
    float: none !important;
    top: 0 !important;
    padding-left: 0.85rem !important;
    position: relative;
  }

  .headstart .header .menulist ul li.button a {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.35rem;
    line-height: 1.2;
  }

  .headstart .header .menulist ul li.menu-item-has-children {
    padding-right: 1rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
