.collection-page {
    position: relative;
    z-index: 1;
    padding-bottom: 84px;
}

.collection-shell {
    width: 100%;
    margin: 0;
    padding-left: var(--site-padding-x);
    padding-right: var(--site-padding-x);
}

.collection-eyebrow {
    margin: 0 0 20px;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(115, 118, 115, 0.72);
}

.collection-intro {
    padding: 88px 0 118px;
}

.collection-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(180px, 1fr);
    gap: 96px;
    align-items: start;
}

.collection-intro__title {
    max-width: 540px;
    margin: 0;
    color: var(--site-text);
    font-size: clamp(2.1rem, 3.6vw, 3.7rem);
    font-weight: 300;
    line-height: 1.04;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.collection-intro__note {
    max-width: 240px;
    margin-top: 10px;
    margin-left: auto;
    font-size: 11px;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.2em;
    text-align: right;
    text-transform: uppercase;
    color: rgba(115, 118, 115, 0.72);
}

.collection-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 26px;
    margin-top: 56px;
}

.collection-filter__link,
.collection-subnav__link,
.collection-card__link {
    color: var(--site-text);
    text-decoration: none;
}

.collection-filter__link {
    position: relative;
    padding-bottom: 6px;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.collection-filter__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--site-line);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.collection-filter__link:hover::after,
.collection-filter__link.is-active::after {
    opacity: 1;
}

.collection-section {
    padding: 0 0 136px;
}

.collection-section--compact {
    padding-bottom: 116px;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 112px 72px;
}

.collection-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.collection-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 460px;
    margin-bottom: 36px;
}

.collection-card__image {
    display: block;
    width: min(100%, 470px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.05));
}

.collection-card__placeholder {
    width: min(100%, 470px);
    aspect-ratio: 1 / 1.08;
    display: grid;
    place-items: center;
    border: 1px solid rgba(115, 118, 115, 0.2);
    background: rgba(255, 255, 255, 0.28);
}

.collection-card__placeholder-label {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(115, 118, 115, 0.7);
}

.collection-card__meta {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(115, 118, 115, 0.72);
}

.collection-card__title {
    margin: 0;
    color: var(--site-text);
    font-size: clamp(1.65rem, 2.05vw, 2.125rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1em * 1.08);
}

.collection-card__text {
    max-width: 460px;
    margin: 20px 0 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1em * 1.9 * 2);
}

.collection-card__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(115, 118, 115, 0.24);
}

.collection-card__size,
.collection-card__status {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.collection-card__status {
    color: rgba(115, 118, 115, 0.96);
}

.collection-card__link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

.collection-card__link:hover,
.collection-subnav__link:hover {
    opacity: 0.72;
}

.collection-card__link {
    align-self: flex-start;
}

.collection-card__link::after {
    content: "→";
    font-size: 22px;
    line-height: 1;
    transform: translateY(-1px);
}

.collection-note {
    padding: 12px 0 148px;
}

.collection-note__inner {
    max-width: 760px;
}

.collection-note__title {
    max-width: 720px;
    margin: 0;
    color: var(--site-text);
    font-size: clamp(2.4rem, 4vw, 4.35rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.collection-note__text {
    max-width: 620px;
    margin: 30px 0 0;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.95;
}

.collection-subnav {
    padding: 0 0 24px;
}

.collection-subnav__row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(115, 118, 115, 0.24);
}

.collection-subnav__link {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .collection-shell {
        width: min(calc(100% - 80px), 1320px);
    }

    .collection-intro {
        padding-bottom: 96px;
    }

    .collection-intro__grid,
    .collection-grid {
        gap: 84px 48px;
    }

    .collection-card__media {
        min-height: 380px;
    }
}

@media (max-width: 900px) {
    .collection-page {
        padding-bottom: 64px;
    }

    .collection-intro {
        padding-top: 54px;
        padding-bottom: 84px;
    }

    .collection-intro__grid,
    .collection-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .collection-intro__note {
        margin-left: 0;
        text-align: left;
    }

    .collection-section,
    .collection-note {
        padding-bottom: 92px;
    }

    .collection-card__media {
        min-height: 320px;
        margin-bottom: 28px;
    }
}

@media (max-width: 640px) {
    .collection-intro {
        padding-top: 42px;
    }

    .collection-intro__title,
    .collection-note__title,
    .collection-card__title {
        letter-spacing: 0.03em;
    }

    .collection-intro__text,
    .collection-note__text,
    .collection-card__text {
        font-size: 15px;
        line-height: 1.8;
    }

    .collection-filter {
        gap: 14px 18px;
        margin-top: 42px;
    }

    .collection-card__media {
        min-height: 260px;
    }

    .collection-card__link {
    align-self: flex-start;
}

.collection-card__link::after {
        font-size: 18px;
    }
}
