/* The site's shared header and footer, scoped for the self-contained membership pages
   (they don't load styles.css/pages.css, whose global rules would restyle the page). */
.site-header,.site-footer{font-family:'DM Sans','Helvetica',sans-serif;font-size:16px;line-height:1.6;--display:Anton,Impact,sans-serif}
.site-header a,.site-footer a{color:inherit;text-decoration:none}
.site-header img,.site-footer img{display:block;max-width:100%;height:auto}
.site-header button{font:inherit}
.site-header .sr-only,.site-footer .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-header.wrap,.site-footer.wrap{max-width:none;padding:0;width:min(1240px,calc(100% - 100px));margin-inline:auto}

.site-header{min-height:118px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #0e0c0929;gap:30px}
.site-header .brand{width:230px;flex-shrink:0}
.site-header nav{display:flex;align-items:center;gap:18px;font-size:12px;font-weight:650}
.site-header nav>a:not(.button){padding-block:10px;position:relative}
.site-header nav>a:not(.button):after{content:'';position:absolute;left:0;right:0;bottom:4px;height:2px;background:var(--orange);transform:scaleX(0);transform-origin:left;transition:transform .2s}
.site-header nav>a:hover:after,.site-header nav>a[aria-current=page]:after{transform:scaleX(1)}
.site-header .button{display:inline-flex;align-items:center;justify-content:space-between;background:var(--ink);color:var(--cream);font-weight:700;border:1.5px solid var(--ink);font-size:13px;padding:12px 18px;gap:22px;box-shadow:none;transition:transform .2s,box-shadow .2s}
.site-header .button:hover{transform:translate(-2px,-2px);box-shadow:4px 4px 0 var(--orange)}
.site-header .button span[aria-hidden]{font-size:23px;line-height:1}
.menu-toggle{display:none}

.site-footer{padding-top:36px;border-top:1px solid #0e0c0929}
.footer-top{display:flex;align-items:center;justify-content:space-between;gap:30px}
.footer-brand{width:190px}
.footer-links{display:flex;gap:29px;font-size:12px;font-weight:600}
.footer-links a:hover{color:var(--blue)}
.footer-links span[aria-hidden]{margin-left:8px}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;color:#605a4d;font-size:10px;padding-block:29px 25px}
.footer-bottom>a{color:var(--ink)}
.color-rule{display:grid;grid-template-columns:1.1fr .7fr 1.2fr .8fr 1fr;gap:8px;height:7px}
.color-rule span:nth-child(1){background:var(--orange)}
.color-rule span:nth-child(2){background:var(--purple)}
.color-rule span:nth-child(3){background:var(--blue)}
.color-rule span:nth-child(4){background:var(--green)}
.color-rule span:nth-child(5){background:var(--yellow)}

@media(min-width:901px) and (max-width:1100px){
  .site-header .brand{width:160px}
  .site-header nav{gap:12px;font-size:11px}
  .site-header .button-small{font-size:11px;padding-inline:12px;gap:12px}
}
@media(max-width:1100px){.site-header.wrap,.site-footer.wrap{width:calc(100% - 64px)}}
@media(max-width:900px){
  .site-header{min-height:96px;position:relative}
  .menu-toggle{display:flex;align-items:center;gap:12px;border:1px solid var(--ink);background:transparent;color:var(--ink);font-size:13px;font-weight:600;padding:9px 15px;cursor:pointer}
  .menu-toggle span{font-size:21px;line-height:1;transition:transform .2s}
  .menu-toggle[aria-expanded=true] span{transform:rotate(45deg)}
  .site-header nav{display:none;position:absolute;z-index:5;top:calc(100% + 1px);left:0;right:0;background:var(--cream);border:1px solid var(--ink);box-shadow:4px 4px 0 var(--orange);padding:24px;align-items:stretch;font-size:14px}
  .site-header nav.is-open{display:flex;flex-direction:column;gap:14px}
  .footer-links{gap:18px}
}
@media(max-width:650px){
  .site-header.wrap,.site-footer.wrap{width:calc(100% - 40px)}
  .site-header{min-height:85px;gap:15px}
  .site-header .brand{width:clamp(160px,48vw,190px)}
  .site-footer{padding-top:27px}
  .footer-top{display:block}
  .footer-brand{display:block;width:215px}
  .footer-links{margin-top:22px;flex-wrap:wrap;gap:12px 23px}
  .footer-bottom{flex-wrap:wrap;font-size:9px;gap:10px 15px;padding-block:24px}
  .footer-bottom>span:nth-child(2){order:3;flex-basis:100%}
  .footer-bottom>a{margin-left:auto}
  .color-rule{height:6px;gap:5px}
}
