:root {
  color-scheme: light;
  --paper: #f4f0dc;
  --ink: #171517;
  --name-ink: #5c5952;
  --muted: #514e4a;
  --gutter: clamp(1.5rem, 4vw, 4.5rem);
}
*, ::before, ::after { box-sizing: border-box; }
@font-face {
  font-family: "Cal Sans";
  src: url("/fonts/CalSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
body, h1, p, figure { margin: 0; }
[hidden] { display: none !important; }
body {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #ffd10c; color: #171517; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
button { color: inherit; font: inherit; border: 0; padding: 0; background: transparent; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.masthead {
  position: fixed;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  padding: max(2rem, env(safe-area-inset-top)) var(--gutter) 0;
  pointer-events: none;
}
.name { display: inline-block; color: var(--name-ink); font-family: "Cal Sans", "Inter", sans-serif; font-size: 1rem; line-height: 1.4; font-weight: 600; letter-spacing: -.015em; }
.name, .word, .colophon > a { transform: translateX(var(--optical-offset, 0px)); }
main { position: relative; min-height: 100vh; min-height: 100svh; isolation: isolate; }
h1 {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  width: max-content;
  max-width: calc(100vw - 3rem);
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  font-family: "Cal Sans", "Inter", sans-serif;
  line-height: calc(.94em - 1px);
  letter-spacing: -.025em;
  font-weight: 600;
  color: var(--ink);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  transform: translate(var(--gutter), 23vh);
}
.word { display: block; white-space: nowrap; }
.artwork { position: fixed; inset: 0; z-index: 0; height: 100vh; height: 100svh; overflow: hidden; }
#edition-art { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
#edition-art:active { cursor: grabbing; }
.colophon {
  position: fixed;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
  padding: .75rem var(--gutter) max(1.25rem, env(safe-area-inset-bottom));
  font-size: .875rem;
  line-height: 1.5;
  pointer-events: none;
}
.colophon > a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; pointer-events: auto; }
.colophon > a:hover { text-decoration: underline; }
.colophon > a:focus-visible {
  background: var(--paper);
  box-shadow: 0 0 0 6px var(--paper);
  outline: 2px solid var(--ink);
  outline-offset: 6px;
  text-decoration: underline;
}
@media (max-width: 600px) {
  .masthead { padding-top: max(1.5rem, env(safe-area-inset-top)); }
  h1 { flex-direction: column; gap: 0; font-size: clamp(1.5rem, 6.4vw, 2.25rem); letter-spacing: -.015em; }
  .colophon { padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
}
@media (forced-colors: active) {
  .artwork { display: none; }
  body { background: Canvas; color: CanvasText; }
  h1 { color: CanvasText; }
  .name { color: CanvasText; }
  .colophon > a:focus-visible { background: Canvas; color: LinkText; box-shadow: none; outline-color: Highlight; }
}
