:root {
  color-scheme: light;
  background: #deff00;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body { min-height: 100svh; }

.page {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 5rem 1.25rem 6rem;
  background: #deff00;
}

.artwork-link {
  display: block;
  max-width: min(100%, 1000px);
}

.artwork {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 1000px);
  max-height: calc(100svh - 12rem);
  object-fit: contain;
}

.back-link {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  display: block;
  width: min(120px, 25vw);
  transform: translateX(-50%);
}

.back-link img {
  display: block;
  width: 100%;
  height: auto;
}

.links-page .links { margin-top: 3rem; }

.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
  font-size: clamp(0.8rem, 2.5vw, 1rem);
  line-height: 1.2;
  letter-spacing: 0.12em;
}

.links a {
  color: inherit;
  text-decoration: none;
}

.links a:hover, .links a:focus-visible { text-decoration: underline; }

footer {
  position: absolute;
  right: 1rem;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  left: 1rem;
  text-align: center;
  font-size: clamp(0.8rem, 2.5vw, 1rem);
  line-height: 1.2;
  letter-spacing: 0.12em;
}

@media (max-width: 600px) {
  .page { padding: 3.5rem 1rem 6rem; }
  .artwork { max-height: calc(100svh - 10.5rem); }
}
