/* Shared header for the static case studies and audits: the site logo and wordmark
   (back to the portfolio) and one theme button style. Colours come from each page's
   own text colour, so it fits every page theme in light and dark. */
.ss-brand { display: inline-flex; align-items: center; gap: .625rem; flex: none; min-height: 44px; color: inherit !important; text-decoration: none !important; font: 600 1.0625rem/1 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -.015em; border-radius: 8px; }
.ss-brand__mark { width: 28px; height: 28px; flex: none; fill: currentColor; }
.ss-brand__dot { opacity: .6; }
.ss-brand:hover .ss-brand__name { text-decoration: underline; text-underline-offset: .2em; }
.ss-brand:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.ss-vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ss-mode.ss-mode.ss-mode { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; flex: none; min-height: 44px; padding: .5rem 1.1rem; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); border-radius: 999px; background: transparent; box-shadow: none; color: inherit; font: 600 .9375rem/1 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; cursor: pointer; }
.ss-mode.ss-mode.ss-mode[hidden] { display: none; }
.ss-mode.ss-mode.ss-mode:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.ss-mode.ss-mode.ss-mode:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.ss-mode img, .ss-mode svg, .ss-mode .tv-theme-dot { display: none !important; }
@media (max-width: 480px) { .ss-brand { font-size: 1rem; } .ss-mode.ss-mode.ss-mode { padding: .5rem .85rem; } }
@media (forced-colors: active) { .ss-brand__mark { fill: CanvasText; } .ss-mode.ss-mode.ss-mode { border-color: ButtonText; } }
