@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500&family=Geist+Mono:wght@400;500&display=swap');
@font-face { font-family: 'Geist Serif'; src: url('fonts/GeistSerifVF.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root { --snow: #FFFAFA; --ink: #141212; --mute: #A39C9C; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--snow);
  color: var(--ink);
  font-family: 'Geist', system-ui, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; -webkit-user-drag: none; }

.credit {
  position: fixed; left: 0; right: 0; bottom: 20px;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 22px;
  padding: 0 16px; text-align: center;
  font: 400 11px/1.4 'Geist Mono', ui-monospace, monospace;
  letter-spacing: .02em;
  color: var(--mute);
  z-index: 5000;
  pointer-events: none;
}
.credit a { color: inherit; text-decoration: none; pointer-events: auto; transition: color .2s; }
.credit a:hover { color: var(--ink); }
.credit .note { color: #BDB5B5; }
.credit .s { display: none; }
@media (max-width: 640px) { .credit { bottom: 16px; gap: 2px 0; } .credit > span { width: 100%; } .credit .l { display: none; } .credit .s { display: inline; } }

/* the way back: the portfolio's own arrow: Geist Mono has no ←, so like the site it falls to Arial */
@font-face { font-family: 'Site Mono'; src: url('fonts/site-mono.woff2') format('woff2'); font-display: swap; }
.back {
  position: fixed; top: 12px; left: 16px; z-index: 6000;
  display: grid; place-items: center;
  width: 64px; height: 56px;
  color: var(--mute); text-decoration: none;
}
.back i {
  display: block; font-style: normal;
  font: 400 32px/1 'Site Mono', Arial, ui-monospace, monospace;
  padding-bottom: 6px;
  border-bottom: 1.5px dotted #CFC6C6;
  transition: color .3s, border-color .3s, transform .3s;
}
.back:hover i, .back:focus-visible i { color: var(--ink); border-color: #9D6610; transform: translateX(-6px); }
.back:focus-visible { outline: none; }
