/* ═══════════════════════════════════════════════════════════════════
   Defence Fund — small-screen menu (all pages)
   At tablet width and below the two header links give way to a burger,
   which opens a full-screen menu on the block 1 blues.
   ═══════════════════════════════════════════════════════════════════ */
.menu-btn{display:none;position:relative;z-index:2;align-items:center;justify-content:center;width:45px;height:45px;padding:0;
  border-radius:8px;border:1px solid rgba(255,255,255,.28);background:rgba(10,8,6,.35);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#f5f1ec;cursor:pointer;pointer-events:auto}
/* burger ⇄ cross: opening, the outer lines slide to the centre while the
   middle line fades, then they rotate into the cross (the short bottom line
   grows to full width as it folds). Closing runs the same steps in reverse. */
.mb{position:relative;display:block;width:14px;height:10px}
.mb i{position:absolute;left:0;height:1.8px;border-radius:1px;background:currentColor;width:14px;transform-origin:50% 50%;
  transition:top .22s cubic-bezier(.22,1,.36,1) .2s,width .22s cubic-bezier(.22,1,.36,1) .2s,
             transform .22s cubic-bezier(.22,1,.36,1) 0s,opacity .15s linear .2s}
.mb i:nth-child(1){top:0}
.mb i:nth-child(2){top:4.1px}
.mb i:nth-child(3){top:8.2px;width:7px}
html.menu-open .mb i{transition:top .22s cubic-bezier(.22,1,.36,1) 0s,width .22s cubic-bezier(.22,1,.36,1) 0s,
             transform .25s cubic-bezier(.22,1,.36,1) .2s,opacity .12s linear 0s}
html.menu-open .mb i:nth-child(1){top:4.1px;transform:rotate(45deg)}
html.menu-open .mb i:nth-child(2){opacity:0}
html.menu-open .mb i:nth-child(3){top:4.1px;width:14px;transform:rotate(-45deg)}

.site-menu{position:fixed;inset:0;z-index:99;display:flex;align-items:center;justify-content:center;
  background:
    radial-gradient(60% 45% at 18% 8%,rgba(201,149,138,.35),transparent 70%),
    radial-gradient(90% 70% at 70% 60%,#1d4a63 0%,#0b2433 45%,#020d15 80%,#000 100%);
  opacity:0;visibility:hidden;transition:opacity .45s cubic-bezier(.22,1,.36,1),visibility 0s linear .45s}
html.menu-open .site-menu{opacity:1;visibility:visible;transition:opacity .45s cubic-bezier(.22,1,.36,1)}
.site-menu nav{display:flex;flex-direction:column;align-items:center;gap:3.2vh;text-align:center}
.site-menu a{position:relative;font-family:"Outfit",sans-serif;font-size:clamp(34px,8.5vw,64px);font-weight:300;letter-spacing:-0.02em;
  line-height:1.05;color:rgba(245,241,236,.7);text-decoration:none;
  opacity:0;transform:translateY(14px);transition:opacity .6s cubic-bezier(.22,1,.36,1),transform .6s cubic-bezier(.22,1,.36,1),color .3s}
html.menu-open .site-menu a{opacity:1;transform:none}
html.menu-open .site-menu a:nth-child(2){transition-delay:.06s}
html.menu-open .site-menu a:nth-child(3){transition-delay:.12s}
.site-menu a:hover,.site-menu a:focus-visible,.site-menu a[aria-current="page"]{color:#fff}
.site-menu a[aria-current="page"]::after{content:"";position:absolute;left:0;right:0;bottom:-.12em;height:1px;background:currentColor}
.site-menu a:focus-visible{outline:none}
html.menu-open,html.menu-open body{overflow:hidden}

@media (max-width:1200px){
  .menu-btn{display:flex}
  #hdrLinks{display:none!important}
  #hdrRight{right:4vmin!important}
}
@media (prefers-reduced-motion:reduce){
  .site-menu,.site-menu a,.mb i{transition:none!important}
}
