/* Homepage-only refinements: metallic year and balanced department columns. */
.year-art .year-metal {
  display: inline-block;
  color: var(--gold);
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .year-art .year-metal {
    background-image: linear-gradient(
      125deg,
      #93672f 0%,
      #bf9456 18%,
      #dfbd7b 29%,
      #fff0c5 38%,
      #d1a55f 43%,
      #a57634 49%,
      #d8b16c 61%,
      #f6e1aa 68%,
      #bf9456 83%,
      #94672d 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.home-world-section .home-world-media > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

/* Match the existing theme's desktop breakpoint; stacked layouts remain fluid. */
@media (min-width: 901px) {
  .home-world-section .split {
    align-items: stretch;
  }

  .home-world-section .photo {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    height: auto;
    min-height: 0;
    margin: 0;
  }

  .home-world-section .home-world-media {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
  }

  .home-world-section .home-world-media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
  }

  .home-world-section .figure-note {
    flex: 0 0 auto;
  }
}

@media (forced-colors: active) {
  .year-art .year-metal {
    background-image: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
}
