/* Phone and tablet menu (under 1024px). The bar sits on the red at the top of the page,
   hides as you scroll down and slides back as you scroll up. Pick its colour with
   data-bar on <html>: "dark" (deep red, recommended), "pink" (blush wash) or "cream". */
.nx-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 40; height: 64px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; padding: 0 14px 0 24px; color: #fffef5; transition: transform .35s ease, background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.nx-bar .wm { font-size: 26px; color: currentColor; text-decoration: none; }
.nx-bar .wm .st svg { fill: #e2fb84; }
.nx-bar.is-hidden { transform: translateY(-100%); }
.nx-bar.is-solid { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
[data-bar="dark"] .nx-bar.is-solid { background: rgba(74, 6, 32, .94); color: #fffef5; box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .8); }
[data-bar="pink"] .nx-bar.is-solid { background: rgba(253, 231, 227, .95); color: #2a1219; box-shadow: 0 1px 0 rgba(107, 2, 43, .12); }
[data-bar="pink"] .nx-bar.is-solid .wm .st svg { fill: #f55747; }
[data-bar="cream"] .nx-bar.is-solid { background: rgba(255, 254, 245, .9); color: #2a1219; box-shadow: 0 1px 0 rgba(42, 18, 25, .08); }
[data-bar="cream"] .nx-bar.is-solid .wm .st svg { fill: #f55747; }
.nx-progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: #f55747; opacity: 0; transition: opacity .3s ease; }
.nx-bar.is-solid .nx-progress { opacity: 1; }
.nx-burger { all: unset; box-sizing: border-box; cursor: pointer; position: relative; width: 44px; height: 44px; border-radius: 50%; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.nx-burger i { position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.nx-burger i:nth-child(1) { top: 17px; } .nx-burger i:nth-child(2) { top: 25px; }
.nx-burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nx-burger[aria-expanded="true"] i:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.nx-burger:focus-visible { outline: 3px solid #e2fb84; outline-offset: 2px; }
.nx-menu { position: fixed; inset: 0; z-index: 39; color: #fffef5; background: radial-gradient(120% 80% at 80% 0%, #8a0d3c 0%, #5a0624 50%, #2a0410 100%); display: flex; flex-direction: column; padding: 84px 20px 28px 24px; box-sizing: border-box; overflow-y: auto; }
.nx-menu[hidden] { display: none; }
.nx-menu.is-open { animation: nx-fade .25s ease both; }
.nx-menu nav { display: flex; flex-direction: column; }
.nx-menu nav a { display: grid; grid-template-columns: 22px minmax(0, 1fr) 18px; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255, 254, 245, .14); color: #fffef5; text-decoration: none; font-family: 'Instrument Serif', Georgia, serif; font-size: 40px; line-height: 1.05; }
.nx-menu.is-open nav a { animation: nx-in .5s cubic-bezier(.3, 1.4, .5, 1) both; }
.nx-menu nav a:nth-child(2) { animation-delay: 45ms; } .nx-menu nav a:nth-child(3) { animation-delay: 90ms; } .nx-menu nav a:nth-child(4) { animation-delay: 135ms; } .nx-menu nav a:nth-child(5) { animation-delay: 180ms; }
.nx-menu nav a .cur { width: 16px; height: 16px; fill: #e2fb84; visibility: hidden; }
.nx-menu nav a[aria-current="page"] .cur { visibility: visible; }
.nx-menu nav a .nx-arrow { opacity: .6; }
.nx-menu nav a:focus-visible, .nx-menu .pill:focus-visible { outline: 3px solid #e2fb84; outline-offset: 3px; }
.nx-menu .cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 30px; }
.nx-menu .pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; background: #e2fb84; color: #2a1219; font-weight: 700; font-size: 15px; text-decoration: none; }
.nx-menu .quiet { color: #fffef5; font-weight: 700; font-size: 15px; text-underline-offset: 5px; display: inline-flex; gap: 8px; align-items: center; }
.nx-menu .foot { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 6px; }
.nx-menu .foot a { color: #fffef5; font-size: 17px; text-decoration: none; }
.nx-menu .blk { position: absolute; pointer-events: none; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .35)); }
html.nx-locked, html.nx-locked body { overflow: hidden; }
@keyframes nx-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes nx-fade { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 1024px) { .nx-bar, .nx-menu { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .nx-bar, .nx-burger i { transition: none; } .nx-menu.is-open, .nx-menu.is-open nav a { animation: none; } }
