/* Internal merch overview. Products link out to the official Shopify shop; no cart or checkout runs here. */

.merch-page {
  background: #090b0d;
}

.merch-page .desktop-nav .is-current,
.merch-page .footer-links [aria-current="page"] {
  color: var(--copper-light);
}

.merch-hero {
  position: relative;
  min-height: min(860px, 100svh);
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(100deg, rgba(9, 11, 13, 0.98) 0%, rgba(9, 11, 13, 0.78) 52%, rgba(9, 11, 13, 0.28) 100%),
    #0b0d0e;
}

.merch-hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 48%, rgba(189, 128, 89, 0.27), transparent 0 25%),
    radial-gradient(circle at 77% 47%, rgba(221, 170, 127, 0.08), transparent 0 43%),
    linear-gradient(120deg, #090b0d 0 54%, #171615 76%, #090b0d 100%);
}

.merch-hero-art::before,
.merch-hero-art::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.merch-hero-art::before {
  width: 1px;
  height: 72%;
  top: 14%;
  right: 24%;
  background: linear-gradient(transparent, rgba(221, 170, 127, 0.62), transparent);
  box-shadow:
    -170px 0 rgba(221, 170, 127, 0.08),
    170px 0 rgba(221, 170, 127, 0.08);
}

.merch-hero-art::after {
  width: min(46vw, 700px);
  aspect-ratio: 1;
  right: -4%;
  top: 8%;
  border: 1px solid rgba(221, 170, 127, 0.17);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(221, 170, 127, 0.025),
    0 0 0 140px rgba(221, 170, 127, 0.015);
}

.merch-hero-rune {
  position: absolute;
  right: 8%;
  top: 50%;
  translate: 0 -50%;
  color: rgba(244, 240, 233, 0.045);
  font: 800 min(44vw, 650px) / 0.85 var(--font-display);
  letter-spacing: -0.13em;
}

.merch-hero-orbit {
  position: absolute;
  width: min(31vw, 470px);
  aspect-ratio: 1;
  right: 8%;
  top: 50%;
  translate: 0 -50%;
  border: 1px solid rgba(244, 240, 233, 0.13);
  border-radius: 50%;
}

.merch-hero-orbit::before,
.merch-hero-orbit::after {
  position: absolute;
  content: "";
  border-radius: inherit;
  inset: 13%;
  border: 1px solid rgba(189, 128, 89, 0.15);
}

.merch-hero-orbit::after {
  inset: 28%;
  background: radial-gradient(circle, rgba(189, 128, 89, 0.22), transparent 65%);
}

.merch-hero-flare {
  position: absolute;
  right: 18%;
  top: 50%;
  width: 8px;
  height: 8px;
  translate: 0 -50%;
  border-radius: 50%;
  background: var(--copper-light);
  box-shadow:
    0 0 25px 8px rgba(221, 170, 127, 0.35),
    0 0 90px 42px rgba(189, 128, 89, 0.12);
}

.merch-hero-layout {
  min-height: min(860px, 100svh);
  padding-top: 168px;
  padding-bottom: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.merch-hero-copy {
  width: min(720px, 68%);
}

.merch-eyebrow {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 0;
  color: #c8aa93;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.merch-eyebrow .eyebrow-line {
  width: 44px;
  height: 1px;
  background: var(--copper);
}

.merch-hero h1 {
  margin: 48px 0 34px;
  color: var(--white);
  font: 800 clamp(82px, 10.5vw, 164px) / 0.76 var(--font-display);
  letter-spacing: -0.09em;
}

.merch-hero h1 em {
  color: #d2a280;
  font: 400 0.82em / 0.9 var(--font-serif);
  letter-spacing: -0.08em;
}

.merch-hero h1 .period {
  color: var(--copper);
}

.merch-hero-copy > p:not(.eyebrow) {
  max-width: 550px;
  margin: 0 0 35px;
  color: #b9b9b6;
  font-size: 15px;
  line-height: 1.9;
}

.merch-hero-index {
  align-self: flex-end;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 15px;
  writing-mode: vertical-rl;
  color: #a58d7b;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.merch-hero-index-line {
  width: 1px;
  height: 65px;
  background: rgba(221, 170, 127, 0.45);
}

.merch-catalog {
  background:
    linear-gradient(rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0)),
    #0c0e10;
}

.merch-catalog-heading {
  margin-bottom: 72px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
}

.merch-catalog-heading .display-heading {
  margin-bottom: 0;
}

.merch-catalog-heading > p {
  max-width: 470px;
  margin: 0 0 8px;
  color: #969da1;
  font-size: 14px;
  line-height: 1.9;
}

.merch-product {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(46px, 7vw, 112px);
  align-items: start;
}

.merch-gallery {
  min-width: 0;
}

.merch-gallery-stage {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 233, 0.11);
  background:
    radial-gradient(circle at 50% 36%, #252321 0, #141516 52%, #0e1012 100%);
}

.merch-gallery-stage::after {
  position: absolute;
  content: "";
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.32);
}

.merch-gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.22s ease,
    transform 0.7s ease;
}

.merch-gallery-stage.is-changing img {
  opacity: 0.28;
  transform: scale(1.015);
}

.merch-gallery-stage figcaption {
  position: absolute;
  z-index: 2;
  inset: auto 22px 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #eee7de;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-shadow: 0 1px 12px #000;
}

.merch-thumbnails {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.merch-thumbnail {
  position: relative;
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 233, 0.12);
  background: #141618;
  color: inherit;
}

.merch-thumbnail::after {
  position: absolute;
  content: "";
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.merch-thumbnail:hover::after,
.merch-thumbnail.is-active::after {
  border-color: var(--copper-light);
}

.merch-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.66;
  filter: saturate(0.75);
  transition:
    opacity 0.2s,
    filter 0.2s,
    transform 0.35s;
}

.merch-thumbnail:hover img,
.merch-thumbnail.is-active img {
  opacity: 1;
  filter: none;
  transform: scale(1.025);
}

.merch-product-copy {
  padding-top: 18px;
}

.merch-product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #b08d75;
  font-size: 8px;
  letter-spacing: 0.19em;
}

.merch-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.merch-status > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper-light);
  box-shadow: 0 0 14px rgba(221, 170, 127, 0.72);
}

.merch-product-copy h3 {
  margin: 34px 0 8px;
  font: 800 clamp(42px, 5.4vw, 76px) / 0.92 var(--font-display);
  letter-spacing: -0.075em;
}

.merch-product-subtitle {
  margin: 0;
  color: #9ca1a4;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.merch-price {
  margin: 35px 0 0;
  color: #f0e8dd;
  font: 500 30px var(--font-display);
}

.merch-price small {
  margin-left: 8px;
  color: #858b8f;
  font: 500 9px var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.merch-copy-divider {
  height: 1px;
  margin: 30px 0;
  background: var(--line);
}

.merch-product-description {
  margin: 0;
  color: #abb0b2;
  font-size: 14px;
  line-height: 1.9;
}

.merch-product-manifesto {
  margin: 22px 0 0;
  color: #c49575;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.7;
  text-transform: uppercase;
}

.merch-specs {
  margin: 33px 0;
  border-block: 1px solid var(--line);
}

.merch-specs div {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 25px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(215, 217, 212, 0.09);
}

.merch-specs div:last-child {
  border-bottom: 0;
}

.merch-specs dt {
  color: #b48668;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.merch-specs dd {
  margin: 0;
  color: #c5c6c2;
  font-size: 12px;
  line-height: 1.55;
}

.merch-size-block {
  margin-top: 28px;
}

.merch-size-block > span {
  color: #d2cbc2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.merch-size-block ul {
  display: flex;
  gap: 8px;
  margin: 15px 0 12px;
  padding: 0;
  list-style: none;
}

.merch-size-block li {
  min-width: 46px;
  padding: 12px 9px;
  border: 1px solid #3a3c3d;
  color: #dfdbd4;
  text-align: center;
  font-size: 11px;
}

.merch-size-block p {
  margin: 0;
  color: #7f8589;
  font-size: 10px;
  line-height: 1.6;
}

.merch-purchase {
  margin-top: 32px;
}

.merch-buy {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #6e5748;
  color: #8e837a;
  background: #171616;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: not-allowed;
}

.merch-purchase-note {
  margin: 12px 0 0;
  color: #767c80;
  font-size: 9px;
  line-height: 1.6;
  text-align: center;
}

.merch-shipping-note {
  margin: 14px 0 0;
}

.merch-story {
  padding-block: 125px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 83% 45%, rgba(189, 128, 89, 0.17), transparent 0 26%),
    linear-gradient(120deg, #121417, #171512 58%, #0e1012);
}

.merch-story-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 9%;
  align-items: end;
}

.merch-story h2 {
  margin: 30px 0 0;
  font: 800 clamp(62px, 8vw, 118px) / 0.82 var(--font-display);
  letter-spacing: -0.085em;
}

.merch-story h2 em {
  color: #d2a280;
  font: 400 0.82em var(--font-serif);
}

.merch-story-copy {
  padding-bottom: 10px;
}

.merch-story-copy p {
  margin: 0 0 36px;
  color: #bbb9b4;
  font-size: 17px;
  line-height: 1.85;
}

.merch-story-copy span {
  color: #af886e;
  font-size: 9px;
  letter-spacing: 0.24em;
}

.merch-trust {
  background: #e9e3da;
  color: #151719;
}

.merch-trust-inner {
  min-height: 150px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.merch-trust-inner > div {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 0 35px;
  border-right: 1px solid rgba(21, 23, 25, 0.16);
}

.merch-trust-inner > div:first-child {
  padding-left: 0;
}

.merch-trust-inner > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.merch-trust-inner > div > span {
  color: #a56b4c;
  font: 400 26px var(--font-serif);
}

.merch-trust-inner p {
  margin: 0;
}

.merch-trust-inner strong,
.merch-trust-inner small {
  display: block;
}

.merch-trust-inner strong {
  font-size: 10px;
  letter-spacing: 0.12em;
}

.merch-trust-inner small {
  margin-top: 7px;
  color: #65676a;
  font-size: 10px;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .merch-hero,
  .merch-hero-layout {
    min-height: 780px;
  }

  .merch-hero-layout {
    padding-top: 145px;
  }

  .merch-hero-copy {
    width: 76%;
  }

  .merch-product {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 45px;
  }

  .merch-catalog-heading {
    margin-bottom: 55px;
  }

  .merch-trust-inner > div {
    padding-inline: 20px;
  }
}

@media (max-width: 760px) {
  .merch-hero,
  .merch-hero-layout {
    min-height: 700px;
  }

  .merch-hero-layout {
    padding-top: 128px;
    padding-bottom: 70px;
  }

  .merch-hero-copy {
    width: 92%;
  }

  .merch-hero h1 {
    font-size: clamp(62px, 19vw, 105px);
  }

  .merch-hero-art::after {
    width: 620px;
    right: -77%;
    top: 19%;
  }

  .merch-hero-rune {
    right: -8%;
    font-size: 90vw;
  }

  .merch-hero-orbit {
    width: 430px;
    right: -50%;
  }

  .merch-hero-flare {
    right: 4%;
  }

  .merch-hero-index {
    display: none;
  }

  .merch-catalog-heading {
    display: block;
  }

  .merch-catalog-heading > p {
    margin-top: 28px;
  }

  .merch-product,
  .merch-story-layout {
    grid-template-columns: 1fr;
  }

  .merch-product {
    gap: 52px;
  }

  .merch-product-copy {
    padding-top: 0;
  }

  .merch-story {
    padding-block: 90px;
  }

  .merch-story-layout {
    gap: 48px;
  }

  .merch-trust-inner {
    grid-template-columns: 1fr;
    padding-block: 18px;
  }

  .merch-trust-inner > div {
    min-height: 92px;
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(21, 23, 25, 0.16);
  }

  .merch-trust-inner > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 480px) {
  .merch-hero h1 {
    font-size: clamp(58px, 18.5vw, 82px);
  }

  .merch-hero-copy > p:not(.eyebrow) {
    font-size: 13px;
  }

  .merch-gallery-stage {
    aspect-ratio: 4 / 5.35;
  }

  .merch-thumbnails {
    gap: 7px;
  }

  .merch-product-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .merch-product-copy h3 {
    font-size: 45px;
  }

  .merch-specs div {
    grid-template-columns: 82px 1fr;
    gap: 14px;
  }

  .merch-size-block ul {
    gap: 5px;
  }

  .merch-size-block li {
    min-width: 0;
    flex: 1;
    padding-inline: 4px;
  }

  .merch-story h2 {
    font-size: 58px;
  }

  .merch-story-copy p {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .merch-gallery-stage img,
  .merch-thumbnail::after,
  .merch-thumbnail img {
    transition: none;
  }
}


/* Overview additions: two products, live shop links. */
.merch-product + .merch-product {
  margin-top: clamp(72px, 9vw, 130px);
}

/* Keep every product view in one row, whatever the image count. */
.merch-thumbnails {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
}

.merch-product { scroll-margin-top: 110px; }

@media (min-width: 981px) {
  .merch-product--reverse {
    grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
  }
  .merch-product--reverse .merch-gallery { order: 2; }
}

a.merch-buy {
  gap: 12px;
  border-color: var(--ivory, #f1ebe2);
  color: #111315;
  background: #f1ebe2;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

a.merch-buy:hover,
a.merch-buy:focus-visible {
  border-color: var(--copper-light);
  background: var(--copper-light);
}

a.merch-buy .icon { width: 15px; height: 15px; }

.merch-data-note {
  max-width: 720px;
  margin: clamp(60px, 7vw, 96px) 0 0;
  color: #858b8f;
  font-size: 12px;
  line-height: 1.8;
}

.merch-data-note a,
.merch-story-copy .text-link { color: var(--copper-light); }

.merch-story-copy .text-link { margin-top: 26px; }

@media (prefers-reduced-motion: reduce) {
  a.merch-buy { transition: none; }
}

/* The homepage teaser card shares the .merch-product name; the overview articles are not hover cards. */
.merch-page .merch-product,
.merch-page .merch-product:hover {
  border: 0;
  background: none;
  transform: none;
  transition: none;
}
