:root {
--porcelain: #FCFBFD;
--veil: #F3F0F5;
--tulle: #E6E1EA;
--ink: #231B2B;
--ink-soft: #4A3F52;
--muted: #7B7083;
--orchid: #8E5B7E;
--orchid-deep: #6E4362;
--champagne: #C9B28A;
--danger: #A23B48;
--serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
--sans: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
--gutter: clamp(16px, 4vw, 48px);
--radius-img: 2px;
--radius-ctl: 999px;
color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
margin: 0;
background: var(--porcelain);
color: var(--ink);
font-family: var(--sans);
font-size: 16px;
line-height: 1.55;
-webkit-font-smoothing: antialiased;
min-height: 100vh;
display: flex;
flex-direction: column;
}
main { flex: 1; outline: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orchid); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-header {
position: sticky; top: 0; z-index: 30;
display: flex; align-items: center; justify-content: space-between; gap: 16px;
padding: 14px var(--gutter);
background: color-mix(in srgb, var(--porcelain) 92%, transparent);
backdrop-filter: saturate(1.4) blur(12px);
-webkit-backdrop-filter: saturate(1.4) blur(12px);
border-bottom: 1px solid var(--tulle);
}
.brand img { height: 30px; width: auto; filter: brightness(0); opacity: .86; }
.main-nav { display: flex; gap: clamp(12px, 2.5vw, 32px); font-size: 15px; }
.main-nav a { text-decoration: none; color: var(--ink-soft); padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 2px; border-radius: 10px; background: var(--orchid); color: #fff; font-size: 12px; font-weight: 600; }
@media (max-width: 640px) {
.site-header { flex-wrap: wrap; padding-bottom: 0; gap: 8px; }
.brand img { height: 24px; }
.main-nav { width: 100%; justify-content: space-between; font-size: 14px; padding-bottom: 6px; }
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
.page-title { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.04; }
.page-lede { color: var(--ink-soft); max-width: 60ch; margin: 14px 0 0; font-size: 17px; }
.section { padding: 0 var(--gutter); }
.designers {
display: flex; gap: clamp(18px, 3vw, 44px); align-items: baseline;
overflow-x: auto; scrollbar-width: none;
padding: 26px var(--gutter) 18px;
scroll-snap-type: x proximity;
mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 60px), transparent 100%);
}
.designers::-webkit-scrollbar { display: none; }
.designer-btn {
flex: none; scroll-snap-align: start;
border: 0; background: none; padding: 4px 0; cursor: pointer;
font-family: var(--serif); font-size: clamp(26px, 3.6vw, 46px); line-height: 1.1;
color: color-mix(in srgb, var(--ink) 28%, transparent);
transition: color .2s;
white-space: nowrap;
}
.designer-btn:hover { color: var(--ink-soft); }
.designer-btn[aria-pressed="true"] { color: var(--ink); font-style: italic; }
.designer-btn sup { font-family: var(--sans); font-style: normal; font-size: 12px; margin-left: 4px; vertical-align: top; color: var(--muted); }
.toolbar {
position: sticky; top: 59px; z-index: 20;
display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
padding: 12px var(--gutter);
background: var(--porcelain);
border-bottom: 1px solid var(--tulle);
}
@media (max-width: 640px) { .toolbar { top: 92px; } }
.search {
flex: 1 1 220px; min-width: 0;
display: flex; align-items: center; gap: 8px;
border: 1px solid var(--tulle); border-radius: var(--radius-ctl); padding: 0 14px; height: 40px; background: #fff;
}
.search input { border: 0; outline: none; background: none; width: 100%; height: 100%; }
.search:focus-within { border-color: var(--orchid); }
.segmented { display: inline-flex; border: 1px solid var(--tulle); border-radius: var(--radius-ctl); padding: 3px; background: #fff; }
.segmented button { border: 0; background: none; padding: 6px 14px; border-radius: var(--radius-ctl); cursor: pointer; font-size: 14px; color: var(--ink-soft); }
.segmented button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
height: 40px; padding: 0 18px; border-radius: var(--radius-ctl);
border: 1px solid var(--tulle); background: #fff; cursor: pointer; text-decoration: none; font-size: 14px; white-space: nowrap;
}
.btn:hover { border-color: var(--ink-soft); }
.btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.primary:hover { background: var(--ink-soft); }
.btn.accent { background: var(--orchid); border-color: var(--orchid); color: #fff; }
.btn.accent:hover { background: var(--orchid-deep); }
.btn.ghost { border-color: transparent; background: none; }
.btn.small { height: 32px; padding: 0 12px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }
select.btn { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23231B2B' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.badge-dot { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; background: var(--orchid); color: #fff; font-size: 11px; font-weight: 600; padding: 0 5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px var(--gutter) 0; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px 0 12px; border-radius: var(--radius-ctl); background: var(--veil); border: 0; font-size: 13px; cursor: pointer; }
.chip svg { width: 14px; height: 14px; }
.result-count { color: var(--muted); font-size: 14px; margin-right: 6px; }
.linkish { border: 0; background: none; padding: 0; color: var(--orchid-deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.grid {
display: grid; gap: clamp(14px, 2vw, 28px) clamp(12px, 1.6vw, 22px);
grid-template-columns: repeat(auto-fill, minmax(min(46%, 230px), 1fr));
padding: 22px var(--gutter) 64px;
}
.card { position: relative; }
.card a.card-link { text-decoration: none; display: block; }
.card .frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--veil); border-radius: var(--radius-img); }
.card .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.card:hover .frame img { transform: scale(1.03); }
.card-meta { padding-top: 10px; }
.card-name { font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.card-sub { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 13px; margin-top: 2px; }
.card-sub .stats { display: inline-flex; gap: 10px; }
.card-sub .stats span { display: inline-flex; align-items: center; gap: 3px; }
.card-sub svg { width: 13px; height: 13px; }
.card-actions { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 6px; }
.icon-btn {
width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
display: grid; place-items: center;
background: rgba(252, 251, 253, .9); color: var(--ink);
box-shadow: 0 1px 2px rgba(35, 27, 43, .12);
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn[aria-pressed="true"] { color: var(--orchid); }
.icon-btn[aria-pressed="true"] svg { fill: currentColor; }
.icon-btn.pop svg { animation: pop .35s ease; }
@keyframes pop { 40% { transform: scale(1.35); } }
.tag-new { position: absolute; left: 8px; top: 8px; background: var(--ink); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: var(--radius-ctl); }
.empty { padding: 64px var(--gutter); text-align: center; color: var(--ink-soft); }
.empty h2 { font-size: 30px; margin-bottom: 8px; color: var(--ink); }
.empty p { max-width: 46ch; margin: 0 auto 18px; }
.scrim { position: fixed; inset: 0; background: rgba(35, 27, 43, .36); z-index: 50; animation: fade .2s; }
.drawer {
position: fixed; z-index: 51; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
background: var(--porcelain); display: flex; flex-direction: column;
animation: slide .25s ease; box-shadow: -10px 0 40px rgba(35, 27, 43, .12);
}
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--tulle); }
.drawer header h2 { font-size: 26px; }
.drawer .drawer-body { overflow-y: auto; padding: 8px 22px 22px; flex: 1; }
.drawer footer { display: flex; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--tulle); }
.drawer footer .btn { flex: 1; }
.facet { border-bottom: 1px solid var(--tulle); padding: 16px 0; }
.facet legend, .facet h3 { font-family: var(--sans); font-weight: 600; font-size: 14px; margin-bottom: 10px; padding: 0; }
fieldset.facet { border: 0; border-bottom: 1px solid var(--tulle); margin: 0; padding: 16px 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: var(--radius-ctl); border: 1px solid var(--tulle); background: #fff; font-size: 14px; }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--orchid); outline-offset: 2px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: inline-block; }
.facet-note { color: var(--muted); font-size: 13px; margin: 14px 0 0; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.modal {
position: fixed; z-index: 51; left: 50%; top: 50%; transform: translate(-50%, -50%);
width: min(440px, calc(100% - 32px)); background: var(--porcelain); padding: 28px; border-radius: 6px;
box-shadow: 0 20px 60px rgba(35, 27, 43, .25); animation: fade .2s;
}
.modal h2 { font-size: 28px; margin-bottom: 8px; }
.modal p { color: var(--ink-soft); margin: 0 0 18px; }
.close-x { border: 0; background: none; cursor: pointer; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; }
.close-x:hover { background: var(--veil); }
.close-x svg { width: 20px; height: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 13px; color: var(--muted); }
.input, textarea.input, select.input {
height: 44px; padding: 0 14px; border: 1px solid var(--tulle); border-radius: 8px; background: #fff; width: 100%;
}
textarea.input { height: auto; min-height: 92px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input:focus { outline: none; border-color: var(--orchid); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orchid) 18%, transparent); }
.form-error { color: var(--danger); font-size: 14px; margin: 6px 0 0; }
.notice { background: var(--veil); padding: 14px 16px; border-radius: 8px; font-size: 14px; color: var(--ink-soft); margin: 14px 0; }
.notice a { color: var(--orchid-deep); word-break: break-all; }
.dress-page { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); padding: 28px var(--gutter) 40px; align-items: start; }
.dress-photo { position: sticky; top: 84px; }
.dress-photo .frame { aspect-ratio: 3 / 4; background: var(--veil); border-radius: var(--radius-img); overflow: hidden; }
.dress-photo img { width: 100%; height: 100%; object-fit: contain; object-position: top center; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--ink-soft); }
.dress-designer { font-size: 15px; color: var(--orchid-deep); text-decoration: none; }
.dress-name { font-size: clamp(38px, 5vw, 62px); line-height: 1.02; margin: 6px 0 18px; }
.avail { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.avail span { font-size: 13px; padding: 5px 12px; border-radius: var(--radius-ctl); border: 1px solid var(--tulle); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 0 0 28px; padding: 20px 0; border-top: 1px solid var(--tulle); border-bottom: 1px solid var(--tulle); }
.specs dt { color: var(--muted); font-size: 14px; }
.specs dd { margin: 0; font-size: 15px; text-transform: capitalize; display: flex; align-items: center; gap: 8px; }
.desc { color: var(--ink-soft); max-width: 60ch; }
.comments { margin-top: 36px; }
.comments h2 { font-size: 30px; margin-bottom: 14px; }
.comment { padding: 14px 0; border-bottom: 1px solid var(--tulle); }
.comment-head { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.comment-head strong { color: var(--ink); font-weight: 600; }
.comment p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-form { margin-top: 16px; }
.comment-form .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 10px; }
.char { font-size: 13px; color: var(--muted); }
.more { padding: 8px 0 40px; }
.more h2 { font-size: 32px; padding: 0 var(--gutter); }
.more .grid { padding-bottom: 20px; }
@media (max-width: 820px) {
.dress-page { grid-template-columns: 1fr; padding-top: 16px; }
.dress-photo { position: static; }
.dress-photo .frame { aspect-ratio: auto; max-height: 78vh; }
}
.page-head { padding: 34px var(--gutter) 6px; }
.tabs { display: flex; gap: 22px; padding: 18px var(--gutter) 0; border-bottom: 1px solid var(--tulle); }
.tabs button { border: 0; background: none; padding: 10px 0; cursor: pointer; font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.narrow { max-width: 480px; margin: 0 auto; padding: 48px var(--gutter) 64px; }
.head-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.fit { display: grid; grid-template-columns: 340px minmax(0, 1fr) 300px; min-height: calc(100vh - 59px); }
.fit-panel { padding: 22px; border-right: 1px solid var(--tulle); overflow-y: auto; max-height: calc(100vh - 59px); position: sticky; top: 59px; }
.fit-panel.right { border-right: 0; border-left: 1px solid var(--tulle); }
.fit-panel h1 { font-size: 34px; line-height: 1.05; margin-bottom: 6px; }
.fit-panel h2 { font-size: 22px; margin: 22px 0 10px; }
.fit-panel p.small { font-size: 14px; color: var(--ink-soft); margin: 0 0 12px; }
.stage { position: relative; background: radial-gradient(ellipse at 50% 35%, #fff 0%, var(--veil) 60%, #E4DEE8 100%); min-height: 520px; }
.stage canvas { display: block; width: 100% !important; height: 100% !important; touch-action: none; }
.stage-tools { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 6px; background: rgba(252,251,253,.9); padding: 5px; border-radius: var(--radius-ctl); box-shadow: 0 2px 10px rgba(35,27,43,.1); }
.stage-tools button { border: 0; background: none; height: 34px; padding: 0 12px; border-radius: var(--radius-ctl); cursor: pointer; font-size: 13px; }
.stage-tools button:hover, .stage-tools button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.stage-caption { position: absolute; left: 16px; top: 14px; right: 16px; display: flex; justify-content: space-between; gap: 10px; pointer-events: none; }
.stage-caption .dress-label { font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.stage-caption .dress-label small { display: block; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.stage-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.slider { margin-bottom: 14px; }
.slider .top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 4px; }
.slider .top output { font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.slider input[type=range] { width: 100%; accent-color: var(--orchid); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches label { position: relative; }
.swatches input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.swatches span { display: block; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--tulle); }
.swatches input:checked + span { box-shadow: 0 0 0 2px var(--ink); }
.swatches input:focus-visible + span { outline: 2px solid var(--orchid); outline-offset: 3px; }
.fit-result { background: var(--veil); border-radius: 8px; padding: 14px 16px; font-size: 14px; }
.fit-result strong { font-family: var(--serif); font-weight: 400; font-size: 22px; display: block; line-height: 1.15; margin-bottom: 4px; }
.fit-result ul { margin: 8px 0 0; padding-left: 18px; }
.dress-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dress-pick button { border: 0; padding: 0; background: var(--veil); cursor: pointer; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius-img); position: relative; }
.dress-pick button img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dress-pick button[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
.style-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.style-row label { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.style-row select { height: 36px; border: 1px solid var(--tulle); border-radius: 8px; padding: 0 8px; background: #fff; }
.photo-ref { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.photo-ref img { width: 76px; aspect-ratio: 3/4; object-fit: cover; object-position: top; border-radius: var(--radius-img); background: var(--veil); }
.photo-ref p { margin: 0; font-size: 13px; color: var(--muted); }
@media (max-width: 1100px) {
.fit { grid-template-columns: 320px minmax(0, 1fr); }
.fit-panel.right { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--tulle); position: static; max-height: none; }
}
@media (max-width: 760px) {
.fit { grid-template-columns: 1fr; }
.stage { min-height: 62vh; order: -1; }
.fit-panel { position: static; max-height: none; border-right: 0; border-top: 1px solid var(--tulle); }
}
.admin-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px var(--gutter); border-bottom: 1px solid var(--tulle); position: sticky; top: 59px; background: var(--porcelain); z-index: 10; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; padding: 18px var(--gutter) 60px; }
.admin-card { position: relative; border: 1px solid var(--tulle); border-radius: 6px; overflow: hidden; background: #fff; }
.admin-card img { aspect-ratio: 3/4; width: 100%; object-fit: cover; object-position: top; cursor: pointer; }
.admin-card .ac-body { padding: 8px 10px; font-size: 13px; }
.admin-card .ac-body strong { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-card .sel { position: absolute; top: 8px; left: 8px; width: 22px; height: 22px; accent-color: var(--orchid); }
.admin-card .flag { position: absolute; top: 8px; right: 8px; font-size: 11px; background: var(--champagne); color: var(--ink); padding: 2px 8px; border-radius: 99px; }
.admin-card.hidden-dress { opacity: .5; }
.admin-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.admin-comments { padding: 0 var(--gutter) 60px; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding: 32px var(--gutter); border-top: 1px solid var(--tulle); font-size: 14px; color: var(--ink-soft); background: var(--veil); }
.site-footer p { margin: 0; }
.foot-title { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.foot-links { display: flex; flex-direction: column; gap: 4px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--radius-ctl); font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 70; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.loading-grid .frame { animation: shimmer 1.4s infinite ease-in-out; }
@keyframes shimmer { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation: none !important; transition: none !important; }
}