/* site-extra.css: small site-wide additions loaded on every page (added by tools/archive.py). */

/* ---- phone header: Let's Talk and the menu button were too close to tap apart ---- */
@media screen and (max-width: 767px) {
  .navbar-right { grid-column-gap: 2.25rem; column-gap: 2.25rem; }
  .navbar-right .button-text { padding: 10px 0; }
  .mobile-menu-toggle { width: 44px; height: 44px; margin-right: -7px; }
  .mobile-menu-toggle-inner { width: 30px; }
}

/* ---- menu links stay on one line ---- */
.navbar-menu-item, .navbar-menu-item-text, .button-text-text, .menu-nav-item-text { white-space: nowrap; }

/* ---- the box (private archive): menu item and lock, shown only after unlocking ---- */
.hn-lock { color: inherit; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.hn-lock svg { display: block; width: 20px; height: 20px; overflow: visible; }
.hn-shackle { transition: transform 0.3s ease; transform-box: fill-box; transform-origin: 100% 100%; }
.hn-lock:hover .hn-shackle, .hn-lock:focus-visible .hn-shackle { transform: rotate(-14deg) translateY(-1px); }
.hn-lock.is-locking .hn-shackle { transform: none; }
.hn-lock.is-locking svg { animation: hn-lock-thud 0.45s ease; color: #3aa655; }
@keyframes hn-lock-thud { 30% { transform: scale(0.85); } 60% { transform: scale(1.1); } 100% { transform: scale(1); } }
.hn-lock-nav { width: 36px; height: 36px; margin-left: -0.5rem; opacity: 0.75; transition: opacity 0.2s ease; }
.hn-lock-nav:hover { opacity: 1; }
.mm-theme-icon.has-lock { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 3rem; }
.mm-theme-icon .hn-lock svg { width: 26px; height: 26px; }
@media (prefers-reduced-motion: reduce) {
  .hn-shackle { transition: none; }
  .hn-lock.is-locking svg { animation: none; }
}
