body.products-page {
  overflow: auto;
  overflow-x: hidden;
}

.products-page .corner-link {
  right: auto;
  left: clamp(24px, 6vw, 80px);
  background: rgba(9, 10, 12, 0.75);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  margin: -6px -10px;
  border-radius: 4px;
}

.products-page .corner-link-arrow {
  margin-right: 2px;
}

.products-page .corner-link:hover .corner-link-arrow,
.products-page .corner-link:focus-visible .corner-link-arrow {
  transform: translateX(-3px);
}

.catalog {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(90px, 14vh, 140px) clamp(24px, 6vw, 80px) clamp(60px, 10vh, 100px);
}

.catalog-intro {
  margin-bottom: clamp(44px, 7vh, 64px);
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
}

.catalog-title {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(26px, 3.8vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

.catalog-intro p {
  margin: 0;
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 1.6;
  color: var(--muted);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.catalog-card {
  display: block;
  text-decoration: none;
}

.catalog-thumb {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #1b1e22;
  background: var(--bg-raised);
}

.catalog-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.85);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.catalog-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.2s ease;
}

.catalog-card:hover .catalog-thumb img,
.catalog-card:focus-visible .catalog-thumb img {
  transform: scale(1.035);
  filter: saturate(1);
}

.catalog-card:hover .catalog-thumb::after,
.catalog-card:focus-visible .catalog-thumb::after {
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.catalog-meta {
  margin-top: 14px;
}

.catalog-eyebrow {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.catalog-card:hover .catalog-eyebrow,
.catalog-card:focus-visible .catalog-eyebrow {
  color: var(--accent);
}

.catalog-name {
  margin: 4px 0 0;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.products-footer {
  margin-top: clamp(56px, 10vh, 96px);
  padding-top: 24px;
  border-top: 1px solid #1b1e22;
}

.products-footer a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--muted);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.products-footer a:hover,
.products-footer a:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
}

@media (max-width: 760px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}
