/* Pluramour site chrome: header, phone drawer, footer, phone tab bar. ONE stylesheet for every static page type
   (static club pages, /events), served at /assets/static/chrome.css?v=<hash>; markup from static/chrome.mjs,
   behaviour from assets/chrome.js. Linked AFTER the page's own stylesheet.
   The rules are the app's chrome as captured on club pages (moved here unchanged from club-page.css on 2026-11-09),
   except: the hotfix's cream footer applies on every page (it was scoped to app-root:has(app-club)); the tab bar
   holds Cities, Clubs and Events with the active tab in velvet and the others in --pw-ink-2; the header nav tightens
   between 768 and 899 px to fit Events; html scroll-padding clears the fixed header at every width and the tab bar
   (with the home-indicator inset) on phones; the open drawer covers the tab bar; one focus ring for the chrome. */

/* the chrome's own tokens, and a base at zero specificity (:where), so it renders the same on a page whose :root uses other values under the same
   names (the events page's --muted and --cream differ) or other base rules */
.st-appbar,.st-drawer,.st-footer,.mt-tabbar{--ink:#1A1714;--line:#E7DECF;--accent:#DC4A3D;--berry:#7B2230;--muted:#8A8175;--pw-ink-2:#6B6257;--font-serif:"Instrument Serif", Georgia, "Times New Roman", serif;--font-sans:"Hanken Grotesk", system-ui, -apple-system, sans-serif;font-size:16px;line-height:1.5;-webkit-tap-highlight-color:transparent}
:where(.st-appbar,.st-drawer,.st-footer,.mt-tabbar) :where(*,::before,::after){box-sizing:border-box}
:where(.st-appbar,.st-footer,.mt-tabbar) :where(img,svg){display:block;vertical-align:middle}
:where(.st-footer) :where(p){margin:0}
@media (max-width: 767.98px){
.st-footer{padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important;}
}
.st-appbar__nav a,.st-appbar a:not(.st-appbar__brand){position: relative !important; font-size: 15px !important; font-weight: 500 !important; letter-spacing: 0.005em !important; color: rgb(74, 64, 56) !important; padding-bottom: 3px !important; transition: color 0.16s !important;}
.st-appbar__nav a::after,.st-appbar a:not(.st-appbar__brand)::after{content: "" !important; position: absolute !important; left: 0px !important; right: 0px !important; bottom: -3px !important; height: 2px !important; border-radius: 2px !important; background: currentcolor !important; transform: scaleX(0) !important; transform-origin: center center !important; transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1) !important;}
.st-appbar__nav a:hover,.st-appbar a:not(.st-appbar__brand):hover{color: rgb(26, 23, 20) !important;}
.st-appbar__nav a:hover::after,.st-appbar a:not(.st-appbar__brand):hover::after{transform: scaleX(0.55) !important;}
.st-appbar__nav a.is-active,.st-appbar a.is-active:not(.st-appbar__brand){color: rgb(220, 74, 61) !important;}
.st-appbar__nav a.is-active::after,.st-appbar a.is-active:not(.st-appbar__brand)::after{transform: scaleX(1) !important;}
.st-appbar__nav a:focus-visible,.st-appbar a:not(.st-appbar__brand):focus-visible{outline: rgba(220, 74, 61, 0.55) solid 2px !important; outline-offset: 4px !important; border-radius: 3px !important;}
.st-footer{background: rgb(244, 239, 231) !important; color: var(--ink, #1A1714) !important; border-top: 1px solid var(--line, #E7DECF) !important;}
.st-footer a,.st-footer .st-footer__heading,.st-footer .st-footer__brand{color: var(--ink, #1A1714) !important;}
.st-footer .st-footer__blurb,.st-footer .st-footer__disclaimer,.st-footer .st-footer__legal,.st-footer .st-footer__legal span{color: var(--pw-ink-2, #6B6257) !important;}
.st-footer .st-footer__legal,.st-footer .st-footer__legal-inner{background: transparent !important; border-color: var(--line, #E7DECF) !important;}
@media (max-width: 767.98px){
.st-footer .st-footer__grid{display: grid !important; grid-template-columns: repeat(2, minmax(0px, 1fr)) !important; gap: 24px 20px !important; padding: 32px 20px 24px !important;}
.st-footer .st-footer__brand-col{grid-column: 1 / -1 !important; padding: 0px !important;}
.st-footer .st-footer__col{padding: 0px !important; margin: 0px !important;}
}
.st-footer .st-footer__mark{display: none !important;}
.st-footer .st-footer__brand{display: inline-flex !important; align-items: center !important; gap: 8px !important;}
.st-footer .st-footer__brand::before{content: "" !important; width: 30px !important; height: 25px !important; background: url("/assets/logo/polyworld-mark-entwined.svg") center center / contain no-repeat !important;}
.st-footer .st-footer__name{color: var(--ink, #1A1714) !important;}
.st-drawer__panel{box-shadow: none !important;}
@media (min-width: 768px) and (max-width: 1099.98px){
.st-appbar__nav{gap: 18px !important;}
.st-appbar__nav a{white-space: nowrap !important; font-size: 14px !important;}
}
[data-pw-contact]{cursor: pointer;}
[data-pw-contact]:focus-visible{outline: 2px solid var(--accent, #DC4A3D); outline-offset: 2px;}
.mt-tabbar{position: fixed; left: 0px; right: 0px; bottom: 0px; z-index: 90; display: none; background: rgba(244, 239, 231, 0.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line, #e7decf); padding-bottom: env(safe-area-inset-bottom,0px); font-family: var(--font-sans, "Hanken Grotesk", system-ui, sans-serif);}
@media (max-width: 767.98px){
.mt-tabbar{display: flex;}
}
/* inactive tabs in --pw-ink-2, 5.2:1 on cream (the app's --muted is 3.4:1, under AA for 10px labels) */
.mt-tabbar .mt-tab{flex: 1 1 0%; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0px 7px; min-height: 52px; text-decoration: none; color: var(--pw-ink-2, #6B6257); -webkit-tap-highlight-color: transparent; transition: color 0.15s;}
.mt-tabbar .mt-tab svg{width: 22px; height: 22px;}
.mt-tabbar .mt-tab span{font-size: 10px; font-weight: 500; letter-spacing: 0.01em; line-height: 1;}
.mt-tabbar .mt-tab.is-active{color: #4B1528;}
.mt-tabbar .mt-tab.is-active span{font-weight: 700;}
.st-appbar{position: fixed; top: 0px; left: 0px; right: 0px; z-index: 30; background: rgba(244, 239, 231, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); font-family: var(--font-sans);}
.st-appbar__inner{max-width: 1240px; margin: 0px auto; padding: 0px 40px; height: 64px; display: flex; align-items: center; gap: 30px;}
.st-appbar__brand{display: inline-flex; align-items: center; gap: 11px; text-decoration: none;}
.st-appbar__mark{width: 30px; height: 30px; display: block; flex: 0 0 auto;}
.st-appbar__name{font-family: var(--font-serif); font-size: 28px; letter-spacing: -0.01em; color: var(--ink); line-height: 1;}
.st-appbar__nav{margin-left: auto; display: flex; align-items: center; gap: 30px;}
.st-appbar__nav a{display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); font-size: 16px; font-weight: 500; opacity: 0.95; transition: opacity 0.15s, color 0.15s;}
.st-appbar__nav a:hover,.st-appbar__nav a.is-active{opacity: 1; color: var(--accent);}
.st-appbar__burger{margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; padding: 0px; border: 0px; background: transparent; color: var(--ink); cursor: pointer;}
/* z-index 95 (the app's is 40): the open drawer and its overlay cover the tab bar (90), as a modal menu does. Closed,
   it is invisible and lets clicks through (pointer-events none, panel hidden), so the stacking changes nothing. */
.st-drawer{position: fixed; inset: 0px; z-index: 95; pointer-events: none;}
.st-drawer__overlay{position: absolute; inset: 0px; background: rgba(26, 23, 20, 0.4); opacity: 0; transition: opacity 0.28s;}
.st-drawer__panel{position: absolute; top: 0px; left: 0px; bottom: 0px; width: 78%; max-width: 360px; background: rgb(244, 239, 231); display: flex; flex-direction: column; padding: 84px 26px 26px; box-shadow: rgba(26, 23, 20, 0.18) 2px 0px 24px; transform: translate(-100%); transition: transform 0.28s; overflow-y: auto;}
.st-drawer__panel a{display: flex; align-items: center; min-height: 44px; padding: 14px 0px; border-bottom: 1px solid var(--line); font-family: var(--font-serif); font-size: 26px; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; transition: color 0.15s;}
.st-drawer__panel a:last-child{border-bottom: 0px;}
.st-drawer__panel a:hover,.st-drawer__panel a.is-active{color: var(--berry);}
@media (max-width: 767.98px){
.st-appbar__nav{display: none;}
.st-appbar__inner{gap: 14px; padding: 0px 18px;}
.st-appbar__name{font-size: 26px;}
.st-appbar__mark{width: 26px; height: 26px;}
}
@media (min-width: 768px){
.st-appbar__burger,.st-drawer{display: none !important;}
}
.st-footer{background: rgb(21, 16, 14); color: rgba(246, 236, 226, 0.7); font-family: var(--font-sans);}
.st-footer__grid{max-width: 1240px; margin: 0px auto; padding: 60px 40px 30px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;}
.st-footer__brand{display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; text-decoration: none;}
.st-footer__mark{width: 26px; height: 26px; display: block; flex: 0 0 auto;}
.st-footer__name{font-family: var(--font-serif); font-size: 26px; line-height: 1; color: rgb(246, 236, 226);}
.st-footer__blurb{font-size: 14px; line-height: 1.55; max-width: 280px; margin: 0px; color: rgba(246, 236, 226, 0.7);}
.st-footer__disclaimer{font-size: 11.5px; line-height: 1.5; max-width: 300px; margin: 12px 0px 0px; color: rgba(246, 236, 226, 0.42);}
.st-footer__col{display: flex; flex-direction: column; gap: 11px; font-size: 14px;}
.st-footer__heading{color: rgb(246, 236, 226); font-weight: 600; margin-bottom: 3px;}
.st-footer__col a{color: rgba(246, 236, 226, 0.7); text-decoration: none; transition: color 0.15s;}
.st-footer__col a:hover{color: rgb(246, 236, 226);}
.st-footer__legal{border-top: 1px solid rgba(246, 236, 226, 0.12);}
.st-footer__legal-inner{max-width: 1240px; margin: 0px auto; padding: 20px 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(246, 236, 226, 0.5);}
.st-footer__legal-inner a{color: rgba(246, 236, 226, 0.5); text-decoration: none; transition: color 0.15s;}
.st-footer__legal-inner a:hover{color: rgba(246, 236, 226, 0.8);}
.st-footer__legal-links{display: flex; gap: 18px;}
@media (max-width: 880px){
.st-footer__grid{grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: 48px 20px 24px;}
.st-footer__brand-col{grid-column: 1 / -1;}
.st-footer__legal-inner{padding: 20px;}
}
@media (max-width: 520px){
.st-footer__grid{grid-template-columns: 1fr;}
}
/* drawer open state (from the bundle), and out of the tab order while closed (review P9/A11Y-5) */
.st-drawer.is-open{pointer-events:auto}
.st-drawer.is-open .st-drawer__overlay{opacity:1}
.st-drawer.is-open .st-drawer__panel{transform:translate(0)}
.st-drawer__panel{visibility:hidden;transition:transform .28s,visibility 0s linear .28s}
.st-drawer.is-open .st-drawer__panel{visibility:visible;transition:transform .28s}
html{scroll-padding-top:72px}
/* the tab bar is 53px plus the home-indicator inset, so focus scrolled into view clears it on every phone (review F1) */
@media (max-width:767.98px){html{scroll-padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}}

/* 768 to 899 px: six nav links (Events added) fit beside the wordmark. (The 14px above never applied: the
   hotfix's .st-appbar a:not(.st-appbar__brand) rule outranks it, so the links stay 15px from 900 px up.) */
@media (min-width: 768px) and (max-width: 899.98px){
.st-appbar__inner{padding: 0px 24px; gap: 20px;}
.st-appbar__nav{gap: 14px !important;}
.st-appbar .st-appbar__nav a{font-size: 14px !important;}
}
/* tab bar: keyboard focus drawn inside the tab, so the screen edge never clips it */
.mt-tabbar .mt-tab:focus-visible{outline: 2px solid #1A1714; outline-offset: -4px; border-radius: 12px;}
/* one focus ring for the chrome on every page type: the events page's global :focus-visible no longer decides how
   the wordmark, burger, drawer and footer links look there (review F4). Contact links keep their accent ring. */
.st-appbar__brand:focus-visible,.st-appbar__burger:focus-visible,.st-drawer__panel a:focus-visible,.st-footer a:not([data-pw-contact]):focus-visible{outline: 2px solid #1A1714; outline-offset: 2px;}
