.language-toggle { font:inherit; color:inherit; background:#fff; border:1px solid #aaa; padding:3px 8px; cursor:pointer; white-space:nowrap; }
@media(max-width:430px){header{flex-wrap:wrap}}
.intro dt { margin-top: 16px; font-weight: 600; }
.intro dd { margin: 4px 0 0; }
#archive nav > a { align-self:center; }
header > a[href="index.html#works"] { margin-inline-start:auto; text-align:right; }
/* Capture the shared artwork only, leaving the live page beneath it. */
:root { view-transition-name:none; }
::view-transition { pointer-events:none; }
:root::view-transition-group(work-cover),
:root::view-transition-old(work-cover),
:root::view-transition-new(work-cover) {
  animation-duration:340ms;
  animation-timing-function:cubic-bezier(.22,.75,.22,1);
}
@media(prefers-reduced-motion:reduce){
  :root::view-transition-group(work-cover),
  :root::view-transition-old(work-cover),
  :root::view-transition-new(work-cover) { animation-duration:0ms!important; }
}
:root { --ui-ink:#181c23; --ui-line:#d7dce3; --ui-soft:#f1f4f8; --ui-accent:#294c74; }
header .brand, header .logo { color:var(--ui-ink); }
header > a:not(.logo):not(.brand), #archive nav > a { text-decoration:none; }
header > a:hover, #archive nav > a:hover { color:var(--ui-accent); }
.language-toggle {
  min-height:38px;
  min-width:44px;
  border-color:var(--ui-line);
  border-radius:999px;
  font-weight:600;
  transition:background-color 150ms, border-color 150ms;
}
.language-toggle:hover { background:var(--ui-soft); border-color:var(--ui-accent); text-decoration:none; }
:where(a, button, input):focus-visible { outline:2px solid var(--ui-accent); outline-offset:4px; }
main a, footer a { text-underline-offset:.25em; }
@media(prefers-reduced-motion:reduce){ .language-toggle { transition:none; } }
