.merch-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(430px, 40vw, 580px);
  overflow: hidden;
  background: #223348;
  border-bottom: 8px solid #b62632;
}
.merch-hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
}
.merch-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.merch-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 38, 59, .34), transparent 46%);
  pointer-events: none;
}
.merch-hero-copy {
  display: flex;
  align-items: flex-end;
  width: 100%;
}
.merch-hero-copy .container {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 45px clamp(28px, 4vw, 70px) 38px;
}
.merch-hero h1 {
  max-width: none;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2.5rem, 3.5vw, 3.5rem);
  line-height: 1.05;
  white-space: nowrap;
  text-shadow: 0 2px 5px rgba(12, 29, 48, .35);
}
.merch-hero p {
  max-width: none;
  margin: 0;
  color: #fff;
  font-size: clamp(.95rem, 1.35vw, 1.15rem);
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  text-shadow: 0 1px 4px #14283b;
}
@media (max-width: 800px) {
  .merch-hero { min-height: 0; display: block; }
  .merch-hero-art { position: relative; aspect-ratio: 2.5; }
  .merch-hero::before { display: none; }
  .merch-hero-copy .container { padding: 32px 24px 36px; }
  .merch-hero h1, .merch-hero p { max-width: none; white-space: normal; }
  .merch-hero h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
}

.merch-gallery { padding-top: 26px; padding-bottom: 88px; }
.merch-gallery-intro { max-width: 920px; }
.merch-gallery-intro h2 { margin: 0 0 12px; font-size: clamp(2.2rem, 3.4vw, 3.5rem); }
.merch-gallery-intro p { margin: 0; font-size: 1.15rem; line-height: 1.55; }
.merch-gallery-heading { display: flex; align-items: baseline; gap: 18px; margin: 44px 0 18px; }
.merch-gallery-heading h3 { margin: 0; font-size: clamp(1.65rem, 2.2vw, 2.3rem); }
.merch-gallery-heading p { margin: 0; color: #5e6c7b; }
.merch-accessories-heading { margin-top: 52px; }
.merch-grid { display: grid; gap: 20px; }
.merch-grid-featured { grid-template-columns: 1fr; }
.merch-grid-accessories { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.merch-grid-accessories .merch-card { grid-column: span 2; }
.merch-grid-accessories .merch-card:nth-last-child(-n+2) { grid-column: span 3; }
.merch-card { position: relative; min-width: 0; overflow: hidden; background: #223348; color: #fff; min-height: 330px; isolation: isolate; transition: transform .25s ease, box-shadow .25s ease; outline-offset: 4px; }
.merch-grid-featured .merch-card { min-height: 390px; }
.merch-card:hover, .merch-card:focus-visible { transform: translateY(-5px) scale(1.012); box-shadow: 0 20px 34px rgba(20, 38, 59, .24); z-index: 2; }
.merch-card-image { position: absolute; inset: 0; z-index: -2; }
.merch-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.merch-card:hover .merch-card-image img, .merch-card:focus-visible .merch-card-image img { transform: scale(1.035); }
.merch-card::before { content: ""; position: absolute; inset: 25% 0 0; z-index: -1; background: linear-gradient(transparent, rgba(12, 28, 47, .92)); transition: opacity .25s ease; }
.merch-card-content { position: absolute; left: 22px; right: 22px; bottom: 22px; transition: opacity .25s ease; }
.merch-card:hover .merch-card-content, .merch-card:focus-visible .merch-card-content, .merch-card:hover::before, .merch-card:focus-visible::before { opacity: 0; }
.merch-card h3 { margin: 0 0 7px; color: #fff; font-size: clamp(1.35rem, 1.7vw, 1.9rem); }
.merch-card p { margin: 0; font-size: 1rem; line-height: 1.35; }
.merch-card-featured .merch-card-image { inset: 0 42% 0 0; background: #223348; }
.merch-card-featured .merch-card-image img { object-fit: contain; }
.merch-card-featured::before { inset: 0 0 0 54%; background: #223348; }
.merch-card-featured .merch-card-content { left: 62%; right: 5%; bottom: 50%; transform: translateY(50%); }
.merch-card-featured h3 { font-size: clamp(2rem, 3vw, 3.3rem); }
.merch-card-featured p { font-size: 1.2rem; line-height: 1.45; }
.merch-card-featured:hover::before, .merch-card-featured:focus-visible::before { opacity: 1; }
.merch-card-featured:hover .merch-card-content, .merch-card-featured:focus-visible .merch-card-content { opacity: 1; }
.merch-gallery-note { margin: 38px 0 16px; font-size: 1.1rem; }
.merch-contact { display: inline-flex; justify-content: center; min-width: 240px; margin-top: 36px; }
@media (max-width: 1050px) {
  .merch-grid-accessories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .merch-grid-accessories .merch-card, .merch-grid-accessories .merch-card:nth-last-child(-n+2) { grid-column: auto; }
}
@media (max-width: 650px) {
  .merch-gallery { padding-top: 24px; padding-bottom: 58px; }
  .merch-gallery-heading { display: block; }
  .merch-gallery-heading p { margin-top: 4px; }
  .merch-grid-featured, .merch-grid-accessories { grid-template-columns: 1fr; }
  .merch-card, .merch-grid-featured .merch-card { min-height: 350px; }
  .merch-card-featured .merch-card-image { inset: 0; }
  .merch-card-featured::before { inset: 25% 0 0; background: linear-gradient(transparent, rgba(12, 28, 47, .92)); }
  .merch-card-featured .merch-card-content { left: 22px; right: 22px; bottom: 22px; transform: none; }
  .merch-card-featured:hover::before, .merch-card-featured:focus-visible::before, .merch-card-featured:hover .merch-card-content, .merch-card-featured:focus-visible .merch-card-content { opacity: 1; }
}
