.nav__purchase { margin-left: auto; display: flex; align-items: center; gap: 18px; visibility: hidden; opacity: 0; transition: opacity .4s; }
.intro-done .nav__purchase { visibility: visible; opacity: 1; }
.nav__purchase a { color: #f4f4f6; text-decoration: none; font: 550 15px/1.2 "Inter Tight", sans-serif; display: inline-flex; align-items: center; min-height: 40px; }
.nav__purchase .nav__buy { min-height: 36px; padding: 0 18px; background: #f4f4f6; color: #111; border-radius: 999px; }

.model-page #request { scroll-margin-top: 12px; }
@media (max-width: 760px) and (orientation: portrait) {
  .model-page #request { scroll-margin-top: 26px; }
}

.menu__models, .menu__back, .menu__signature { display: none; }
.menu-overlay :focus-visible, .nav__purchase :focus-visible { outline: 2px solid #a894ff; outline-offset: 3px; }

@media (min-width: 761px) {
  .menu-overlay .menu__links {
    flex-wrap: nowrap; align-items: center; gap: 0; margin: clamp(52px, 10vh, 108px) auto 0;
    border: 1.5px solid transparent; border-radius: 999px; padding: 3px;
    background: linear-gradient(#000, #000) padding-box, linear-gradient(95deg, #4facff, #7f63ff 28%, #b95cff 52%, #ff6fce 76%, #ff9f45) border-box;
  }
  .menu-overlay .menu__care {
    position: relative; height: 40px; padding: 0 clamp(12px, 1.5vw, 24px); border: 0; border-radius: 999px;
    background: transparent; animation: none; transform: none; box-shadow: none; font-size: 15px; white-space: nowrap; transition: color .16s ease;
  }
  .menu-overlay .menu__care:not(:last-child)::before {
    content: ""; position: absolute; right: 0; top: 12px; bottom: 12px; width: 1px; background: #38393e;
  }
  .menu-overlay .menu__care:hover, .menu-overlay .menu__care:focus-visible { background: transparent; color: #aaa; }
  .menu-overlay .menu__care:hover::after { transform: none; }
  .menu-overlay .menu__learn .purple { color: inherit; -webkit-text-fill-color: currentColor; background: none; animation: none; }
}
@media (min-width: 761px) and (max-height: 650px) {
  .menu-overlay .menu__inner { overflow-y: auto; justify-content: safe center; }
  .menu-overlay .menu__links { margin-top: 32px; }
}
@media (max-width: 760px) {
  .nav__purchase a[href^="tel:"] { display: none; }
  .nav__purchase .nav__buy { min-height: 32px; padding: 0 13px; font-size: 13px; }
  .menu-overlay { background: #0b0c0e; }
  .menu-overlay::before { content: ""; position: absolute; inset: 0 0 auto; height: 64px; background: #121316; border-bottom: 1px solid #26272a; }
  .menu-overlay__logo { top: 20px; }
  .menu-overlay__close { top: 10px; left: auto; right: 13px; width: 44px; height: 44px; z-index: 1; }
  .menu-overlay__label { display: none; }
  .menu-overlay .menu__inner { height: calc(100% - 64px); margin-top: 64px; overflow: auto; justify-content: flex-start; align-items: stretch; padding: 20px 24px max(26px, env(safe-area-inset-bottom)); }
  .menu-overlay .menu__grid, .menu-overlay.models-open .menu__links, .menu-overlay.models-open .menu__signature { display: none; }
  .menu-overlay .menu__links { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 0; margin: 0; order: 0; }
  .menu-overlay .menu__care, .menu-overlay .menu__models {
    display: flex; width: 100%; height: 48px; min-height: 0; margin: 0; padding: 0; justify-content: space-between; align-items: center; border: 0; border-bottom: 1px solid #303135; border-radius: 0; box-shadow: none; background: transparent; color: #eee; transform: none;
    font: 500 18px/1.25 "Inter Tight", sans-serif; text-align: left; animation: none;
  }
  .menu-overlay .menu__models, .menu-overlay .menu__learn { height: 58px; font-size: 21px; }
  .menu-overlay .menu__learn { margin-bottom: 24px; }
  .menu-overlay .menu__buy { display: none; }
  .menu-overlay .menu__models { cursor: pointer; }
  .menu-overlay .menu__models::after { content: "›"; }
  .menu-overlay .menu__care::after, .menu-overlay .menu__models::after { font-size: 18px; color: #ad98ff; }
  .menu-overlay .menu__signature {
    flex: 1 0 auto; min-height: 96px; display: grid; place-items: center;
    font: 400 clamp(42px, 13vw, 74px)/1.1 "Dune Rise", sans-serif; letter-spacing: .06em;
  }
  .menu-overlay.models-open .menu__back { display: block; position: absolute; top: 10px; left: 15px; padding: 0 4px; height: 44px; border: 0; background: transparent; color: #e7e7ec; font: 500 14px "Inter", sans-serif; cursor: pointer; }
  .menu-overlay.models-open { background: #000; }
  .menu-overlay.models-open .menu__inner { padding: 16px clamp(12px, 4vw, 24px) max(16px, env(safe-area-inset-bottom)); }
  .menu-overlay.models-open .menu__grid {
    display: grid; flex: none; margin: auto; max-width: 600px;
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 10svh, 96px) 12px;
  }
  .menu-overlay .menu__grid li:last-child { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; }
  .menu-overlay .menu__photo { animation: models-float 7s ease-in-out infinite; transform-origin: 50% 70%; }
  .menu-overlay li:nth-child(2) .menu__photo { animation-delay: -2.3s; }
  .menu-overlay li:nth-child(3) .menu__photo { animation-delay: -4.6s; }
  .menu-overlay .menu__name { font-size: 18px; }
  .menu-overlay .menu__meta, .menu-overlay .menu__price { font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
  .menu-overlay .menu__meta { margin-top: 6px; background: none; color: var(--text); -webkit-text-fill-color: currentColor; animation: none; }
  .menu-overlay .menu__price { margin-top: 2px; color: #a1a1a6; }
  .menu-overlay .menu__grid:hover .menu__card { opacity: 1; }
}
@media (max-width: 760px) and (orientation: landscape) and (max-height: 500px) {
  .menu-overlay.models-open .menu__inner { padding-block: 6px max(6px, env(safe-area-inset-bottom)); }
  .menu-overlay.models-open .menu__grid { max-width: max(256px, 72svh); row-gap: 10px; }
  .menu-overlay .menu__photo { max-width: clamp(78px, 28svh, 136px); }
}
@media (prefers-reduced-motion: reduce) {
  .menu-overlay .menu__grid li .menu__card, .menu-overlay .menu__photo, .menu__signature .purple, .menu__learn .purple { animation: none; }
}
