.icon {
  display: block;
  width: 100%;
  height: 100%;
}

.page-stack {
  display: flex;
  flex-direction: column;
  gap: 96px;
  padding: 0 0 60px;
  position: relative;
  max-width: 100%;
  overflow-x: clip;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 38px;
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  line-height: 14.4px;
  text-transform: none;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn--light {
  background-color: var(--color-white);
  color: var(--color-black);
}

.btn--dark {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-black);
  border: 1px solid var(--color-black);
}

.btn--light:hover,
.btn--dark:hover,
.btn--outline:hover {
  background-color: #cfcfcf;
  color: var(--color-black);
  border-color: #cfcfcf;
}

.btn--wide {
  min-width: 200px;
}

.btn--plain {
  text-transform: none;
}

/* ── Hero ── */
.hero {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background-color: #8a8a8a;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__portrait {
  position: absolute;
  top: 12%;
  left: 50%;
  z-index: 1;
  width: min(1080px, 76%);
  height: 94%;
  transform: translateX(-50%);
  object-fit: contain;
  object-position: center bottom;
}

.hero__title {
  position: absolute;
  top: calc(var(--announcement-height) + var(--header-height) + 41px);
  left: 50%;
  z-index: 2;
  width: max-content;
  max-width: calc(100% - 48px);
  transform: translateX(-50%);
  font-family: var(--font-primary);
  font-size: clamp(28px, 5.6vw, 80px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-white);
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  animation: hero-in 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.hero__content {
  position: absolute;
  left: 50%;
  bottom: 60px;
  z-index: 2;
  width: min(439px, calc(100% - 48px));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  animation: hero-in 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.hero__text {
  width: 100%;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 19.2px;
  color: var(--color-white);
  text-transform: uppercase;
  text-align: center;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.js-reveal {
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-reveal.is-in {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal,
  .hero__title,
  .hero__content,
  .gallery-reel__slide,
  .gallery-reel__bar-fill {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .gallery-reel__slide:not(.is-active) {
    opacity: 0;
  }

  .gender__card img {
    transition: none;
  }

  .gender__card:hover img {
    transform: none;
  }

  .hero__title,
  .hero__content,
  .dropped__content,
  .dropped__content.js-reveal,
  .dropped__content.js-reveal.is-in {
    transform: translateX(-50%);
  }
}

/* ── Featured products ── */
.featured {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 40px;
  max-width: 100%;
  padding-inline: var(--container-padding);
  background-color: var(--color-white);
  overflow-x: clip;
}

.featured__grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  width: 100%;
  min-width: 0;
}

.featured > .btn {
  align-self: center;
}

.featured .product-card {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  width: auto;
  height: auto;
}

.featured .product-card__media {
  height: auto;
  aspect-ratio: 333 / 426;
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 333px;
  width: auto;
  height: 507px;
  overflow: clip;
}

.product-card__media {
  position: relative;
  display: block;
  width: 100%;
  height: 426px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.product-card__link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-card__wish {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 80px;
  background: transparent;
  color: var(--color-gray-link);
  cursor: pointer;
  transition: color 0.3s ease;
}

.product-card__wish .icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: inherit;
  fill: currentColor;
}

.product-card__wish .icon--outline {
  transition: opacity 0.3s ease;
}

.product-card__wish .icon--filled {
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card__wish:hover {
  color: var(--color-black);
}

.product-card__wish:hover .icon--outline {
  opacity: 0;
}

.product-card__wish:hover .icon--filled {
  opacity: 1;
}

.product-card__wish.is-wished {
  color: var(--color-black);
}

.product-card__wish.is-wished .icon--outline {
  opacity: 0;
}

.product-card__wish.is-wished .icon--filled {
  opacity: 1;
}

.product-card__sizes {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 49px);
  gap: 8px;
  width: auto;
  padding: 16px;
  background-color: var(--color-white);
  transform: translateY(calc(100% + 20px));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.product-card:hover .product-card__sizes,
.product-card:focus-within .product-card__sizes {
  transform: translateY(0);
}

.product-card__size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 34px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  color: var(--color-black);
  cursor: pointer;
}

.product-card__size:hover,
.product-card__size.is-active {
  background-color: #f5f5f5;
}

.product-card__swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 20px;
  padding-top: 4px;
}

.product-card__swatch {
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  padding: 1px;
  border-radius: 0;
  border: 1px solid rgba(10, 10, 10, 0.12);
  background-clip: content-box;
  cursor: pointer;
  appearance: none;
}

.product-card__swatch.is-active {
  border-color: var(--color-black);
}

.product-card__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding-top: 8px;
}

.product-card__name {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 19.2px;
  color: var(--color-black);
  text-transform: uppercase;
}

.product-card__price {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  color: #7a7a7a;
}

/* ── Just Dropped ── */
.dropped {
  position: relative;
  width: 100%;
  height: 818px;
  overflow: hidden;
  background-color: var(--color-white);
}

.dropped__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dropped__media {
  display: block;
  width: 100%;
  height: 100%;
}

.dropped__media .dropped__image {
  width: 100%;
  height: 100%;
}

.dropped__content {
  position: absolute;
  left: 50%;
  bottom: 40px;
  width: min(357px, calc(100% - 48px));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.dropped__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.dropped__content.js-reveal {
  transform: translateX(-50%);
}

.dropped__title {
  font-family: var(--font-primary);
  font-size: 48px;
  font-weight: 500;
  line-height: 57.6px;
  color: var(--color-white);
  text-transform: uppercase;
  text-align: center;
  white-space: pre;
}

.dropped__text {
  width: 100%;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 19.2px;
  color: var(--color-white);
  text-transform: uppercase;
  text-align: center;
}

/* ── Gender split ── */
.gender {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  max-width: 100%;
  height: 843px;
  min-height: 843px;
  padding: 0;
  background-color: var(--color-white);
  overflow: clip;
}

.gender__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 0 1 500px;
  width: min(500px, 100%);
  max-width: 500px;
  min-width: 0;
  height: 838px;
  overflow: clip;
}

.gender__media {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: hidden;
  flex-shrink: 0;
}

.gender__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gender__blob {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: normal;
  background: transparent;
}

.gender__mask {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-color: var(--color-white);
  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 66%, rgb(0, 0, 0) 97%);
  mask-image: linear-gradient(rgba(0, 0, 0, 0) 66%, rgb(0, 0, 0) 97%);
  pointer-events: none;
}

.gender__card .btn {
  position: static;
  transform: none;
  margin-top: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ── Shop by category ── */
.categories {
  position: relative;
  display: grid;
  grid-template-columns: 473fr 474fr 473fr;
  align-items: start;
  width: 100%;
  gap: 10px;
  background-color: var(--color-white);
  overflow: clip;
}

.categories__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.categories__intro {
  position: sticky;
  top: var(--announcement-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.categories__title {
  width: min(318px, 100%);
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 500;
  line-height: 38.4px;
  color: var(--color-black);
  text-transform: uppercase;
  text-align: start;
  white-space: nowrap;
}

.categories__text {
  width: 100%;
  max-width: 473px;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 19.2px;
  color: var(--color-black);
  text-transform: uppercase;
  text-align: center;
}

.category-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 473 / 469;
  overflow: hidden;
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.category-tile__label {
  position: absolute;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 220px);
  height: 38px;
  padding: 12px 16px;
  background-color: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  line-height: 14.4px;
  text-transform: none;
  text-align: center;
  white-space: nowrap;
}

.categories__col--left .category-tile__label {
  right: 16px;
}

.categories__col--right .category-tile__label {
  left: 16px;
}

/* ── Lifestyle gallery ── */
.gallery {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
  max-width: 100%;
  padding-inline: var(--container-padding);
  background-color: var(--color-white);
  overflow: clip;
}

.gallery__grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  height: 801px;
}

.gallery__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 405px;
  min-width: 0;
  height: 801px;
}

.gallery__copy--left {
  text-align: right;
}

.gallery__copy--right {
  text-align: left;
}

.gallery > .btn {
  align-self: center;
}

.gallery__heading {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 500;
  line-height: 38.4px;
  color: var(--color-black);
  text-transform: uppercase;
}

.gallery__media {
  position: relative;
  flex: 0 1 534px;
  width: min(534px, 100%);
  max-width: 100%;
  height: 801px;
  overflow: hidden;
}

.gallery-reel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-reel__stage {
  position: absolute;
  inset: 0;
}

.gallery-reel__slide,
img.gallery-reel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.gallery-reel__slide.is-active {
  opacity: 1;
}

.gallery-reel__status {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-reel__bars {
  flex: 1 1 0%;
  display: flex;
  gap: 4px;
}

.gallery-reel__bar {
  position: relative;
  flex: 1 1 0%;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.gallery-reel__bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background-color: #fff;
}

.gallery-reel__bar.is-done .gallery-reel__bar-fill {
  width: 100%;
}

.gallery-reel__bar.is-active .gallery-reel__bar-fill {
  animation: gallery-bar-fill 4s linear forwards;
}

.gallery-reel.is-paused .gallery-reel__bar.is-active .gallery-reel__bar-fill {
  animation-play-state: paused;
}

@keyframes gallery-bar-fill {
  from { width: 0; }
  to { width: 100%; }
}

.gallery-reel__pause {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  color: #fff;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.2s;
}

.gallery-reel__nav {
  position: absolute;
  top: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  color: #fff;
  opacity: 0.7;
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity 0.2s;
}

.gallery-reel__nav svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-reel__nav--prev {
  left: 16px;
}

.gallery-reel__nav--next {
  right: 16px;
}

.gallery-reel__pause:hover,
.gallery-reel__nav:hover {
  opacity: 1;
}

@media (min-width: 810px) and (max-width: 1199px) {
  .hero__title {
    font-size: clamp(32px, 4.2vw, 48px);
  }

  .hero__portrait {
    width: min(90%, 1080px);
    height: 94%;
  }
}
