:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #0a0c0f;
  color: #eceef1;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px 28px;
  border-bottom: 1px solid #292e36;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: 34px;
  letter-spacing: -0.045em;
  margin-bottom: 8px;
}
h2 {
  font-size: 15px;
}
p {
  color: #9299a5;
  font-size: 13px;
}
.eyebrow {
  color: #b3a8ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 9px;
}
main {
  max-width: 1180px;
  margin: auto;
  padding: 28px 24px 56px;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.heading p {
  margin-top: 5px;
}
.controls {
  display: flex;
  gap: 8px;
}
button {
  border: 1px solid #3d444e;
  background: transparent;
  color: #d7dbe1;
  padding: 7px 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.photo {
  border: 1px solid #292e36;
  background: #111419;
}
.photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #07080a;
}
.caption {
  padding: 13px;
  display: grid;
  gap: 7px;
}
.caption strong {
  font-size: 14px;
}
.caption > span {
  color: #8d95a1;
  font-size: 12px;
  min-height: 30px;
}
.caption > div {
  display: flex;
  gap: 13px;
}
.caption a {
  color: #b3a8ff;
  font-size: 12px;
  text-decoration: none;
}
.caption p {
  color: #b2b8c1;
  line-height: 1.45;
}
.caption .terms {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.terms button {
  padding: 3px 6px;
  color: #aeb6c2;
  font-size: 10px;
}
.terms button.category {
  border-color: #63599b;
  color: #c5bcff;
}
.empty {
  color: #9299a5;
  border-top: 1px solid #292e36;
  padding-top: 16px;
}
