.catalog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #111927;
  border-bottom: 1px solid var(--line);
}

.catalog-hangar {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.catalog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #0a1018 3%, #0a1018e8 24%, #0a101857 55%, transparent 81%);
}

.catalog-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-height: clamp(21rem, 30vw, 27rem);
}

.catalog-hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 2.5rem;
}

.catalog-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 650;
  text-wrap: initial;
}

.catalog-hero p {
  max-width: 40ch;
  margin-top: .95rem;
  color: #d4deeb;
  font-size: clamp(1rem, 1.45vw, 1.12rem);
}

.catalog-hero .cta { margin-top: 1.2rem; }

.catalog-hero-art {
  position: relative;
  align-self: stretch;
  min-height: 0;
}

.catalog-hero-art img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: contain;
  mask-image: radial-gradient(ellipse 49% 52% at 50% 49%, #000 45%, #000d 62%, transparent 100%);
}

.catalog-hero-art::after {
  content: "";
  position: absolute;
  inset: auto 20% 8% 20%;
  height: 9%;
  border: 1px solid #efb97e8a;
  border-top: 0;
  transform: perspective(4rem) rotateX(30deg);
  box-shadow: 0 .5rem 1.7rem #f5c08840;
  pointer-events: none;
}

.catalog-content {
  padding-top: clamp(1.8rem, 4vw, 3.4rem);
  overflow-wrap: anywhere;
}

.catalog-index { display: block; }

.catalog-index ul, .catalog-cards {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-index ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, 1.4vw, 1rem);
  margin-top: 1rem;
}

.catalog-tile {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  aspect-ratio: 2.25;
  overflow: hidden;
  border: 1px solid #4b5a6e;
  border-radius: 2px;
  background: var(--panel);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.catalog-tile img, .catalog-tile::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.catalog-tile img {
  z-index: -2;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.catalog-tile::after {
  content: "";
  z-index: -1;
  background: linear-gradient(0deg, #080e17 0%, #080e17ed 23%, #080e174d 61%, transparent 90%);
}

.catalog-tile span {
  padding: .65rem .9rem;
  font: 650 clamp(.95rem, 1.65vw, 1.18rem)/1.2 var(--heading);
}

.catalog-tile:is(:hover, :focus-visible) {
  border-color: var(--accent);
  box-shadow: 0 0 1.15rem #f5c08838;
  color: var(--accent);
}

.catalog-tile:is(:hover, :focus-visible) img {
  transform: scale(1.045);
  filter: brightness(1.12);
}

.catalog .mention {
  margin-top: 1.25rem;
  padding: .7rem 1rem;
  border-inline-start: 2px solid var(--accent);
  background: var(--panel);
}

.catalog-department {
  margin-top: clamp(2rem, 5vw, 4rem);
  scroll-margin-top: 1rem;
}

.catalog-band {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(8rem, 15vw, 12rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-bottom-color: #9e7753;
  background: #172337;
}

.catalog-band img {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: 62%;
  height: 100%;
  object-fit: cover;
}

.catalog-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #131d2d 19%, #131d2d 38%, #131d2dbf 53%, transparent 81%);
}

.catalog-band-copy {
  max-width: 63%;
  padding: clamp(1rem, 3vw, 2.4rem);
}

.catalog-band p { margin-top: .5rem; }

.catalog-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.65rem, 1.2vw, 1rem);
  margin-top: .85rem;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
  min-width: 0;
  padding: clamp(.95rem, 1.65vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(145deg, #172232, #111926 78%);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.catalog-card:is(:hover, :focus-within) {
  border-color: #b68d65;
  box-shadow: inset 0 1px #f5c08852, 0 0 1.2rem #f5c08822;
}

.catalog-brand {
  color: var(--accent);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.15;
}

.catalog-card h3 { font-size: clamp(1.08rem, 1.65vw, 1.24rem); }
.catalog-specs { font-size: .94rem; line-height: 1.45; }

.catalog-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  margin-top: auto;
  padding: .45rem .75rem;
  border: 1px solid #ba936c;
  border-radius: 2px;
  background: #251e1b;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.catalog-specs { padding-bottom: .55rem; }

.catalog-card a:is(:hover, :focus-visible) {
  background: var(--button);
  color: var(--button-text);
}

.catalog .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .catalog-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .catalog-cards:has(> :nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .catalog-index ul, .catalog-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); }
  .catalog-hero-art img { object-fit: cover; }
  .catalog-tile { aspect-ratio: 1.7; }
  .catalog-band-copy { max-width: 72%; }
}

@media (max-width: 480px) {
  .catalog-hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .catalog-hero-copy { padding-block: 1.55rem 0; }
  .catalog-hero h1 { font-size: clamp(2.4rem, 10vw, 2.9rem); }
  .catalog-hero .cta { padding-block: .7rem; }
  .catalog-hero-art { min-height: 9.5rem; }
  .catalog-hero-art img { object-fit: contain; }
  .catalog-hero-art::after { inset-inline: 27%; }
  .catalog-hangar { inset: auto 0 0; height: 70%; }
  .catalog-hero::before { background: linear-gradient(180deg, #0a1018 0%, #0a1018d9 41%, transparent 85%); }
  .catalog-tile span { padding: .5rem; }
  .catalog-cards { grid-template-columns: minmax(0, 1fr); }
  .catalog-band img { width: 78%; }
  .catalog-band::after { background: linear-gradient(90deg, #131d2d 13%, #131d2df5 35%, #131d2da6 69%, #131d2d38 100%); }
  .catalog-band-copy { max-width: 85%; }
}
