.theme-switch{display:inline-flex;gap:3px;align-items:center;padding:3px;border:1px solid currentColor;border-radius:30px;width:max-content;color:inherit}
.theme-switch button{border:0;background:transparent;color:inherit;border-radius:22px;padding:7px 10px;font:11px 'IBM Plex Mono',monospace;line-height:1.2}
.theme-switch button[aria-pressed=true]{background:#f5f5f5;color:#111}
.theme-switch button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.header .theme-switch{grid-column:3;justify-self:end;margin-top:12px;color:#fff}
.catalog-header{flex-wrap:wrap}.catalog-header .theme-switch{margin-left:auto}
html[data-theme=white]{color-scheme:light;--ink:#191919;--paper:#fff;--line:#00000028;--muted:#595959}
html[data-theme=white] body{background:#fff;color:#191919}
html[data-theme=white] .intro h2 span{color:#191919}
html[data-theme=white] .section-accent{color:#a34a2d}
html[data-theme=white] .contact{background:#f3f2ef;color:#191919;border-color:#0003}
html[data-theme=white] .contact input,html[data-theme=white] .contact select,html[data-theme=white] .contact textarea{border-color:#0006;color:#191919}
html[data-theme=white] option{background:#fff;color:#191919}
html[data-theme=white] .submit{background:#191919;color:#fff}
html[data-theme=white] .filters button{color:#191919;border-color:#0005}
html[data-theme=white] .filters button[aria-pressed=true]{background:#191919;color:#fff}
html[data-theme=white] .all-projects-link,html[data-theme=white] .projects-directory-link span{color:#a34a2d}
html[data-theme=white] .projects-directory-link a{border-color:#0005}
html[data-theme=white] .work .caption{color:#f5f5f5}
html[data-theme=white] .catalog-header{border-color:#0003}
html[data-theme=white] .catalog-header .brand img{filter:invert(1)}
html[data-theme=white] .catalog-header [aria-current]{color:#a34a2d}
html[data-theme=white] .catalog-header .theme-switch button[aria-pressed=true]{background:#191919;color:#fff}
html[data-theme=white] .catalog-description,html[data-theme=white] .catalog-caption,html[data-theme=white] .detail-next{border-color:#0003}
html[data-theme=white] .catalog-description p,html[data-theme=white] .catalog-caption p,html[data-theme=white] .catalog-number,html[data-theme=white] .detail-credits,html[data-theme=white] .detail-gallery figcaption{color:#595959}
html[data-theme=white] .catalog-description>span{color:#a34a2d}
html[data-theme=white] #site-menu,html[data-theme=white] #lightbox{background:#fff;color:#191919}
html[data-theme=white] #site-menu .menu-top img{filter:invert(1)}
html[data-theme=white] #site-menu>p{color:#595959}
/* Photographic sections retain white lettering for contrast with the image. */
html[data-theme=white] .beginnings{background:#fff;color:#f5f5f5}
html[data-theme=white] .beginnings-heading{color:#191919;text-shadow:0 1px 12px #fffa}
html[data-theme=white] .beginnings-heading .section-accent{color:#a34a2d}
html[data-theme=white] .landscape-footer .section-accent{color:#efa98b}
@media(max-width:1000px){.header .theme-switch{grid-column:2;grid-row:1;margin:0 80px 0 0;align-self:center}.header .menu-toggle{grid-column:2;grid-row:1}}
@media(max-width:760px){.theme-switch button{padding:7px 8px;font-size:10px}.catalog-header .theme-switch{margin-left:0}.header .theme-switch{margin-right:75px}}

/* Minimal B / W selector; active version is distinguished only by weight. */
.theme-switch{border:0;border-radius:0;background:none;padding:0;gap:3px}
.theme-switch button{border:0;border-radius:0;padding:6px 3px;background:transparent;font-family:'Inter Display',Arial,sans-serif;font-size:12px;font-weight:400}
.theme-switch>span{font-size:12px;font-weight:400;opacity:.6}
.theme-switch button[aria-pressed=true],html[data-theme=white] .catalog-header .theme-switch button[aria-pressed=true]{background:transparent;color:inherit;font-weight:700}
