.gb-merch-page {
  background: var(--gb-ground);
}

.gb-merch ::selection {
  background: var(--gb-accent);
  color: var(--gb-bone);
}

.gb-merch__hero {
  min-height: calc(100svh - 76px);
  overflow: hidden;
  background: linear-gradient(90deg, var(--gb-paper) 0 61%, var(--gb-ink) 61% 100%);
}

.gb-merch__grid {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(340px, 0.72fr);
}

.gb-merch__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(70px, 9vw, 116px) clamp(38px, 6vw, 86px) clamp(64px, 8vw, 104px) 0;
}

.gb-merch__copy h1 {
  max-width: 810px;
  margin: 0;
  font: 400 clamp(82px, 10.8vw, 150px) / 0.82 var(--gb-font-display);
  letter-spacing: -0.025em;
  text-wrap: balance;
  text-transform: uppercase;
}

.gb-merch__copy h1 span {
  color: var(--gb-accent);
}

.gb-merch__lede {
  max-width: 520px;
  margin: 34px 0 30px;
  color: var(--gb-muted);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.5;
}

.gb-merch__button {
  min-width: 188px;
}

.gb-merch__visual {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 64px 0 104px clamp(34px, 5vw, 76px);
  border-left: 1px solid rgb(240 238 231 / 20%);
  color: var(--gb-bone);
  isolation: isolate;
}

.gb-merch__visual::before {
  position: absolute;
  z-index: -1;
  inset: 0 -100vw 0 0;
  background:
    linear-gradient(125deg, transparent 0 42%, rgb(198 83 47 / 9%) 42% 43%, transparent 43% 100%),
    repeating-linear-gradient(0deg, transparent 0 35px, rgb(240 238 231 / 5%) 35px 36px);
  content: "";
}

.gb-merch__products {
  position: relative;
  width: min(100%, 510px);
  height: clamp(430px, 58vh, 570px);
  margin: 0;
}

.gb-merch__product {
  position: absolute;
  display: block;
  height: auto;
  border: 1px solid rgb(240 238 231 / 35%);
  box-shadow: 0 24px 60px rgb(17 21 21 / 42%);
  object-fit: cover;
}

.gb-merch__product--cap {
  z-index: 1;
  top: 0;
  right: -7%;
  width: 96%;
  transform: rotate(1.5deg);
}

.gb-merch__product--shorts {
  z-index: 2;
  bottom: 0;
  left: -8%;
  width: 70%;
  transform: rotate(-2.25deg);
}

.gb-merch__status {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: clamp(34px, 5vw, 76px);
  padding-top: 18px;
  margin: 0;
  border-top: 1px solid rgb(240 238 231 / 32%);
  color: var(--gb-accent-on-dark);
  font: 400 clamp(34px, 4vw, 52px) / 1 var(--gb-font-display);
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .gb-merch__hero {
    background: linear-gradient(90deg, var(--gb-paper) 0 58%, var(--gb-ink) 58% 100%);
  }

  .gb-merch__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(310px, 0.88fr);
  }

  .gb-merch__copy h1 {
    font-size: clamp(74px, 10vw, 112px);
  }

  .gb-merch__visual {
    padding-left: 34px;
  }

  .gb-merch__status {
    left: 34px;
  }
}

@media (max-width: 760px) {
  .gb-merch__hero {
    min-height: 0;
    background: var(--gb-paper);
  }

  .gb-merch__grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .gb-merch__copy {
    min-height: calc(100svh - 64px);
    justify-content: center;
    padding: 58px 0 64px;
  }

  .gb-merch__copy h1 {
    max-width: 100%;
    font-size: clamp(68px, 20vw, 96px);
    line-height: 0.85;
  }

  .gb-merch__lede {
    max-width: 440px;
    margin: 28px 0 26px;
    font-size: 18px;
  }

  .gb-merch__visual {
    min-height: 510px;
    margin-inline: -15px;
    padding: 48px 30px 98px;
    border-top: 1px solid rgb(240 238 231 / 20%);
    border-left: 0;
    background: var(--gb-ink);
  }

  .gb-merch__visual::before {
    inset: 0;
  }

  .gb-merch__products {
    width: min(100%, 500px);
    height: 500px;
  }

  .gb-merch__product--cap {
    right: -3%;
    width: 92%;
  }

  .gb-merch__product--shorts {
    left: 0;
    width: 68%;
  }

  .gb-merch__status {
    right: 30px;
    bottom: 28px;
    left: 30px;
  }
}

@media (max-width: 430px) {
  .gb-merch__copy {
    min-height: calc(100svh - 64px);
    padding-top: 46px;
  }

  .gb-merch__copy h1 {
    font-size: clamp(64px, 19.6vw, 84px);
  }

  .gb-merch__button {
    width: 100%;
  }

  .gb-merch__visual {
    min-height: 590px;
    padding-inline: 20px;
  }

  .gb-merch__products {
    height: 455px;
  }
}

@media print {
  .gb-merch__hero {
    min-height: 0;
    background: var(--gb-paper);
  }

  .gb-merch__grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .gb-merch__visual {
    display: none;
  }
}
