/* Werkarchiv V13 · Desktop-Geometrie und Typografie nach dem Design Freeze V12. */
:root {
  --mono: "Roboto Mono", ui-monospace, "SF Mono", monospace;
  --margin: 24px;
  --hud-font: 11px;
  --paper: #fff;
  --ink: #000;
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: #000; }
body { font-family: var(--mono); font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overscroll-behavior: none; }
button, a { font: inherit; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, [role="button"]:focus-visible { outline: 1px dashed currentColor; outline-offset: 5px; }
[hidden], .mobile-deck-nav, .mobile-close { display: none !important; }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: .08em; }
.site-shell { position: fixed; inset: 0; overflow: hidden; isolation: isolate; background: var(--paper); color: var(--ink); }
/* White mode must never create an inversion/compositing filter on iOS. */
.site-shell[data-theme="white"] { --pixel-filter: none; }
.site-shell[data-theme="white"] :is(.fragment img, .card-media img, .card-media video) { filter: none; -webkit-filter: none; }
.site-shell[data-theme="black"] { --paper: #000; --ink: #fff; --pixel-filter: grayscale(1) invert(1); }
.site-shell[data-theme="cyan"] { --paper: #000; --ink: #c3f2f5; --pixel-filter: grayscale(1) invert(1) brightness(.45) sepia(1) saturate(.664204) hue-rotate(134.36347deg) brightness(1.666342); }
.site-shell[data-theme="magenta"] { --paper: #000; --ink: #f8c7ed; --pixel-filter: grayscale(1) invert(1) brightness(.45) sepia(1) saturate(.870127) hue-rotate(260.99382deg) brightness(1.508683); }
.site-shell[data-theme="yellow"] { --paper: #000; --ink: #fff0a6; --pixel-filter: grayscale(1) invert(1) brightness(.45) sepia(1) saturate(1.221482) hue-rotate(12.40008deg) brightness(1.703951); }
.map-viewport { position: absolute; inset: 0; z-index: 1; overflow: hidden; touch-action: none; transition: opacity .27s ease; }
.map-viewport.is-deck-active { opacity: .13; pointer-events: none; }
.map-world { position: absolute; inset: 0; overflow: visible; }
.fragment { position: absolute; left: 0; top: 0; display: block; margin: 0; padding: 0; line-height: 0; background: transparent; border: 0; }
.fragment.is-dragging { z-index: 12; }
.fragment-ambient, .card-media { display: block; width: 100%; height: 100%; }
.fragment img, .card-media img, .card-media video { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; filter: var(--pixel-filter, none); user-select: none; -webkit-user-drag: none; pointer-events: none; }
.site-shell.is-safari .map-world, .site-shell.is-safari .deck-stage { will-change: transform, filter; }
.site-shell.is-safari[data-theme="black"] :is(.map-world, .deck-stage) { filter: grayscale(1) invert(1); -webkit-filter: grayscale(1) invert(1); }
.site-shell.is-safari[data-theme="magenta"] :is(.map-world, .deck-stage) { filter: grayscale(1) invert(1) brightness(.45) sepia(1) saturate(.870127) hue-rotate(260.99382deg) brightness(1.508683); -webkit-filter: grayscale(1) invert(1) brightness(.45) sepia(1) saturate(.870127) hue-rotate(260.99382deg) brightness(1.508683); }
.site-shell.is-safari[data-theme="yellow"] :is(.map-world, .deck-stage) { filter: grayscale(1) invert(1) brightness(.45) sepia(1) saturate(1.221482) hue-rotate(12.40008deg) brightness(1.703951); -webkit-filter: grayscale(1) invert(1) brightness(.45) sepia(1) saturate(1.221482) hue-rotate(12.40008deg) brightness(1.703951); }
.site-shell.is-safari[data-theme="cyan"] :is(.map-world, .deck-stage) { filter: grayscale(1) invert(1) brightness(.45) sepia(1) saturate(.664204) hue-rotate(134.36347deg) brightness(1.666342); -webkit-filter: grayscale(1) invert(1) brightness(.45) sepia(1) saturate(.664204) hue-rotate(134.36347deg) brightness(1.666342); }
.site-shell.is-safari[data-theme]:not([data-theme="white"]) :is(.fragment img, .card-media img, .card-media video) { filter: none !important; -webkit-filter: none !important; }
.hud, .deck-tools { position: fixed; z-index: 40; color: #fff; mix-blend-mode: difference; }
.hud-top-left { top: 25px; left: var(--margin); max-width: min(65vw,720px); pointer-events: none; }
.identity { display: inline-block; pointer-events: auto; cursor: pointer; transform-origin: left center; font: 500 calc(var(--hud-font)*1.04)/1.35 var(--mono); letter-spacing: .10em; text-transform: uppercase; }
.identity-sub { display: none; }
.symbol-button, .text-button { padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; letter-spacing: inherit; }
.symbol-button { display: flex; align-items: center; justify-content: center; }
.hud.symbol-button { color: #fff; }
.hud-negative { top: 9px; left: 50%; margin-left: -24px; width: 48px; height: 48px; }
.negative-dot { width: 16px; height: 16px; border-radius: 50%; background: currentColor; transition: transform .2s cubic-bezier(.18,.75,.2,1); }
.hud-reset { top: 24px; right: var(--margin); height: 26px; min-width: 35px; white-space: pre; text-align: right; justify-content: flex-end; font: 400 calc(var(--hud-font)*1.04)/1.3 var(--mono); letter-spacing: .08em; font-variant-numeric: tabular-nums; transform-origin: right center; }
.hud-zoom { bottom: 23px; left: var(--margin); align-items: center; display: flex; gap: 23px; }
.hud-zoom button, .hud-drawer-toggle { width: 26px; height: 26px; }
.hud-zoom svg, .hud-drawer-toggle svg { width: 20.8px; height: 20.8px; display: block; fill: none; stroke: currentColor; stroke-width: 2.76px; stroke-linecap: square; stroke-linejoin: miter; }
.hud-drawer-toggle { right: var(--margin); bottom: 18px; }
.hud-drawer-toggle.is-open { transform: rotate(180deg); }
.identity, .hud-reset, .hud-zoom button, .deck-tools button, .hud-drawer-toggle { transition: transform .18s ease; }
.deck-stage { position: absolute; inset: 0; z-index: 7; overflow: hidden; touch-action: none; }
.deck-cards { position: absolute; inset: 0; }
.work-card { position: absolute; left: 50%; top: 50%; display: block; margin: 0; padding: 0; background: transparent; border: 0; outline: none; touch-action: none; user-select: none; transform: translate(-50%,-50%) translate(var(--dx,0px),var(--dy,0px)) rotate(var(--rot,0deg)); }
.card-media { position: relative; }
.card-media video { position: absolute; inset: 0; }
.is-bio-open .work-card:not(.is-fullscreen) { left: calc(50% - min(130px,10vw)); }
.is-bio-open .bio-description { white-space: pre-line; }
.deck-tools { bottom: 29px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 15px; white-space: nowrap; font: 400 var(--hud-font)/1.3 var(--mono); letter-spacing: .08em; }
.divider-character { opacity: .5; }
.inspector { position:fixed; z-index:70; right:var(--margin); bottom:62px; width:min(385px,calc(100vw - 2 * var(--margin))); max-height:calc(100dvh - 108px); background:#fff; color:#000; border:1px solid #ddd; display:flex; flex-direction:column; font:400 10px/1.6 var(--mono); }
.inspector-heading { flex:0 0 auto; padding:15px 18px 13px; border-bottom:1px solid #e8e8e8; display:flex; align-items:center; justify-content:space-between; gap:12px; font:500 var(--hud-font)/1.3 var(--mono); letter-spacing:.08em; }
.inspector-heading-actions { display:flex; align-items:center; gap:18px; }
.lang-switch { display:flex; align-items:center; gap:7px; color:#aaa; font-size:9px; font-weight:400; }
.lang-switch button { color:#999; }
.lang-switch button.is-active { color:#000; font-weight:500; text-decoration:underline; text-underline-offset:3px; }
.close-inspector { font-size:17px; font-weight:400; line-height:1; }
.inspector-content { padding:16px 18px 17px; overflow-y:auto; overscroll-behavior:contain; min-height:0; }
.inspector-kicker { color:#949494; font:400 9px/1.5 var(--mono); letter-spacing:.1em; text-transform:uppercase; }
.inspector h2 { font:500 16px/1.4 var(--mono); margin:8px 0 13px; letter-spacing:0; }
.inspector p { font:400 10px/1.7 var(--mono); margin:0 0 12px; }
.inspector dl { display:grid; grid-template-columns:94px 1fr; gap:5px 10px; margin:0 0 15px; }
.inspector dt { font:400 9px/1.6 var(--mono); color:#999; letter-spacing:.05em; }
.inspector dd { font:400 10px/1.6 var(--mono); margin:0; overflow-wrap:anywhere; }
.inspector hr { border:0; border-top:1px solid #e8e8e8; margin:13px 0; }
.inspector a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.inspector-link { font:400 10px/1.6 var(--mono); }
.archive-panel { display:flex; flex-direction:column; max-height:calc(100dvh - 170px); min-height:0; }
.archive-index-region { flex:0 1 auto; min-height:0; max-height:min(34dvh,290px); overflow-y:auto; overscroll-behavior:contain; padding-right:5px; }
.inspector-index { list-style:none; margin:0; padding:0; }
.inspector-index li { border-bottom:1px solid #f0f0f0; }
.inspector-index button { display:grid; grid-template-columns:27px 1fr; gap:6px; width:100%; border:0; padding:5px 0; text-align:left; background:transparent; color:inherit; cursor:pointer; }
.inspector-index button:hover .index-name { text-decoration:underline; text-underline-offset:3px; }
.index-nr { color:#999; font:400 9px/1.4 var(--mono); }
.index-name { font:400 10px/1.4 var(--mono); }
.archive-contact { flex-shrink:0; padding-top:13px; }
.archive-contact .inspector-kicker { margin-bottom:9px; }
.contact-block { font:400 10px/1.75 var(--mono); }
.contact-block p { margin:0 0 5px; }
.contact-block a { overflow-wrap:anywhere; }
.legal { font:400 8px/1.65 var(--mono); letter-spacing:0; color:#777; }
.legal strong { font-weight:500; }
.legal p { font:inherit; margin:0 0 4px; }
.legal details { margin-top:6px; }
.legal summary { cursor:pointer; }
.project-legend { font:400 9px/1.6 var(--mono) !important; letter-spacing:.02em; margin-top:6px !important; }

.bio-index-link { text-decoration: underline; text-underline-offset: 3px; }
.inspector.v10-project-open { transform-origin: right bottom; animation: sheet-in .28s cubic-bezier(.2,.7,.2,1) both; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(9px) scale(.985); } to { opacity: 1; transform: none; } }
.site-shell.is-negative .hud, .site-shell.is-negative .deck-tools { color: var(--ink); mix-blend-mode: normal; }
.site-shell.is-negative .inspector { background: #060606; color: var(--ink); border-color: color-mix(in srgb,var(--ink) 25%,transparent); }
.site-shell.is-negative :is(.inspector-heading,.inspector hr,.inspector-index li) { border-color: color-mix(in srgb,var(--ink) 25%,transparent); }
.site-shell.is-negative :is(.inspector-kicker,.inspector dt,.lang-switch button) { color: color-mix(in srgb,var(--ink) 65%,transparent); }
.site-shell.is-negative .lang-switch .is-active { color: var(--ink); }
.intro { position: fixed; inset: 0; z-index: 200; background: #000; display: flex; align-items: center; justify-content: center; transition: background .07s linear, opacity .3s ease; }
.intro-identity { position: absolute; top: 25px; left: var(--margin); color: #fff; text-align: left; font: 400 10.4px/1.6 var(--mono); letter-spacing: .08em; }
.intro-house { width: 121.8px; height: 140px; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transform-origin: center; }
.intro-house svg { width: 100%; height: 100%; display: block; color: #fff; }
.intro.is-entering { background: #fff; }
.intro.is-entering .intro-house svg { color: #000; }
.intro.is-entering .intro-identity { color: #000; }
.intro.is-fading { opacity: 0; pointer-events: none; }
.house-cursor { position: fixed; top: 0; left: 0; width: 22px; height: 26px; transform: translate(-100px,-100px); z-index: 100; pointer-events: none; display: none; }
.house-cursor svg { width: 100%; height: 100%; color: var(--ink); }
.screen-reader { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.no-script { position: fixed; z-index: 210; bottom: 1em; left: 1em; color: white; font-size: 12px; }
.no-script a { color: inherit; }
.safe-metrics { position: absolute; visibility: hidden; pointer-events: none; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
@media (hover:hover) and (pointer:fine) {
  html:not(.mobile) body.entered .site-shell, html:not(.mobile) body.entered .site-shell * { cursor: var(--archive-cursor, auto) !important; }
  html:not(.mobile) body.entered .house-cursor { display: none; }
  .identity:hover,.identity:focus-visible,.hud-reset:hover,.hud-reset:focus-visible,.hud-zoom button:hover,.hud-drawer-toggle:not(.is-open):hover,.deck-tools button:hover { transform: scale(1.065); }
  .hud-drawer-toggle.is-open:hover { transform: rotate(180deg) scale(1.065); }
  .hud-negative:hover .negative-dot,.hud-negative:focus-visible .negative-dot { transform: scale(2); }
}
.mobile { --margin: 17px; --hud-font: 10px; }
.mobile .map-viewport, .mobile .negative-dot { transition: none; }
.mobile .map-viewport.is-deck-active { visibility: hidden; }
.mobile button { touch-action: manipulation; }
.mobile .map-viewport .fragment { touch-action: none; }
.symbol-button svg { pointer-events: none; }
.mobile .hud, .mobile .hud.symbol-button { mix-blend-mode: normal; color: var(--ink); }
.mobile .hud-top-left { top: calc(12px + env(safe-area-inset-top)); left: calc(var(--margin) + env(safe-area-inset-left)); max-width: calc(100% - 75px - env(safe-area-inset-left) - env(safe-area-inset-right)); }
.mobile .identity { font-size: 10.4px; line-height: 1.45; letter-spacing: .075em; }
.mobile .hud-negative { top: calc(1px + env(safe-area-inset-top)); left: auto; right: calc(4px + env(safe-area-inset-right)); margin: 0; width: 44px; height: 44px; }
.mobile .negative-dot { transform: none; }
.mobile .hud-reset { left: calc(var(--margin) + env(safe-area-inset-left)); right: auto; top: auto; bottom: calc(8px + env(safe-area-inset-bottom)); height: 40px; justify-content: flex-start; text-align: left; font-size: 10.4px; letter-spacing: 0; }
.mobile .hud-drawer-toggle { right: calc(6px + env(safe-area-inset-right)); bottom: calc(6px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
.mobile .hud-zoom, .mobile .deck-tools, .mobile .house-cursor { display: none; }
.mobile .is-bio-open .work-card { left: 50%; }
.mobile .inspector { left: env(safe-area-inset-left); right: env(safe-area-inset-right); bottom: 0; width: auto; max-height: min(76dvh,calc(100dvh - 46px - env(safe-area-inset-top))); padding-bottom: env(safe-area-inset-bottom); border-left: 0; border-right: 0; border-bottom: 0; overscroll-behavior: contain; }
.mobile .is-project-open .inspector { max-height: min(62dvh,calc(100dvh - 64px - env(safe-area-inset-top))); }
.mobile .inspector.v10-project-open { animation: none; }
.mobile .inspector-heading { padding: 16px 17px 12px; touch-action: none; position: relative; }
.mobile .inspector-heading::before { content: ""; position: absolute; top: 5px; left: calc(50% - 15px); width: 30px; height: 2px; background: currentColor; opacity: .35; }
.mobile .inspector-content { padding: 15px 17px 22px; touch-action: pan-y; }
.mobile .inspector h2 { font-size: 17px; }
.mobile .inspector p,.mobile .inspector dd { font-size: 12px; line-height: 1.65; }
.mobile .inspector dt,.mobile .inspector-kicker { font-size: 10px; }
.mobile .inspector dl { grid-template-columns: 108px 1fr; }
.mobile .archive-panel,.mobile .archive-index-region { max-height: none; }
.mobile .archive-index-region { overflow: visible; }
.mobile .index-name { font-size: 12px; }
.mobile .inspector-index button { padding: 9px 0; }
.mobile .mobile-deck-nav:not([hidden]) { display: flex !important; position: fixed; z-index: 45; bottom: calc(48px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); gap: 22px; }
.mobile .mobile-deck-nav button { border: 0; background: none; color: var(--ink); width: 44px; height: 44px; font-size: 28px; line-height: 1; }
.mobile .mobile-close:not([hidden]) { display: block !important; position: fixed; z-index: 45; bottom: calc(8px + env(safe-area-inset-bottom)); left: 50%; height: 40px; transform: translateX(-50%); color: var(--ink); font-size: 10.4px; letter-spacing: .075em; }
.mobile .hud-top-left,.mobile .hud-reset,.mobile .mobile-close { text-shadow: 0 0 3px var(--paper),0 0 6px var(--paper); }
.mobile .intro-identity { top: calc(12px + env(safe-area-inset-top)); left: calc(var(--margin) + env(safe-area-inset-left)); max-width: calc(100% - 34px); font-size: 8.32px; letter-spacing: .035em; }
.mobile .intro-house { width: 91px; height: 105px; }
@media (max-width:760px) {
  html:not(.mobile) .hud-top-left { max-width: calc(100% - 92px); }
  html:not(.mobile) .hud-negative { left: auto; right: 12px; margin-left: 0; }
  html:not(.mobile) .hud-reset { top: auto; bottom: 50px; left: var(--margin); right: auto; }
  html:not(.mobile) .deck-tools { bottom: 85px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.site-shell[data-theme="white"] { --archive-cursor: url("assets/cursor-white.png") 11 13, auto; }
.site-shell[data-theme="black"] { --archive-cursor: url("assets/cursor-black.png") 11 13, auto; }
.site-shell[data-theme="magenta"] { --archive-cursor: url("assets/cursor-magenta.png") 11 13, auto; }
.site-shell[data-theme="yellow"] { --archive-cursor: url("assets/cursor-yellow.png") 11 13, auto; }
.site-shell[data-theme="cyan"] { --archive-cursor: url("assets/cursor-cyan.png") 11 13, auto; }
