/* What You'll Receive + How It Works */
.wyr {
  position: relative;
  padding: clamp(56px, 5vw, 80px) clamp(24px, 5vw, 72px) clamp(68px, 6vw, 96px);
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.wyr-inner,
.how-it-works-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.wyr-header {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.wyr-title,
.how-title {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 2.7vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #F6F2EB;
}

.wyr-title span,
.how-title span {
  display: inline-block;
  margin: 0 0.25em;
  font-size: 0.52em;
  vertical-align: middle;
}

.wyr-support {
  margin-top: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 1.35vw, 1.35rem);
  line-height: 1.45;
  color: rgba(246, 242, 235, 0.8);
}

.wyr-grid {
  width: 100%;
  max-width: 920px;
  margin: clamp(34px, 3.5vw, 48px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.5vw, 22px);
}

.wyr-card {
  display: flex;
  flex-direction: column;
  min-height: clamp(430px, 37vw, 510px);
  padding: clamp(13px, 1.2vw, 17px) clamp(13px, 1.2vw, 17px) 18px;
  overflow: hidden;
  text-align: center;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.wyr-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.34);
}

.wyr-card-media {
  position: relative;
  width: 100%;
  height: 61%;
  min-height: 255px;
  overflow: hidden;
  background: #050505;
}

.wyr-card-media img {
  position: absolute;
  top: -301%;
  height: 614%;
  width: auto;
  max-width: none;
}

.wyr-card-media--tarot img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.wyr-card-media--jewelry img { left: -155%; }

.wyr-card-media--message {
  isolation: isolate;
}

.wyr-card-media--message .wyr-reveal-photo {
  position: absolute;
  max-width: none;
  object-fit: cover;
}

.wyr-card-media--message .wyr-reveal-photo--back {
  inset: -8% -12% -5% 30%;
  width: 86%;
  height: 115%;
  transform: rotate(6deg);
  opacity: 0.72;
}

.wyr-card-media--message .wyr-reveal-photo--front {
  inset: 4% 19% -7% -4%;
  width: 82%;
  height: 110%;
  transform: rotate(-4deg);
  box-shadow: 16px 10px 32px rgba(0, 0, 0, 0.52);
}

.wyr-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -20px 28px #000;
  pointer-events: none;
}

.wyr-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 8px;
}

.wyr-card-title {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  line-height: 1.15;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: #F6F2EB;
}

.wyr-card-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.08rem, 1.25vw, 1.35rem);
  line-height: 1.3;
  color: rgba(246, 242, 235, 0.86);
}

.wyr-card-star {
  margin-top: 2px;
  font-size: 16px;
  color: #fff;
}

.how-it-works {
  padding: 0 clamp(24px, 5vw, 72px) clamp(90px, 9vw, 144px);
  background: var(--bg);
}

.how-title {
  text-align: center;
  letter-spacing: 0.12em;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(22px, 3vw, 52px);
  margin-top: clamp(38px, 4vw, 58px);
  padding: 0;
  list-style: none;
}

.how-step {
  position: relative;
  text-align: center;
}

.how-step:not(:last-child)::after {
  content: "⟶";
  position: absolute;
  top: 62px;
  right: clamp(-38px, -2.4vw, -18px);
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: rgba(255, 255, 255, 0.75);
}

.how-icon {
  width: clamp(106px, 10vw, 146px);
  aspect-ratio: 1;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(225, 114, 255, 0.75);
  border-radius: 50%;
}

.how-icon svg {
  width: 68%;
  height: 68%;
  fill: none;
  stroke: #F6F2EB;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-step h3 {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: clamp(0.88rem, 1.15vw, 1.05rem);
  line-height: 1.35;
  text-transform: uppercase;
  color: #F6F2EB;
}

.how-step p {
  margin-top: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.35;
  color: rgba(246, 242, 235, 0.76);
}

/* Oversized transition inspired by the reference's chaotic bottom banner. */
.lunatiq-chaos {
  width: 100%;
  height: clamp(150px, 15vw, 230px);
  overflow: hidden;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.lunatiq-chaos-track {
  height: 100%;
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 52px);
  padding: 0 clamp(24px, 3vw, 52px);
  transform: translateX(clamp(-210px, -11vw, -80px));
}

.lunatiq-chaos span {
  flex: none;
  font-family: 'Cinzel', serif;
  font-size: clamp(4.6rem, 9.5vw, 9rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 242, 235, 0.94);
}

.lunatiq-chaos img {
  flex: none;
  width: clamp(112px, 12vw, 180px);
  height: clamp(112px, 12vw, 180px);
  object-fit: cover;
  object-position: 50% 23%;
  border-radius: 50%;
  transform: rotate(-7deg) scale(1.2);
}

.lunatiq-chaos img:nth-of-type(2) {
  transform: rotate(8deg) scale(1.08);
}

@media (max-width: 860px) {
  .wyr-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .wyr-card {
    min-height: min(650px, 140vw);
  }

  .wyr-card-media {
    min-height: 340px;
  }

  .how-steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 48px;
  }

  .how-step::after {
    display: none;
  }

  .lunatiq-chaos-track {
    transform: translateX(-150px);
  }
}

@media (max-width: 540px) {
  .wyr-title span,
  .how-title span {
    margin: 0 0.08em;
  }

  .wyr-card {
    min-height: 600px;
  }

  .how-steps {
    grid-template-columns: 1fr;
  }
}
