:root {
  color-scheme: light;
  --paper: #f7f3ea;
  --ink: #20231d;
  --muted: #656d5f;
  --line: #ddd4c4;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 42px;
}

.intro {
  margin-bottom: 22px;
}

.intro p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gallery img {
  width: 100%;
  height: 360px;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.gallery .wide {
  grid-column: span 2;
}

.credit {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

@media (max-width: 780px) {
  .page {
    width: min(100% - 24px, 1180px);
    padding-top: 24px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery .wide {
    grid-column: span 1;
  }

  .gallery img {
    height: auto;
    max-height: 520px;
  }
}
