:root {
  color-scheme: light;
  --text: #111111;
  --muted: #5a5a5a;
  --border: #e6e6e6;
  --page-width: 980px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.site-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.top-links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}

.top-links a:hover {
  text-decoration: underline;
}

.brand-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.brand-logo {
  width: 107px;
  height: 90px;
  object-fit: contain;
}

.hero {
  margin-top: 28px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 4px 0 12px;
  font-size: 36px;
  letter-spacing: 1px;
}

.intro {
  max-width: 680px;
  margin: 0;
  font-size: 15px;
  color: var(--text);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 6px;
}

.gallery-item {
  position: relative;
  display: block;
  padding: 14px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gallery-item:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}

.item-logo {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 49px;
  height: 49px;
  z-index: 2;
}

.item-image {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.site-footer {
  margin-top: 36px;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .page {
    padding: 20px 16px 32px;
  }

  .gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1 {
    font-size: 30px;
  }
}
