/* mobile menu: Menu button and drop-down list of pages */
.menu-btn{display:none}
.links .m-only{display:none}
@media(max-width:1220px){
  .menu-btn{display:inline-flex;align-items:center;gap:9px;font-family:var(--head);font-weight:600;font-size:1.05rem;line-height:1.2;color:var(--ink);background:transparent;border:1.5px solid var(--ink);border-radius:3px;padding:10px 14px;cursor:pointer;white-space:nowrap;flex-shrink:0}
  .menu-btn::before{content:"";width:18px;height:12px;border-top:2px solid currentColor;border-bottom:2px solid currentColor;background:linear-gradient(currentColor,currentColor) center/100% 2px no-repeat}
  .menu-btn[aria-expanded="true"]{background:var(--ink);color:var(--white)}
  header .links{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;gap:0;background:var(--white);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);box-shadow:0 18px 30px -18px rgba(0,0,0,.35);max-height:calc(100vh - 90px);overflow-y:auto}
  header .links.open{display:flex}
  header .links a{font-family:var(--head);font-weight:600;font-size:1.3rem;padding:15px 32px;border-top:1px solid var(--rule);white-space:normal;color:var(--ink)}
  header .links a:first-child{border-top:none}
  header .links a:hover{text-decoration:none;background:var(--steel)}
  header .links a[aria-current="page"]{background:var(--steel)}
  header .links .m-only{display:block}
}
@media(max-width:600px){
  header .links a{padding:15px 20px}
  header .nav > .btn{display:none}
}