/* Party Wear collections — editorial paths into the dedicated catalogue. */

body.ec-partywear-collections-page { background: var(--ec-page); }

.ec-pw-collections { min-height: 100vh; }
.ec-pwc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .38fr); align-items: end; gap: clamp(36px, 10vw, 170px); padding-top: clamp(112px, 14vw, 208px); padding-bottom: clamp(62px, 8vw, 116px); }
.ec-pwc-hero .ec-pw-kicker { margin-bottom: 22px; color: #9a7259; }
.ec-pwc-hero .ec-pw-display { max-width: 790px; }
.ec-pwc-hero > p { max-width: 270px; margin: 0 0 7px; color: rgba(33,25,21,.68); font: 400 16px / 1.58 var(--ec-font-text); }
.ec-pwc-edits { overflow: hidden; background: #251612; }
.ec-pwc-edits__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,250,243,.16); }
.ec-pwc-edit { position: relative; display: grid; min-height: min(52vw, 720px); color: #fffaf3; background: #3c211a; overflow: hidden; isolation: isolate; text-decoration: none; }
.ec-pwc-edit > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.22,1,.36,1), filter .75s ease; }
.ec-pwc-edit:nth-child(1) > img { object-position: 50% 37%; }
.ec-pwc-edit:nth-child(2) > img { object-position: 52% center; }
.ec-pwc-edit:nth-child(3) > img { object-position: center; }
.ec-pwc-edit__wash { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,7,5,.08) 34%, rgba(16,7,5,.86) 100%); transition: background .6s ease; }
.ec-pwc-edit__copy { align-self: end; display: grid; gap: 13px; padding: clamp(26px, 3.4vw, 53px); }
.ec-pwc-edit__copy small,
.ec-pwc-edit__copy b { font: 500 9px / 1.3 var(--ec-font-text); letter-spacing: .17em; text-transform: uppercase; }
.ec-pwc-edit__copy small { color: #ebc295; }
.ec-pwc-edit__copy strong { font: 400 clamp(35px, 4.25vw, 64px) / 1.01 var(--pw-serif); letter-spacing: -.035em; }
.ec-pwc-edit__copy em { max-width: 30ch; color: rgba(255,250,243,.8); font: 400 13px / 1.48 var(--ec-font-text); font-style: normal; }
.ec-pwc-edit__copy b { display: flex; align-items: center; gap: 9px; width: max-content; margin-top: 10px; padding-bottom: 7px; border-bottom: 1px solid currentColor; font-style: normal; transition: gap .35s cubic-bezier(.22,1,.36,1); }
.ec-pwc-edit__copy i { font-style: normal; }
.ec-pwc-edit:hover > img,
.ec-pwc-edit:focus-visible > img { filter: brightness(1.08); transform: scale(1.045); }
.ec-pwc-edit:hover .ec-pwc-edit__wash,
.ec-pwc-edit:focus-visible .ec-pwc-edit__wash { background: linear-gradient(180deg, rgba(16,7,5,.02) 22%, rgba(16,7,5,.91) 100%); }
.ec-pwc-edit:hover .ec-pwc-edit__copy b,
.ec-pwc-edit:focus-visible .ec-pwc-edit__copy b { gap: 14px; }
.ec-pwc-signatures { padding-top: clamp(85px, 12vw, 178px); padding-bottom: clamp(96px, 12vw, 185px); }
.ec-pwc-closing { position: relative; display: grid; min-height: min(59vw, 770px); color: #fffaf3; background: #21120f; overflow: hidden; isolation: isolate; }
.ec-pwc-closing > img { position: absolute; inset: -3%; z-index: -2; width: 106%; height: 106%; object-fit: cover; object-position: 67% center; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.ec-pwc-closing__wash { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,8,7,.78), rgba(13,8,7,.16) 73%); }
.ec-pwc-closing__copy { align-self: center; padding-top: 80px; padding-bottom: 80px; }
.ec-pwc-closing__copy .ec-pw-kicker { margin-bottom: 22px; color: #edc59f; }
.ec-pwc-closing__copy .ec-pw-display { max-width: 720px; margin-bottom: 36px; font-size: clamp(64px, 8vw, 134px); }
.ec-pwc-closing:hover > img { transform: scale(1.035); }

@media (max-width: 900px) {
	.ec-pwc-edit { min-height: min(67vw, 630px); }
	.ec-pwc-edits__grid { grid-template-columns: 1fr 1fr; }
	.ec-pwc-edit:last-child { grid-column: 1 / -1; min-height: min(62vw, 620px); }
}

@media (max-width: 700px) {
	.ec-pwc-hero { grid-template-columns: 1fr; gap: 27px; padding-top: 105px; padding-bottom: 52px; }
	.ec-pwc-hero > p { margin-bottom: 0; }
	.ec-pwc-edits__grid { grid-template-columns: 1fr; }
	.ec-pwc-edit,
	.ec-pwc-edit:last-child { grid-column: auto; min-height: 112vw; }
	.ec-pwc-edit__copy { padding: 28px 23px; }
	.ec-pwc-closing { min-height: 128vw; }
	.ec-pwc-closing__copy { padding-top: 90px; padding-bottom: 68px; }
	.ec-pwc-closing__copy .ec-pw-display { font-size: clamp(58px, 15vw, 90px); }
}

@media (prefers-reduced-motion: reduce) {
	.ec-pw-collections * { transition-duration: .01ms !important; }
}
