/* Shared sticky masthead: only the navigation travels with the page. */
:root{--invaders-header-height:100px}
html{scroll-padding-top:calc(var(--invaders-header-height) + 20px)}
.page>.site-header{position:sticky;top:0;z-index:60;background:#0b0b0c;box-shadow:0 8px 24px #00000045}
.page>.site-header .header{z-index:2}
.page>.sponsor-belt{position:relative;top:auto;z-index:1}
.football-page .fb-subnav{gap:clamp(18px,2.6vw,40px);padding:18px 5%;align-items:center}
.football-page .fb-subnav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 6px;font-size:14px;line-height:1.3;letter-spacing:.7px;color:#c8c9d0}
.football-page .fb-subnav a:hover,.football-page .fb-subnav a:focus-visible{color:#fff;text-shadow:0 0 12px #ffffff65}
.football-page .fb-subnav a:focus-visible{outline:1px solid #ffffff65;outline-offset:3px}
@media(max-width:760px){.football-page .fb-subnav{padding:12px 20px;gap:24px}.football-page .fb-subnav a{font-size:13px;min-height:44px;flex:none}}

/* Quick navigation sticks after reaching the shared masthead. */
:root{--invaders-quicknav-height:0px}
html{scroll-padding-top:calc(var(--invaders-header-height) + var(--invaders-quicknav-height) + 20px)}
.football-main{overflow:visible}
.fb-subnav,[data-quick-nav]{position:sticky;top:var(--invaders-header-height);z-index:45;background:#101012}
.quick-nav-sentinel{display:block;height:1px;margin-bottom:-1px;pointer-events:none}
.football-page .fb-subnav.is-stuck,[data-quick-nav].is-stuck{padding-block:5px;border-bottom:1px solid #ffffff28;box-shadow:0 6px 18px #00000035}
.football-page .fb-subnav.is-stuck a,[data-quick-nav].is-stuck a{font-size:12px;min-height:36px;padding-block:7px}
@media(max-width:760px){.football-page .fb-subnav.is-stuck{padding-block:4px}.football-page .fb-subnav.is-stuck a{font-size:12px;min-height:40px}}

/* One navigation link with a compact two-line sponsor label. */
.header nav a .nav-sponsor-label{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;line-height:1.1;text-align:center;vertical-align:middle}
.header nav a .nav-sponsor-label>span{display:block;white-space:nowrap;font:inherit;letter-spacing:inherit;color:inherit}

/* Compact Instagram chooser shared by every public masthead. */
.site-header .header nav button.header-instagram-trigger{display:grid;place-items:center;flex:none;width:28px;height:36px;min-height:0;margin:0;padding:0;border:0;border-radius:3px;background:none;color:#b8b8c0;appearance:none;transition:color .2s,filter .2s}
.site-header .header nav button.header-instagram-trigger:hover,.site-header .header nav button.header-instagram-trigger[aria-expanded=true]{color:#fff;filter:drop-shadow(0 0 5px #ffffff50)}
.header-instagram-trigger:focus-visible{outline:2px solid #e4e6eb;outline-offset:4px}
.header-instagram-picker{position:fixed;z-index:1000;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;padding:9px;border:1px solid #3a3c42;border-radius:7px;background:#15171b;color:#e9eaed;box-shadow:0 18px 50px #0009;color-scheme:dark}
.header-instagram-picker[hidden]{display:none!important}
.header-instagram-title{margin:0;padding:12px 11px 17px;color:#a8adb7;font:600 10px/1.5 Barlow,Arial,sans-serif;letter-spacing:1.3px}
.header-instagram-channel{display:flex;align-items:center;gap:14px;min-height:83px;padding:15px 12px;border-top:1px solid #ffffff12;border-radius:3px;color:#e9eaed;text-decoration:none;transition:background .2s,color .2s}
.header-instagram-emblem{display:grid;place-items:center;flex:none;width:43px;height:48px}
.header-instagram-emblem img{display:block;width:42px;height:46px;object-fit:contain;filter:none}
.header-instagram-copy{flex:1;min-width:0}
.header-instagram-copy strong{display:block;font:700 20px/1.1 'Barlow Condensed','Arial Narrow',Arial,sans-serif;letter-spacing:.7px}
.header-instagram-copy>span{display:block;margin-top:6px;color:#a2a8b4;font:400 12px/1.4 Barlow,Arial,sans-serif;overflow-wrap:anywhere}
.header-instagram-arrow{flex:none;color:#a2a8b4;font:22px/1 Arial,sans-serif}
.header-instagram-channel:hover,.header-instagram-channel:focus-visible{background:#ffffff08;color:#fff}
.header-instagram-channel.is-cheer:hover,.header-instagram-channel.is-cheer:focus-visible{background:#df7da70b;color:#f1bad2}
.header-instagram-channel:focus-visible{outline:2px solid #d6d9e0;outline-offset:-2px}
.header-instagram-channel:hover .header-instagram-arrow{color:inherit}
@media(min-width:1181px) and (max-width:1550px){.site-header .header nav button.header-instagram-trigger{width:22px}}
@media(max-width:1180px){.site-header .header nav button.header-instagram-trigger{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.site-header .header nav button.header-instagram-trigger,.header-instagram-channel{transition:none}}

/* Shared heading scale and inset for public page banners. */
#main{
 --invaders-hero-title-size:clamp(64px,7.8vw,120px);
 --invaders-hero-title-tracking:-1.5px;
 --invaders-hero-inset:76px;
}
#main h1.invaders-hero-title{
 font-family:'Barlow Condensed','Arial Narrow',Arial,sans-serif;
 font-size:var(--invaders-hero-title-size);
 font-weight:800;
 letter-spacing:var(--invaders-hero-title-tracking);
 line-height:.94;
}
@media(min-width:1101px){
 #main .nation-banner{padding-block-start:var(--invaders-hero-inset)}
 #main .nation-banner .banner-content{margin-inline-start:max(0px,calc((100% - 1400px) / 2))}
 #main .cheer-hero{padding-block:var(--invaders-hero-inset)}
 #main .board-hero-layout{padding-block:var(--invaders-hero-inset)}
 #main .partners-hero-content{
  max-width:none;padding-block-start:var(--invaders-hero-inset);
  padding-inline-start:max(5%,calc((100% - 1400px) / 2))
 }
}
@media(max-width:760px){
 #main{
  --invaders-hero-title-size:clamp(40px,10vw,76px);
  --invaders-hero-title-tracking:-.75px;
 }
 #main :is(.nation-banner,.fb-hero,.ng-hero,.cheer-hero,.partners-hero-content){padding-inline:20px}
 #main .board-hero-layout{width:calc(100% - 36px);margin-inline-start:16px}
 .history-page #main.fb-wrap{width:calc(100% - 40px)}
}

/* Quick navigation is desktop-only; keep mobile content free of sticky section menus. */
@media(max-width:760px){
 .fb-subnav,[data-quick-nav],.ng-subnav,.cheer-quick-nav,.quick-nav-sentinel{display:none!important}
 html{scroll-padding-top:calc(var(--invaders-header-height) + 20px)}
}

/* Fundoo donor action keeps a compact footprint alongside Login and the mobile menu. */
html body .site-header .header .header-donor{
 display:flex;flex-direction:row;align-items:center;justify-content:center;gap:10px;
 flex:none;min-width:0;min-height:50px;padding:7px 18px;clip-path:polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px);
 background:#eee;color:#111;border:0;cursor:pointer;font:700 16px/1.1 var(--athletic);letter-spacing:.4px
}
html body .site-header .header .header-donor-label{margin:0;padding:0;font:inherit;letter-spacing:inherit;white-space:nowrap}
html body .site-header .header .header-donor-logo{display:block;width:70px;height:34px;object-fit:contain;margin:0}
html body .site-header .header .header-donor-divider{display:block;flex:none;width:1px;height:25px;background:#1114;margin:0;padding:0}
html body .site-header .header .header-donor:hover{background:#fff}
html body .site-header .header .header-donor:focus-visible{outline:2px solid #fff;outline-offset:4px}
html body dialog.header-donor-dialog{box-sizing:border-box;width:calc(100% - 32px);max-width:480px;max-height:calc(100dvh - 32px);padding:0;background:#101010;color:#eee;border:1px solid #454545}
html body .header-donor-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;background:#1b1b1b;border-bottom:1px solid #454545}
html body .header-donor-heading h2{margin:0;font:700 30px/1.1 var(--athletic);letter-spacing:0}
html body .header-donor-close{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border:1px solid #555;background:#242424;color:#eee;font:26px/1 Arial,sans-serif;cursor:pointer}
html body .header-donor-body{padding:28px 24px}
html body .header-donor-body p{margin:0;font-size:15px;line-height:1.6;color:#bbb}
@media(max-width:760px){
 html body .site-header .header .header-donor{min-width:0;width:128px;min-height:44px;padding:5px 10px;font-size:10px;gap:7px;clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px)}
 html body .site-header .header .header-donor-logo{width:32px;height:20px}
 html body .site-header .header .header-donor-divider{height:20px}
 html body .site-header .header .header-donor~.header-login{min-width:44px;width:44px;max-width:44px;padding:8px;justify-content:center}
 html body .site-header .header .header-donor~.header-login>span{display:none}
 html body .header-donor-heading{padding:20px}
 html body .header-donor-heading h2{font-size:26px}
 html body .header-donor-body{padding:24px 20px}
}

/* Header brand uses the Football wordmark alone; keep the club crest in page banners. */
html body .site-header .header .brand>img{display:none}
html body .site-header .header .brand{gap:0;align-items:center}
@media(min-width:761px){
 html body .site-header .header{padding-inline-start:clamp(20px,2vw,40px)}
}

.page > .site-header { transition: translate .18s ease; }
.page > .site-header.is-scroll-hidden { translate: 0 calc(-100% - 2px); box-shadow:none; }
@media (prefers-reduced-motion: reduce) {
  .page > .site-header { transition: none; }
}

@media(max-width:760px){
 body > .quick-nav-top:not([hidden]){
  position:fixed;left:max(12px,env(safe-area-inset-left));bottom:max(12px,env(safe-area-inset-bottom));z-index:59;
  display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 12px;
  font:700 14px/1 'Barlow Condensed','Arial Narrow',sans-serif;letter-spacing:.045em;
  color:#efefea;background:#101012ed;border:1px solid #ffffff26;cursor:pointer
 }
 .quick-nav-top::after{content:'↗';font:16px/1 Arial,sans-serif}
 .quick-nav-top:focus-visible{outline:2px solid currentColor;outline-offset:2px}
}
