:root {
  color-scheme: light;
  --page-bg: #ffffff;
  --text: #3a342f;
  --muted: #67615b;
  --row-gap: 2rem;
  --side-gap: 2rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.site-shell {
  width: min(1120px, calc(100vw - 64px));
  margin: 0 auto;
  padding: 0 0 80px;
}

.site-spacer {
  height: var(--space);
}

.hero__image {
  margin: 0;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: var(--row-gap) var(--side-gap);
  align-items: start;
  margin-bottom: var(--row-gap);
}

.gallery-cell {
  margin: 0;
  min-width: 0;
}

.gallery-cell--poem {
  align-self: center;
}

.gallery-cell--poem pre {
  margin: 0;
  white-space: pre-wrap;
  text-align: right;
  font: 400 clamp(0.95rem, 1.2vw, 1rem) / 1.9 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--muted);
}

.gallery-cell--empty {
  min-height: 1px;
}

@media (max-width: 900px) {
  .site-shell {
    width: min(100vw - 24px, 1120px);
  }

  .site-spacer {
    height: min(var(--space), 96px);
  }

  .gallery-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }

  .gallery-cell--poem pre {
    text-align: left;
  }
}


* { box-sizing: border-box; } body {margin: 0;}