:root {
  color-scheme: light;
  --ink: #28192d;
  --muted: #65576a;
  --paper: #fcf9f6;
  --plum: #24142c;
  --accent: #81519b;
  --line: #e9e0e9;
  --display: 'Playfair Display', Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); }
body:has(dialog[open]) { overflow: hidden; }
button, input, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid #a464cd; outline-offset: 4px; }
.sr-only, .skip-link:not(:focus) { position: absolute; overflow: hidden; width: 1px; height: 1px; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; background: white; padding: 12px; }
.shell { width: calc(100% - 128px); max-width: 1280px; margin-inline: auto; }
.announcement { display: flex; justify-content: center; align-items: center; gap: 11px; min-height: 35px; background: #e8d8f0; color: #432c54; font-size: 11px; font-weight: 700; letter-spacing: .065em; }
.sparkle { font-size: 10px; color: #774691; }
.site-header { position: relative; z-index: 1; background: #fdfaf8; }
.nav-shell { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: calc(100% - 128px); max-width: 1280px; min-height: 76px; margin-inline: auto; }
.wordmark { display: inline-grid; justify-items: center; justify-self: start; width: max-content; font-family: var(--display); font-size: 33px; line-height: .94; letter-spacing: -.065em; }
.wordmark > span { position: relative; }
.wordmark-star { position: absolute; top: 0; left: calc(100% + 4px); font: 12px var(--body); color: #9b64ad; }
.wordmark small { margin-top: 8px; margin-left: .34em; font: 700 8px/1 var(--body); letter-spacing: .34em; }
.main-nav, .nav-actions { display: flex; align-items: center; }
.main-nav { gap: clamp(20px, 3vw, 46px); font-size: 13px; font-weight: 600; }
.main-nav a { transition: color .2s; }
.main-nav a:hover { color: var(--accent); }
.nav-actions { justify-content: flex-end; gap: 8px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 39px; height: 39px; padding: 0; background: transparent; border-radius: 50%; }
.icon-button:hover { background: #eadcf0; }
[data-icon] > svg { display: block; width: 20px; height: 20px; }
.menu-toggle { display: none; }
.bag-toggle { width: auto; padding: 0 5px; border-radius: 20px; }
.bag-count { min-width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; background: #eadcf2; color: #493255; font-size: 10px; font-weight: 700; }
.hero { position: relative; min-height: clamp(480px, 39vw, 660px); display: grid; align-items: stretch; overflow: hidden; isolation: isolate; background: #190e20; color: #fff9ff; }
.hero-art, .hero-shade { position: absolute; inset: 0; pointer-events: none; }
.hero-art { left: 17%; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, #190e20 0%, #190e20 14%, #190e20c0 34%, transparent 61%), linear-gradient(0deg,#190e205c,transparent 25%); }
.hero-inner { display: grid; align-items: center; padding-block: 70px; }
.hero-copy { max-width: 600px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.eyebrow span { font-size: 13px; }
.hero .eyebrow { color: #e1bee8; }
.hero h1 { margin-top: 18px; font: 500 clamp(64px, 6.2vw, 105px)/.99 var(--display); letter-spacing: -.056em; }
.hero h1 em { color: #e1bff2; font-weight: 500; }
.hero-description { margin-top: 23px; max-width: 340px; color: #eaddec; font-size: 15px; line-height: 1.7; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 11px 21px; border: 1px solid transparent; border-radius: 6px; background: var(--plum); color: #fff9ff; font-size: 13px; font-weight: 700; transition: background .2s, color .2s; }
.button:hover { background: #533560; }
.button-light { margin-top: 28px; background: #f2dff9; color: #2b1734; }
.button-light:hover { background: #fff6fc; }
.button [data-icon] > svg, .studio-link [data-icon] > svg { width: 16px; height: 16px; }
.hero-feature { position: absolute; bottom: 24px; right: max(28px, calc((100% - 1280px) / 2)); display: flex; gap: 9px; align-items: center; padding: 10px 13px; border: 1px solid #f8e9ff55; border-radius: 30px; background: #25142d90; color: #fff6ff; backdrop-filter: blur(8px); font-size: 11px; }
.hero-feature:hover { background: #382044; }
.hero-feature > span:first-child { color: #e4baee; }
.hero-feature [data-icon] > svg { width: 13px; height: 13px; }
.collection { padding-block: 55px 75px; }
.section-title { text-align: center; }
.section-title .eyebrow { justify-content: center; }
.section-title h2, .studio h2 { font: 500 clamp(39px, 4.5vw, 65px)/1.06 var(--display); letter-spacing: -.048em; }
.section-title h2 { margin-top: 9px; }
.section-title > p:last-child { margin-top: 13px; color: var(--muted); font-size: 14px; }
.collection-toolbar { margin-block: 29px 19px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter, .select-wrap select { min-height: 39px; border-radius: 30px; border: 1px solid #e5dae7; background: transparent; padding: 8px 16px; white-space: nowrap; font-size: 12px; font-weight: 600; }
.filter:hover, .select-wrap select:hover { background: #f0e6f1; }
.filter[aria-pressed="true"] { border-color: var(--plum); background: var(--plum); color: #fff9ff; }
.select-wrap { position: relative; flex: none; }
.select-wrap select { appearance: none; padding-right: 34px; }
.select-wrap > span[data-icon] { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.select-wrap svg { width: 13px; height: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
.product-media { position: relative; overflow: hidden; border-radius: 9px; isolation: isolate; }
.product-photo { display: block; width: 100%; padding: 0; background: #ead8e9; }
.product-photo:focus-visible { outline-offset: -4px; }
.product-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .35s; }
.product-photo:hover img { transform: scale(1.035); }
.save-product { width: 35px; height: 35px; position: absolute; top: 12px; right: 12px; background: #fff9; backdrop-filter: blur(6px); }
.save-product[aria-pressed="true"] { color: #7d3b93; }
.save-product[aria-pressed="true"] svg { fill: currentColor; }
.save-product svg { width: 17px; height: 17px; }
.quick-shop { position: absolute; left: 12px; right: 12px; bottom: 12px; min-height: 38px; border-radius: 5px; background: #fff5ffea; color: var(--ink); font-size: 12px; font-weight: 700; transform: translateY(8px); opacity: 0; transition: opacity .2s, transform .2s; }
.product-media:hover .quick-shop, .product-media:focus-within .quick-shop { opacity: 1; transform: none; }
.quick-shop:hover { background: #fff; }
.product-meta { padding: 12px 1px 0; }
.product-meta .type { color: var(--accent); font-size: 9px; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; }
.product-meta h3 { margin-block: 4px 5px; font: 600 clamp(16px, 1.6vw, 22px)/1.25 var(--display); }
.product-meta h3 button { padding: 0; text-align: left; background: transparent; }
.product-meta h3 button:hover { color: var(--accent); }
.price { color: var(--ink); font-size: 13px; font-weight: 600; }
.empty-grid { grid-column: 1 / -1; padding: 46px 20px; border: 1px dashed var(--line); border-radius: 8px; text-align: center; color: var(--muted); }
.studio { padding-bottom: 68px; }
.studio-panel { display: grid; grid-template-columns: 1fr 1fr; border-radius: 10px; overflow: hidden; background: #2a1834; color: #fff9ff; }
.studio-photo { min-height: 355px; background: #715276 url('assets/starlight-mobile.webp') center 47% / cover; }
.studio-copy { padding: clamp(28px, 5.5vw, 85px); }
.studio .eyebrow { margin-bottom: 14px; color: #e1bee8; }
.studio h2 { font-size: clamp(36px, 4vw, 61px); }
.studio-copy > p:not(.eyebrow) { margin-top: 20px; color: #ecdfef; font-size: 14px; line-height: 1.75; max-width: 420px; }
.studio-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 22px; padding-bottom: 4px; border-bottom: 1px solid #ceabdf; font-size: 13px; color: #f2d6ff; }
.site-footer { background: #201426; color: #f8effa; }
.footer-inner { display: grid; grid-template-columns: 1.35fr .75fr 1.3fr; gap: 32px; padding-block: 44px 36px; }
.footer-brand .wordmark { font-size: 46px; }
.footer-brand .wordmark-star { color: #ddbae9; }
.footer-inner p { color: #d6c4dd; font-size: 13px; line-height: 1.55; }
.footer-brand p { margin-top: 17px; }
.footer-brand p span { white-space: nowrap; }
.footer-heading { margin-bottom: 11px; color: #e2bde9; font-size: 10px; font-weight: 700; line-height: 1.45; letter-spacing: .13em; text-transform: uppercase; }
.footer-inner nav { display: grid; align-content: start; justify-items: start; }
.footer-inner nav a, .footer-inner nav button { padding: 3px 0; background: transparent; color: #f8effa; font-size: 13px; line-height: 1.5; }
.footer-inner nav a:hover, .footer-inner nav button:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-company .company-name { margin-bottom: 4px; color: #f8effa; font-size: 15px; font-weight: 700; }
.company-registration { display: grid; gap: 4px; margin: 13px 0 0; font-size: 11px; line-height: 1.4; }
.company-registration div { display: flex; gap: 8px; align-items: baseline; }
.company-registration dt { min-width: 34px; color: #e2bde9; font-weight: 700; }
.company-registration dd { margin: 0; font-variant-numeric: tabular-nums; letter-spacing: .035em; }
.footer-preview { padding-block: 16px 21px; border-top: 1px solid #f1dbf426; color: #d6c4dd; font-size: 11px; }
.footer-preview span { margin-right: 4px; color: #e2bde9; }
.panel { position: fixed; inset: 0 0 0 auto; width: min(100%, 490px); max-width: 100%; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--line); background: var(--paper); color: var(--ink); box-shadow: -20px 0 80px #1d11264d; }
.panel::backdrop { background: #1d102769; }
.panel-header { position: sticky; top: 0; z-index: 2; min-height: 76px; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); background: var(--paper); }
.panel-header h2 { font: 500 30px/1.1 var(--display); letter-spacing: -.035em; }
#panel-content { padding: 24px; }
.panel-empty { text-align: center; padding: 38px 8px; }
.panel-empty p { margin: 0 auto 18px; max-width: 290px; color: var(--muted); line-height: 1.6; font-size: 14px; }
.panel-product-image { width: 100%; height: min(340px, 48dvh); object-fit: cover; object-position: center 22%; border-radius: 8px; }
.panel-product-summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 18px; }
.panel-product-text { margin-block: 8px 19px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.size-group { border: 0; padding: 0; margin: 0 0 18px; }
.size-group legend { padding: 0; margin-bottom: 9px; font-size: 13px; font-weight: 700; }
.sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.size-choice { position: relative; }
.size-choice input { position: absolute; top: 50%; left: 50%; opacity: 0; }
.size-choice span { display: inline-block; padding: 8px 11px; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; font-size: 12px; }
.size-choice span:hover { background: #efe4f0; }
.size-choice input:checked + span { background: #eadcf1; border-color: #a471b9; font-weight: 700; }
.size-choice input:focus-visible + span { outline: 2px solid #a464cd; outline-offset: 2px; }
.panel-main-action { width: 100%; }
.form-error { min-height: 20px; margin-top: 6px; color: #973955; font-size: 12px; }
.search-input { width: 100%; padding: 13px; border: 1px solid #d9c7df; border-radius: 5px; background: #fffdfb; }
.result-caption { margin-block: 14px 5px; font-size: 12px; color: var(--muted); }
.item-row { display: flex; align-items: center; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.item-row img { width: 64px; height: 80px; object-fit: cover; border-radius: 5px; }
.item-info { flex: 1; min-width: 0; }
.item-name { padding: 0; background: transparent; text-align: left; font: 600 16px/1.3 var(--display); }
.item-name:hover { color: var(--accent); }
.item-info p { margin-top: 5px; font-size: 12px; color: var(--muted); }
.link-button { padding: 3px 0; background: transparent; color: #76428d; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.quantity { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; }
.quantity button { width: 28px; height: 27px; background: transparent; font-size: 16px; }
.quantity button:hover { background: #eadcf1; }
.bag-total { display: flex; justify-content: space-between; margin-block: 18px 12px; font-size: 15px; font-weight: 700; }
.bag-note { margin-bottom: 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.menu-links { display: grid; }
.menu-links a, .menu-links button { display: flex; padding: 14px 0; background: transparent; text-align: left; border-bottom: 1px solid var(--line); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 5; padding: 12px 18px; border-radius: 6px; background: var(--plum); color: white; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.toast.visible { opacity: 1; }
@media (hover: none) { .quick-shop { opacity: 1; transform: none; } }
@media (max-width: 1000px) {
  .shell, .nav-shell { width: calc(100% - 64px); }
  .main-nav { gap: 19px; }
  .nav-actions { gap: 3px; }
  .hero-art { left: 10%; }
  .hero-feature { right: 32px; }
}
@media (max-width: 760px) {
  .shell, .nav-shell { width: calc(100% - 40px); }
  .nav-shell { min-height: 65px; grid-template-columns: 1fr auto 1fr; }
  .nav-shell .wordmark { grid-column: 2; }
  .wordmark { font-size: 29px; }
  .main-nav, .wishlist-toggle { display: none; }
  .menu-toggle { display: inline-flex; margin-left: -8px; }
  .hero-feature { right: 20px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-copy { padding: 32px; }
  .footer-inner { grid-template-columns: 1fr .7fr 1.25fr; gap: 18px; }
}
@media (max-width: 650px) {
  .hero { min-height: clamp(565px, 130vw, 640px); }
  .hero-art { inset: 0 0 110px 0; }
  .hero-art img { object-position: center 19%; }
  .hero-shade { background: linear-gradient(0deg, #190e20 0%, #190e20 16%, #190e20ed 24%, #190e204d 56%, transparent 74%); }
  .hero-inner { align-items: end; padding-block: 0 31px; }
  .hero h1 { margin-top: 9px; font-size: clamp(50px, 10.5vw, 69px); }
  .hero-description { margin-top: 13px; font-size: 13px; max-width: 275px; }
  .button-light { margin-top: 16px; }
  .hero-feature { top: 15px; bottom: auto; right: 13px; }
  .collection { padding-block: 39px 46px; }
  .collection-toolbar { margin-top: 22px; align-items: flex-start; }
  .filter, .select-wrap select { min-height: 35px; padding-inline: 11px; font-size: 11px; }
  .select-wrap select { padding-right: 28px; }
  .select-wrap > span[data-icon] { right: 9px; }
  .filters { gap: 5px; }
  .product-grid { gap: 19px 10px; }
  .save-product { top: 7px; right: 7px; }
  .quick-shop { bottom: 7px; left: 7px; right: 7px; min-height: 32px; }
  .studio { padding-bottom: 42px; }
  .studio-panel { grid-template-columns: 1fr; }
  .studio-photo { min-height: 220px; background-position: center 48%; }
  .studio-copy { padding: 28px 23px 33px; }
  .footer-inner { grid-template-columns: 1.2fr 1fr; gap: 25px 14px; padding-block: 31px 26px; }
  .footer-brand .wordmark { font-size: 37px; }
  .footer-company { grid-column: 1 / -1; padding-top: 21px; border-top: 1px solid #f1dbf426; }
}
@media (max-width: 370px) {
  .shell, .nav-shell { width: calc(100% - 30px); }
  .collection-toolbar { flex-wrap: wrap; }
  .nav-actions { gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
