@font-face {
    font-family: Cormorant;
    src: url(cormorant.woff2) format("woff2");
    font-weight: 300 700;
    font-display: swap
}

@font-face {
    font-family: Cormorant;
    src: url(cormorant-italic.woff2) format("woff2");
    font-weight: 300 700;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: "Golos Text";
    src: url(golos.woff2) format("woff2");
    font-weight: 400 900;
    font-display: swap
}
@font-face {
    font-family: "Bad Script";
    src: url(bad-script.woff2) format("woff2");
    font-weight: 400;
    font-display: swap
}

:root {
    --body: "Golos Text", "Segoe UI", sans-serif;
    --hand: "Bad Script", Cormorant, cursive;
    --paper: #faf8fa;
    --white: #fffafd;
    --pearl: #d6d1d8;
    --petal: #f6c6e0;
    --graphite: #403e42;
    --ink: #39373a;
    --soft: #665f64;
    --line: #dbd2da;
    --rose: #625a60;
    --display: Cormorant, Georgia, serif;
    --round-field: 16px;
    --round-photo: clamp(20px, 2.4vw, 36px);
    --ease-out: cubic-bezier(.23, 1, .32, 1);
    --pad: clamp(20px, 5.5vw, 86px);
    font: 16px/1.58 var(--body);
    color: var(--ink);
    background: var(--paper)
}

* {
    box-sizing: border-box
}

body,
h1,
h2,
h3,
p,
figure {
    margin: 0
}

img {
    display: block;
    max-width: 100%
}

a,
button,
input,
select {
    color: inherit
}

a {
    text-underline-offset: 5px;
    text-decoration-thickness: 1px
}

button,
input,
select {
    font: inherit
}

button,
summary {
    cursor: pointer
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--graphite);
    outline-offset: 4px
}

.skip {
    position: absolute;
    left: -9999px
}

.skip:focus {
    left: 8px;
    top: 8px;
    padding: 10px;
    background: white;
    z-index: 9
}

header {
    background: white
}

.head {
    height: 78px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 var(--pad);
    max-width: 1700px;
    margin: auto
}

.logo img {
    width: 138px;
    height: auto
}

.head-works,
.tools a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 14px;
    min-height: 44px
}

.head-works {
    justify-self: start
}

.tools {
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: end
}

.tools a {
    gap: 6px
}

.tools svg {
    width: 24px;
    height: 24px
}

.tools small {
    color: var(--graphite);
    font-size: 13px
}

.tools a:hover,
.head-works:hover {
    text-decoration: underline
}

h1,
h2,
h3,
legend {
    font-family: var(--display);
    color: var(--graphite);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.03
}

em {
    font-weight: 400
}

.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 47px;
    border-radius: 50px;
    background: var(--petal);
    border: 1px solid #a58a9a;
    color: #383538;
    gap: 16px;
    padding: 13px 23px;
    font: 500 15px/1.35 var(--body);
    text-decoration: none;
    transition: background .18s ease
}

.primary:hover {
    background: #f0b7d7
}


.section,
.inside,
.paper {
    max-width: 1650px;
    margin: auto;
    padding: clamp(38px, 5vw, 84px) var(--pad)
}

.section-head,
.section-title,
.sum,
.lines li,
.part,
.order-row,
.cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px
}

.section-head {
    margin-bottom: 24px;
    align-items: baseline
}

.section-head h2,
.notes h2 {
    font-size: clamp(43px, 4vw, 66px)
}

.section-head p,
.hint,
.helptext,
.fine,
small,
figcaption {
    font-size: 14px;
    color: var(--soft)
}

.works {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 2.4vw, 42px)
}

.work {
    text-decoration: none
}

.work img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover
}

.work h3 {
    font-size: clamp(23px, 2.1vw, 34px);
    margin: 12px 0
}

.work:nth-child(even) {
    margin-top: clamp(15px, 2.2vw, 38px)
}

.work:hover h3 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px
}

.notes {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 6vw;
    background: #f1ebef;
    max-width: none
}

.notes details,
.guide-link {
    border-bottom: 1px solid var(--line)
}

.notes summary,
.guide-link,
.size-guide summary {
    padding: 13px 0;
    min-height: 44px
}

.notes details p,
.size-guide p {
    padding: 0 0 15px
}

.guide-link {
    display: block;
    text-decoration: none;
    color: var(--graphite)
}

footer {
    display: flex;
    align-items: center;
    gap: 20px 32px;
    flex-wrap: wrap;
    padding: 32px var(--pad);
    background: white;
    color: var(--soft);
    font-size: 13px
}

footer { justify-content: space-between; padding-block: clamp(32px, 4vw, 66px) }
.foot-brand { display: grid; gap: 9px }
.foot-logo img { width: 145px; height: auto }
footer nav { display: grid; gap: 5px }
footer nav a { padding-block: 3px; text-decoration-color: var(--line) }

.inside,
.paper {
    min-height: 62vh
}

.inside h1,
.paper h1 {
    font-size: clamp(48px, 5.1vw, 82px);
    margin-bottom: 22px
}

.inside h2,
.paper h2,
legend {
    font-size: clamp(28px, 2.6vw, 43px);
    margin: 6px 0 12px
}

.paper {
    max-width: 780px
}

.paper p,
.summary p {
    margin-block: 10px
}

.two {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(30px, 7vw, 105px)
}

.fit-photo img {
    width: 100%;
    aspect-ratio: 4/4.5;
    object-fit: cover
}

.fit-photo figcaption {
    margin-top: 8px
}

.back,
.under,
.textbtn,
.cart-actions button,
.cart-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    color: var(--graphite)
}

.back {
    margin-bottom: 18px
}

.under {
    margin-left: 10px
}

.textbtn,
.cart-actions button {
    border: 0;
    background: none;
    text-decoration: underline;
    text-underline-offset: 4px
}

.size-guide {
    margin: 12px 0
}

.notice,
.error {
    padding: 12px 15px;
    background: #f3e5ee;
    color: var(--graphite);
    margin-bottom: 17px;
    font-size: 14px;
    border: 1px solid #dac4d3;
    border-radius: var(--round-field)
}

.error,
.errorlist {
    color: #8d3046
}

.choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0
}

.choices a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    min-height: 44px;
    border: 1px solid #baabb9;
    border-radius: 32px;
    text-decoration: none;
    font-size: 14px
}

.choices a[aria-current=true] {
    background: var(--petal);
    border-color: var(--graphite)
}

.choices b {
    font-weight: 550
}

fieldset {
    border: 0;
    padding: 0;
    margin: 22px 0
}

legend {
    padding: 0
}

label {
    display: block;
    font-weight: 500;
    font-size: 15px
}

.part {
    padding: 9px 0;
    border-bottom: 1px solid var(--line)
}

.part span {
    flex: 1
}

.part small {
    display: block
}

.part img {
    object-fit: cover
}

input,
select {
    display: block;
    width: 100%;
    margin-top: 5px;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid #ab9ba9;
    border-radius: var(--round-field);
    background: var(--white);
    font-size: 16px
}

.part input {
    width: 76px;
    border-radius: 20px
}

input[type=checkbox] {
    width: 18px;
    height: 18px;
    min-height: 18px;
    accent-color: var(--graphite);
    margin: 0
}

form div:has(>input[type=checkbox]) {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 9px
}

form>div:not(.sum),
form>label {
    margin: 15px 0
}

.sum,
.lines li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line)
}

.sum {
    margin: 8px 0 16px
}

.sum strong {
    font: 500 clamp(20px, 1.8vw, 27px)/1.3 var(--body)
}

.lines {
    list-style: none;
    padding: 0;
    margin: 15px 0 0
}

.summary,
.basket-line {
    background: #f1ebf0;
    padding: 20px;
    margin: 20px 0
}

.basket-line {
    background: var(--white);
    border: 1px solid var(--line)
}

.cart-actions form {
    margin: 0
}

.order-row {
    padding: 20px 0;
    text-decoration: none;
    border-bottom: 1px solid var(--line)
}

.order-row>span {
    color: var(--graphite);
    font-size: 14px
}

.inside>.primary {
    margin-top: 16px
}

.paper p {
    overflow-wrap: anywhere
}

@media(max-width:820px) {
    .works {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .tools {
        gap: 8px
    }

    .two {
        gap: 26px
    }
}

@media(max-width:620px) {
    .head {
        height: 64px;
        padding-inline: 16px
    }

    .logo img {
        width: 96px
    }

    .tools {
        gap: 1px
    }

    .tools a {
        min-width: 38px;
        justify-content: center;
        gap: 0
    }

    .tools span {
        display: none
    }

    .head-works {
        font-size: 13px
    }

    .section-head {
        display: block
    }

    .section-head p {
        margin-top: 6px
    }

    .notes,
    .two {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .fit-photo {
        display: flex;
        align-items: center;
        gap: 12px
    }

    .fit-photo img {
        width: 75px;
        height: 89px
    }

    .order-row {
        flex-wrap: wrap
    }

    .order-row div {
        width: 100%
    }

    footer { align-items: flex-start }

    .inside h1,
    .paper h1 {
        overflow-wrap: break-word
    }

    .cart .under {
        margin-left: 0;
        display: flex
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        transition: none !important
    }
}

/* The album on the silk used for ANIKA's Instagram cards. */
[hidden] { display: none !important }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 36px) }
.lookbook {
    margin: 0 clamp(8px, 1.6vw, 26px);
    border-radius: clamp(26px, 3vw, 48px);
    background-color: var(--pearl);
    background-image: radial-gradient(ellipse at 42% 51%, #f6c6e0 0%, #f5bfdbb3 30%, #d6d1d891 66%, #b9aab2cc 100%), url(pearl.webp);
    background-size: cover;
    background-position: center, center 55%;
    overflow: clip;
}
.lookbook-inner {
    min-height: clamp(425px, 41vw, 660px);
    display: grid;
    grid-template-columns: minmax(0, .99fr) minmax(0, 1.01fr);
    grid-template-areas: "photo copy";
    gap: clamp(18px, 3.2vw, 62px);
    align-items: center;
}
.cover-copy { grid-area: copy; color: var(--graphite); padding: clamp(32px, 4vw, 72px) clamp(20px, 3.2vw, 60px) clamp(32px, 4vw, 72px) 0 }
.cover-copy h1 { font: 500 clamp(72px, 7.4vw, 118px)/.95 var(--display); letter-spacing: -.04em; word-spacing: .035em }
.cover-copy h1 em {
    display: block; width: fit-content; padding: .01em .09em .13em .48em;
    color: var(--rose); font: 400 .63em/1.45 var(--hand); letter-spacing: -.045em;
    transform: rotate(-3deg);
}
.cover-intro { max-width: 38ch; margin: clamp(15px, 1.9vw, 30px) 0 0 .15em; line-height: 1.6; text-wrap: pretty }
.cover-actions { display: flex; align-items: center; gap: 7px 22px; flex-wrap: wrap; margin-top: 25px }
.quiet { display: inline-flex; align-items: center; min-height: 44px; color: var(--graphite); font-size: 14px }
.cover-album { grid-area: photo; min-width: 0; position: relative; align-self: stretch }
.album-print {
    position: absolute; inset: 0; overflow: hidden; background: var(--pearl);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H93C85 25 86 44 93 66C98 82 100 92 99 100H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.album-print > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 64% }
/* The cover and its fading layer use the same crop for each workshop original. */
.album-print > img[src$="/studio/bracelet.webp"] {
    object-position: 50% 78%;
    scale: 1.08;
    transform-origin: 24% 70%;
}
.album-print > img[src$="/studio/work.webp"] {
    object-position: 50% 95%;
    scale: 1.16;
    transform-origin: 52% 96%;
}
.album-print > img[src$="/studio/mixed.webp"] {
    object-position: 50% 56%;
    scale: 1.32;
    transform-origin: 100% 58%;
}
.album-print::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #211b22b8, transparent 26%) }
#cover-name, .fit-photo figcaption { font: 400 clamp(20px, 1.7vw, 29px)/1.55 var(--hand); color: var(--graphite); overflow-wrap: anywhere }
.collection { display: grid; grid-template-columns: minmax(185px, .64fr) minmax(0, 1.65fr); gap: 5vw; padding-block: clamp(50px, 6vw, 105px) }
.collection .section-head { display: block; align-self: start; position: sticky; top: 42px; margin: 0 }
.section-head h2, .notes h2 { font-size: clamp(52px, 4.8vw, 82px); letter-spacing: -.047em }
.collection h2 em, .notes h2 em { display: block; margin-left: .27em }
.collection .section-head p, .notes-intro { max-width: 31ch; margin-top: 22px; font-size: 16px; line-height: 1.55; color: var(--soft) }
.works { grid-template-columns: 1.15fr .85fr; column-gap: clamp(20px, 3.4vw, 66px); row-gap: 37px; align-items: start }
.work:nth-child(even) { margin-top: clamp(35px, 5.4vw, 90px) }
.work-frame { border-radius: var(--round-photo); overflow: hidden; background: #eae2e8 }
.work-frame img { aspect-ratio: 1.12; object-position: 50% 67%; transition: transform .3s ease }
.work:nth-child(even) img { aspect-ratio: .91 }
.work-heading h3 { margin: 12px 0 4px; font: 500 clamp(26px, 2.45vw, 39px)/1.1 var(--display); letter-spacing: -.027em }
.work p { color: var(--soft); line-height: 1.55; max-width: 38ch; font-size: 14px }
.notes { background: #f2edf0; border-radius: var(--round-photo); margin: 0 clamp(8px, 1.6vw, 26px) 24px; grid-template-columns: .75fr 1.25fr }
.notes summary, .size-guide summary, .notes .guide-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none }
.notes summary { font: 500 clamp(23px, 2vw, 32px)/1.22 var(--display) }
summary::-webkit-details-marker { display: none }
.notes summary::after, .size-guide summary::after { content: "+"; font: 400 23px/1 var(--display); color: var(--graphite) }
details[open] > summary::after { content: "−" }
.notes details p { max-width: 54ch; color: var(--soft) }
@media (min-width: 621px) and (max-width: 930px) {
    .cover-copy h1 { font-size: 7.3vw }
    .cover-actions { gap: 4px 14px }
    .collection { grid-template-columns: minmax(0, 1fr) }
    .collection .section-head { position: static; display: flex; align-items: end; justify-content: space-between }
    .collection h2 em { display: inline; margin: 0 }
}
@media (max-width: 620px) {
    .main-nav .service-link { display: none }
    .tools a { min-width: 44px }
    .lookbook-inner { min-height: 0; grid-template-columns: 1fr; grid-template-areas: "copy" "photo"; gap: 0 }
    .cover-copy { padding: 27px 19px 13px }
    .cover-copy h1 { font-size: clamp(53px, 14.4vw, 81px) }
    .cover-intro { max-width: 39ch; margin-top: 12px; font-size: 15px }
    .cover-actions { margin-top: 14px; gap: 8px 16px }
    .cover-album { min-height: clamp(215px, 61vw, 310px) }
    .album-print > img[src$="/studio/bracelet.webp"] { object-position: 50% 61% }
    .album-print > img[src$="/studio/detail.webp"] { object-position: 50% 80% }
    .album-print > img[src$="/studio/work.webp"] { object-position: 50% 82% }
    .album-print > img[src$="/studio/mixed.webp"] { object-position: 50% 66% }
    .album-print { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 8C32 19 67 -5 100 4V100H0Z'/%3E%3C/svg%3E") }
    .collection { display: block }
    .collection .section-head { position: static; margin-bottom: 22px }
    .collection h2 em, .notes h2 em { display: inline; margin-left: 0 }
    .section-head h2, .notes h2 { font-size: clamp(40px, 10.6vw, 59px) }
    .collection .section-head p, .notes-intro { margin-top: 9px }
    .works { grid-template-columns: 1.05fr .95fr; gap: 21px 13px }
    .work-frame img { aspect-ratio: .83 }
    .work:nth-child(even) { margin-top: 25px }
    .work-heading h3 { font-size: clamp(23px, 5.8vw, 32px) }
    .work p { font-size: 13px }
    .notes { grid-template-columns: 1fr }
}

/* A fitting pairs a reference photograph with the customer's own composition. */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px }
.choices a { justify-content: space-between; border-radius: var(--round-field); padding: 11px 13px; line-height: 1.35 }
.choices b { white-space: nowrap; font-size: 13px }
.choices a[aria-current=true] { box-shadow: inset 0 0 0 1px var(--graphite) }
.fit-photo figcaption { font: 400 22px/1.55 var(--hand); color: var(--graphite) }
.fit-photo img { border-radius: 45% 45% var(--round-photo) var(--round-photo) / 17% 17% var(--round-photo) var(--round-photo) }
.part { min-height: 66px; gap: 10px }
.part .initial-sample, .detail-photo { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #ede0e9 }
.part .initial-sample { display: grid; place-items: center; font: italic 500 30px/1 var(--display); color: var(--graphite) }
.part-name { flex: 1; min-width: 0; overflow-wrap: anywhere }
.part-name small { font-size: 12px; font-weight: 400 }
.stepper { display: flex; align-items: center; border: 1px solid #cfc0cc; border-radius: 30px; background: var(--white); padding: 0 1px }
.stepper button { border: 0; background: transparent; color: var(--graphite); min-width: 44px; height: 44px; border-radius: 50%; font: 20px/1 Georgia, serif }
.stepper button:disabled { color: #998c98; cursor: default }
.stepper button:hover:enabled { background: #f4e3ed }
.stepper input { width: 3ch; border: none; margin: 0; padding: 0; text-align: center; background: transparent; appearance: textfield; font-variant-numeric: tabular-nums }
.stepper input::-webkit-inner-spin-button { appearance: none }
.stepper:has(button[hidden]) input { width: 70px; appearance: auto }
.selected-part .stepper { border-color: var(--graphite) }
#price-detail { display: block; font-size: 13px; margin-top: 3px }
.fitting .sum { padding-block: 17px; border-block: 1px solid var(--line) }
.fitting .sum strong { white-space: nowrap }
.fitting .size-guide { max-width: 34ch; color: var(--graphite); font-size: 14px }
.fitting input[name=wrist] { max-width: 15em }
.fitting .primary { min-width: min(100%, 260px) }
.cart-item-head { display: flex; gap: 18px; align-items: center }
.cart-item-head img { width: 78px; height: 90px; object-fit: cover; border-radius: 40px 40px 20px 20px }
.cart-item-head p { font-size: 14px; color: var(--soft) }
.cart-item-head h2 { margin: 0 }
.cart .basket-line { padding: clamp(16px, 3vw, 36px); border-radius: var(--round-photo) }
@media (min-width: 821px) {
    .fit-reference { align-self: start; position: sticky; top: 18px }
    .fit-photo img { max-height: 54vh; object-position: 50% 65% }
}
@media (max-width: 620px) {
    .fit-photo img { width: 82px; height: 98px }
    .choices a { flex-direction: column; align-items: start; gap: 4px }
    .fitting .primary { width: 100% }
}

/* Shared edges extend from the album to the customer's order. */
.summary { border-radius: var(--round-photo) }
.order-row, .skip, .tools a, .head-works, .work, .part {
    border-radius: var(--round-field);
}
.order-row { padding-inline: 14px; background: var(--white); border: 1px solid var(--line); margin-top: 10px }

.part { padding-inline: 10px; border-color: transparent }
.part + .part { margin-top: 2px }

.part.selected-part { background: #f8e3ee }
#total { display: inline-block; font-variant-numeric: tabular-nums }
.album-print .outgoing-photo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none }

@media (prefers-reduced-motion: no-preference) {
    .cover-copy > *, .cover-album, .arrived, .notes details[open] > p, .size-guide[open] > p {
        animation: arrive 420ms var(--ease-out) backwards;
    }
    .cover-copy h1 { animation-delay: 45ms }
    .cover-intro { animation-delay: 85ms }
    .cover-actions { animation-delay: 120ms }
    .cover-album { animation-name: place-photo }
    .work.arrived:nth-child(even) { animation-delay: 55ms }
    .arrived:focus-visible, .arrived:focus-within { animation: none }
    .notes details[open] > p, .size-guide[open] > p { animation-duration: 180ms }


    .primary, .stepper button { transition: transform 150ms var(--ease-out), background-color 150ms ease-out }
    .primary:active, .stepper button:active:enabled { transform: scale(.97) }
    .part, .stepper { transition: background-color 180ms ease-out, border-color 180ms ease-out }
    @media (hover: hover) and (pointer: fine) {
        .work:hover img { transform: scale(1.035) }

    }
}
@keyframes arrive {
    from { opacity: .2; transform: translateY(10px) }
    to { opacity: 1; transform: none }
}
@keyframes place-photo {
    from { opacity: .45 }
    to { opacity: 1 }
}


.cover-album figcaption { position: absolute; inset: auto 9% clamp(10px, 1.6vw, 24px) 6%; color: white; display: flex; align-items: center; justify-content: space-between; gap: 10px }
.cover-album #cover-name { color: inherit; text-shadow: 0 1px 5px #231d25b3 }
.album-play { flex: none; min-height: 44px; padding: 4px; background: transparent; border: 0; font: inherit; font-size: 13px; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer }
.album-play:focus-visible { outline: 2px solid currentColor; outline-offset: 2px }
.album-caption { flex: 1 1 10ch; line-height: 1.1 }
.album-picks { display: flex; overflow-x: auto; max-width: 100%; gap: 1px; padding: 4px; scrollbar-width: thin }
.album-pick { flex: none; display: block; width: 44px; height: 44px; padding: 4px; border-radius: 50%; background: transparent; border: 1px solid transparent }
.album-pick[aria-pressed=true] { border-color: var(--graphite) }
.album-pick img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 68% }
.album-pick:focus-visible { outline-offset: 1px }

/* Order pages use the same text faces as the album with quieter section titles. */
.inside, .paper { padding-top: clamp(30px, 4vw, 64px) }
.back { margin-bottom: 14px; text-decoration-color: #b4a3ad }
.inside h1, .paper h1 { font-weight: 400; letter-spacing: -.042em; line-height: 1.04 }
.inside h1 em, .paper h1 em { color: var(--rose) }
.fitting .two { grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr) }
.fitting .fit-photo img { border-radius: var(--round-photo); object-position: 50% 66% }
.fitting .choices { grid-template-columns: 1fr 1fr; gap: 4px 18px }
.fitting .choices a {
    display: grid; grid-template-columns: 15px 1fr auto; align-items: baseline; gap: 9px;
    padding: 12px 3px; min-height: 48px; border: 0; border-radius: 5px; background: transparent; box-shadow: none;
}
.choices a::before { content: ""; width: 11px; height: 11px; border-radius: 50%; border: 1px solid #9a8693; align-self: center }
.choices a[aria-current=true]::before { background: var(--graphite); border-color: var(--graphite); box-shadow: inset 0 0 0 2px var(--paper) }
.fitting .choices a[aria-current=true] { color: var(--ink); font-weight: 600 }
.fitting .part { padding-block: 8px; border-radius: 12px }
.part-name { font-weight: 500 }
.fitting fieldset { margin-block: 28px }
.notice { background: transparent; padding: 0 0 12px; border: 0; color: var(--soft); font-size: 13px; border-radius: 0 }
.fitting h2, .fitting legend, .checkout > .two > div > h2 { font: 500 clamp(25px, 2.1vw, 34px)/1.2 var(--display); letter-spacing: -.015em }
label { line-height: 1.5 }
input:not([type=checkbox]), select { font-family: var(--body) }
.lines, .sum, .order-row b, .choices b { font-variant-numeric: tabular-nums }
.cart { max-width: 1200px }
.cart-columns { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(245px, .8fr); gap: clamp(28px, 6vw, 100px); align-items: start }
.cart .basket-line { padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 0; background: transparent }
.cart-item-head img { width: 92px; height: 110px; border-radius: 18px }
.cart-total, .checkout .summary { padding: clamp(20px, 2.7vw, 39px); background: #f2e8ee; border-radius: var(--round-photo) }
.cart-total { margin-top: 18px; display: grid; justify-items: start; align-content: start; gap: 8px }
.cart-total .sum { width: 100%; margin-top: 0; flex-wrap: wrap }
.cart-total .under { margin: 0 }
.auth-layout { max-width: 1200px; display: grid; grid-template-columns: 1fr minmax(0,.85fr); gap: 7vw; align-items: start }
.auth-form { max-width: 460px }
.auth-form form > div:first-of-type { margin-top: 0 }
.auth-form .primary, .checkout .primary { margin-top: 12px }
.auth-links { display: flex; flex-wrap: wrap; gap: 5px 20px; margin-top: 14px }
.auth-links a { font-size: 14px; padding-block: 10px }
.empty-copy { max-width: 39ch; color: var(--soft); text-wrap: pretty }
.account-page { max-width: 1120px }
.account-page .order-row { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding-inline: 0 }
.account-empty { margin-block: 36px 20px }
.account-page > .guide-link { width: fit-content }
@media (max-width: 920px) {
    .fitting .choices a { grid-template-columns: 15px 1fr; row-gap: 0 }
    .choices b { grid-column: 2 }
}
@media (max-width: 620px) {
    .fitting .two, .auth-layout, .cart-columns { grid-template-columns: 1fr; gap: 22px }
    .cart-total { margin-top: 0 }
    .album-caption { flex-basis: 108px }
    .album-picks { gap: 0; padding: 2px }
    .album-pick { padding: 6px }
    .fit-photo figcaption { font-size: 20px }
    .fitting .choices { gap: 2px 10px }
}

form div:has(>input[type=checkbox]) input { order: -1; flex: none; align-self: baseline }
