/* Tonee landing page. Builds on site.css (tokens, type, buttons, header, footer).
   The phone screens are the app's own layouts, redrawn at the app's 390 pt width
   and scaled with `zoom`, so every size below inside .app is an app point. */

/* ---------- Sections ---------- */

.section { --section-pad: clamp(80px, 10vw, 144px); padding: var(--section-pad) 0; }
.section + .section { padding-top: 0; }
.section--tight { padding-bottom: clamp(56px, 7vw, 96px); }

.section-head { max-width: 760px; }
.section-head .h2 { margin-bottom: 20px; }
.section-head .lede { max-width: 620px; }
.section-head--center { margin: 0 auto; text-align: center; }
.section-head--center .lede { margin: 0 auto; }

.copy p + p { margin-top: 14px; }
.copy p { font-size: 18px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.copy p strong, .copy p b { color: var(--ink); font-weight: 600; }
.copy .h2 { margin-bottom: 20px; }

.split {
    display: grid;
    gap: 48px;
    align-items: center;
}
@media (min-width: 1024px) {
    .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
    .split--flip > :first-child { order: 2; }
    /* the copy and the demo as one centred group: the demo's column as wide as the
       demo, the copy's at most half the container, as before */
    .split { justify-content: center; }
    .split:has(> .today-demo) { grid-template-columns: auto minmax(0, calc((var(--max) - 72px) / 2)); }
    .split:has(> .mirror) { grid-template-columns: minmax(0, calc((var(--max) - 72px) / 2)) minmax(0, calc(520px * var(--mirror-fit, 1))); }
    .split:has(> .buy) { grid-template-columns: minmax(0, calc(540px * var(--buy-fit, 1))) minmax(0, calc((var(--max) - 72px) / 2)); }
    .mirror { zoom: var(--mirror-fit, 1); }
    .buy { zoom: var(--buy-fit, 1); }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(24px, 4vw, 64px) 0 0; }
.hero__grid {
    display: grid;
    grid-template-areas: "title" "look" "body";
    gap: 28px;
}
.hero__title { grid-area: title; max-width: 11ch; }
.hero__body { grid-area: body; max-width: 560px; }
.hero__body .lede { color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 32px; }
.hero__look { grid-area: look; }

@media (min-width: 1024px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
        grid-template-areas: "title look" "body look";
        grid-template-rows: auto auto;
        column-gap: 56px;
        row-gap: 30px;
        align-items: center;
        min-height: min(680px, calc(100svh - var(--header-h) - 96px));
    }
    .hero__title { align-self: end; }
    .hero__body { align-self: start; }
}

/* The welcome look of the app: the same five pieces, rectangles and timing. */
.welcome {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    aspect-ratio: 358 / 340;
    --gs: 1.12;
}
.welcome__piece {
    position: absolute;
    display: block;
    max-width: none;
    object-fit: contain;
    object-position: 50% 0;
    filter: var(--garment-shadow);
    will-change: transform, opacity;
}
.welcome__piece--shoes { left: 34.30%; top: 82.42%; width: 31.40%; height: 12.45%; }
.welcome__piece--jeans { left: 36.10%; top: 27.18%; width: 27.80%; height: 59.51%; }
.welcome__piece--cord { left: 32.94%; top: 30.01%; width: 34.37%; height: 56.53%; }
.welcome__piece--breton { left: 30.97%; top: 0.84%; width: 38.06%; height: 31.64%; }
.welcome__piece--sweater { left: 30.17%; top: 0.88%; width: 39.66%; height: 35.75%; }
/* the sweater over the white tee: the tee's collar rises in the neck, its hem slides out below */
.welcome__layer { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; max-width: none; }
.welcome__layer--hem { height: 107.48%; }
/* the sweater's shadow on the tee's hem */
.welcome__shade {
    top: 98.4%; left: 25%; width: 50.2%; height: 2.4%;
    background: linear-gradient(rgba(31, 27, 24, .2), rgba(31, 27, 24, 0));
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.js .welcome__piece { opacity: 0; }
html:not(.js) .welcome__piece--leaves { display: none; }

/* ---------- The phone ---------- */

.device {
    --s: .74;
    zoom: var(--s);
    position: relative;
    flex: none;
    width: 412px;
    height: 866px;
    margin: 0 auto;
    padding: 11px;
    border-radius: 62px;
    background: #141210;
    box-shadow:
        inset 0 0 0 1.5px #45403b,
        inset 0 0 0 5px #141210,
        0 60px 100px -50px rgba(60, 40, 30, .55),
        0 0 0 1px rgba(31, 27, 24, .05);
}
@media (min-width: 400px) { .device { --s: .8; } }
@media (min-width: 1024px) { .device { --s: .84; } }
@media (min-width: 1280px) { .device { --s: .9; } }
/* Laptops and desktops: the phone follows the window's height, so the whole phone and
   «Play again» under it fit below the header with room around (the 40 px band's lowest
   height: (h - header 72 - room 48 - button 62) / 866). The loop's and the buy's demos
   scale with it (--buy-fit, --mirror-fit) where their full size would not fit. */
@media (min-width: 1280px) and (max-height: 960px) { .device { --s: .85; } }
@media (min-width: 1024px) and (max-height: 920px) { .device { --s: .8; } }
@media (min-width: 1024px) and (max-height: 880px) { .device { --s: .75; } }
@media (min-width: 1024px) and (max-height: 840px) { .device { --s: .71; } }
@media (min-width: 1024px) and (max-height: 800px) { .device { --s: .66; } :root { --buy-fit: .94; } }
@media (min-width: 1024px) and (max-height: 760px) { .device { --s: .62; } :root { --buy-fit: .88; } }
@media (min-width: 1024px) and (max-height: 720px) { .device { --s: .57; } :root { --buy-fit: .82; } }
@media (min-width: 1024px) and (max-height: 680px) { .device { --s: .52; } :root { --buy-fit: .76; --mirror-fit: .94; } }
@media (min-width: 1024px) and (max-height: 640px) { .device { --s: .48; } :root { --buy-fit: .7; --mirror-fit: .86; } }
@media (min-width: 1024px) and (max-height: 600px) { .device { --s: .43; } :root { --buy-fit: .65; --mirror-fit: .8; } }
@media (prefers-color-scheme: dark) {
    .device {
        box-shadow:
            inset 0 0 0 1.5px #57514b,
            inset 0 0 0 5px #141210,
            0 60px 100px -50px rgba(0, 0, 0, .8),
            0 0 0 1px rgba(255, 255, 255, .09);
    }
}
.device__screen {
    position: relative;
    width: 390px;
    height: 844px;
    border-radius: 51px;
    overflow: hidden;
    /* the rounded corners also clip a screen while it fades */
    clip-path: inset(0 round 51px);
    background: var(--paper);
    color: var(--ink);
    isolation: isolate;
}
.device__island {
    position: absolute;
    z-index: 40;
    top: 11px;
    left: 50%;
    width: 122px;
    height: 35px;
    margin-left: -61px;
    border-radius: 18px;
    background: #000;
}

/* ---------- App screens (app points) ---------- */

.app {
    position: absolute;
    inset: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.35;
    color: var(--ink);
    background: var(--paper);
    -webkit-user-select: none;
    user-select: none;
}
.app img { max-width: none; }

.a-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 54px;
    padding: 0 32px 0 38px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.2px;
}
.a-status svg { display: block; fill: currentColor; }
.a-status__icons { display: flex; gap: 6px; align-items: center; }

.a-title { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.06; letter-spacing: -0.3px; }
.a-section { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.15; letter-spacing: -0.2px; }
.a-note { font-family: var(--serif); font-style: italic; font-weight: 430; font-size: 22px; line-height: 1.27; letter-spacing: -0.1px; }
.a-body { font-size: 17px; line-height: 1.35; }
.a-strong { font-size: 17px; font-weight: 600; line-height: 1.3; }
.a-meta { font-size: 15px; line-height: 1.4; color: var(--muted); }
.a-meta-strong { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.a-num { font-variant-numeric: tabular-nums lining-nums; }

.a-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 52px;
    padding: 0 18px .204em;
    border: 0;
    border-radius: 26px;
    background: transparent;
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
    white-space: nowrap;
}
.a-btn--primary { background: var(--brand); color: var(--on-brand); }
.a-btn--secondary { box-shadow: inset 0 0 0 1.5px var(--line); }
.a-btn--small { width: auto; height: 44px; padding: 0 16px .204em 13px; border-radius: 22px; font-size: 15px; gap: 6px; }
button.a-btn { cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform var(--fast) var(--ease-out), box-shadow var(--mid) var(--ease-out), background-color var(--mid) var(--ease-out); }
button.a-btn:active { transform: scale(.97); }
button.a-btn--secondary:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
button.a-btn--primary:hover { background: color-mix(in srgb, var(--brand) 90%, #1F1B18); }

.a-link { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.a-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 13px .1em;
    border-radius: 17px;
    background: var(--card);
    box-shadow: inset 0 0 0 1px var(--hair);
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
}
.a-pill--on { box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 600; }
.a-pill small { font-size: 15px; color: var(--muted); }
.a-chip {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px .1em;
    border-radius: 15px;
    background: var(--peach);
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}
.a-dot { flex: none; display: inline-block; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12); }
.a-card { background: var(--card); border: 1px solid var(--hair); border-radius: 20px; }
.a-avatar {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card);
    box-shadow: inset 0 0 0 1px var(--hair);
    font-size: 15px;
    font-weight: 600;
}
.a-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--studio);
    overflow: hidden;
}
.a-tile img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.a-garment { filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .10)) drop-shadow(0 2px 2px rgba(0, 0, 0, .06)); }
.a-meter { position: relative; height: 8px; border-radius: 4px; background: var(--hair); overflow: hidden; }
.a-meter i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--ink); transform-origin: left; }

.a-tabbar {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 24px;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    height: 62px;
    padding: 5px;
    border-radius: 31px;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    backdrop-filter: blur(22px) saturate(1.4);
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 8px 28px rgba(60, 40, 30, .10);
}
.a-tabbar span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: 26px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}
.a-tabbar span.is-on { background: var(--peach); color: var(--ink); font-weight: 600; }
.a-tabbar svg { display: block; }
/* The raised Play button in the middle of the bar (the app's ToneeTabBar since 13 October) */
.a-tabbar__play { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 0 6px; border: 0; background: none; color: var(--ink); font-family: var(--sans); font-size: 11px; font-weight: 600; line-height: 1.2; -webkit-tap-highlight-color: transparent; }
.a-tabbar__fab { position: absolute; top: -27px; left: 50%; display: grid; place-items: center; width: 58px; height: 58px; margin-left: -29px; border-radius: 50%; background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 18px rgba(253, 160, 129, .42); transition: transform var(--fast) var(--ease-out); }
button.a-tabbar__play { cursor: pointer; }
button.a-tabbar__play:active .a-tabbar__fab { transform: scale(.96); }
.a-fade {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 4;
    height: 120px;
    background: linear-gradient(to bottom, color-mix(in srgb, var(--paper) 0%, transparent), var(--paper) 62%);
    pointer-events: none;
}
@media (prefers-color-scheme: dark) {
    .a-tabbar { background: rgba(30, 27, 25, .86); border-color: rgba(255, 255, 255, .06); box-shadow: 0 8px 28px rgba(0, 0, 0, .4); }
}

/* the camera, black in both themes */
.a-cam { background: #000; color: #fff; }
.a-cam .a-status { color: #fff; }
.a-cam__top { position: absolute; top: 54px; left: 0; right: 0; height: 46px; display: flex; align-items: center; justify-content: center; }
.a-cam__x { position: absolute; left: 10px; top: 1px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #fff; }
.a-cam__label { font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .78); }
.a-cam__label b { color: #fff; font-weight: 600; }
.a-cam__view { position: absolute; left: 16px; top: 104px; width: 358px; height: 477.33px; border-radius: 24px; overflow: hidden; background: #1A1A1A; }
.a-cam__photo { position: absolute; left: 0; top: 0; width: 358px; height: 477.33px; object-fit: cover; }
.a-cam__veil { position: absolute; inset: 0; background: var(--studio); opacity: 0; }
.a-cam__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.a-guide { position: absolute; left: 28px; top: 37px; width: 302px; height: 403px; }
.a-guide span { position: absolute; width: 30px; height: 30px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.a-guide span:nth-child(1) { left: 0; top: 0; }
.a-guide span:nth-child(2) { right: 0; top: 0; transform: rotate(90deg); }
.a-guide span:nth-child(3) { right: 0; bottom: 0; transform: rotate(180deg); }
.a-guide span:nth-child(4) { left: 0; bottom: 0; transform: rotate(270deg); }
.a-cam__tip { position: absolute; left: 16px; right: 16px; top: 595px; text-align: center; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.a-cam__controls { position: absolute; left: 0; right: 0; top: 676px; height: 74px; }
.a-cam__lib { position: absolute; left: 55px; top: 13px; width: 48px; height: 48px; padding: 7px; border-radius: 12px; background: rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; }
.a-cam__shutter { position: absolute; left: 158px; top: 0; width: 74px; height: 74px; border-radius: 50%; box-shadow: inset 0 0 0 4px #fff; display: flex; align-items: center; justify-content: center; }
.a-cam__shutter i { display: block; width: 58px; height: 58px; border-radius: 50%; background: #fff; }
.a-cam__done { position: absolute; left: 271px; top: 15px; width: 80px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 600; color: #fff; }
.a-cam__gallery { position: absolute; left: 39px; top: 0; width: 80px; height: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.a-cam__gallery .ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; }
.a-cam__gallery .lb { font-size: 15px; line-height: 1.3; color: rgba(255, 255, 255, .8); white-space: nowrap; }

/* ---------- How it works ---------- */

.how { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) {
    .how { grid-template-columns: minmax(0, 620px) auto; gap: 80px; justify-content: center; }
}
@media (min-width: 1280px) { .how { gap: 112px; } }
/* short laptop windows: the steps run taller than the window, so the phone starts with
   them instead of centred on them, and stays whole when the section starts */
@media (min-width: 1024px) and (max-height: 800px) { .how__stage { align-self: start; } }
/* two columns: a link to How it works lands on its content, 16 px under the header (the
   page's scroll-padding), not on the band of the section's own top padding, so the phone
   and «Play again» are whole in the window */
@media (min-width: 1024px) { #how { scroll-margin-top: calc(-1 * var(--section-pad)); } }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 4px; max-width: 560px; }
.step__btn {
    position: relative;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 4px 18px;
    width: 100%;
    padding: 18px 20px 20px 16px;
    border: 0;
    border-radius: var(--r-card);
    background: transparent;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color var(--mid) var(--ease-out);
}
.step__btn:hover { background: var(--wash); }
.step__num {
    grid-row: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px var(--hair);
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
    transition: box-shadow var(--mid) var(--ease-out), color var(--mid) var(--ease-out);
}
.step__title { font-family: var(--serif); font-size: 24px; line-height: 1.15; letter-spacing: -0.2px; font-weight: 500; padding-top: 7px; }
.step__text { color: var(--muted); font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.step__bar {
    position: absolute;
    left: 74px; right: 20px; bottom: 8px;
    height: 1.5px;
    border-radius: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
}
.step.is-active .step__num { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.step.is-active .step__bar { opacity: .9; }

.how__notes { margin-top: 28px; padding-left: 16px; max-width: 560px; display: grid; gap: 10px; }
.how__notes .meta { text-wrap: pretty; }
.how__free { font-weight: 600; color: var(--ink); font-size: 17px; }

.how__stage { display: grid; justify-items: center; gap: 22px; }
.replay {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px .204em 13px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: inset 0 0 0 1.5px var(--line);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--mid) var(--ease-out), box-shadow var(--mid) var(--ease-out);
}
.replay svg { margin-top: .2em; }
.replay:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.replay.is-shown { opacity: 1; pointer-events: auto; }

/* Phones and tablets: the phone first and the steps right under it, the phone
   small enough for both to fit on the screen together. */
@media (max-width: 1023px) {
    .how { gap: 0; }
    .how__copy { display: contents; }
    .how__stage { order: 1; margin-top: 36px; }
    .how .steps { order: 2; width: 100%; margin: 20px auto 0; }
    .how__notes { order: 3; width: 100%; margin: 24px auto 0; padding-left: 0; }
    .how .replay { display: none; }
    .how .device { --s: .52; }
}
@media (max-width: 1023px) and (max-height: 760px) { .how .device { --s: .46; } }
@media (max-width: 1023px) and (max-height: 680px) { .how .device { --s: .42; } }
@media (max-width: 1023px) and (min-height: 880px) { .how .device { --s: .58; } }
@media (max-width: 1023px) and (min-height: 1000px) { .how .device { --s: .64; } }

/* There, while the phone plays, one step at a time (landing.js adds .how--loop):
   the three numbers in a row, the step being shown under them, its bar filling. */
.how--loop .steps {
    display: grid;
    gap: 0;
    padding: 18px 20px 20px;
    border-radius: var(--r-card);
    background: var(--wash);
}
.how--loop .step { grid-area: 1 / 1; display: grid; }
.how--loop .step__btn { display: block; padding: 58px 0 16px; border-radius: 0; background: none; cursor: default; }
.how--loop .step__btn:hover { background: none; }
.how--loop .step__num { position: absolute; top: 0; left: calc(var(--k) * 50px); cursor: pointer; }
.how--loop .step__title { display: block; padding-top: 0; font-size: 22px; }
.how--loop .step__text { display: block; margin-top: 6px; font-size: 16px; }
.how--loop .step__bar { left: 0; right: 0; bottom: 0; }
.how--loop .step:not(.is-active) .step__btn { pointer-events: none; }
.how--loop .step:not(.is-active) .step__num { pointer-events: auto; }
.how--loop .step__title,
.how--loop .step__text {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--fast) var(--ease-out), transform 0s linear var(--fast);
}
.how--loop .step.is-active .step__title,
.how--loop .step.is-active .step__text {
    opacity: 1;
    transform: none;
    transition: opacity var(--mid) var(--ease-out) 120ms, transform var(--slow) var(--ease-out) 120ms;
}
.how--loop .step.is-active .step__text { transition-delay: 200ms; }
.how--loop .step:not(.is-active) .step__bar { opacity: 0; transition: opacity var(--fast) var(--ease-out); }
.how--loop .step.is-active .step__num { animation: step-pop var(--slow) var(--ease-garment); }
@keyframes step-pop { from { transform: scale(.82); } }

/* the three screens of the capture */
.hs { opacity: 0; visibility: hidden; }
.hs.is-on { opacity: 1; visibility: visible; }
.hs-jacket {
    position: absolute;
    z-index: 20;
    left: 16px;
    top: 166.29px;
    width: 358px;
    height: 415.04px;
    transform-origin: 0 0;
    opacity: 0;
    pointer-events: none;
}

.a-rtop { display: flex; justify-content: space-between; align-items: center; height: 25px; padding: 4px 22px 0; }
.a-stage { margin: 16px 16px 0; height: 420px; border-radius: 24px; background: var(--studio); transform-origin: 50% 0; }
.a-rinfo { padding: 20px 22px 0; }
.a-rinfo .a-title { margin-top: 6px; }
.a-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.a-racts { position: absolute; left: 20px; right: 20px; bottom: 30px; }
.a-racts .row { margin-top: 14px; text-align: center; }

.a-chead { display: flex; justify-content: space-between; align-items: center; padding: 6px 20px 0; }
.a-chead__right { display: flex; gap: 10px; align-items: center; }
.a-sum { margin: 18px 16px 0; padding: 16px 18px 15px; }
.a-sum .a-meta { margin-top: 6px; }
.a-sum .a-link { display: inline-block; margin-top: 10px; }
.a-cats { display: flex; gap: 8px; padding: 20px 16px 0; white-space: nowrap; overflow: hidden; }
.a-cats .a-pill { height: 36px; padding: 0 14px .1em; border-radius: 18px; }
.a-filters { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; }
.a-filters__f { display: flex; align-items: center; gap: 6px; }
/* The Closet's header and summary card since 25-30 October: «Before you buy» in the title's place, a round «+» */
.a-chead__buy { gap: 7px; padding: 0 15px .204em 13px; box-shadow: inset 0 0 0 1.5px var(--line); }
.a-roundplus { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--on-brand); }
.a-sum__t { display: flex; justify-content: space-between; align-items: center; font-size: 17px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.a-sum__t span { font-size: 20px; font-weight: 400; color: var(--muted); }
.a-sum__tiles { display: flex; gap: 8px; margin-top: 10px; }
.a-sum__tiles .a-tile { width: 42px; height: 42px; padding: 5px; border-radius: 10px; }
.a-sum__tiles img { display: block; width: 100%; height: 100%; object-fit: contain; }
.a-sum .a-sum__tiles + .a-meta { margin-top: 8px; }
.a-pill--icon { width: 36px; padding: 0; justify-content: center; }
/* The grid/list switch under the pills; its height keeps the grid where the cut-out jacket lands (IN_TILE) */
.a-view { display: flex; justify-content: flex-end; align-items: flex-end; height: 29.4px; padding: 0 16px; }
.a-view__seg { display: flex; gap: 2px; padding: 2px; border-radius: 12px; background: var(--studio); }
.a-view__seg i { display: grid; place-items: center; width: 30px; height: 20px; border-radius: 10px; color: var(--muted); }
.a-view__seg i.is-on { background: var(--card); color: var(--ink); }
.a-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; padding: 0 16px; }
.a-item .a-tile { height: 214px; padding: 24px 22px; }
.a-item__meta { padding: 8px 4px 10px; }
.a-item__col { display: flex; align-items: center; gap: 6px; }

/* ---------- What it knows ---------- */

.bento {
    display: grid;
    gap: 16px;
    margin-top: 56px;
}
@media (min-width: 720px) {
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento__cell--wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
    .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
    .bento__cell { grid-column: span 2; }
    .bento__cell--half { grid-column: span 3; }
    .bento__cell--wide { grid-column: span 2; }
}
.bento__cell {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 20px 20px 28px;
    border-radius: var(--r-look);
    background: var(--wash);
}
@media (min-width: 720px) {
    /* the cards of a row share two rows: the titles line up whatever the picture's height */
    .bento__cell { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 26px; }
}
@media (min-width: 1024px) { .bento__cell { padding: 24px 24px 32px; } }
.bento__visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}
.bento__text { padding: 0 4px; }
.bento__text .h3 { margin-bottom: 8px; }
.bento__text p { color: var(--muted); font-size: 17px; line-height: 1.5; text-wrap: pretty; }

.kcard {
    width: 100%;
    max-width: 380px;
    padding: 18px 18px 16px;
    border: 1px solid var(--hair);
    border-radius: 20px;
    background: var(--card);
    box-shadow: var(--float);
    font-size: 17px;
    line-height: 1.35;
}
.kcard .a-section { margin: 4px 0; }
.kcard__why { margin-bottom: 10px; }
.krank { display: grid; grid-template-columns: 26px 56px 1fr auto; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--hair); }
.krank .a-tile { width: 56px; height: 66px; padding: 7px; border-radius: 12px; }
.krank__v { text-align: right; }
.krank--plain { grid-template-columns: 56px 1fr; padding: 5px 0; }
.krank__name small { display: block; font-weight: 400; color: var(--muted); }
.kstrip { display: flex; gap: 8px; margin-top: 4px; }
.kstrip > div { flex: 1 1 0; min-width: 0; }
.kstrip .a-tile { height: 104px; padding: 10px; border-radius: 12px; }
.kstrip__cap { margin-top: 6px; }
.kstrip__col { display: flex; align-items: center; gap: 6px; }
.kstrip__more { display: flex; align-items: center; justify-content: center; height: 104px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--hair); }
.kcard .a-link { display: inline-block; margin-top: 14px; }
.kmeter { margin-top: 18px; }
.kmeter__l { display: flex; justify-content: space-between; margin-top: 6px; }
.klooks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.klook { position: relative; height: 96px; border-radius: 14px; background: var(--studio); overflow: hidden; }
.klook img { position: absolute; max-width: none; object-fit: contain; object-position: 50% 0; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .10)); }
.kpalette { display: flex; gap: 6px; margin: 2px 0 14px; }
.kpalette i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .14); }

/* ---------- Get dressed ---------- */

.today-demo { position: relative; }
/* on short phones the whole screen stays in view */
@media (max-width: 1023px) and (max-height: 700px) { .today-demo .device { --s: .64; } }
.a-thead { display: flex; justify-content: space-between; align-items: flex-start; padding: 6px 20px 0; }
.a-thead .a-meta { margin-top: 6px; }
.a-look { position: relative; margin: 16px 16px 0; height: 360px; border-radius: 24px; background: var(--studio); overflow: hidden; }
.a-look__piece {
    position: absolute;
    display: block;
    object-fit: contain;
    object-position: 50% 0;
    filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .10)) drop-shadow(0 2px 3px rgba(0, 0, 0, .07));
}
.a-look__pieces { position: absolute; inset: 0; }
.a-look__again {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 13px .1em;
    border: 0;
    border-radius: 17px;
    background: rgba(255, 255, 255, .9);
    color: #1F1B18;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform var(--fast) var(--ease-out);
}
.a-look__again:active { transform: scale(.96); }
.a-look__again svg { margin-top: .12em; transition: transform var(--slow) var(--ease-out); }
.a-say { margin: 18px 22px 0; min-height: 56px; }
.a-say__why { font-family: var(--sans); font-style: normal; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; margin-left: 6px; }
.a-ask { margin: 16px 22px 0; }
.a-acts { display: grid; gap: 8px; padding: 12px 20px 0; }
.a-week { padding: 64px 22px 0; }
.a-toast {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 100px;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #1F1B18;
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
}
@media (prefers-color-scheme: dark) { .a-toast { background: #F2EDE8; color: #1F1B18; } }
/* Play: the reels' windows in two columns, no labels, and the dock under them */
.a-look--reels { height: 452px; background: none; overflow: visible; }
.a-reels { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a-reels__col { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; min-height: 0; }
.a-reels__col--r { grid-template-rows: 1.6fr 1fr; }
.a-reel { position: relative; min-height: 0; border-radius: 18px; background: var(--studio); overflow: hidden; }
.a-reel .a-look__piece { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-position: 50% 50%; }
/* a spin: the window's strip of pieces rolling down, and its fades at the top and bottom edges (the app's reels) */
.a-reel__strip { position: absolute; inset: 0; }
.a-reel__pos { position: absolute; top: 0; left: 0; width: 100%; height: 100%; will-change: transform, opacity; }
.a-reel__fade { position: absolute; left: 0; right: 0; height: 24%; pointer-events: none; }
.a-reel__fade--top { top: 0; background: linear-gradient(var(--studio), transparent); }
.a-reel__fade--bottom { bottom: 0; background: linear-gradient(transparent, var(--studio)); }
/* A held window, as the app draws it: the 1.5 ring inside its edge and the padlock badge 6 from its top and right,
   in the light island's ink in both themes (the windows stay light). */
.a-reel[role="button"] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.a-reel:focus-visible { border-radius: 18px; }
.a-reel.is-held::after { content: ''; position: absolute; inset: 0; z-index: 2; border: 1.5px solid #1F1B18; border-radius: inherit; pointer-events: none; }
.a-reel__lock { position: absolute; top: 6px; right: 6px; z-index: 3; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #1F1B18; color: #fff; pointer-events: none; }
.a-dock { display: flex; align-items: center; gap: 12px; padding: 18px 20px 0; }
.a-round { display: grid; flex: none; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); }
button.a-round { cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform var(--fast) var(--ease-out), box-shadow var(--mid) var(--ease-out); }
button.a-round:active { transform: scale(.97); }
button.a-round:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.a-dock__wear { flex: 1; width: auto; }

/* ---------- Close the loop: the mirror photo ---------- */

.mirror {
    display: grid;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}
.mirror__photo {
    position: relative;
    width: 64%;
    aspect-ratio: 3 / 4;
    border-radius: var(--r-look);
    overflow: hidden;
    background: var(--wash);
}
.mirror__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mirror__box {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .95), 0 0 0 3px rgba(0, 0, 0, .12);
}
.mirror__card {
    position: relative;
    z-index: 1;
    justify-self: end;
    width: 72%;
    margin-top: -34%;
    padding: 20px 18px 18px;
    border-radius: var(--r-sheet);
    background: var(--card);
    box-shadow: var(--float), 0 0 0 1px var(--hair);
}
.mirror__found { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.mirror__found .a-tile { height: 92px; padding: 10px; border-radius: 14px; }
.mirror__found .a-meta-strong { margin-top: 6px; font-size: 13px; line-height: 1.3; }
.mirror__btn { margin-top: 16px; }
@media (max-width: 719px) {
    .mirror__card { width: 86%; margin-top: -22%; }
}

/* ---------- Before you buy ---------- */

.buy {
    display: grid;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
}
.buy__cam {
    position: relative;
    width: 56%;
    aspect-ratio: 3 / 4;
    border-radius: var(--r-look);
    overflow: hidden;
    isolation: isolate;
    background: #000;
    color: #fff;
}
.buy__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.buy__cam::before, .buy__cam::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; height: 24%; pointer-events: none; }
.buy__cam::before { top: 0; background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }
.buy__cam::after { bottom: 0; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .45)); }
.buy__guide, .buy__label, .buy__shutter { z-index: 2; }
.buy__flash { z-index: 3; }
.buy__guide { position: absolute; inset: 13% 9% 19%; }
.buy__guide span { position: absolute; width: 24px; height: 24px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.buy__guide svg { display: block; }
.buy__guide span:nth-child(1) { left: 0; top: 0; }
.buy__guide span:nth-child(2) { right: 0; top: 0; transform: rotate(90deg); }
.buy__guide span:nth-child(3) { right: 0; bottom: 0; transform: rotate(180deg); }
.buy__guide span:nth-child(4) { left: 0; bottom: 0; transform: rotate(270deg); }
.buy__label {
    position: absolute;
    left: 0;
    right: 0;
    top: 4.5%;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.buy__shutter {
    position: absolute;
    left: 50%;
    bottom: 4%;
    width: 52px;
    height: 52px;
    margin-left: -26px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px #fff, 0 1px 6px rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.buy__shutter i { display: block; width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.buy__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.buy__card {
    position: relative;
    z-index: 1;
    justify-self: end;
    width: 60%;
    margin-top: -48%;
    padding: 14px 16px 18px;
    border-radius: var(--r-sheet);
    background: var(--card);
    box-shadow: var(--float), 0 0 0 1px var(--hair);
}
.buy__stage { height: 150px; padding: 16px; border-radius: 18px; background: var(--studio); display: flex; align-items: center; justify-content: center; }
.buy__piece { max-height: 100%; width: auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .12)) drop-shadow(0 2px 2px rgba(0, 0, 0, .06)); }
.buy__stage + .a-meta { margin-top: 14px; }
.buy__name { margin-top: 2px; }
.buy__tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.buy__tags .a-pill { height: 30px; padding: 0 11px .1em; font-size: 14px; }
.buy__ans { margin-top: 16px; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.18; letter-spacing: -0.2px; text-wrap: pretty; }
.buy__h { margin-top: 14px; font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.2; }
.buy__with { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.buy__with .a-tile { height: 64px; padding: 7px; border-radius: 10px; }
.buy__fine { margin-top: 12px; }
@media (max-width: 719px) {
    .buy__cam { width: 62%; }
    .buy__card { width: 84%; margin-top: -36%; }
}

/* ---------- Promise ---------- */

.promise-list { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--hair); }
.promise-list li {
    display: grid;
    gap: 6px 40px;
    padding: 28px 0;
    border-bottom: 1px solid var(--hair);
}
@media (min-width: 720px) {
    .promise-list li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; }
}
.promise-list__no { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.015em; }
.promise-list__desc { color: var(--muted); font-size: 18px; line-height: 1.5; }
.promise__who { margin-top: 32px; max-width: 640px; color: var(--ink); font-size: 18px; line-height: 1.55; text-wrap: pretty; }

/* ---------- Numbers ---------- */

.numbers-grid { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 900px) { .numbers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.number {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px 24px 24px;
    border-radius: var(--r-card);
    background: var(--peach);
}
.number__value { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 5.2vw, 72px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.number__value [data-count] { font-variant-numeric: tabular-nums lining-nums; }
.number__desc { font-size: 17px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.number__n { margin-top: auto; padding-top: 6px; font-size: 15px; line-height: 1.4; color: var(--muted); }
@media (prefers-color-scheme: dark) { .number__n { color: #C9BDB2; } }
.numbers__note { margin-top: 24px; max-width: 760px; }

/* ---------- Pricing ---------- */

.pricing { display: grid; justify-items: center; }
.seg {
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    height: 44px;
    margin-top: 40px;
    padding: 3px;
    border-radius: 22px;
    background: var(--wash);
}
.seg button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 128px;
    padding: 0 18px .204em;
    border: 0;
    border-radius: 19px;
    background: transparent;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background-color var(--mid) var(--ease-out), color var(--mid) var(--ease-out), box-shadow var(--mid) var(--ease-out);
}
.seg button[aria-checked="true"] {
    background: var(--card);
    color: var(--ink);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08), inset 0 0 0 1px var(--hair);
}
.seg__save { color: var(--muted); font-weight: 500; }
.price-card {
    width: 100%;
    max-width: 440px;
    margin-top: 24px;
    padding: 28px 28px 30px;
    border: 1px solid var(--hair);
    border-radius: var(--r-look);
    background: var(--card);
    box-shadow: var(--float);
}
.price-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; }
.price-card__head .h3 { white-space: nowrap; }
.price-card__chip {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px .1em;
    border-radius: 15px;
    background: var(--peach);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: opacity var(--mid) var(--ease-out), transform var(--mid) var(--ease-out);
}
.price-card__chip[hidden] { display: inline-flex; opacity: 0; transform: translateY(4px); visibility: hidden; }
.price-card__price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.price-card__amount { font-family: var(--serif); font-weight: 500; font-size: 58px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.price-card__period { color: var(--muted); font-size: 17px; }
.price-card__sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.price-card__list { list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--hair); display: grid; gap: 12px; }
.price-card__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.4; }
.price-card__list svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.price-card .btn { width: 100%; margin-top: 26px; }
.pricing__free { margin-top: 20px; text-align: center; text-wrap: balance; }

/* ---------- FAQ ---------- */

.faq-list { margin-top: 40px; border-top: 1px solid var(--hair); max-width: 860px; }
.faq { content-visibility: auto; contain-intrinsic-size: auto 1200px; }

/* ---------- Final call ---------- */

.final { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 128px) 0; }
.final__inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .final__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; } }
.final__text .h2 { margin-bottom: 18px; }
@media (min-width: 1024px) { .final__text .h2 { max-width: 13ch; } }
.final__text .lede { max-width: 520px; }
.final__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .mosaic { gap: 12px; } }
.mosaic .a-tile { aspect-ratio: 4 / 5; padding: 14%; }
.mosaic img { filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .10)) drop-shadow(0 2px 2px rgba(0, 0, 0, .06)); }

.site-footer { content-visibility: auto; contain-intrinsic-size: auto 260px; }

/* ---------- Motion: the one-take demos ---------- */
/* Without JavaScript, or with reduced motion, every demo shows its last frame. */

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }

    .js [data-stagger] [data-item] { opacity: 0; transform: translateY(8px); }
    .js [data-stagger].is-played [data-item] {
        opacity: 1;
        transform: none;
        transition: opacity var(--mid) var(--ease-out), transform var(--slow) var(--ease-out);
        transition-delay: calc(200ms + var(--i, 0) * var(--stagger));
    }
    .js [data-stagger] [data-meter] { transform: scaleX(0); }
    .js [data-stagger].is-played [data-meter] { transform: none; transition: transform 800ms var(--ease-out) 250ms; }

    .js .mirror__box { opacity: 0; transform: scale(1.08); }
    .js .mirror.is-played .mirror__box { opacity: 1; transform: none; transition: opacity var(--mid) var(--ease-out) var(--d), transform var(--slow) var(--ease-out) var(--d); }
    .js .mirror__card { opacity: 0; transform: translateY(24px); }
    .js .mirror.is-played .mirror__card { opacity: 1; transform: none; transition: opacity var(--slow) var(--ease-out) 1200ms, transform var(--slow) var(--ease-out) 1200ms; }
    .js .mirror__piece { opacity: 0; transform: scale(.9); }
    .js .mirror.is-played .mirror__piece { opacity: 1; transform: none; transition: opacity var(--mid) var(--ease-out) var(--d), transform var(--slow) var(--ease-garment) var(--d); }
    .js .mirror__btn { opacity: 0; }
    .js .mirror.is-played .mirror__btn { opacity: 1; transition: opacity var(--mid) var(--ease-out) 1750ms; }

    .js .buy__photo { transform: scale(1.04); }
    .js .buy.is-played .buy__photo { transform: none; transition: transform 900ms var(--ease-out); }
    .js .buy.is-played .buy__shutter i { animation: shutter-press 220ms ease-in-out 800ms; }
    .js .buy.is-played .buy__flash { animation: shutter-flash 300ms linear 820ms; }
    .js .buy__card { opacity: 0; transform: translateY(28px); }
    .js .buy.is-played .buy__card { opacity: 1; transform: none; transition: opacity var(--slow) var(--ease-out) 1100ms, transform var(--slow) var(--ease-out) 1100ms; }
    .js .buy__piece { opacity: 0; transform: scale(.9); }
    .js .buy.is-played .buy__piece { opacity: 1; transform: none; transition: opacity var(--mid) var(--ease-out) 1250ms, transform var(--slow) var(--ease-garment) 1250ms; }
    .js .buy__in { opacity: 0; transform: translateY(8px); }
    .js .buy.is-played .buy__in { opacity: 1; transform: none; transition: opacity var(--mid) var(--ease-out) var(--d), transform var(--mid) var(--ease-out) var(--d); }

    .js .mosaic .a-tile { opacity: 0; transform: translateY(12px) scale(.98); }
    .js .mosaic.is-played .a-tile {
        opacity: 1;
        transform: none;
        transition: opacity var(--slow) var(--ease-out), transform var(--slow) var(--ease-out);
        transition-delay: calc(var(--i, 0) * 60ms);
    }
}
@keyframes shutter-press { 50% { transform: scale(.86); } }
@keyframes shutter-flash { 25% { opacity: .6; } }

@media (prefers-reduced-motion: reduce) {
    .step__bar { display: none; }
}
