/* ===== Light / dark theme layer. Default = dark. html[data-theme=light] flips content sections; header, footer and photo heroes stay dark. ===== */


html[data-theme=light]{color-scheme:light;
 --ink-d:#f2efe6;--ink-d2:#e9e5d9;--bone-d:#2c2925;--mut-d:#625a50;--line-d:#d6cfbf;
 --bg:#f2efe6;--bg2:#e9e5d9;--line:#d6cfbf;--text:#2c2925;--mut:#625a50;--cu:#b4561f;--cu2:#a3461a;--ok:#2f6f42;--warn:#8a6210;--bad:#9b3a2e}
html[data-theme=light] body{background:#f2efe6;color:#2c2925}
/* regions that stay dark in both modes */
html[data-theme=light] .top,html[data-theme=light] .foot,html[data-theme=light] .foot2,html[data-theme=light] .cbfoot,html[data-theme=light] .cbfootbg,html[data-theme=light] .footbg,html[data-theme=light] .hero,html[data-theme=light] .band:has(.topo:is(.b,.k)),html[data-theme=light] .hero13{
 --ink-d:#0f100f;--ink-d2:#171816;--bone-d:#e5e0d2;--mut-d:#b3ac9c;--line-d:#2d2e2c;--bg:#0f100f;--bg2:#161715;--line:#2d2e2c;--text:#e9e5d8;--mut:#a09a8b;--cu:#c9733a;color:#e5e0d2}
html[data-theme=light] .topo.g{background:linear-gradient(135deg,rgba(0,0,0,.03),rgba(255,255,255,0) 50%,rgba(0,0,0,.02)),#e9e5d9}
html[data-theme=light] .footbg .topo,html[data-theme=light] .band:has(.topo:is(.b,.k)) .topo.g{background:#171816}
html[data-theme=light] select,html[data-theme=light] input,html[data-theme=light] textarea{background:#fffdf8;color:#2c2925;border-color:#c9c0ac}
html[data-theme=light] .top nav a,html[data-theme=light] .top.open nav a{color:#f4efe4}
html[data-theme=light] .top.open nav{background:#141414}
/* hard-coded dark-mode colours in page CSS, re-pointed for light */
html[data-theme=light] :is(.lede,.ah p,.ch p,.pb,.thx,.cf .cf-done,.pc .ds,.pc ul,.os label.l,.os ul.hl label,.os .mxw th,.os .mxw td){color:#3f3a33}
html[data-theme=light] .band:has(.topo:is(.b,.k)) :is(.lede,p){color:#d7d1c2!important}
html[data-theme=light] .hero13 .lede{color:#d7d1c2!important}
html[data-theme=light] :is(.ab-list .bracket,.card,.dark .four .bracket){background:rgba(255,255,255,.7)}
html[data-theme=light] :is(.ab-list .bracket,.ab-photos figure,.lg,.lg a,.card,.pc,.pc li,.dn,.dn .chip,.vl,.vl div,.sec,.rl,.rl a,.rl span.t,.fq details,.fq .list,.cf input,.cf textarea,.cf select,.cf .oth,.dn input,.dn textarea,.os input,.os select,.os .bar button,.os .more,.os ul.hl,.os ul.hl li,.os .mxw,.os .mxw th,.os .mxw td,.os .mxw button,.p4 .grid,.p4 .ins a,.four .bracket,.jp .im){border-color:rgba(44,41,37,.22)}
html[data-theme=light] .lg .yr{color:rgba(44,41,37,.38)}
html[data-theme=light] .ab-photos figure{background:#e9e5d9}html[data-theme=light] .hero :is(.lede,p){color:#efe9d8!important}
html[data-theme=light] figcaption{color:#8a3d12}
html[data-theme=light] .band:has(.topo:is(.b,.k)) figcaption{color:#c9733a}
.ctab{color:#0f100f!important}
html[data-theme=light] .band.dark:not(:has(.topo:is(.b,.k))) :is(p,li){color:#3f3a33}
@media(max-width:400px){.top .wrap{gap:8px}.top .logo{gap:8px}.top .logo-img{width:44px!important;height:44px!important}.top .logo-t{font-size:10px!important;letter-spacing:.08em!important}.hd-join{padding:0 12px;font-size:14px}.top .menu-btn{padding:0 10px;letter-spacing:.08em}}
@media(max-width:340px){.top .logo-t{display:none}}

/* slider toggle */
.theme-btn{position:relative;flex:none;width:46px;height:24px;min-height:0;padding:0;border:1px solid #ff6600;border-radius:999px;background:#241a12;font-size:0;color:transparent;cursor:pointer;order:3}
.theme-btn::before{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#ff6600;transition:transform .2s}
html[data-theme=light] .theme-btn{background:#f2efe6}
html[data-theme=light] .theme-btn::before{transform:translateX(22px)}
.theme-btn:focus-visible{outline:2px solid #ff9a3c;outline-offset:3px}
/* desktop: normal inline menu, no Menu button */
@media(min-width:1300px){
.hd-join,.top .menu-btn{display:none!important}
.top nav{display:flex!important;position:static!important;order:2;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px 16px;padding:0;background:none;border:0;box-shadow:none}
.top nav a:not(.nav-join){display:inline-block;min-height:0;font:800 12px/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.04em;text-transform:uppercase;padding:6px 0;border-bottom:1px solid transparent;color:#f4efe4;white-space:nowrap}
.top nav a:not(.nav-join):hover,.top nav a[aria-current=page]{color:#f59a3c;border-color:#f59a3c}
.top nav .nav-join{display:inline-flex!important}
.theme-btn{margin-left:6px}
}
html[data-theme=light] :is(.ck,.ck div){border-color:rgba(44,41,37,.22)}
@media(max-width:700px){.foot{padding-bottom:84px}}
