/* Genesis PQ executive surface — additive shared accessibility and visual polish.
   Source of truth remains each canonical page's own layout and runtime owner.
   No third-party assets, scripts, network calls or authority changes. */
:root{--genesis-graphite:#080c0b;--genesis-emerald:#163527;--genesis-brushed-gold:#c1a06c;--genesis-ivory:#f4f1e9}
html{scroll-padding-top:5.5rem}
body{accent-color:var(--genesis-brushed-gold)}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #e9cb91!important;outline-offset:3px!important}
:where(button,a,input,select,textarea){-webkit-tap-highlight-color:rgba(193,160,108,.2)}
:where(button,input,select,textarea):disabled{cursor:not-allowed;opacity:.65}
:where(a,button){touch-action:manipulation}
:where(img,svg,video){max-width:100%}
:where(p,li){overflow-wrap:break-word}
::selection{background:#c1a06c;color:#080c0b}
@media(max-width:600px){:where(button,input,select,textarea){font-size:max(16px,1em)}}
@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media(forced-colors:active){:where(a,button,input,select,textarea):focus-visible{outline:3px solid Highlight!important}}

.skip-link{position:absolute;left:-9999px;top:0;z-index:10000;background:#080c0b;color:#f4f1e9;padding:.75rem 1rem;border:2px solid #c1a06c;border-radius:4px;font:600 14px/1.4 system-ui,sans-serif;text-decoration:none}
.skip-link:focus{left:.75rem;top:.75rem}
main:focus{outline:none}
/* target size (WCAG 2.5.8) for navigation links and native checkboxes */
:where(nav,.links) a{display:inline-flex;align-items:center;min-height:24px;min-width:24px}
:where(input[type=checkbox],input[type=radio]){min-width:24px;min-height:24px}
/* tablet: let the homepage navigation wrap instead of clipping beyond the viewport */
@media(min-width:641px) and (max-width:1000px){.wrap>header .nav{flex-wrap:wrap;justify-content:flex-end;row-gap:6px;max-width:100%}}
/* Genesis Rain presence on every executive page (presentation only; reuses genesis-rain.js) */
#genesisRain{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.rain-veil{position:fixed;inset:0;z-index:1;pointer-events:none;background:radial-gradient(900px 480px at 50% 30%,rgba(6,11,8,.86),rgba(6,11,8,.5) 60%,rgba(6,11,8,.3))}
body[data-rain]>main,body[data-rain]>header,body[data-rain]>footer,body[data-rain]>.shell,body[data-rain]>.wrap{position:relative;z-index:2}
