:root {
    --page-width: 1280px;
    --page-gutter: 22px;
    --text: #111111;
    --muted: #77726f;
    --line: #e8e4e1;
    --accent: #7e2628;
    --surface: #f4f2f0;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

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

video {
    display: block;
}

a {
    color: inherit;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    transform: translateY(-160%);
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--line);
}

.skip-link:focus {
    transform: translateY(0);
}

.dev-notice {
    position: sticky;
    z-index: 50;
    top: 0;
    padding: 7px 16px;
    background: #fff2c7;
    color: #4c3c06;
    text-align: center;
    font-size: 12px;
}

main {
    width: min(100%, var(--page-width));
    margin-inline: auto;
}

.visual-section {
    width: 100%;
    margin: 0;
}

.visual-section img,
.visual-section > video {
    width: 100%;
    height: auto;
}

.visual-section picture {
    display: block;
}

.collection-image-link {
    display: block;
}

.collection-intro {
    display: grid;
    min-height: 240px;
    padding: 56px 51.5px;
    place-items: center;
    background: transparent;
}

.collection-intro p {
    width: 100%;
    max-width: 1177px;
    margin: 0;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

.lookbook-pair {
    overflow: hidden;
}

.lookbook-pair img {
    margin-top: -19.53125%;
}

.autumn-video {
    width: 100%;
    height: auto;
    background: var(--surface);
    object-fit: cover;
}

.visual-section > .autumn-video {
    aspect-ratio: 16 / 9;
}

.figma-video-frame {
    position: relative;
    background: #fff;
}

.figma-video-frame > .autumn-video {
    position: absolute;
    height: auto;
    aspect-ratio: 3 / 2;
}

.figma-video-frame--hero {
    aspect-ratio: 1280 / 922;
}

.figma-video-frame--hero > .autumn-video {
    top: 6.0738%;
    left: 2.5781%;
    width: 94.7656%;
}

.figma-video-frame--collage {
    aspect-ratio: 1280 / 675;
}

.figma-video-frame--collage > .autumn-video {
    top: 6.2222%;
    left: 15.3906%;
    width: 69.2188%;
}

.frame20-composition {
    position: relative;
    aspect-ratio: 1280 / 849;
    background: #fff;
}

.frame20-composition__image,
.frame20-composition__video {
    position: absolute;
    top: 4.5936%;
}

.frame20-composition__image {
    left: 5.3125%;
    width: 40.1563%;
}

.frame20-composition__image img,
.frame20-composition__video {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.frame20-composition > .frame20-composition__video {
    right: 3.3594%;
    width: 29.2969%;
    aspect-ratio: 2 / 3;
}

.video-composition {
    position: relative;
    aspect-ratio: 1280 / 563;
    background: #fff;
}

.video-composition__image {
    position: absolute;
    top: 9.9467%;
    left: 4.9219%;
    width: 52.8125%;
}

.video-composition__image img {
    width: 100%;
    aspect-ratio: 676 / 451;
    object-fit: cover;
}

.video-composition > .video-composition__portrait {
    position: absolute;
    z-index: 2;
    top: 9.95%;
    left: 70%;
    width: 23.5156%;
    height: 80.1%;
    aspect-ratio: 2 / 3;
}

.products {
    padding: 0 46px 64px;
}

.visual-section + .products {
    padding-top: 0;
}

.products__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.products__heading h2,
.products__heading a {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.products__heading a {
    text-underline-offset: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.product-card {
    min-width: 0;
}

.product-card__media-shell {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 6px;
    background: var(--surface);
}

.product-card__media {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.product-card__media img,
.product-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__placeholder {
    display: block;
    background:
        radial-gradient(circle at 50% 32%, #e8e3df 0 17%, transparent 17.5%),
        linear-gradient(145deg, #f7f5f3, #e5e0dc);
}

.product-card__heart {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    width: 58px;
    height: 52px;
    place-items: center;
    cursor: default;
    user-select: none;
}

.product-card__heart svg {
    display: block;
    width: 22px;
    height: 20px;
}

.product-card__meta {
    min-height: 74px;
    padding: 16px 0 0;
}

.product-card__meta h3 {
    display: -webkit-box;
    min-height: 24px;
    max-height: 24px;
    margin: 0 0 9px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card__commerce {
    display: flex;
    width: 100%;
    min-height: 25px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.product-card__prices {
    display: flex;
    flex: 0 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
}

.product-card__prices del {
    color: var(--muted);
    font-weight: 400;
}

.product-card__swatches {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 5px;
    margin: 0 0 0 auto;
}

.product-card__swatches > a {
    display: block;
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: inherit;
    place-items: center;
    text-decoration: none;
}

.product-card__swatches i {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background-position: center;
    background-size: cover;
}

.product-card__swatches > a.is-active {
    box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px #999999;
}

.product-card__discount {
    color: var(--accent);
}

.catalog-message {
    margin: 0;
    padding: 36px 20px;
    background: var(--surface);
    color: var(--muted);
    text-align: center;
}

.collection-cta {
    display: flex;
    justify-content: center;
    padding: 37px var(--page-gutter) 38px;
}

.collection-cta a {
    display: flex;
    width: 332px;
    height: 75px;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    border: 1px solid var(--text);
    border-radius: 30px;
    color: var(--text);
    text-align: center;
    text-decoration: none;
    font-size: 23.6px;
    font-weight: 500;
    transition: background-color 160ms ease, color 160ms ease;
}

.collection-cta a:hover,
.collection-cta a:focus-visible {
    background: var(--text);
    color: #fff;
}

@media (max-width: 767px) {
    body {
        font-size: 12px;
    }

    .products {
        padding: 0 10px 40px;
    }

    .collection-intro {
        min-height: 0;
        padding: 34px 24px;
    }

    .collection-intro p {
        font-size: 12px;
        line-height: 1.55;
    }

    .figma-video-frame--hero,
    .figma-video-frame--collage {
        aspect-ratio: 3 / 2;
    }

    .figma-video-frame--hero > .autumn-video,
    .figma-video-frame--collage > .autumn-video {
        inset: 0;
        width: 100%;
    }

    .frame20-composition {
        aspect-ratio: 390 / 355;
    }

    .frame20-composition__image,
    .frame20-composition__video {
        top: 0;
    }

    .frame20-composition__image {
        left: 0;
        width: 58%;
    }

    .frame20-composition > .frame20-composition__video {
        right: 0;
        width: 38%;
    }

    .video-composition {
        aspect-ratio: 390 / 222;
    }

    .video-composition__image {
        top: 16%;
        left: 0;
        width: 58%;
    }

    .video-composition > .video-composition__portrait {
        top: 0;
        right: 0;
        left: auto;
        width: 38%;
        height: auto;
    }

    .products__heading {
        margin-bottom: 8px;
    }

    .products__heading h2,
    .products__heading a {
        font-size: 10px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 6px;
    }

    .product-card__heart {
        width: 44px;
        height: 36px;
    }

    .visual-section + .products {
        padding-top: 28px;
    }

    .product-card__media-shell {
        border-radius: 6px;
    }

    .product-card__meta {
        min-height: 55px;
        padding-top: 5px;
    }

    .product-card__meta h3 {
        font-size: 10px;
        line-height: 10px;
    }

    .product-card__meta h3 {
        min-height: 20px;
        max-height: 20px;
        margin-bottom: 0;
    }

    .product-card__commerce {
        min-height: 25px;
    }

    .product-card__swatches > a {
        width: 7px;
        height: 7px;
    }

    .collection-cta {
        padding-top: 16px;
        padding-bottom: 48px;
    }

    .collection-cta a {
        width: min(100%, 280px);
        height: 54px;
        border-radius: 24px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
