html, body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #000000;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html, body {
  height: 100%;
  overflow: hidden;
}

main {
  height: 100vh;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.painting {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-height: 100%;
  min-height: 0;
  gap: 0.75rem;
}
.painting img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  width: auto;
  height: auto;
  object-fit: contain;
}
.painting figcaption {
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #555;
  text-align: center;
}

.text { max-width: 26rem; }

h1 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 400;
  font-size: 1.75rem;
  margin: 0 0 1.5rem;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { text-decoration: none; }

@media (max-width: 720px) {
  html, body { overflow: auto; height: auto; }
  main {
    height: auto;
    min-height: 100vh;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }
  .painting img { max-height: 60vh; }
  .text { max-width: none; }
}

@media (prefers-color-scheme: dark) {
  html, body { background: #000000; color: #ffffff; }
  a { color: #ffffff; }
  .painting figcaption { color: #aaa; }
}
