/* Style B, dark premium (body.theme-dark). Always loaded after style.css; everything is scoped
   to .theme-dark so the demo switcher can flip styles live. Same markup as Style A. */
html:has(body.theme-dark){background:#05080f}
body.theme-dark{--navy:#e9edf5;--navy-2:#16233b;--red:#c8173a;--red-2:#a8102a;--ink:#d4dae5;--muted:#8d98ad;--paper:#05080f;--pale:#0a1120;--line:#1b2740;--card:#0d1526;--accent-soft:#ff8fa3;--radius:4px}
body.theme-dark{background:var(--paper);color:var(--ink);font-size:17px;letter-spacing:.1px;-webkit-font-smoothing:antialiased}
.theme-dark h1,.theme-dark h2,.theme-dark h3,.theme-dark .h3{color:#f4f6fb;font-weight:500;letter-spacing:.4px}
.theme-dark h2{font-size:clamp(34px,4vw,58px);line-height:1.02;letter-spacing:1px}
.theme-dark h2 em,.theme-dark h1 em{color:var(--red)}
.theme-dark .eyebrow{color:var(--accent-soft);letter-spacing:4px;font-size:12px}
.theme-dark .tag{color:var(--accent-soft)}
.theme-dark .eyebrow.light{color:#fff}
.theme-dark .tag.light{color:#ffd9de}
.theme-dark .wrap{padding-top:44px;padding-bottom:44px}
.theme-dark .section-title{margin-bottom:28px}
.theme-dark .rich strong,.theme-dark .facts dt,.theme-dark label,.theme-dark .finder-bar .label{color:#f4f6fb}

/* header */
.theme-dark header{background:#05080fe6;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid #ffffff12}
.theme-dark .brand strong{color:#fff}
.theme-dark .brand img{filter:drop-shadow(0 0 1px #fff8)}
.theme-dark header nav>a:not(.button){color:#c5cede}
.theme-dark header nav>a:not(.button):hover,.theme-dark header nav>a[aria-current=page]{color:#fff}
.theme-dark .lang a[aria-current=true],.theme-dark .menu-toggle{color:#fff}

/* buttons */
.theme-dark .button{border-radius:2px;letter-spacing:1px;text-transform:uppercase;font-size:13px;padding:16px 24px}
.theme-dark .button.small{font-size:12px;padding:11px 18px}
.theme-dark .button.outline{color:#fff;border-color:#ffffff40}
.theme-dark .button.outline:hover{background:#fff;color:#05080f;border-color:#fff}
.theme-dark .text-link{color:var(--accent-soft)}

/* photos: high contrast, slightly desaturated until hover */
.theme-dark main img:not(.partner img){filter:contrast(1.08) saturate(.9) brightness(.95)}
.theme-dark .hero:after{background:linear-gradient(180deg,#05080f40 0%,#05080f00 30%,#05080fee 92%)}
.theme-dark .hero-image{filter:contrast(1.15) saturate(.85) brightness(.85)}
.theme-dark .hero h1{font-weight:600;letter-spacing:1px}
.theme-dark .quick-finder{background:#0d1526e6;border:1px solid #ffffff1f;color:#fff;backdrop-filter:blur(10px)}
.theme-dark .qf-head{color:#fff}
.theme-dark .qf-head output{color:var(--accent-soft)}
.theme-dark .quick-finder input[type=range]{background:transparent}
.theme-dark .quick-finder input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(90deg,var(--red) var(--p),#ffffff26 var(--p))}
.theme-dark .quick-finder input[type=range]::-moz-range-track{background:#ffffff26}
.theme-dark .quick-finder input[type=range]::-webkit-slider-thumb{background:#05080f;border-color:#fff}
.theme-dark .quick-finder input[type=range]::-moz-range-thumb{background:#05080f;border-color:#fff}
.theme-dark .banner{background:#0d1526;border-bottom:1px solid var(--line)}

/* surfaces that are white in the light theme */
.theme-dark .band,.theme-dark .why,.theme-dark .partners,.theme-dark .page-hero{background:var(--pale)}
.theme-dark .event,.theme-dark .finder-card,.theme-dark .finder-bar,.theme-dark .team-grid,.theme-dark .board li,.theme-dark .job,.theme-dark .sticky-card,.theme-dark .person{background:var(--card);border-color:var(--line)}
.theme-dark .band .event,.theme-dark .band .person,.theme-dark .band .board li,.theme-dark .band .job,.theme-dark .band .team-grid{background:#05080f}
.theme-dark .event-date{color:#fff}
.theme-dark .stats{border-color:var(--line)}
.theme-dark .stats strong{color:#fff;font-weight:600}
.theme-dark .program,.theme-dark .program:after{background-color:#05080f}
.theme-dark .program:after{background:linear-gradient(transparent 30%,#05080ff2)}
.theme-dark .slider-controls button{background:transparent;border-color:#ffffff30;color:#fff}
.theme-dark .slider-controls button:hover{background:#fff;color:#05080f}
.theme-dark .chip,.theme-dark .tabs button{background:transparent;border-color:#ffffff26;color:#c5cede}
.theme-dark .chip[aria-pressed=true]{background:#fff;border-color:#fff;color:#05080f}
.theme-dark .tabs button[aria-selected=true]{background:var(--red);border-color:var(--red);color:#fff}
.theme-dark input,.theme-dark select,.theme-dark textarea{background:#05080f;border-color:#ffffff24;color:#fff}
.theme-dark input:focus,.theme-dark textarea:focus,.theme-dark select:focus{outline-color:var(--red)}
.theme-dark .toc a{border-color:#ffffff22;color:#c5cede}
.theme-dark .toc a:hover{border-color:var(--red);color:#fff}
.theme-dark .partner{background:#f4f6fb;border-color:transparent}
.theme-dark .wordmark{color:#05080f}
.theme-dark .cta:after{background:linear-gradient(180deg,#05080fcc,#05080ff0)}
.theme-dark .cta h2 em{color:var(--accent-soft)}

/* people cards */
.theme-dark .person .portrait{background:radial-gradient(120% 90% at 50% 0%,#1b2a48 0%,#0a1120 70%)}
.theme-dark .person .portrait img{filter:contrast(1.06) saturate(.92)}
.theme-dark .person .initials{color:#ffffffcc;font-weight:500}
.theme-dark .person h3{color:#fff}
.theme-dark .person.alum.placeholder h3{color:var(--muted)}
.theme-dark .person.alum.placeholder{border-color:#ffffff22}
.theme-dark .facts-list li{border-color:var(--line)}

/* mobile menu */
@media(max-width:860px){
 .theme-dark header nav{background:#05080f;border-color:var(--line);box-shadow:0 18px 30px #0008}
 .theme-dark .wrap{padding-top:28px;padding-bottom:28px}
}

/* footer */
.theme-dark footer{background:#020409;border-top:1px solid var(--line)}
.theme-dark .footer-wordmark{color:#ffffff0a}
.theme-dark .badge{background:#f4f6fb}

/* mission v2 band */
.theme-dark .mission-band{background:linear-gradient(180deg,#0a1120,#05080f);border-top:1px solid #ffffff0a;border-bottom:1px solid #ffffff0a}
.theme-dark .mcard{background:#ffffff08;border-color:#ffffff14}
.theme-dark .mcard h3{color:#f4f6fb}
.theme-dark .mcard p{color:var(--muted)}
/* mission pillars + palmarès stat cards (le-club page) */
.theme-dark .mission-lead{color:#f4f6fb;font-weight:400}
.theme-dark .pillar{background:var(--card);border-color:var(--line)}
.theme-dark .pillar-num{color:#fff;opacity:.06}
.theme-dark .pillar h3{color:#fff}
.theme-dark .stat-card{background:linear-gradient(160deg,#16233b,#0a1120);border:1px solid var(--line)}
.theme-dark .stat-card strong{font-weight:600}
.theme-dark .stat-card span{color:var(--muted)}
.theme-dark .band+.band{border-color:#ffffff10}
.theme-dark .style-switch{background:#f4f6fbf0;color:#05080f}
.theme-dark .style-switch span{color:#5a6578}
.theme-dark .style-switch button{color:#334}
.theme-dark .style-switch button[aria-pressed=true]{background:#05080f;color:#fff}
@media(max-width:560px){
 .theme-dark .header-actions .button.small{padding:9px 10px;font-size:11px;letter-spacing:.4px}
 .theme-dark .brand strong{letter-spacing:0}
}
