@charset "UTF-8";

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #faf9f6;
  color: #303831;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 44px 32px;
  max-width: 1728px;
  margin: 0 auto;
  padding: 40px;
}
figure { margin: 0; min-width: 0; }
video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 26 / 15;
  object-fit: contain;
  background: #14201a;
  border-radius: 6px;
}
video:focus-visible { outline: 2px solid #164f47; outline-offset: 4px; }
figcaption {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
::selection { background: #cddfd4; }
@media (max-width: 800px) {
  .gallery { grid-template-columns: 1fr; padding: 24px; gap: 36px; }
}
@media (max-width: 480px) {
  .gallery { padding: 16px; }
  figcaption { margin-top: 13px; }
}
