:root {
  --collection-bg: #050505;
  --collection-panel: rgba(255, 255, 255, 0.02);
  --collection-text: #f4efe5;
  --collection-muted: rgba(244, 239, 229, 0.68);
  --collection-line: rgba(255, 255, 255, 0.1);
  --collection-gold: #dcc5a2;
  --collection-shadow: rgba(0, 0, 0, 0.42);
  --collection-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --parallax-x: 0px;
  --parallax-y: 0px;
  --shadow-shift-x: 0px;
  --shadow-shift-y: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--collection-bg);
  color: var(--collection-text);
  font-family: "Plus Jakarta Sans", sans-serif;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  box-shadow:
    inset 0 0 180px rgba(0, 0, 0, 0.68),
    inset 0 0 48px rgba(255, 255, 255, 0.02);
}

body::after {
  inset: auto 0 0;
  height: 32vh;
  background: rgba(255, 255, 255, 0.015);
  filter: blur(120px);
  opacity: 0.16;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.collection-cursor,
.collection-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.collection-cursor {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  transform: translate3d(-50%, -50%, 0);
}

.collection-cursor-ring {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid rgba(220, 197, 162, 0.28);
  background: rgba(220, 197, 162, 0.06);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 28px rgba(220, 197, 162, 0.16),
    inset 0 0 14px rgba(255, 255, 255, 0.04);
  transform: translate3d(-50%, -50%, 0);
}

@media (pointer: fine) {
  body.has-fancy-cursor .collection-cursor,
  body.has-fancy-cursor .collection-cursor-ring {
    opacity: 1;
  }
}

.collection-page {
  position: relative;
}

.collection-page__shell {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 34px) clamp(28px, 4vw, 48px);
}

.collection-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(14px);
}

.collection-header__inner {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: 22px clamp(18px, 3vw, 34px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.collection-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 40px);
  flex-wrap: wrap;
}

.collection-nav a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 229, 0.72);
  transition: color 0.3s ease;
}

.collection-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background: rgba(220, 197, 162, 0.9);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.45s var(--collection-ease);
}

.collection-nav a:hover,
.collection-nav a:focus-visible,
.collection-nav a.is-active {
  color: rgba(244, 239, 229, 0.98);
}

.collection-nav a:hover::after,
.collection-nav a:focus-visible::after,
.collection-nav a.is-active::after {
  transform: scaleX(1);
}

.collection-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.collection-action {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(244, 239, 229, 0.9);
  transition:
    border-color 0.35s ease,
    transform 0.45s var(--collection-ease),
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}

.collection-action svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

.collection-action:hover,
.collection-action:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(220, 197, 162, 0.26);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.collection-main {
  padding-top: clamp(22px, 4vw, 36px);
}

.collection-back {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(18px, 3vw, 28px);
  color: rgba(244, 239, 229, 0.76);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.3s ease, transform 0.45s var(--collection-ease);
}

.collection-back:hover,
.collection-back:focus-visible {
  color: rgba(244, 239, 229, 0.98);
  transform: translateX(-3px);
}

.collection-back__arrow {
  font-size: 1.2rem;
  line-height: 1;
}

.collection-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 430px);
  grid-template-areas:
    "stage panel"
    "footer footer";
  align-items: center;
  gap: clamp(26px, 5vw, 86px) clamp(28px, 6vw, 92px);
  min-height: calc(100vh - 190px);
}

.collection-stage {
  grid-area: stage;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  min-height: min(76vh, 840px);
}

.collection-stage__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: rgba(244, 239, 229, 0.96);
  font-size: 3rem;
  line-height: 1;
  transition: transform 0.45s var(--collection-ease), opacity 0.35s ease, text-shadow 0.35s ease;
  will-change: transform;
}

.collection-stage__arrow:hover,
.collection-stage__arrow:focus-visible {
  transform: translateX(4px);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.14);
}

.collection-stage__arrow--prev:hover,
.collection-stage__arrow--prev:focus-visible {
  transform: translateX(-4px);
}

.collection-stage__media {
  position: relative;
  grid-column: 2;
  width: min(100%, 860px);
  min-height: min(74vh, 810px);
  margin: 0 auto;
  overflow: visible;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  transition: transform 0.5s ease-out;
}

.collection-stage__ambient {
  position: absolute;
  inset: auto 7% 0 2%;
  height: 28%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 42%, rgba(255, 255, 255, 0.11), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(162, 136, 110, 0.2), transparent 58%);
  filter: blur(54px);
  opacity: 0.9;
  pointer-events: none;
}

.collection-stage__preview,
.collection-stage__incoming,
.collection-stage__active {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  justify-items: center;
  pointer-events: none;
  will-change: transform, opacity, filter;
  transition:
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.62s ease,
    filter 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}

.collection-stage__active {
  z-index: 3;
  transform: translate3d(-17%, 0, 0) scale(1);
  opacity: 1;
}

.collection-stage__preview,
.collection-stage__incoming {
  transform: translate3d(27%, 3%, 0) scale(0.58);
  transform-origin: center bottom;
  opacity: 0.54;
  filter: blur(6px) brightness(0.5) saturate(0.72);
}

.collection-stage__preview {
  z-index: 1;
}

.collection-stage__incoming {
  z-index: 2;
  opacity: 0;
}

.collection-stage__media.has-incoming .collection-stage__incoming {
  opacity: 0.54;
}

.collection-stage__model {
  width: clamp(330px, 42vw, 520px);
  max-height: min(76vh, 760px);
  object-fit: contain;
  object-position: center bottom;
  user-select: none;
}

.collection-stage__active .collection-stage__model {
  animation:
    collectionFloat 10s ease-in-out infinite alternate,
    collectionBreathe 7.8s ease-in-out infinite;
  filter:
    drop-shadow(calc(var(--shadow-shift-x) * 1) calc(36px + (var(--shadow-shift-y) * 1)) 68px rgba(0, 0, 0, 0.44))
    drop-shadow(0 10px 28px rgba(255, 255, 255, 0.05));
}

.collection-stage__media.is-animating.is-next .collection-stage__active {
  transform: translate3d(-30%, 0, 0) scale(0.93);
  opacity: 0;
  filter: blur(5px) brightness(0.82);
}

.collection-stage__media.is-animating.is-next .collection-stage__preview {
  z-index: 4;
  transform: translate3d(-17%, 0, 0) scale(1);
  opacity: 1;
  filter: blur(0) brightness(1) saturate(1);
}

.collection-stage__media.is-animating.is-prev .collection-stage__active {
  transform: translate3d(2%, 0, 0) scale(0.93);
  opacity: 0;
  filter: blur(5px) brightness(0.82);
}

.collection-stage__media.is-animating.is-prev .collection-stage__incoming {
  z-index: 4;
  transform: translate3d(-17%, 0, 0) scale(1);
  opacity: 1;
  filter: blur(0) brightness(1) saturate(1);
}

.collection-stage__media.is-animating.is-prev .collection-stage__preview {
  transform: translate3d(33%, 7%, 0) scale(0.5);
  opacity: 0.18;
  filter: blur(12px) brightness(0.22) saturate(0.48);
}

.collection-panel {
  grid-area: panel;
  max-width: 430px;
  padding-top: clamp(10px, 3vh, 44px);
}

.collection-product-card {
  display: grid;
  gap: 0;
}

.collection-panel__title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 4vw, 4.6rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0.01em;
}

.collection-panel__copy {
  margin: 24px 0 0;
  max-width: 33ch;
  color: rgba(244, 239, 229, 0.66);
  font-size: 1.02rem;
  line-height: 1.72;
}

.collection-panel__price {
  margin: 34px 0 0;
  font-size: clamp(2rem, 2.6vw, 2.3rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.collection-panel__selectors {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.collection-panel__label {
  display: block;
  margin: 0 0 14px;
  color: rgba(244, 239, 229, 0.96);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.collection-sizes,
.collection-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.collection-size,
.collection-color,
.collection-cta {
  position: relative;
  overflow: hidden;
}

.collection-size::before,
.collection-color::before,
.collection-cta::before,
.collection-action::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.12) 50%, transparent 82%);
  transform: translateX(-130%);
  transition: transform 0.8s var(--collection-ease);
}

.collection-size:hover::before,
.collection-color:hover::before,
.collection-cta:hover::before,
.collection-action:hover::before {
  transform: translateX(130%);
}

.collection-size {
  min-width: 68px;
  height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(244, 239, 229, 0.92);
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    transform 0.35s var(--collection-ease),
    border-color 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}

.collection-size:hover,
.collection-size:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.04);
}

.collection-size.is-active {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.collection-color {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 0.35s var(--collection-ease),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.collection-color:hover,
.collection-color:focus-visible {
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.42);
}

.collection-color.is-active {
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 0 5px rgba(255, 255, 255, 0.04);
}

.collection-color__swatch {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: block;
}

.collection-panel__actions {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.collection-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 62px;
  padding: 0 24px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(244, 239, 229, 0.98);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    transform 0.45s var(--collection-ease),
    border-color 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.45s ease,
    color 0.35s ease;
}

.collection-cta:hover,
.collection-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.collection-cta--ghost:hover,
.collection-cta--ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.04);
}

.collection-cta--primary {
  background: rgba(244, 239, 229, 1);
  color: #111111;
  border-color: rgba(244, 239, 229, 1);
}

.collection-cta--primary:hover,
.collection-cta--primary:focus-visible {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 1);
}

.collection-showcase__footer {
  grid-area: footer;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: clamp(10px, 2vw, 26px);
}

.collection-showcase__counter {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  justify-self: start;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 2.6vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.collection-showcase__counter span:nth-child(2),
.collection-showcase__counter span:nth-child(3) {
  color: rgba(244, 239, 229, 0.84);
}

.collection-pagination {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.collection-pagination__dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: transparent;
  transition: transform 0.35s var(--collection-ease), background-color 0.35s ease, opacity 0.35s ease;
  opacity: 0.74;
}

.collection-pagination__dot:hover,
.collection-pagination__dot:focus-visible {
  transform: scale(1.08);
  opacity: 1;
}

.collection-pagination__dot.is-active {
  background: rgba(255, 255, 255, 0.98);
  opacity: 1;
}

.collection-showcase__navtext {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: clamp(22px, 4vw, 64px);
}

.collection-showcase__navlink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(244, 239, 229, 0.96);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.55rem, 2vw, 2rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.4s var(--collection-ease), opacity 0.35s ease;
}

.collection-showcase__navlink span:last-child {
  font-size: 1.65em;
  line-height: 0.8;
}

.collection-showcase__navlink:hover,
.collection-showcase__navlink:focus-visible {
  transform: translateX(4px);
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.95s var(--collection-ease),
    transform 0.95s var(--collection-ease);
}

body.is-loaded [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.collection-panel.is-updating {
  animation: panelPulse 0.75s var(--collection-ease);
}

.collection-panel.is-updating .collection-product-card {
  animation: panelPulse 0.75s var(--collection-ease);
}

@keyframes collectionFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes collectionBreathe {
  0%,
  100% {
    scale: 1;
  }

  50% {
    scale: 1.018;
  }
}

@keyframes panelPulse {
  0% {
    opacity: 0.78;
    transform: translate3d(0, 14px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 1220px) {
  .collection-showcase {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 390px);
    gap: 28px 46px;
  }

  .collection-panel__title {
    font-size: clamp(2.8rem, 3.6vw, 4rem);
  }
}

@media (max-width: 1040px) {
  .collection-showcase {
    grid-template-columns: 1fr;
    grid-template-areas:
      "stage"
      "panel"
      "footer";
    gap: 22px;
    min-height: auto;
  }

  .collection-stage {
    min-height: min(68vh, 760px);
  }

  .collection-panel {
    max-width: none;
    padding-top: 0;
  }

  .collection-showcase__footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }

  .collection-showcase__counter,
  .collection-showcase__navtext {
    justify-self: center;
  }

  .collection-stage__arrow {
    width: 48px;
    height: 48px;
    font-size: 2.6rem;
  }
}

@media (max-width: 760px) {
  .collection-header__inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .collection-nav {
    gap: 14px 18px;
  }

  .collection-showcase {
    gap: 14px;
  }

  .collection-stage {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    min-height: min(60vh, 620px);
  }

  .collection-stage__media {
    min-height: 54vh;
  }

  .collection-stage__model {
    width: min(92vw, 440px);
    max-height: min(54vh, 520px);
  }

  .collection-stage__active {
    transform: translate3d(-8%, 0, 0) scale(1);
  }

  .collection-stage__preview,
  .collection-stage__incoming {
    transform: translate3d(18%, 1%, 0) scale(0.54);
  }

  .collection-stage__media.is-animating.is-next .collection-stage__preview,
  .collection-stage__media.is-animating.is-prev .collection-stage__incoming {
    transform: translate3d(-8%, 0, 0) scale(1);
  }

  .collection-panel {
    padding: 8px 6px 0;
  }

  .collection-panel__title {
    font-size: clamp(2.5rem, 10vw, 3.4rem);
  }

  .collection-panel__price {
    font-size: 1.6rem;
  }

  .collection-showcase__navtext {
    gap: 22px;
  }

  .collection-showcase__navlink {
    font-size: 1.4rem;
  }

  .collection-stage__arrow {
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }
}

@media (max-width: 560px) {
  .collection-page__shell {
    padding-inline: 14px;
  }

  .collection-header__inner {
    padding-inline: 14px;
  }

  .collection-brand {
    font-size: 2.2rem;
  }

  .collection-nav a {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .collection-actions {
    gap: 8px;
  }

  .collection-action {
    width: 40px;
    height: 40px;
  }

  .collection-stage {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
  }

  .collection-stage__media {
    min-height: 48vh;
  }

  .collection-panel__copy {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .collection-size {
    min-width: 58px;
    height: 52px;
    padding-inline: 14px;
  }

  .collection-cta {
    min-height: 56px;
    padding-inline: 18px;
    font-size: 0.94rem;
  }

  .collection-showcase__counter {
    font-size: 1.72rem;
  }

  .collection-pagination {
    gap: 10px;
  }

  .collection-pagination__dot {
    width: 11px;
    height: 11px;
  }

  .collection-showcase__navtext {
    width: 100%;
    justify-content: space-between;
  }

  .collection-showcase__navlink {
    font-size: 1.26rem;
  }
}
