:root {
  --black: #0d0d0f;
  --charcoal: #1a1a1d;
  --ink: #242126;
  --cream: #f2e6d6;
  --paper: #f7f3ed;
  --white: #fffdf9;
  --purple: #6b1fa8;
  --amethyst: #a45cff;
  --gold: #d4af37;
  --gold-soft: #e8c969;
  --muted: #7b737d;
  --line: rgba(36, 33, 38, .14);
  --display: "Playfair Display", Georgia, serif;
  --caps: "Cinzel", Georgia, serif;
  --body: "Lato", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 30px 80px rgba(13, 13, 15, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--purple); color: white; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-150%); background: white; color: black; padding: 10px 16px; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
.page-noise { position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 130px; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 34px; color: white; border-bottom: 1px solid rgba(255,255,255,.12); transition: background .45s var(--ease), height .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease); }
.site-header.is-scrolled { height: 76px; color: var(--ink); background: rgba(247,243,237,.92); backdrop-filter: blur(18px); border-color: var(--line); box-shadow: 0 12px 40px rgba(13,13,15,.06); }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; width: max-content; }
.brand-mark { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(212,175,55,.55); box-shadow: inset 0 0 0 4px rgba(0,0,0,.25); transition: transform .45s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.04); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: .02em; }
.brand-copy small { margin-top: 5px; font-family: var(--caps); font-size: 8px; letter-spacing: .18em; text-transform: uppercase; opacity: .62; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a, .primary-nav button { position: relative; border: 0; background: none; color: inherit; text-decoration: none; cursor: pointer; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; padding: 12px 0; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 7px; height: 1px; background: var(--gold); transition: right .35s var(--ease); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; }
.nav-action { color: var(--gold-soft) !important; }
.wardrobe-button { justify-self: end; display: inline-flex; align-items: center; gap: 10px; border: 0; background: transparent; color: inherit; cursor: pointer; text-transform: uppercase; letter-spacing: .13em; font-size: 11px; }
.wardrobe-button b { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid currentColor; border-radius: 50%; font-size: 10px; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; color: white; background: var(--black); }
.hero-media, .hero-scrim { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.035); animation: hero-breathe 12s ease-out both; }
.hero-scrim { background: linear-gradient(90deg, rgba(7,6,8,.94) 0%, rgba(7,6,8,.78) 37%, rgba(7,6,8,.3) 70%, rgba(7,6,8,.48) 100%), linear-gradient(0deg, rgba(7,6,8,.6), transparent 45%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .28; }
.hero-glow-one { width: 440px; height: 440px; left: -180px; top: 15%; background: var(--purple); }
.hero-glow-two { width: 320px; height: 320px; right: 12%; bottom: -100px; background: var(--gold); opacity: .12; }
.hero-content { position: relative; z-index: 2; padding-top: 110px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-family: var(--caps); font-size: 10px; line-height: 1.2; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
.eyebrow span:first-child { width: 36px; height: 1px; background: currentColor; }
.eyebrow.dark { color: var(--purple); }
.hero h1 { max-width: 830px; margin: 0; font-family: var(--display); font-size: clamp(62px, 8.4vw, 126px); font-weight: 500; line-height: .89; letter-spacing: -.045em; }
h1 em, h2 em { color: var(--gold-soft); font-weight: 500; }
.hero-lede { max-width: 590px; margin: 32px 0 0; color: rgba(255,255,255,.76); font-size: 18px; font-weight: 300; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 40px; }
.button { position: relative; display: inline-flex; justify-content: space-between; align-items: center; min-width: 220px; min-height: 58px; padding: 0 20px 0 24px; border: 1px solid transparent; cursor: pointer; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.button::before { content: ""; position: absolute; inset: 0; transform: translateX(-103%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.19), transparent); transition: transform .6s var(--ease); }
.button:hover::before { transform: translateX(103%); }
.button:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.18); }
.button:active { transform: translateY(1px) scale(.992); }
.button i { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%; font-style: normal; font-size: 10px; border: 1px solid currentColor; }
.button-primary { background: var(--gold); color: var(--black); border-color: var(--gold); }
.button-ghost { background: rgba(255,255,255,.04); color: white; border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.button-dark { background: var(--black); color: white; border-color: var(--black); }
.button-light { background: var(--cream); color: var(--black); border-color: var(--cream); }
.hero-proof { display: flex; gap: 0; width: min(720px, 100%); margin-top: 74px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-proof div { flex: 1; display: flex; align-items: center; gap: 14px; padding: 17px 24px 0 0; color: rgba(255,255,255,.65); font-size: 12px; }
.hero-proof strong { color: var(--gold-soft); font-family: var(--caps); font-size: 9px; }
.scroll-cue { position: absolute; z-index: 4; right: 34px; bottom: 38px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.66); font-family: var(--caps); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; writing-mode: vertical-rl; }
.scroll-cue span { width: 1px; height: 58px; background: rgba(255,255,255,.4); overflow: hidden; }
.scroll-cue span::after { content: ""; display: block; width: 1px; height: 30px; background: var(--gold); animation: scroll-line 2s infinite var(--ease); }

.marquee { overflow: hidden; background: var(--gold); color: var(--black); border-block: 1px solid rgba(13,13,15,.1); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 30px; padding: 13px 0; animation: marquee 30s linear infinite; font-family: var(--caps); text-transform: uppercase; letter-spacing: .16em; font-size: 10px; }
.marquee-track i { font-size: 7px; }

.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 90px; margin-bottom: 54px; }
.section-heading h2, .editorial-copy h2, .story-copy h2, .concierge h2 { margin: 0; font-family: var(--display); font-size: clamp(44px, 5vw, 72px); font-weight: 500; line-height: 1.03; letter-spacing: -.035em; }
.section-heading h2 em, .editorial-copy h2 em, .story-copy h2 em, .concierge h2 em { color: var(--purple); }
.section-heading > p, .section-heading.centered > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.section-heading.centered { display: block; max-width: 780px; margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.centered > p { max-width: 580px; margin: 24px auto 0; }

.collection-controls { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 34px; border-block: 1px solid var(--line); padding-block: 18px; }
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip { border: 1px solid transparent; border-radius: 999px; background: transparent; color: #6a626c; padding: 9px 14px; cursor: pointer; font-size: 12px; transition: .25s var(--ease); }
.filter-chip:hover { color: var(--ink); background: rgba(107,31,168,.06); }
.filter-chip:active { transform: scale(.96); }
.filter-chip.is-active { background: var(--ink); color: white; border-color: var(--ink); box-shadow: 0 8px 22px rgba(13,13,15,.12); }
.text-button { border: 0; background: transparent; color: var(--ink); cursor: pointer; padding: 8px 0; font-size: 12px; text-decoration: none; }
.text-button span { display: inline-block; margin-left: 8px; transition: transform .25s var(--ease); }
.text-button:hover span { transform: translateX(4px); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 18px; min-height: 500px; }
.product-card { position: relative; background: transparent; opacity: 0; transform: translateY(20px); animation: card-in .6s var(--ease) forwards; }
.product-card:nth-child(2n) { animation-delay: .04s; }
.product-card:nth-child(3n) { animation-delay: .08s; }
.product-media { position: relative; aspect-ratio: 1 / .82; overflow: hidden; background: #eee7df; cursor: pointer; }
.product-media::after { content: "View fragrance"; position: absolute; inset: auto 12px 12px 12px; display: grid; place-items: center; min-height: 42px; background: rgba(13,13,15,.9); color: white; transform: translateY(calc(100% + 16px)); transition: transform .45s var(--ease); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; backdrop-filter: blur(8px); }
.product-card:hover .product-media::after, .product-media:focus-visible::after { transform: translateY(0); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .8s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.035); filter: saturate(1.05) contrast(1.02); }
.product-save { position: absolute; z-index: 2; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.78); color: var(--ink); cursor: pointer; display: grid; place-items: center; font-size: 18px; backdrop-filter: blur(8px); transition: .25s var(--ease); }
.product-save:hover { transform: scale(1.08); background: white; }
.product-save.is-saved { background: var(--purple); color: white; border-color: var(--purple); }
.product-info { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding-top: 16px; }
.product-info small { grid-column: 1 / -1; color: var(--purple); font-family: var(--caps); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.product-info h3 { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 500; line-height: 1.15; }
.product-info button { align-self: start; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; padding: 3px 0; font-size: 11px; }
.product-info p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.collection-footer { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 60px; }
.collection-footer p { color: var(--muted); font-size: 12px; }

.editorial-band { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 760px; background: var(--black); color: white; }
.editorial-image { min-height: 680px; overflow: hidden; }
.editorial-image img { width: 100%; height: 100%; object-fit: cover; }
.editorial-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(48px, 7vw, 120px); }
.editorial-copy p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.66); font-weight: 300; }
.editorial-copy h2 em { color: var(--gold-soft); }
.standards-list { display: grid; gap: 0; margin: 44px 0 0; }
.standards-list div { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.13); }
.standards-list dt { color: var(--gold-soft); font-family: var(--caps); font-size: 9px; }
.standards-list dd { margin: 0; display: grid; gap: 5px; }
.standards-list strong { font-family: var(--display); font-size: 20px; font-weight: 500; }
.standards-list span { color: rgba(255,255,255,.53); font-size: 13px; }

.ritual-progress { max-width: 650px; display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 15px; margin: 48px auto 50px; color: var(--muted); font-family: var(--caps); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.ritual-progress i { height: 1px; background: var(--line); }
.ritual-progress .is-active { color: var(--purple); }
.ritual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ritual-card { position: relative; min-height: 560px; overflow: hidden; background: var(--black); color: white; }
.ritual-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,7,9,.95) 0%, rgba(8,7,9,.2) 60%, rgba(8,7,9,.06)); }
.ritual-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ritual-card:hover img { transform: scale(1.05); }
.ritual-card > div:last-child { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 30px; }
.ritual-number { position: absolute; z-index: 3; top: 24px; right: 24px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); color: var(--gold-soft); font-family: var(--caps); font-size: 9px; backdrop-filter: blur(8px); }
.ritual-card small { font-family: var(--caps); color: var(--gold-soft); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.ritual-card h3 { margin: 8px 0 9px; font-family: var(--display); font-size: 32px; font-weight: 500; }
.ritual-card p { margin: 0; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.7; }

.story { position: relative; min-height: 760px; display: grid; align-items: center; overflow: hidden; color: white; background: #0e0d10; }
.story-art { position: absolute; inset: 0; }
.story-art img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: grayscale(.2) saturate(.8); }
.story-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,11,.96), rgba(10,9,11,.72) 55%, rgba(10,9,11,.5)); }
.story-copy { position: relative; z-index: 2; padding-block: 120px; }
.story-copy h2 { max-width: 900px; }
.story-copy h2 em { color: var(--gold-soft); }
.story-copy > p:not(.eyebrow) { max-width: 670px; color: rgba(255,255,255,.68); font-size: 17px; font-weight: 300; line-height: 1.85; }
.story-copy blockquote { max-width: 700px; margin: 38px 0; padding-left: 28px; border-left: 1px solid var(--gold); color: var(--cream); font-family: var(--display); font-size: 27px; font-style: italic; }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--gold-soft); text-decoration: none; border-bottom: 1px solid rgba(232,201,105,.4); padding-bottom: 5px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translateX(5px); }

.concierge { padding-block: 110px; }
.concierge-card { position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; min-height: 440px; padding: clamp(44px, 7vw, 86px); background: radial-gradient(circle at 80% 20%, rgba(164,92,255,.28), transparent 28%), linear-gradient(135deg, #18121d, #09090b 65%); color: white; box-shadow: var(--shadow); }
.concierge-card::after { content: "SD"; position: absolute; right: -20px; bottom: -130px; color: rgba(255,255,255,.025); font-family: var(--display); font-size: 430px; line-height: 1; }
.concierge-card > * { position: relative; z-index: 2; }
.concierge h2 em { color: var(--gold-soft); }
.concierge-card p:not(.eyebrow) { max-width: 620px; color: rgba(255,255,255,.62); }

.site-footer { background: var(--black); color: white; padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; padding-bottom: 60px; }
.footer-brand img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(212,175,55,.4); }
.footer-brand p { font-family: var(--display); color: rgba(255,255,255,.62); font-style: italic; }
.site-footer h3 { margin: 0 0 16px; color: var(--gold-soft); font-family: var(--caps); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.site-footer address, .site-footer a, .site-footer button { display: block; border: 0; background: none; color: rgba(255,255,255,.6); text-decoration: none; font-style: normal; font-size: 13px; line-height: 1.9; cursor: pointer; padding: 0; text-align: left; }
.site-footer a:hover, .site-footer button:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.35); font-family: var(--caps); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.mobile-finder { display: none; }

.overlay { position: fixed; inset: 0; z-index: 89; background: rgba(6,5,7,.67); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s var(--ease); }
.overlay.is-visible { opacity: 1; }
.drawer { position: fixed; z-index: 95; top: 0; right: 0; width: min(470px, 100%); height: 100dvh; display: flex; flex-direction: column; background: var(--paper); box-shadow: -30px 0 80px rgba(0,0,0,.24); transform: translateX(104%); transition: transform .55s var(--ease); }
.drawer.is-open { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 30px; border-bottom: 1px solid var(--line); }
.drawer-header small { color: var(--purple); font-family: var(--caps); text-transform: uppercase; letter-spacing: .13em; font-size: 8px; }
.drawer-header h2 { margin: 4px 0 0; font-family: var(--display); font-size: 34px; font-weight: 500; }
.drawer-header button, .finder-close, .product-modal-close { width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 25px; line-height: 1; transition: transform .25s var(--ease), background .25s; }
.drawer-header button:hover, .finder-close:hover, .product-modal-close:hover { transform: rotate(5deg); background: rgba(107,31,168,.06); }
.wardrobe-items { flex: 1; overflow-y: auto; padding: 18px 30px; }
.wardrobe-empty { display: grid; place-items: center; min-height: 320px; text-align: center; color: var(--muted); }
.wardrobe-empty strong { display: block; color: var(--ink); font-family: var(--display); font-size: 25px; font-weight: 500; }
.wardrobe-item { display: grid; grid-template-columns: 86px 1fr auto; gap: 15px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.wardrobe-item img { width: 86px; height: 72px; object-fit: cover; }
.wardrobe-item h3 { margin: 0; font-family: var(--display); font-size: 19px; font-weight: 500; }
.wardrobe-item p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }
.wardrobe-item button { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 20px; }
.drawer-footer { padding: 24px 30px 30px; border-top: 1px solid var(--line); }
.drawer-footer p { color: var(--muted); font-size: 11px; line-height: 1.55; }
.drawer-footer .button { width: 100%; }

.finder { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(7,6,8,.82); backdrop-filter: blur(12px); opacity: 0; visibility: hidden; transition: .35s var(--ease); }
.finder.is-open { opacity: 1; visibility: visible; }
.finder-shell { position: relative; width: min(920px, 100%); min-height: min(620px, calc(100dvh - 40px)); max-height: calc(100dvh - 40px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; background: var(--paper); box-shadow: 0 40px 120px rgba(0,0,0,.45); transform: translateY(18px) scale(.985); transition: transform .45s var(--ease); }
.finder.is-open .finder-shell { transform: none; }
.finder-close { position: absolute; z-index: 2; top: 22px; right: 22px; }
.finder-progress { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 20px; padding: 30px 80px 22px 34px; border-bottom: 1px solid var(--line); }
.finder-progress > span, .finder-progress small { color: var(--purple); font-family: var(--caps); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.finder-progress > div { height: 2px; background: rgba(36,33,38,.1); }
.finder-progress i { display: block; width: 33%; height: 100%; background: var(--purple); transition: width .45s var(--ease); }
.finder-stage { min-height: 0; padding: 52px clamp(30px, 7vw, 80px); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.finder-stage h2 { max-width: 700px; margin: 0; font-family: var(--display); font-size: clamp(40px, 5vw, 62px); font-weight: 500; line-height: 1.05; }
.finder-stage > p { color: var(--muted); max-width: 620px; }
.finder-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 34px; }
.finder-option { position: relative; min-height: 106px; display: grid; align-content: center; gap: 5px; padding: 20px 24px; border: 1px solid var(--line); background: var(--white); text-align: left; cursor: pointer; transition: .28s var(--ease); }
.finder-option:hover { transform: translateY(-2px); border-color: rgba(107,31,168,.38); box-shadow: 0 12px 30px rgba(13,13,15,.07); }
.finder-option:active { transform: translateY(1px); }
.finder-option.is-selected { color: white; background: var(--ink); border-color: var(--ink); box-shadow: 0 16px 40px rgba(13,13,15,.18); }
.finder-option strong { font-family: var(--display); font-size: 22px; font-weight: 500; }
.finder-option span { color: var(--muted); font-size: 12px; }
.finder-option.is-selected span { color: rgba(255,255,255,.58); }
.finder-controls { display: flex; justify-content: space-between; align-items: center; padding: 22px 34px; border-top: 1px solid var(--line); }
.finder-controls button:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.finder-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 14px; margin-top: 28px; }
.finder-result { min-width: 0; border: 1px solid var(--line); background: white; padding: 10px; cursor: pointer; text-align: left; }
.finder-result img { display: block; width: 100%; height: clamp(160px, 22dvh, 240px); object-fit: contain; background: #151216; }
.finder-result strong { display: block; margin: 10px 4px 0; font-family: var(--display); font-size: 19px; font-weight: 500; }
.finder-result span { display: block; margin: 2px 4px 5px; color: var(--muted); font-size: 10px; }

.product-modal { position: fixed; z-index: 98; inset: 50% auto auto 50%; width: min(1100px, calc(100% - 40px)); max-height: calc(100dvh - 40px); display: grid; grid-template-columns: 1.05fr .95fr; background: var(--paper); box-shadow: 0 40px 120px rgba(0,0,0,.45); transform: translate(-50%, -47%) scale(.98); opacity: 0; visibility: hidden; overflow: auto; transition: .4s var(--ease); }
.product-modal.is-open { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; }
.product-modal-close { position: absolute; z-index: 4; top: 20px; right: 20px; background: rgba(247,243,237,.88); backdrop-filter: blur(8px); }
.product-modal-media { min-height: 660px; background: #ece5dd; }
.product-modal-media img { width: 100%; height: 100%; object-fit: cover; }
.product-modal-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 6vw, 76px); }
.product-modal-copy h2 { margin: 0; font-family: var(--display); font-size: clamp(48px, 5vw, 72px); font-weight: 500; line-height: .98; }
.product-tagline { color: var(--purple) !important; font-family: var(--display); font-size: 20px !important; font-style: italic; }
.product-modal-copy > p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.note-pyramid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 32px; }
.note-pyramid div { border-top: 1px solid var(--line); padding-top: 12px; }
.note-pyramid small { color: var(--purple); font-family: var(--caps); font-size: 8px; text-transform: uppercase; letter-spacing: .13em; }
.note-pyramid p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

.toast { position: fixed; z-index: 120; left: 50%; bottom: 28px; min-width: 260px; max-width: calc(100% - 32px); padding: 13px 18px; background: var(--ink); color: white; box-shadow: 0 18px 50px rgba(0,0,0,.28); text-align: center; font-size: 12px; transform: translate(-50%, 140%); transition: transform .4s var(--ease); }
.toast.is-visible { transform: translate(-50%, 0); }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--amethyst); outline-offset: 4px; }

@keyframes hero-breathe { from { transform: scale(1.11); filter: brightness(.82); } to { transform: scale(1.035); filter: brightness(1); } }
@keyframes scroll-line { 0% { transform: translateY(-35px); } 100% { transform: translateY(65px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes card-in { to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .wardrobe-button { margin-right: 62px; }
  .menu-toggle { display: grid; place-content: center; gap: 7px; position: absolute; right: 28px; width: 42px; height: 42px; border: 0; background: transparent; color: inherit; cursor: pointer; }
  .menu-toggle span { display: block; width: 23px; height: 1px; background: currentColor; transition: .3s var(--ease); }
  .menu-toggle.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav.is-open { position: fixed; top: 76px; left: 0; right: 0; display: grid; padding: 25px 32px 35px; background: rgba(247,243,237,.97); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.12); }
  .site-header:not(.is-scrolled) .primary-nav.is-open { top: 92px; }
  .primary-nav.is-open a, .primary-nav.is-open button { text-align: left; font-family: var(--display); font-size: 28px; letter-spacing: 0; text-transform: none; padding: 8px 0; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .section-heading { gap: 50px; }
}

@media (max-width: 820px) {
  body { padding-bottom: 78px; }
  .shell { width: min(100% - 30px, 680px); }
  .section { padding-block: 88px; }
  .site-header { height: 76px; padding-inline: 16px; }
  .brand-copy small { display: none; }
  .brand-mark { width: 42px; height: 42px; }
  .wardrobe-button { margin-right: 48px; }
  .wardrobe-button span { display: none; }
  .menu-toggle { right: 10px; }
  .hero { min-height: 980px; }
  .hero-content { padding-top: 110px; padding-bottom: 100px; }
  .hero h1 { font-size: clamp(58px, 18vw, 92px); }
  .hero-lede { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 420px; }
  .hero-actions .button { width: 100%; }
  .hero-proof { flex-direction: column; gap: 12px; border-top: 0; margin-top: 48px; }
  .hero-proof div { padding: 0; }
  .scroll-cue { display: none; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 24px; }
  .collection-controls { display: block; overflow: hidden; }
  .filter-group { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
  .filter-group::-webkit-scrollbar { display: none; }
  .filter-chip { white-space: nowrap; }
  .collection-controls .text-button { margin-top: 8px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .editorial-band { grid-template-columns: 1fr; }
  .editorial-image { min-height: 500px; }
  .editorial-copy { padding: 70px 30px; }
  .ritual-grid { grid-template-columns: 1fr; }
  .ritual-card { min-height: 540px; }
  .story-copy { padding-block: 90px; }
  .concierge-card { display: block; }
  .concierge-card .button { margin-top: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .mobile-finder { position: fixed; z-index: 70; display: flex; justify-content: space-between; align-items: center; left: 14px; right: 14px; bottom: 14px; height: 54px; padding: 0 16px 0 20px; border: 1px solid rgba(212,175,55,.5); background: rgba(13,13,15,.94); color: white; box-shadow: 0 18px 50px rgba(0,0,0,.3); backdrop-filter: blur(12px); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
  .mobile-finder i { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-soft); font-style: normal; font-size: 8px; }
  .finder { padding: 0; align-items: stretch; }
  .finder-shell { width: 100%; min-height: 100dvh; max-height: 100dvh; }
  .finder-stage { padding: 42px 22px; overflow-y: auto; }
  .finder-options { grid-template-columns: 1fr; }
  .finder-results { grid-template-columns: 1fr 1fr; }
  .finder-progress { grid-template-columns: 60px 1fr; padding-right: 75px; }
  .finder-progress small { display: none; }
  .product-modal { inset: 0; width: 100%; max-height: 100dvh; grid-template-columns: 1fr; transform: translateY(30px); }
  .product-modal.is-open { transform: none; }
  .product-modal-media { min-height: 410px; }
  .product-modal-copy { padding: 42px 24px 80px; }
}

@media (max-width: 540px) {
  .brand-copy strong { font-size: 16px; }
  .hero { min-height: 900px; }
  .hero-media img { object-position: 65% center; }
  .hero-scrim { background: linear-gradient(90deg, rgba(7,6,8,.95), rgba(7,6,8,.6)), linear-gradient(0deg, rgba(7,6,8,.7), transparent 45%); }
  .hero h1 { font-size: 58px; }
  .eyebrow { font-size: 8px; }
  .product-grid { grid-template-columns: 1fr; gap: 34px; }
  .product-media { aspect-ratio: 1 / .78; }
  .section-heading h2, .editorial-copy h2, .story-copy h2, .concierge h2 { font-size: 43px; }
  .editorial-image { min-height: 380px; }
  .ritual-progress { gap: 8px; font-size: 7px; }
  .story-copy blockquote { font-size: 22px; }
  .concierge-card { padding: 50px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: grid; gap: 8px; padding-bottom: 72px; }
  .finder-results { grid-template-columns: 1fr; }
  .finder-controls .button { min-width: 160px; }
  .note-pyramid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* 2026-08 client storefront update ------------------------------------------------ */
.product-media { background: #161217; }
.product-media img { object-fit: contain; }
.finder-result img { object-fit: contain; background: #151216; }

.shop-grid { align-items: stretch; }
.ritual-card.shop-window { min-height: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--black); border: 1px solid rgba(212,175,55,.22); box-shadow: 0 24px 60px rgba(13,13,15,.12); }
.ritual-card.shop-window::after { display: none; }
.shop-window .ritual-number { top: 18px; right: 18px; background: rgba(13,13,15,.82); }
.shop-gallery { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #f2eee8; border-bottom: 1px solid rgba(255,255,255,.12); }
.ritual-card.shop-window .shop-gallery > img { width: 100%; height: 100%; object-fit: contain; background: #f4efe9; transform: none; }
.ritual-card.shop-window:hover .shop-gallery > img { transform: none; }
.shop-gallery-controls { position: absolute; z-index: 4; left: 14px; right: 14px; bottom: 14px; display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; gap: 8px; padding: 6px; background: rgba(13,13,15,.86); color: white; backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.shop-gallery-controls button { width: 38px; height: 34px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: white; cursor: pointer; }
.shop-gallery-controls span { text-align: center; color: rgba(255,255,255,.72); font-family: var(--caps); font-size: 8px; letter-spacing: .12em; }
.shop-gallery-controls b { color: var(--gold-soft); font-weight: 600; }
.ritual-card.shop-window > .shop-window-copy { position: static; z-index: 2; left: auto; right: auto; bottom: auto; display: flex; flex: 1; flex-direction: column; padding: 26px 26px 28px; }
.shop-window-copy h3 { margin-bottom: 8px; }
.shop-window-copy > p { min-height: 66px; }
.shop-price-line { display: grid; gap: 8px; margin: 20px 0 18px; padding: 15px 0; border-block: 1px solid rgba(255,255,255,.13); }
.shop-price-line > div { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; }
.shop-price-line span { color: rgba(255,255,255,.56); font-family: var(--caps); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.shop-price-line strong { color: var(--gold-soft); font-family: var(--display); font-size: 20px; font-weight: 500; }
.shop-select-label { display: grid; gap: 8px; margin-top: auto; }
.shop-select-label > span { color: var(--gold-soft); font-family: var(--caps); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.shop-select-label select { width: 100%; min-height: 48px; border: 1px solid rgba(255,255,255,.2); border-radius: 0; background: #18151a; color: white; padding: 0 42px 0 14px; font-family: var(--body); font-size: 13px; cursor: pointer; }
.shop-select-label select option { background: #18151a; color: white; }
.shop-add { width: 100%; min-width: 0; margin-top: 12px; }
.shop-add:disabled { opacity: .42; cursor: not-allowed; transform: none; box-shadow: none; }

.commerce-details { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px 50px; margin-top: 52px; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 55px rgba(13,13,15,.06); }
.commerce-heading { grid-row: span 2; }
.commerce-heading h3 { margin: 8px 0 12px; font-family: var(--display); font-size: clamp(30px, 3vw, 42px); font-weight: 500; line-height: 1.05; }
.commerce-heading > p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.commerce-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.commerce-price-card { display: grid; gap: 3px; padding: 16px; border: 1px solid var(--line); background: var(--paper); }
.commerce-price-card small { color: var(--purple); font-family: var(--caps); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.commerce-price-card strong { font-family: var(--display); font-size: 19px; font-weight: 500; }
.commerce-price-card span { color: var(--muted); font-size: 11px; }
.shipping-options { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.shipping-option { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 16px; background: var(--white); }
.shipping-option > div { display: grid; }
.shipping-option strong { font-size: 12px; font-weight: 700; }
.shipping-option span { color: var(--muted); font-size: 10px; }
.shipping-option b { color: var(--purple); font-family: var(--display); font-size: 18px; font-weight: 500; white-space: nowrap; }
.shipping-option.free-shipping { background: #151216; color: white; }
.shipping-option.free-shipping span { color: rgba(255,255,255,.55); }
.shipping-option.free-shipping b { color: var(--gold-soft); }

.wardrobe-item img { object-fit: contain; background: #171317; }

.product-modal { z-index: 110; inset: 0; width: 100%; height: 100dvh; max-height: 100dvh; grid-template-columns: minmax(0, 1.45fr) minmax(360px, .55fr); background: rgba(8,7,10,.985); color: white; box-shadow: none; transform: translateY(16px); overflow: hidden; }
.product-modal.is-open { transform: none; }
.product-modal-close { position: fixed; top: 22px; right: 22px; color: white; border-color: rgba(255,255,255,.3); background: rgba(8,7,10,.72); backdrop-filter: blur(10px); }
.product-modal-close:hover { background: rgba(255,255,255,.1); }
.product-modal-media { min-height: 0; height: 100dvh; display: grid; place-items: center; padding: 76px 34px 34px; overflow: auto; background: radial-gradient(circle at 50% 38%, rgba(107,31,168,.18), transparent 45%), #08070a; }
.product-modal-media img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 110px); object-fit: contain; box-shadow: 0 28px 80px rgba(0,0,0,.38); }
.product-modal-copy { justify-content: flex-start; padding: 86px clamp(30px, 4vw, 58px) 52px; overflow-y: auto; background: rgba(18,15,20,.97); border-left: 1px solid rgba(255,255,255,.1); }
.product-modal-copy .eyebrow.dark { color: rgba(255,255,255,.68); }
.product-modal-copy h2 { color: white; font-size: clamp(44px, 4vw, 68px); }
.product-tagline { color: var(--gold-soft) !important; }
.product-modal-copy > p { color: rgba(255,255,255,.65); }
.note-pyramid { grid-template-columns: 1fr; gap: 10px; margin: 24px 0 26px; }
.note-pyramid div { border-top-color: rgba(255,255,255,.14); }
.note-pyramid small { color: var(--gold-soft); }
.note-pyramid p { color: rgba(255,255,255,.62); }
.product-return-note { margin: -8px 0 18px !important; color: var(--gold-soft) !important; font-family: var(--caps); font-size: 8px !important; letter-spacing: .1em; text-transform: uppercase; }
.product-modal-copy .button { width: 100%; }

@media (max-width: 1100px) {
  .commerce-details { grid-template-columns: 1fr; }
  .commerce-heading { grid-row: auto; }
  .product-modal { grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); }
}

@media (max-width: 820px) {
  .shop-window-copy > p { min-height: 0; }
  .commerce-pricing { grid-template-columns: 1fr; }
  .commerce-details { gap: 24px; }
  .product-modal { width: 100%; height: 100dvh; max-height: 100dvh; grid-template-columns: 1fr; grid-template-rows: minmax(340px, 56dvh) auto; overflow-y: auto; transform: translateY(20px); }
  .product-modal.is-open { transform: none; }
  .product-modal-media { height: auto; min-height: 340px; padding: 70px 18px 18px; overflow: hidden; }
  .product-modal-media img { max-height: calc(56dvh - 88px); }
  .product-modal-copy { overflow: visible; padding: 38px 24px 80px; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .product-modal-close { top: 14px; right: 14px; }
}

@media (max-width: 540px) {
  .shop-gallery { aspect-ratio: 1 / .82; }
  .commerce-details { padding: 22px 18px; }
  .shipping-option { align-items: flex-start; }
  .product-modal { grid-template-rows: minmax(300px, 48dvh) auto; }
  .product-modal-media img { max-height: calc(48dvh - 86px); }
}

/* QA4 — bounded finder results + faceted crystal interaction system ------------ */
:root {
  --facet-cut: 14px;
  --facet-cut-sm: 10px;
  --facet-shape: polygon(var(--facet-cut) 0%, calc(100% - var(--facet-cut)) 0%, 100% var(--facet-cut), 100% calc(100% - var(--facet-cut)), calc(100% - var(--facet-cut)) 100%, var(--facet-cut) 100%, 0% calc(100% - var(--facet-cut)), 0% var(--facet-cut));
  --facet-shape-sm: polygon(var(--facet-cut-sm) 0%, calc(100% - var(--facet-cut-sm)) 0%, 100% var(--facet-cut-sm), 100% calc(100% - var(--facet-cut-sm)), calc(100% - var(--facet-cut-sm)) 100%, var(--facet-cut-sm) 100%, 0% calc(100% - var(--facet-cut-sm)), 0% var(--facet-cut-sm));
  --crystal-edge: rgba(255,255,255,.42);
  --crystal-gold: rgba(232,201,105,.72);
  --crystal-shadow: rgba(0,0,0,.42);
}

/* Result state gets its own geometry instead of inheriting question-card sizing. */
.finder-shell.is-results {
  width: min(1120px, calc(100vw - 64px));
  min-height: 0;
  height: min(760px, calc(100dvh - 64px));
  max-height: calc(100dvh - 64px);
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.finder-shell.is-results .finder-stage {
  min-height: 0;
  padding: clamp(28px, 4dvh, 42px) clamp(28px, 4vw, 52px) 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.finder-shell.is-results .finder-stage h2 {
  max-width: 820px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.02;
}

.finder-shell.is-results .finder-stage > p {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.finder-shell.is-results .finder-results {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.finder-shell.is-results .finder-result {
  min-width: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(36,33,38,.14);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(13,13,15,.06);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}

.finder-shell.is-results .finder-result:hover,
.finder-shell.is-results .finder-result:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(107,31,168,.34);
  box-shadow: 0 18px 38px rgba(13,13,15,.11);
}

.finder-shell.is-results .finder-result img {
  width: 100%;
  height: clamp(155px, 22dvh, 225px);
  aspect-ratio: auto;
  object-fit: contain;
  background: #151216;
}

.finder-shell.is-results .finder-result strong {
  margin-top: 9px;
  font-size: clamp(17px, 1.5vw, 20px);
}

.finder-shell.is-results .finder-result span {
  margin-bottom: 3px;
  font-size: 10px;
  line-height: 1.35;
}

.finder-shell.is-results .finder-controls {
  flex: 0 0 auto;
  background: rgba(247,243,237,.98);
  box-shadow: 0 -10px 28px rgba(13,13,15,.04);
}

/* Faceted / crystal controls. filter: drop-shadow follows the clipped silhouette,
   unlike box-shadow, so the diagonal corners now retain visible depth. */
.button,
.primary-nav a,
.primary-nav button,
.wardrobe-button,
.filter-chip,
.text-button,
.menu-toggle,
.drawer-header button,
.finder-close,
.product-modal-close,
.shop-gallery-controls button,
.shop-select-label select,
.mobile-finder,
.finder-option,
.product-info button {
  position: relative;
  isolation: isolate;
  border-radius: 0;
  clip-path: var(--facet-shape-sm);
  filter:
    drop-shadow(0 0 1px var(--crystal-edge))
    drop-shadow(0 7px 9px rgba(0,0,0,.18));
  transition:
    transform .28s var(--ease),
    filter .28s var(--ease),
    background .28s var(--ease),
    color .28s var(--ease),
    border-color .28s var(--ease);
}

.button,
.finder-option {
  clip-path: var(--facet-shape);
}

/* Fine edge-light follows the clipped outline via repeated zero-offset shadows. */
.button,
.primary-nav a,
.primary-nav button,
.wardrobe-button,
.filter-chip,
.text-button,
.menu-toggle,
.drawer-header button,
.finder-close,
.product-modal-close,
.shop-gallery-controls button,
.mobile-finder,
.finder-option,
.product-info button {
  border: 1px solid rgba(255,255,255,.20);
}

/* Shared acrylic depth and specular surface. */
.primary-nav a,
.primary-nav button,
.wardrobe-button,
.menu-toggle,
.button-ghost,
.mobile-finder {
  background:
    linear-gradient(135deg, rgba(255,255,255,.17) 0%, rgba(255,255,255,.05) 38%, rgba(255,255,255,.10) 62%, rgba(255,255,255,.03) 100%);
  backdrop-filter: blur(16px) saturate(145%);
}

.primary-nav a,
.primary-nav button,
.wardrobe-button {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  border-color: rgba(255,255,255,.23);
}

.primary-nav {
  gap: 12px;
}

.primary-nav a::after,
.primary-nav button::after,
.wardrobe-button::after,
.filter-chip::after,
.text-button::after,
.menu-toggle::after,
.product-info button::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px;
  clip-path: inherit;
  pointer-events: none;
  opacity: .65;
  background:
    linear-gradient(118deg,
      transparent 0%,
      transparent 34%,
      rgba(255,255,255,.26) 44%,
      rgba(255,255,255,.07) 51%,
      transparent 62%,
      transparent 100%);
  background-size: 230% 100%;
  background-position: 100% 0;
  transition: opacity .28s var(--ease), background-position .55s var(--ease);
}

.button::after,
.finder-option::after,
.mobile-finder::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px;
  clip-path: inherit;
  pointer-events: none;
  opacity: .72;
  background:
    linear-gradient(118deg,
      rgba(255,255,255,.10) 0%,
      rgba(255,255,255,.03) 35%,
      rgba(255,255,255,.28) 45%,
      rgba(255,255,255,.06) 52%,
      transparent 64%);
  background-size: 235% 100%;
  background-position: 100% 0;
  transition: opacity .28s var(--ease), background-position .58s var(--ease);
}

.button::before {
  z-index: 0;
}

.button > *,
.primary-nav a > *,
.primary-nav button > *,
.wardrobe-button > *,
.filter-chip > *,
.text-button > *,
.finder-option > * {
  position: relative;
  z-index: 2;
}

.button {
  min-width: 238px;
  min-height: 64px;
  padding: 0 22px 0 28px;
  border-color: rgba(255,255,255,.34);
  backdrop-filter: blur(16px) saturate(150%);
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.58))
    drop-shadow(0 9px 13px rgba(0,0,0,.25));
}

.button-primary {
  color: #140f05;
  background:
    linear-gradient(135deg, rgba(255,255,255,.32), transparent 26%),
    linear-gradient(135deg, #f1d67d 0%, #d4af37 46%, #aa7915 100%);
  border-color: rgba(255,244,211,.72);
  filter:
    drop-shadow(0 0 1px rgba(255,241,194,.85))
    drop-shadow(0 10px 15px rgba(107,72,8,.34));
}

.button-primary i {
  background: rgba(20,15,5,.09);
  border-color: rgba(20,15,5,.22);
}

.button-ghost {
  color: white;
  border-color: rgba(255,255,255,.32);
}

.button-dark {
  color: white;
  background: linear-gradient(145deg, #29232d, #0d0d0f 74%);
  border-color: rgba(255,255,255,.20);
}

.button-light {
  color: var(--black);
  background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(242,230,214,.86));
  border-color: rgba(36,33,38,.14);
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.92))
    drop-shadow(0 9px 12px rgba(13,13,15,.13));
}

.button i {
  min-width: 30px;
  height: 30px;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.38);
}

/* Hover/focus is intentionally more tactile: lift, brighter cut edge, gold halo,
   and a fast specular pass across the acrylic face. */
.button:hover,
.button:focus-visible,
.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav button:hover,
.primary-nav button:focus-visible,
.wardrobe-button:hover,
.wardrobe-button:focus-visible,
.filter-chip:hover,
.filter-chip:focus-visible,
.text-button:hover,
.text-button:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible,
.drawer-header button:hover,
.finder-close:hover,
.product-modal-close:hover,
.shop-gallery-controls button:hover,
.finder-option:hover,
.finder-option:focus-visible,
.product-info button:hover,
.product-info button:focus-visible {
  transform: translateY(-3px) scale(1.012);
  border-color: rgba(244,215,124,.76);
  filter:
    drop-shadow(0 0 1px rgba(255,243,205,.88))
    drop-shadow(0 0 7px rgba(212,175,55,.28))
    drop-shadow(0 13px 15px rgba(0,0,0,.30));
}

.button:hover::after,
.button:focus-visible::after,
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav button:hover::after,
.primary-nav button:focus-visible::after,
.wardrobe-button:hover::after,
.wardrobe-button:focus-visible::after,
.filter-chip:hover::after,
.filter-chip:focus-visible::after,
.text-button:hover::after,
.text-button:focus-visible::after,
.menu-toggle:hover::after,
.menu-toggle:focus-visible::after,
.finder-option:hover::after,
.finder-option:focus-visible::after,
.product-info button:hover::after,
.product-info button:focus-visible::after {
  opacity: 1;
  background-position: -110% 0;
}

.button:active,
.primary-nav a:active,
.primary-nav button:active,
.wardrobe-button:active,
.filter-chip:active,
.text-button:active,
.finder-option:active,
.product-info button:active {
  transform: translateY(1px) scale(.985);
  filter:
    drop-shadow(0 0 1px rgba(255,243,205,.70))
    drop-shadow(0 4px 5px rgba(0,0,0,.24));
}

.nav-action {
  color: var(--gold-soft) !important;
}

.site-header {
  background: linear-gradient(180deg, rgba(7,6,8,.72), rgba(7,6,8,.34));
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled .primary-nav a,
.site-header.is-scrolled .primary-nav button,
.site-header.is-scrolled .wardrobe-button,
.site-header.is-scrolled .menu-toggle {
  color: var(--ink);
  border-color: rgba(36,33,38,.16);
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,255,255,.62));
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.9))
    drop-shadow(0 8px 9px rgba(13,13,15,.10));
}

.filter-chip,
.text-button,
.product-info button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  border-color: rgba(36,33,38,.13);
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(247,243,237,.68));
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.85))
    drop-shadow(0 7px 8px rgba(13,13,15,.07));
}

.filter-chip.is-active {
  color: white;
  border-color: rgba(232,201,105,.54);
  background: linear-gradient(145deg, #342b39, #151216 76%);
  filter:
    drop-shadow(0 0 1px rgba(232,201,105,.58))
    drop-shadow(0 9px 10px rgba(13,13,15,.16));
}

.finder-option {
  border-color: rgba(36,33,38,.14);
  background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(247,243,237,.74));
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.92))
    drop-shadow(0 8px 10px rgba(13,13,15,.08));
}

.finder-option.is-selected {
  color: white;
  border-color: rgba(232,201,105,.62);
  background: linear-gradient(145deg, #382d3e, #151216 78%);
  filter:
    drop-shadow(0 0 1px rgba(232,201,105,.70))
    drop-shadow(0 12px 13px rgba(13,13,15,.22));
}

.shop-select-label select {
  appearance: none;
  border-color: rgba(255,255,255,.26);
  background: linear-gradient(145deg, #211b24, #131015 72%);
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.16))
    drop-shadow(0 8px 9px rgba(0,0,0,.18));
}

/* Desktop legibility: preserve the larger QA3 desktop scale without affecting
   the mobile composition. */
@media (min-width: 1200px) {
  body { font-size: 17px; }
  .shell { width: min(1320px, calc(100% - 64px)); }
  .site-header { height: 98px; padding-inline: 26px; }
  .site-header.is-scrolled { height: 82px; }
  .brand-mark { width: 54px; height: 54px; }
  .brand-copy strong { font-size: 20px; }
  .brand-copy small { font-size: 9px; }
  .hero-content { padding-top: 138px; }
  .hero h1 { max-width: 960px; font-size: clamp(78px, 7.4vw, 150px); }
  .hero-lede { max-width: 660px; margin-top: 34px; font-size: 20px; line-height: 1.8; color: rgba(255,255,255,.84); }
  .hero-actions { gap: 16px; margin-top: 44px; }
  .hero-proof { width: min(820px, 100%); margin-top: 64px; }
  .hero-proof div { font-size: 13px; }
  .section-heading h2, .editorial-copy h2, .story-copy h2, .concierge h2 { font-size: clamp(50px, 4.8vw, 78px); }
  .section-heading > p, .section-heading.centered > p { font-size: 17px; }
}

@media (max-width: 1100px) {
  .primary-nav.is-open a,
  .primary-nav.is-open button {
    justify-content: flex-start;
    min-height: 56px;
    padding: 0 18px;
    color: var(--ink);
    border-color: rgba(36,33,38,.14);
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(247,243,237,.74));
  }
}

@media (max-width: 820px) {
  .finder-shell.is-results {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
  }

  .finder-shell.is-results .finder-stage {
    padding: 34px 22px 28px;
  }

  .finder-shell.is-results .finder-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finder-shell.is-results .finder-result img {
    height: clamp(150px, 25dvh, 220px);
  }

  .button,
  .finder-option {
    clip-path: var(--facet-shape-sm);
  }
}

@media (max-width: 540px) {
  .finder-shell.is-results .finder-stage h2 {
    font-size: 40px;
  }

  .finder-shell.is-results .finder-results {
    grid-template-columns: 1fr;
  }

  .finder-shell.is-results .finder-result img {
    height: min(250px, 34dvh);
  }
}

/* Override the collection-nav underline geometry when it becomes a crystal sheen. */
.primary-nav a::after,
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  inset: 1px;
  width: auto;
  height: auto;
  right: 1px;
  bottom: 1px;
}

/* QA5 — responsive header repair + purple glass scrolled navigation ------------ */

/* The scrolled state stays dark/translucent instead of switching to the old
   paper-white navigation treatment. */
.site-header.is-scrolled {
  color: #fff;
  background:
    linear-gradient(115deg, rgba(58, 16, 77, .86), rgba(31, 10, 45, .80) 48%, rgba(71, 20, 87, .76));
  border-color: rgba(232, 201, 105, .22);
  box-shadow:
    0 14px 40px rgba(6, 3, 10, .28),
    inset 0 -1px 0 rgba(255, 255, 255, .06),
    inset 0 1px 0 rgba(255, 255, 255, .10);
  backdrop-filter: blur(24px) saturate(155%);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
}

/* Keep the crystal controls dark and translucent after scrolling. This must
   override the earlier QA4 white-control scrolled state. */
.site-header.is-scrolled .primary-nav a,
.site-header.is-scrolled .primary-nav button,
.site-header.is-scrolled .wardrobe-button,
.site-header.is-scrolled .menu-toggle {
  color: #fff;
  border-color: rgba(232, 201, 105, .24);
  background:
    linear-gradient(145deg, rgba(255,255,255,.14), rgba(126,61,150,.12) 48%, rgba(14,7,20,.18));
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.30))
    drop-shadow(0 8px 10px rgba(5,2,8,.24));
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.site-header.is-scrolled .primary-nav a:hover,
.site-header.is-scrolled .primary-nav a:focus-visible,
.site-header.is-scrolled .primary-nav button:hover,
.site-header.is-scrolled .primary-nav button:focus-visible,
.site-header.is-scrolled .wardrobe-button:hover,
.site-header.is-scrolled .wardrobe-button:focus-visible,
.site-header.is-scrolled .menu-toggle:hover,
.site-header.is-scrolled .menu-toggle:focus-visible {
  color: #fff;
  border-color: rgba(244, 215, 124, .72);
  background:
    linear-gradient(145deg, rgba(255,255,255,.22), rgba(150,72,180,.20) 48%, rgba(18,9,24,.20));
  filter:
    drop-shadow(0 0 1px rgba(255,243,205,.88))
    drop-shadow(0 0 8px rgba(212,175,55,.24))
    drop-shadow(0 12px 14px rgba(5,2,8,.32));
}

.site-header.is-scrolled .nav-action {
  color: var(--gold-soft) !important;
}

/* Mobile/tablet header becomes an explicit one-line control bar rather than
   inheriting desktop grid placement. */
@media (max-width: 1100px) {
  .site-header {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    gap: 10px;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
    margin-right: auto;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-copy strong {
    white-space: nowrap;
  }

  .wardrobe-button {
    order: 2;
    flex: 0 0 auto;
    justify-self: auto;
    margin: 0;
  }

  .menu-toggle {
    order: 3;
    position: static;
    right: auto;
    flex: 0 0 auto;
    margin: 0;
  }

  /* Mobile menu uses the same smoked-purple acrylic instead of the white panel. */
  .primary-nav.is-open {
    color: #fff;
    background:
      linear-gradient(145deg, rgba(48, 13, 65, .97), rgba(20, 8, 29, .96));
    border-color: rgba(232, 201, 105, .18);
    box-shadow: 0 24px 55px rgba(5, 2, 8, .38);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
  }

  .primary-nav.is-open a,
  .primary-nav.is-open button {
    color: #fff;
    border-color: rgba(255,255,255,.14);
    background:
      linear-gradient(145deg, rgba(255,255,255,.12), rgba(127,61,149,.10) 52%, rgba(0,0,0,.10));
    filter:
      drop-shadow(0 0 1px rgba(255,255,255,.24))
      drop-shadow(0 8px 10px rgba(0,0,0,.18));
  }

  .primary-nav.is-open .nav-action {
    color: var(--gold-soft) !important;
  }

  .primary-nav.is-open a:hover,
  .primary-nav.is-open a:focus-visible,
  .primary-nav.is-open button:hover,
  .primary-nav.is-open button:focus-visible {
    color: #fff;
    border-color: rgba(244,215,124,.70);
    background:
      linear-gradient(145deg, rgba(255,255,255,.18), rgba(150,72,180,.18) 52%, rgba(0,0,0,.08));
  }
}

@media (max-width: 820px) {
  .site-header,
  .site-header.is-scrolled {
    height: 76px;
    padding-inline: 14px;
  }

  .brand {
    gap: 9px;
    max-width: calc(100% - 112px);
  }

  .brand-mark {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 17px;
  }

  .wardrobe-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
  }

  .wardrobe-button span {
    display: none;
  }

  .wardrobe-button b {
    width: 26px;
    height: 26px;
    margin: 0;
    color: inherit;
    border-color: rgba(255,255,255,.34);
    background: rgba(255,255,255,.08);
  }

  .menu-toggle {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
  }

  .menu-toggle span {
    width: 19px;
  }

  /* Header height is fixed at this breakpoint, so the mobile menu must always
     start immediately below it in both top-of-page and scrolled states. */
  .primary-nav.is-open,
  .site-header:not(.is-scrolled) .primary-nav.is-open {
    top: 76px;
    left: 0;
    right: 0;
    padding: 18px 14px 24px;
    gap: 10px;
  }

  .primary-nav.is-open a,
  .primary-nav.is-open button {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    font-family: var(--caps);
    font-size: 11px;
    letter-spacing: .13em;
    text-transform: uppercase;
  }
}

@media (max-width: 420px) {
  .site-header,
  .site-header.is-scrolled {
    padding-inline: 10px;
    gap: 7px;
  }

  .brand {
    max-width: calc(100% - 102px);
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-mark {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .wardrobe-button,
  .menu-toggle {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
  }
}

/* QA6 — pearl acrylic controls + clean iconography + unified finder chrome ----- */

/* Replace literal Unicode decoration with CSS-drawn interface glyphs. */
.button-glyph,
.back-glyph,
.text-glyph {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.button-glyph::before,
.text-glyph::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, 1px);
}

.button-glyph::after,
.text-glyph::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translateX(-2px);
}

.back-glyph::before {
  content: "";
  width: 9px;
  height: 9px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(1px, -1px);
}

.back-glyph::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translateX(2px);
}

.button .button-glyph,
.mobile-finder .button-glyph {
  width: 30px;
  min-width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.text-glyph {
  width: 18px;
  height: 18px;
  margin-left: 9px;
}

/* Brand proof points are descriptors, not numbered steps. */
.hero-proof div {
  position: relative;
  padding-left: 18px;
}

.hero-proof div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(232,201,105,.85);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(232,201,105,.22);
}

/* A real resting state for mid-page actions: pearl-white acrylic with a visible
   faceted edge, depth, and a soft specular highlight before interaction. */
.filter-chip,
.text-button,
.product-info button,
.finder-option,
.button-pearl {
  color: #28232a;
  border: 1px solid rgba(76,57,82,.20);
  background:
    linear-gradient(145deg, rgba(255,255,255,.99) 0%, rgba(250,247,250,.96) 38%, rgba(236,228,239,.93) 72%, rgba(255,255,255,.97) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(103,73,113,.10),
    0 1px 2px rgba(40,23,45,.10),
    0 9px 22px rgba(49,31,55,.10);
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.92))
    drop-shadow(0 5px 6px rgba(45,27,50,.08));
}

.filter-chip::before,
.text-button::before,
.finder-option::after,
.button-pearl::after,
.product-info button::before {
  background:
    linear-gradient(155deg, rgba(255,255,255,.78), rgba(255,255,255,.08) 38%, rgba(117,73,129,.07) 72%, rgba(255,255,255,.42));
}

.filter-chip:hover,
.filter-chip:focus-visible,
.text-button:hover,
.text-button:focus-visible,
.product-info button:hover,
.product-info button:focus-visible,
.finder-option:hover,
.finder-option:focus-visible,
.button-pearl:hover,
.button-pearl:focus-visible {
  color: #241b27;
  border-color: rgba(160,103,178,.48);
  background:
    linear-gradient(145deg, #fff 0%, #fff 28%, rgba(247,239,250,.98) 58%, rgba(231,214,238,.95) 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 0 0 1px rgba(255,255,255,.50),
    0 2px 3px rgba(42,24,47,.10),
    0 14px 30px rgba(90,48,104,.16);
  filter:
    drop-shadow(0 0 2px rgba(255,255,255,.90))
    drop-shadow(0 0 8px rgba(151,89,173,.14))
    drop-shadow(0 9px 10px rgba(45,27,50,.10));
}

.filter-chip:active,
.text-button:active,
.product-info button:active,
.finder-option:active,
.button-pearl:active {
  transform: translateY(1px) scale(.992);
  box-shadow:
    inset 0 2px 4px rgba(65,43,72,.10),
    0 4px 10px rgba(45,27,50,.08);
}

.filter-chip.is-active,
.finder-option.is-selected {
  color: #fff;
  border-color: rgba(232,201,105,.48);
  background:
    linear-gradient(145deg, rgba(48,41,51,.98), rgba(24,20,27,.99) 55%, rgba(48,35,52,.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 0 0 1px rgba(232,201,105,.08),
    0 12px 28px rgba(25,17,28,.18);
  filter:
    drop-shadow(0 0 2px rgba(232,201,105,.16))
    drop-shadow(0 9px 10px rgba(20,12,23,.16));
}

/* Empty wardrobe is no longer represented by a literal zero. */
.wardrobe-button:not(.has-items)::after {
  display: block;
  content: "";
  width: 11px;
  height: 11px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: .72;
  background: rgba(255,255,255,.08);
}

.wardrobe-button.has-items::after {
  display: none;
}

/* Finder becomes its own branded Scented Desires experience instead of an
   unrelated white utility dialog. */
.finder {
  padding: clamp(12px, 2vw, 24px);
  background:
    radial-gradient(circle at 18% 0%, rgba(112,34,138,.30), transparent 32%),
    rgba(8,5,10,.88);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.finder-shell {
  width: min(980px, 100%);
  max-height: calc(100dvh - 32px);
  min-height: min(720px, calc(100dvh - 32px));
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(232,201,105,.18);
  background: var(--paper);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 38px 110px rgba(0,0,0,.52);
}

.finder-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px 12px 20px;
  color: #fff;
  border-bottom: 1px solid rgba(232,201,105,.16);
  background:
    linear-gradient(120deg, rgba(68,18,87,.96), rgba(35,10,47,.95) 54%, rgba(16,7,22,.96));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 12px 30px rgba(18,6,24,.20);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.finder-brand {
  color: #fff;
}

.finder-header .brand-mark {
  width: 48px;
  height: 48px;
}

.finder-header .brand-copy strong {
  font-size: 19px;
}

.finder-close {
  position: static;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  color: #fff;
  border-color: rgba(255,255,255,.22);
  background:
    linear-gradient(145deg, rgba(255,255,255,.14), rgba(114,44,135,.18) 54%, rgba(0,0,0,.12));
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.20))
    drop-shadow(0 8px 10px rgba(0,0,0,.16));
}

.finder-progress {
  min-height: 66px;
  padding: 16px 28px;
  grid-template-columns: 90px 1fr auto;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,242,248,.97));
  border-bottom: 1px solid rgba(79,50,87,.12);
}

.finder-progress > span,
.finder-progress small {
  color: #6b1fa8;
}

.finder-progress > div {
  background: rgba(107,31,168,.12);
}

.finder-progress i {
  background: linear-gradient(90deg, #6b1fa8, #b16bd0);
  box-shadow: 0 0 14px rgba(107,31,168,.20);
}

.finder-stage {
  padding: clamp(30px, 5vw, 56px) clamp(24px, 6vw, 66px);
  background:
    radial-gradient(circle at 100% 0%, rgba(107,31,168,.035), transparent 30%),
    var(--paper);
}

.finder-controls {
  position: relative;
  z-index: 4;
  min-height: 86px;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid rgba(232,201,105,.16);
  background:
    linear-gradient(120deg, rgba(47,13,62,.97), rgba(25,8,34,.98) 58%, rgba(13,7,17,.98));
  box-shadow: 0 -12px 32px rgba(20,8,25,.16);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.finder-controls .button {
  min-height: 56px;
  min-width: 190px;
}

.finder-back-button {
  justify-content: flex-start;
  color: #2d2530;
}

.finder-back-button .back-glyph {
  width: 28px;
  height: 28px;
  margin-right: 4px;
  border: 1px solid rgba(74,51,81,.20);
  border-radius: 50%;
}

.finder-controls button:disabled {
  opacity: .42;
  filter: grayscale(.18);
}

.finder-shell.is-results {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

/* Hide the persistent mobile finder CTA while the finder itself is open. This
   removes the black rectangle that was peeking through below the dialog. */
body.finder-active .mobile-finder {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 820px) {
  .hero-proof div {
    padding-left: 18px;
  }

  .hero-proof div::before {
    top: 7px;
  }

  .wardrobe-button:not(.has-items)::after {
    width: 12px;
    height: 12px;
  }

  .finder {
    padding: 0;
    align-items: stretch;
    background: #120817;
  }

  .finder-shell,
  .finder-shell.is-results {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 100dvh;
    border: 0;
    box-shadow: none;
    grid-template-rows: 76px 60px minmax(0, 1fr) auto;
  }

  .finder-header {
    min-height: 76px;
    height: 76px;
    padding: 9px 14px;
  }

  .finder-header .brand {
    gap: 9px;
    max-width: calc(100% - 62px);
  }

  .finder-header .brand-mark {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
  }

  .finder-header .brand-copy strong {
    font-size: 17px;
  }

  .finder-header .brand-copy small {
    display: none;
  }

  .finder-close {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 23px;
  }

  .finder-progress {
    min-height: 60px;
    height: 60px;
    padding: 12px 18px;
    grid-template-columns: 74px 1fr;
    gap: 14px;
  }

  .finder-progress small {
    display: none;
  }

  .finder-stage,
  .finder-shell.is-results .finder-stage {
    min-height: 0;
    padding: 28px 20px 34px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .finder-stage h2,
  .finder-shell.is-results .finder-stage h2 {
    font-size: clamp(40px, 11.5vw, 58px);
    line-height: 1.04;
  }

  .finder-options {
    gap: 14px;
    margin-top: 28px;
  }

  .finder-option {
    min-height: 112px;
    padding: 20px 22px;
  }

  .finder-option strong {
    font-size: 25px;
  }

  .finder-controls,
  .finder-shell.is-results .finder-controls {
    position: static;
    min-height: 88px;
    padding: 14px 14px max(14px, env(safe-area-inset-bottom));
    gap: 10px;
  }

  .finder-controls .button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 58px;
    padding-inline: 16px;
  }

  .finder-back-button {
    max-width: 150px;
  }

  .finder-shell.is-results .finder-results {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .finder-shell.is-results .finder-result {
    padding: 10px;
  }

  .finder-shell.is-results .finder-result img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 1 / .72;
    object-fit: contain;
  }
}

@media (max-width: 420px) {
  .finder-header .brand-copy strong {
    font-size: 15px;
  }

  .finder-stage,
  .finder-shell.is-results .finder-stage {
    padding-inline: 16px;
  }

  .finder-controls {
    padding-inline: 10px;
  }

  .finder-back-button {
    max-width: 122px;
  }

  .finder-back-button .back-glyph {
    width: 24px;
    height: 24px;
  }

  .finder-controls .button {
    font-size: 10px;
    letter-spacing: .10em;
  }
}

.close-glyph {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  margin: auto;
}
.close-glyph::before,
.close-glyph::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
}
.close-glyph::before { transform: translate(-50%, -50%) rotate(45deg); }
.close-glyph::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* QA7 — finder polish + recommendation detail foreground treatment ------------ */
@media (min-width: 821px) {
  .finder-shell {
    border-radius: 20px;
  }

  .finder-header {
    border-radius: 19px 19px 0 0;
  }

  .finder-controls {
    border-radius: 0 0 19px 19px;
  }
}

/* Questionnaire option/result windows: rounded acrylic rather than clipped
   diamonds. Primary actions remain faceted crystal controls. */
.finder-option,
.finder-result {
  clip-path: none !important;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(107,31,168,.16);
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(248,244,249,.94) 58%, rgba(236,226,241,.90));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.98),
    inset 0 0 0 1px rgba(255,255,255,.46),
    0 10px 24px rgba(52,28,61,.08);
}

.finder-option::after,
.finder-result::after {
  border-radius: inherit;
  clip-path: none !important;
}

.finder-option:hover,
.finder-option:focus-visible,
.finder-result:hover,
.finder-result:focus-visible {
  border-color: rgba(107,31,168,.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 0 0 1px rgba(232,201,105,.20),
    0 15px 34px rgba(71,32,82,.14),
    0 0 0 2px rgba(107,31,168,.07);
}

.finder-option.is-selected {
  border-color: rgba(232,201,105,.50);
  background:
    linear-gradient(145deg, rgba(57,48,61,.98), rgba(31,25,35,.99) 58%, rgba(46,30,52,.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 0 0 1px rgba(232,201,105,.14),
    0 15px 34px rgba(31,17,36,.20);
}

/* Progress should read like a deliberate instrument, not a hairline. */
.finder-progress {
  grid-template-columns: 104px 1fr auto;
}

.finder-progress > span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-shadow: 0 1px 0 rgba(255,255,255,.95), 0 2px 7px rgba(78,31,91,.14);
}

.finder-progress small {
  font-size: 10px;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255,255,255,.95), 0 2px 6px rgba(78,31,91,.10);
}

.finder-progress > div {
  height: 5px;
  border-radius: 999px;
  overflow: visible;
  background: rgba(107,31,168,.13);
  box-shadow:
    inset 0 1px 2px rgba(54,18,66,.18),
    0 1px 0 rgba(255,255,255,.82),
    0 3px 9px rgba(72,28,85,.11);
}

.finder-progress i {
  position: relative;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.38),
    0 0 8px rgba(107,31,168,.32),
    0 3px 9px rgba(86,28,103,.18);
}

/* Give finder typography controlled optical depth. */
.finder-stage h2,
.finder-option strong,
.finder-result strong {
  text-shadow: 0 1px 0 rgba(255,255,255,.92), 0 2px 5px rgba(35,24,39,.12);
}

.finder-stage > p,
.finder-option span,
.finder-result span {
  text-shadow: 0 1px 0 rgba(255,255,255,.76), 0 1px 3px rgba(35,24,39,.08);
}

.finder-option.is-selected strong,
.finder-option.is-selected span,
.finder-header .brand-copy strong,
.finder-header .brand-copy small {
  text-shadow: 0 2px 6px rgba(0,0,0,.46);
}

.finder-controls .button,
.finder-controls .button span {
  text-shadow: 0 1px 0 rgba(255,255,255,.34), 0 2px 5px rgba(24,12,28,.12);
}

/* When a fragrance is opened from questionnaire results, present it as a
   foreground detail card. The finder remains visible behind it as context. */
.product-modal.is-from-finder {
  z-index: 140;
  inset: 50% auto auto 50%;
  width: min(1180px, calc(100% - 72px));
  height: min(760px, calc(100dvh - 72px));
  max-height: calc(100dvh - 72px);
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  border: 1px solid rgba(232,201,105,.28);
  border-radius: 20px;
  overflow: hidden;
  background: #100c13;
  box-shadow:
    0 0 0 100vmax rgba(5,3,7,.78),
    0 42px 120px rgba(0,0,0,.62),
    0 0 0 1px rgba(255,255,255,.04);
  transform: translate(-50%, -47%) scale(.985);
}

.product-modal.is-from-finder.is-open {
  transform: translate(-50%, -50%) scale(1);
}

.product-modal.is-from-finder .product-modal-media {
  height: 100%;
  min-height: 0;
  padding: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(107,31,168,.18), transparent 47%),
    #09070b;
}

.product-modal.is-from-finder .product-modal-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
}

.product-modal.is-from-finder .product-modal-copy {
  min-width: 0;
  padding: 62px 44px 42px;
  overflow-y: auto;
  background:
    linear-gradient(145deg, rgba(31,23,35,.98), rgba(16,12,19,.99));
  border-left: 1px solid rgba(255,255,255,.09);
}

.product-modal.is-from-finder .product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

@media (max-width: 820px) {
  .finder-progress {
    grid-template-columns: 88px 1fr;
  }

  .finder-progress > span {
    font-size: 12px;
  }

  .finder-progress > div {
    height: 5px;
  }

  .finder-option,
  .finder-result {
    border-radius: 14px;
  }

  .product-modal.is-from-finder {
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(300px, 48dvh) auto;
    border: 0;
    border-radius: 0;
    overflow-y: auto;
    transform: translateY(18px);
    box-shadow: none;
  }

  .product-modal.is-from-finder.is-open {
    transform: none;
  }

  .product-modal.is-from-finder .product-modal-media {
    height: auto;
    min-height: 300px;
    padding: 64px 16px 16px;
  }

  .product-modal.is-from-finder .product-modal-media img {
    max-height: calc(48dvh - 80px);
  }

  .product-modal.is-from-finder .product-modal-copy {
    overflow: visible;
    padding: 34px 22px 78px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.09);
  }
}

/* QA8 desktop scale + collection readability ---------------------------------- */
@media (min-width: 1200px) {
  /* Use more of a desktop canvas. The prior 1320px shell made a 1920/2048px
     viewport read as if the browser were zoomed out. */
  .shell {
    width: min(1540px, calc(100% - 88px));
  }

  .section {
    padding-block: 116px;
  }

  /* Give the fixed nav a real standing layer above both hero and paper content. */
  .site-header,
  .site-header.is-scrolled {
    height: 92px;
    box-shadow:
      0 1px 0 rgba(232,201,105,.22),
      0 10px 18px rgba(24,8,30,.20),
      0 26px 52px rgba(18,7,24,.24),
      0 46px 78px rgba(13,5,18,.10);
  }

  .site-header {
    background:
      linear-gradient(180deg, rgba(47,19,58,.86), rgba(25,10,33,.70));
    backdrop-filter: blur(18px) saturate(145%);
  }

  .site-header.is-scrolled {
    color: white;
    background:
      linear-gradient(180deg, rgba(84,38,96,.88), rgba(48,19,61,.82));
    border-bottom-color: rgba(232,201,105,.25);
    backdrop-filter: blur(22px) saturate(155%);
  }

  .brand-mark {
    width: 56px;
    height: 56px;
  }

  .brand-copy strong {
    font-size: 21px;
    text-shadow: 0 2px 8px rgba(0,0,0,.30);
  }

  .brand-copy small {
    font-size: 9px;
  }

  .primary-nav a,
  .primary-nav button,
  .wardrobe-button {
    min-height: 46px;
    padding-inline: 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .13em;
    text-shadow: 0 1px 3px rgba(0,0,0,.32);
  }

  /* Hero should feel intentionally large rather than merely centered in a very
     wide viewport. */
  .hero-content {
    padding-top: 142px;
  }

  .hero h1 {
    max-width: 940px;
    font-size: clamp(86px, 7.2vw, 148px);
    text-shadow: 0 5px 24px rgba(0,0,0,.34);
  }

  .hero-lede {
    max-width: 690px;
    font-size: 20px;
    line-height: 1.72;
    color: rgba(255,255,255,.86);
    text-shadow: 0 2px 8px rgba(0,0,0,.34);
  }

  .hero-proof {
    width: min(850px, 100%);
  }

  .hero-proof div {
    font-size: 13px;
    color: rgba(255,255,255,.78);
  }

  /* Collection typography and controls: larger, darker, and less airy. */
  #collection .section-heading {
    grid-template-columns: 1.1fr .9fr;
    gap: 74px;
    margin-bottom: 48px;
  }

  #collection .section-heading h2 {
    font-size: clamp(62px, 5vw, 86px);
    line-height: .98;
    text-shadow: 0 2px 0 rgba(255,255,255,.88), 0 5px 16px rgba(53,30,58,.12);
  }

  #collection .section-heading > p {
    max-width: 560px;
    font-size: 18px;
    line-height: 1.72;
    color: #625963;
    text-shadow: 0 1px 0 rgba(255,255,255,.86);
  }

  #collection .eyebrow {
    font-size: 11px;
    font-weight: 700;
  }

  .collection-controls {
    gap: 22px;
    margin-bottom: 38px;
    padding-block: 20px;
  }

  .filter-group {
    gap: 10px;
  }

  .filter-chip,
  .collection-controls .text-button {
    min-height: 46px;
    padding-inline: 17px;
    font-size: 13px;
    font-weight: 600;
    color: #3f3840;
  }

  .filter-chip.is-active {
    color: white;
  }

  /* Four columns remain useful on a large monitor, but each card now has enough
     physical size to read without browser zoom. */
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 46px 26px;
  }

  .product-media {
    aspect-ratio: 1 / .82;
    box-shadow: 0 14px 34px rgba(38,23,39,.12);
  }

  .product-save {
    width: 44px;
    height: 44px;
    top: 14px;
    right: 14px;
    font-size: 21px;
    box-shadow: 0 7px 18px rgba(20,12,22,.16);
  }

  .product-info {
    gap: 9px 14px;
    padding-top: 18px;
  }

  .product-info small {
    font-size: 9px;
    font-weight: 700;
    line-height: 1.45;
    color: #7a2d99;
    letter-spacing: .13em;
    text-shadow: 0 1px 0 rgba(255,255,255,.88);
  }

  .product-info h3 {
    font-size: 28px;
    line-height: 1.08;
    color: #211d22;
    text-shadow: 0 1px 0 rgba(255,255,255,.92), 0 3px 8px rgba(47,27,50,.10);
  }

  .product-info p {
    font-size: 14px;
    line-height: 1.62;
    color: #645b65;
  }

  .product-info button {
    min-width: 64px;
    min-height: 42px;
    padding-inline: 14px;
    font-size: 12px;
    font-weight: 600;
    color: #302a31;
    filter: drop-shadow(0 6px 12px rgba(34,21,37,.10));
  }

  .product-media::after {
    inset: auto 14px 14px 14px;
    min-height: 46px;
    font-size: 10px;
  }
}

@media (min-width: 1600px) {
  .shell {
    width: min(1600px, calc(100% - 108px));
  }

  #collection .section-heading h2 {
    font-size: clamp(68px, 4.8vw, 92px);
  }

  .product-info h3 {
    font-size: 30px;
  }

  .product-info p {
    font-size: 15px;
  }
}

/* QA9 artifact cleanup ---------------------------------------------------------- */

/* Remove detached corner sliver artifacts on faceted small controls by replacing
   the inner clipped pseudo-fill with direct layered backgrounds on the control. */
.primary-nav a,
.primary-nav button,
.wardrobe-button,
.filter-chip,
.text-button,
.menu-toggle,
.product-info button {
  overflow: hidden;
  background-clip: padding-box;
  isolation: isolate;
}

.primary-nav a::before,
.primary-nav button::before,
.wardrobe-button::before,
.filter-chip::before,
.text-button::before,
.menu-toggle::before {
  content: none;
}

.primary-nav a,
.primary-nav button,
.wardrobe-button,
.menu-toggle {
  background:
    linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04) 44%, rgba(255,255,255,.08) 100%) padding-box,
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04)) border-box;
}

.site-header.is-scrolled .primary-nav a,
.site-header.is-scrolled .primary-nav button,
.site-header.is-scrolled .wardrobe-button,
.site-header.is-scrolled .menu-toggle {
  background:
    linear-gradient(135deg, rgba(255,255,255,.90), rgba(255,255,255,.62) 52%, rgba(244,238,248,.78) 100%) padding-box,
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(186,152,214,.18)) border-box;
}

.filter-chip,
.text-button,
.product-info button {
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(252,250,255,.90) 48%, rgba(239,232,248,.88) 100%) padding-box,
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(205,190,222,.22)) border-box;
}

.filter-chip.is-active {
  background:
    linear-gradient(135deg, rgba(47,38,58,.96), rgba(28,23,35,.98) 62%, rgba(66,37,95,.92) 100%) padding-box,
    linear-gradient(180deg, rgba(245,220,160,.55), rgba(125,83,165,.22)) border-box;
}

.primary-nav a,
.primary-nav button,
.wardrobe-button,
.filter-chip,
.text-button,
.menu-toggle,
.product-info button {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 10px 22px rgba(17,12,23,.12),
    0 1px 0 rgba(255,255,255,.06);
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav button:hover,
.primary-nav button:focus-visible,
.wardrobe-button:hover,
.wardrobe-button:focus-visible,
.filter-chip:hover,
.filter-chip:focus-visible,
.text-button:hover,
.text-button:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible,
.product-info button:hover,
.product-info button:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 14px 30px rgba(17,12,23,.16),
    0 0 0 1px rgba(232,201,105,.10);
}

.text-button span {
  margin-left: 12px;
}

/* QA12 authoritative scrolled-navigation state ---------------------------------
   Keep this final. Later cosmetic/facet rules must not split foreground and
   background state again. */
.site-header.is-scrolled {
  color: #fff;
  background:
    linear-gradient(115deg, rgba(58,16,77,.88), rgba(31,10,45,.84) 48%, rgba(71,20,87,.80));
  border-bottom-color: rgba(232,201,105,.22);
  box-shadow:
    0 18px 48px rgba(7,3,10,.34),
    0 5px 16px rgba(43,13,57,.24),
    inset 0 -1px 0 rgba(255,255,255,.06),
    inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(24px) saturate(155%);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .brand-copy strong,
.site-header.is-scrolled .brand-copy small {
  color: #fff;
}

.site-header.is-scrolled .primary-nav a,
.site-header.is-scrolled .primary-nav button,
.site-header.is-scrolled .wardrobe-button,
.site-header.is-scrolled .menu-toggle {
  color: #fff;
  border-color: rgba(232,201,105,.25);
  background:
    linear-gradient(145deg, rgba(255,255,255,.15), rgba(126,61,150,.13) 48%, rgba(14,7,20,.22)) padding-box,
    linear-gradient(180deg, rgba(255,255,255,.25), rgba(232,201,105,.10)) border-box;
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.30))
    drop-shadow(0 9px 11px rgba(5,2,8,.28));
  text-shadow: 0 1px 3px rgba(0,0,0,.42);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.site-header.is-scrolled .nav-action {
  color: #f2d66f !important;
  text-shadow: 0 1px 4px rgba(0,0,0,.45), 0 0 10px rgba(212,175,55,.12);
}

.site-header.is-scrolled .primary-nav a:hover,
.site-header.is-scrolled .primary-nav a:focus-visible,
.site-header.is-scrolled .primary-nav button:hover,
.site-header.is-scrolled .primary-nav button:focus-visible,
.site-header.is-scrolled .wardrobe-button:hover,
.site-header.is-scrolled .wardrobe-button:focus-visible,
.site-header.is-scrolled .menu-toggle:hover,
.site-header.is-scrolled .menu-toggle:focus-visible {
  color: #fff;
  border-color: rgba(244,215,124,.72);
  background:
    linear-gradient(145deg, rgba(255,255,255,.24), rgba(150,72,180,.22) 48%, rgba(18,9,24,.24)) padding-box,
    linear-gradient(180deg, rgba(255,244,211,.52), rgba(212,175,55,.16)) border-box;
  filter:
    drop-shadow(0 0 1px rgba(255,243,205,.88))
    drop-shadow(0 0 8px rgba(212,175,55,.24))
    drop-shadow(0 12px 14px rgba(5,2,8,.32));
}

/* QA13 GLOBAL VISUAL CONTRACT ---------------------------------------------------
   Authoritative rule: rounded + popped + shadowed. No faceted geometry anywhere.
   This block intentionally lives last so legacy component rules cannot reintroduce
   clipped corners or flat bordered surfaces. */
:root {
  --ui-radius-control: 16px;
  --ui-radius-window: 24px;
  --ui-radius-media: 20px;
  --ui-shadow-rest: 0 12px 28px rgba(22, 12, 28, .13), 0 3px 8px rgba(22, 12, 28, .08);
  --ui-shadow-pop: 0 20px 42px rgba(22, 12, 28, .18), 0 7px 16px rgba(22, 12, 28, .11);
  --ui-shadow-dark: 0 20px 46px rgba(0, 0, 0, .28), 0 6px 15px rgba(0, 0, 0, .20);
  --ui-inner-light: inset 0 1px 0 rgba(255,255,255,.62);
}

/* CONTROLS: every interactive button/control is visibly physical at rest. */
:where(
  button,
  .button,
  .primary-nav a,
  .wardrobe-button,
  .filter-chip,
  .text-button,
  .menu-toggle,
  .mobile-finder,
  .finder-option,
  .finder-result,
  .product-info button,
  .product-save,
  .drawer-header button,
  .finder-close,
  .product-modal-close,
  .shop-gallery-controls button,
  .shop-select-label select,
  input,
  select,
  textarea
) {
  clip-path: none !important;
  -webkit-clip-path: none !important;
  border-radius: var(--ui-radius-control) !important;
  filter: none !important;
  box-shadow: var(--ui-inner-light), var(--ui-shadow-rest) !important;
  transition:
    transform .24s var(--ease),
    box-shadow .24s var(--ease),
    border-color .24s var(--ease),
    background-color .24s var(--ease),
    color .24s var(--ease),
    opacity .24s var(--ease) !important;
}

/* Prevent legacy clipped pseudo layers from drawing corner shards. */
:where(
  button,
  .button,
  .primary-nav a,
  .wardrobe-button,
  .filter-chip,
  .text-button,
  .menu-toggle,
  .mobile-finder,
  .finder-option,
  .finder-result,
  .product-info button,
  .product-save,
  .drawer-header button,
  .finder-close,
  .product-modal-close,
  .shop-gallery-controls button
)::before,
:where(
  button,
  .button,
  .primary-nav a,
  .wardrobe-button,
  .filter-chip,
  .text-button,
  .menu-toggle,
  .mobile-finder,
  .finder-option,
  .finder-result,
  .product-info button,
  .product-save,
  .drawer-header button,
  .finder-close,
  .product-modal-close,
  .shop-gallery-controls button
)::after {
  clip-path: none !important;
  -webkit-clip-path: none !important;
  border-radius: inherit !important;
}

:where(
  button,
  .button,
  .primary-nav a,
  .wardrobe-button,
  .filter-chip,
  .text-button,
  .menu-toggle,
  .mobile-finder,
  .finder-option,
  .finder-result,
  .product-info button,
  .product-save,
  .drawer-header button,
  .finder-close,
  .product-modal-close,
  .shop-gallery-controls button,
  .shop-select-label select
):not(:disabled):hover,
:where(
  button,
  .button,
  .primary-nav a,
  .wardrobe-button,
  .filter-chip,
  .text-button,
  .menu-toggle,
  .mobile-finder,
  .finder-option,
  .finder-result,
  .product-info button,
  .product-save,
  .drawer-header button,
  .finder-close,
  .product-modal-close,
  .shop-gallery-controls button,
  .shop-select-label select
):not(:disabled):focus-visible {
  transform: translateY(-3px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.82),
    0 22px 44px rgba(22,12,28,.20),
    0 8px 18px rgba(22,12,28,.12),
    0 0 0 1px rgba(212,175,55,.18) !important;
}

:where(
  button,
  .button,
  .primary-nav a,
  .wardrobe-button,
  .filter-chip,
  .text-button,
  .menu-toggle,
  .mobile-finder,
  .finder-option,
  .finder-result,
  .product-info button,
  .product-save,
  .drawer-header button,
  .finder-close,
  .product-modal-close,
  .shop-gallery-controls button
):not(:disabled):active {
  transform: translateY(1px) scale(.99) !important;
  box-shadow:
    inset 0 2px 5px rgba(20,10,24,.13),
    0 7px 14px rgba(22,12,28,.12) !important;
}

/* Pearl acrylic resting state for light-page utility controls. */
.filter-chip:not(.is-active),
.text-button,
.product-info button,
.finder-option:not(.is-selected) {
  border: 1px solid rgba(81,61,91,.16) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,244,250,.90)) !important;
  color: #2b2430 !important;
}

/* WINDOWS / CARDS / BORDERED SURFACES */
:where(
  .drawer,
  .finder-shell,
  .product-modal,
  .product-modal-media,
  .product-modal-copy,
  .finder-stage,
  .finder-progress,
  .finder-controls,
  .finder-result,
  .ritual-card,
  .shop-window,
  .shop-gallery,
  .shop-gallery-controls,
  .commerce-details,
  .commerce-price-card,
  .shipping-options,
  .shipping-option,
  .concierge-card,
  .editorial-band,
  .editorial-image,
  .editorial-copy,
  .story-art,
  .story-copy,
  .wardrobe-item,
  .drawer-header,
  .drawer-footer,
  .toast,
  .product-media,
  .note-pyramid div,
  .collection-controls
) {
  clip-path: none !important;
  -webkit-clip-path: none !important;
  border-radius: var(--ui-radius-window) !important;
}

:where(
  .drawer,
  .finder-shell,
  .product-modal,
  .finder-result,
  .ritual-card,
  .shop-window,
  .commerce-details,
  .commerce-price-card,
  .shipping-options,
  .concierge-card,
  .wardrobe-item,
  .toast,
  .product-media,
  .collection-controls
) {
  box-shadow: var(--ui-shadow-rest) !important;
}

:where(
  .finder-result,
  .ritual-card,
  .shop-window,
  .commerce-price-card,
  .shipping-option,
  .product-media
) {
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease) !important;
}

:where(
  .finder-result,
  .ritual-card,
  .shop-window,
  .commerce-price-card,
  .product-media
):hover {
  transform: translateY(-4px);
  box-shadow: var(--ui-shadow-pop) !important;
}

/* Keep adjacent segmented shipping rows rounded independently instead of square. */
.shipping-options {
  gap: 8px !important;
  padding: 8px;
  background: rgba(107,31,168,.08) !important;
}

.shipping-option {
  border: 1px solid rgba(36,33,38,.10);
  box-shadow: 0 8px 18px rgba(22,12,28,.08), inset 0 1px 0 rgba(255,255,255,.72);
}

/* ALL PHOTOGRAPHY / IMAGE SURFACES */
img,
.product-media,
.product-media img,
.finder-result img,
.product-modal-media img,
.shop-gallery,
.shop-gallery img,
.editorial-image,
.editorial-image img,
.story-art,
.story-art img,
.wardrobe-item img,
.footer-brand img,
.brand-mark,
.brand-mark img {
  border-radius: var(--ui-radius-media) !important;
}

img:not(.brand-mark img) {
  box-shadow: 0 14px 32px rgba(22,12,28,.14), 0 4px 10px rgba(22,12,28,.09);
}

.brand-mark,
.brand-mark img,
.footer-brand img {
  border-radius: 50% !important;
}

/* Full-bleed hero stays visually full bleed, but its source image still receives
   rounded geometry; overscan keeps the rounded corners outside the visible frame. */
.hero-media {
  overflow: hidden;
}

.hero-media img {
  border-radius: var(--ui-radius-media) !important;
  box-shadow: none !important;
}

/* Dark surfaces use deeper standing shadows so the pop remains visible. */
.product-modal,
.drawer,
.concierge-card,
.shop-window,
.mobile-finder,
.site-header.is-scrolled {
  box-shadow: var(--ui-shadow-dark) !important;
}

/* Preserve the scrolled purple-glass navigation contract after global reset. */
.site-header.is-scrolled {
  color: #fff !important;
  background: linear-gradient(115deg, rgba(58,16,77,.88), rgba(31,10,45,.84) 48%, rgba(71,20,87,.80)) !important;
  border-bottom-color: rgba(232,201,105,.24) !important;
  backdrop-filter: blur(24px) saturate(155%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(155%) !important;
}

.site-header.is-scrolled .primary-nav a,
.site-header.is-scrolled .primary-nav button,
.site-header.is-scrolled .wardrobe-button,
.site-header.is-scrolled .menu-toggle {
  color: #fff !important;
  border: 1px solid rgba(232,201,105,.25) !important;
  border-radius: var(--ui-radius-control) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(126,61,150,.13) 48%, rgba(14,7,20,.22)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 12px 26px rgba(5,2,8,.27),
    0 4px 10px rgba(5,2,8,.18) !important;
}

.site-header.is-scrolled .nav-action {
  color: #f2d66f !important;
}

/* Rounded mobile menu surface too. */
@media (max-width: 1100px) {
  .primary-nav.is-open {
    left: 12px !important;
    right: 12px !important;
    border-radius: var(--ui-radius-window) !important;
    overflow: hidden;
    box-shadow: var(--ui-shadow-dark) !important;
  }

  .primary-nav.is-open a,
  .primary-nav.is-open button {
    clip-path: none !important;
    -webkit-clip-path: none !important;
    border-radius: var(--ui-radius-control) !important;
  }
}

@media (max-width: 820px) {
  :root {
    --ui-radius-control: 14px;
    --ui-radius-window: 20px;
    --ui-radius-media: 18px;
  }
}

/* QA14 — authoritative collection filter toolbar ------------------------------ */
/* The collection control strip is a toolbar, not a giant button. Keep the
   surface rounded/elevated while letting the actual controls carry the pop. */
#collection .collection-controls {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  width: 100% !important;
  margin: 0 0 38px !important;
  padding: 13px 14px !important;
  overflow: visible !important;
  border: 1px solid rgba(86, 59, 96, .13) !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.74), rgba(249,245,250,.58)) !important;
  box-shadow:
    0 15px 32px rgba(30,16,36,.10),
    0 4px 10px rgba(30,16,36,.07),
    inset 0 1px 0 rgba(255,255,255,.96) !important;
  backdrop-filter: blur(16px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(120%) !important;
}

#collection .filter-group {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  overflow: visible !important;
  padding: 0 !important;
}

#collection .filter-chip,
#collection .collection-controls .text-button {
  min-height: 46px !important;
  border-radius: 14px !important;
  box-shadow:
    0 9px 20px rgba(31,17,37,.11),
    0 3px 7px rgba(31,17,37,.07),
    inset 0 1px 0 rgba(255,255,255,.96) !important;
}

#collection .filter-chip:hover,
#collection .filter-chip:focus-visible,
#collection .collection-controls .text-button:hover,
#collection .collection-controls .text-button:focus-visible {
  transform: translateY(-2px) !important;
  box-shadow:
    0 15px 28px rgba(31,17,37,.15),
    0 5px 11px rgba(31,17,37,.09),
    inset 0 1px 0 rgba(255,255,255,1),
    0 0 0 2px rgba(107,31,168,.09) !important;
}

/* Remove the legacy CSS-drawn arrow from this CTA entirely. It was the source
   of the small corner-shaped artifact visible in QA. */
#collection .collection-controls .text-glyph {
  display: none !important;
}

#collection .collection-controls .text-button {
  justify-self: end !important;
  white-space: nowrap !important;
  padding-inline: 20px !important;
}

@media (max-width: 1100px) {
  #collection .collection-controls {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 12px !important;
  }

  #collection .filter-group {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 3px 2px 10px !important;
    margin: -3px -2px -4px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
  }

  #collection .filter-group::-webkit-scrollbar {
    display: none !important;
  }

  #collection .filter-chip {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  #collection .collection-controls .text-button {
    justify-self: stretch !important;
    width: 100% !important;
    min-height: 50px !important;
    margin: 0 !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 540px) {
  #collection .collection-controls {
    margin-bottom: 28px !important;
    padding: 10px !important;
    border-radius: 18px !important;
  }

  #collection .filter-chip {
    min-height: 44px !important;
    padding-inline: 15px !important;
    font-size: 12px !important;
  }

  #collection .collection-controls .text-button {
    min-height: 48px !important;
    padding-inline: 14px !important;
    font-size: 12px !important;
  }
}

/* QA15 authoritative product-detail presentation --------------------------------
   One visual contract for product details regardless of entry point. */
.product-modal,
.product-modal.is-from-finder {
  position: fixed !important;
  z-index: 140 !important;
  inset: 50% auto auto 50% !important;
  width: min(1240px, calc(100vw - 72px)) !important;
  height: min(790px, calc(100dvh - 72px)) !important;
  max-width: calc(100vw - 72px) !important;
  max-height: calc(100dvh - 72px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr) !important;
  grid-template-rows: 1fr !important;
  overflow: hidden !important;
  border: 1px solid rgba(232,201,105,.24) !important;
  border-radius: 24px !important;
  background: #100c13 !important;
  color: #fff !important;
  box-shadow:
    0 44px 120px rgba(0,0,0,.62),
    0 18px 44px rgba(38,11,51,.30),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
  transform: translate(-50%, -47%) scale(.985) !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity .32s var(--ease), transform .38s var(--ease), visibility .32s !important;
}

.product-modal.is-open,
.product-modal.is-from-finder.is-open {
  transform: translate(-50%, -50%) scale(1) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.product-modal-media,
.product-modal.is-from-finder .product-modal-media {
  min-width: 0 !important;
  min-height: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  place-items: center !important;
  padding: 34px !important;
  overflow: hidden !important;
  border-radius: 23px 0 0 23px !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(107,31,168,.22), transparent 46%),
    #09070b !important;
  box-shadow: none !important;
}

.product-modal-media img,
.product-modal.is-from-finder .product-modal-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  border-radius: 18px !important;
  box-shadow:
    0 24px 58px rgba(0,0,0,.42),
    0 6px 18px rgba(0,0,0,.24) !important;
}

.product-modal-copy,
.product-modal.is-from-finder .product-modal-copy {
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  justify-content: flex-start !important;
  padding: 72px 48px 46px !important;
  overflow-y: auto !important;
  border-left: 1px solid rgba(255,255,255,.09) !important;
  border-top: 0 !important;
  border-radius: 0 23px 23px 0 !important;
  background:
    linear-gradient(145deg, rgba(34,24,39,.985), rgba(17,12,20,.995)) !important;
  box-shadow: none !important;
}

.product-modal-copy h2,
.product-modal.is-from-finder .product-modal-copy h2 {
  color: #fff !important;
  text-shadow: 0 3px 12px rgba(0,0,0,.42) !important;
}

.product-modal-copy > p,
.product-modal.is-from-finder .product-modal-copy > p {
  color: rgba(255,255,255,.72) !important;
}

.product-modal-close,
.product-modal.is-from-finder .product-modal-close {
  position: absolute !important;
  z-index: 8 !important;
  top: 16px !important;
  right: 16px !important;
  border-radius: 14px !important;
  color: #fff !important;
  border: 1px solid rgba(232,201,105,.26) !important;
  background: linear-gradient(180deg, rgba(87,42,102,.92), rgba(31,18,38,.95)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 12px 28px rgba(0,0,0,.28) !important;
}

/* The general page overlay supplies the dimming for collection opens. Finder
   opens retain their own context underneath; both now share modal geometry. */
.overlay.is-visible {
  background: rgba(6,4,8,.76) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

@media (max-width: 900px) {
  .product-modal,
  .product-modal.is-from-finder {
    inset: 12px !important;
    width: calc(100vw - 24px) !important;
    height: calc(100dvh - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: minmax(260px, 46dvh) minmax(0, 1fr) !important;
    border-radius: 20px !important;
    transform: translateY(14px) scale(.992) !important;
  }

  .product-modal.is-open,
  .product-modal.is-from-finder.is-open {
    transform: none !important;
  }

  .product-modal-media,
  .product-modal.is-from-finder .product-modal-media {
    height: auto !important;
    min-height: 0 !important;
    padding: 56px 16px 16px !important;
    border-radius: 19px 19px 0 0 !important;
  }

  .product-modal-media img,
  .product-modal.is-from-finder .product-modal-media img {
    max-height: calc(46dvh - 72px) !important;
  }

  .product-modal-copy,
  .product-modal.is-from-finder .product-modal-copy {
    height: auto !important;
    min-height: 0 !important;
    padding: 30px 22px 38px !important;
    overflow-y: auto !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,.09) !important;
    border-radius: 0 0 19px 19px !important;
  }

  .product-modal-close,
  .product-modal.is-from-finder .product-modal-close {
    top: 12px !important;
    right: 12px !important;
  }
}

@media (max-width: 540px) {
  .product-modal,
  .product-modal.is-from-finder {
    inset: 8px !important;
    width: calc(100vw - 16px) !important;
    height: calc(100dvh - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
    grid-template-rows: minmax(230px, 42dvh) minmax(0, 1fr) !important;
    border-radius: 18px !important;
  }

  .product-modal-media,
  .product-modal.is-from-finder .product-modal-media {
    padding: 52px 12px 12px !important;
    border-radius: 17px 17px 0 0 !important;
  }

  .product-modal-media img,
  .product-modal.is-from-finder .product-modal-media img {
    max-height: calc(42dvh - 64px) !important;
    border-radius: 14px !important;
  }

  .product-modal-copy,
  .product-modal.is-from-finder .product-modal-copy {
    padding: 26px 18px 32px !important;
    border-radius: 0 0 17px 17px !important;
  }
}

/* QA16 iPhone / Chrome questionnaire footer -----------------------------------
   WebKit on iOS was flex-negotiating the Back control against the generic
   .button sizing rules, producing a stretched/off-axis Back button. Give the
   two questionnaire actions explicit mobile geometry. */
@media (max-width: 540px) {
  .finder-controls,
  .finder-shell.is-results .finder-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: calc(82px + env(safe-area-inset-bottom)) !important;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom)) !important;
  }

  .finder-controls .finder-back-button {
    flex: 0 0 116px !important;
    width: 116px !important;
    min-width: 116px !important;
    max-width: 116px !important;
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    align-self: center !important;
    justify-content: center !important;
    gap: 8px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .finder-controls .finder-back-button .back-glyph {
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
  }

  .finder-controls .finder-back-button > span {
    display: block !important;
    margin: 0 !important;
    line-height: 1 !important;
  }

  .finder-controls .button:not(.finder-back-button) {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    margin: 0 !important;
    align-self: center !important;
  }
}

@media (max-width: 390px) {
  .finder-controls,
  .finder-shell.is-results .finder-controls {
    gap: 9px !important;
    padding-inline: 10px !important;
  }

  .finder-controls .finder-back-button {
    flex-basis: 104px !important;
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
    padding-inline: 10px !important;
  }
}

/* QA17 cross-platform / browser compatibility baseline -------------------------
   Target behavior classes:
   - iOS/iPadOS WebKit (Safari, Chrome, Edge, Firefox shells)
   - Android Chromium
   - Desktop Chromium (Windows/macOS/Linux)
   - Safari/WebKit desktop
   - Firefox desktop/mobile
   Keep this block last: it is the authoritative portability contract. */

html {
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overscroll-behavior-y: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
select,
input,
textarea {
  touch-action: manipulation;
}

/* Dynamic viewport fallback: older engines use vh; modern engines take dvh. */
.finder,
.drawer,
.product-modal {
  max-height: 100vh;
  max-height: 100dvh;
}

.finder-shell {
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
}

@media (max-width: 820px) {
  .finder-shell {
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
  }
}

/* WebKit/Safari glass rendering. Every backdrop-filter has the prefixed twin. */
.site-header,
.primary-nav.is-open,
.button,
.wardrobe-button,
.menu-toggle,
.mobile-finder,
.overlay,
.finder,
.drawer,
.product-modal-close,
.shop-gallery-controls {
  -webkit-backdrop-filter: blur(14px) saturate(135%);
}

.site-header,
.primary-nav.is-open,
.button,
.wardrobe-button,
.menu-toggle,
.mobile-finder,
.overlay,
.finder,
.drawer,
.product-modal-close,
.shop-gallery-controls {
  backdrop-filter: blur(14px) saturate(135%);
}

/* Engines without glass-filter support still get a deliberate opaque surface. */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .site-header,
  .site-header.is-scrolled {
    background: rgba(55, 18, 72, .96) !important;
  }

  .primary-nav.is-open,
  .mobile-finder,
  .drawer,
  .finder-header,
  .finder-controls {
    background-color: rgba(35, 20, 42, .98) !important;
  }

  .overlay,
  .finder {
    background-color: rgba(7, 5, 9, .92) !important;
  }
}

/* Native-control consistency. */
select,
input,
textarea {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 12px;
}

/* Avoid iOS automatic form zoom while keeping desktop typography unchanged. */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 820px) {
    select,
    input,
    textarea {
      font-size: 16px !important;
    }
  }
}

/* Firefox and Chromium scroll containers remain usable without visual clutter. */
.filter-group,
.finder-stage,
.product-modal-copy,
.wardrobe-items {
  scrollbar-width: thin;
  scrollbar-color: rgba(107,31,168,.42) transparent;
  -webkit-overflow-scrolling: touch;
}

.filter-group::-webkit-scrollbar,
.finder-stage::-webkit-scrollbar,
.product-modal-copy::-webkit-scrollbar,
.wardrobe-items::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.filter-group::-webkit-scrollbar-thumb,
.finder-stage::-webkit-scrollbar-thumb,
.product-modal-copy::-webkit-scrollbar-thumb,
.wardrobe-items::-webkit-scrollbar-thumb {
  background: rgba(107,31,168,.35);
  border-radius: 999px;
}

.filter-group::-webkit-scrollbar-track,
.finder-stage::-webkit-scrollbar-track,
.product-modal-copy::-webkit-scrollbar-track,
.wardrobe-items::-webkit-scrollbar-track {
  background: transparent;
}

/* Pointer-aware interaction: do not leave hover transforms stuck on touch UIs. */
@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .primary-nav a:hover,
  .primary-nav button:hover,
  .wardrobe-button:hover,
  .filter-chip:hover,
  .text-button:hover,
  .menu-toggle:hover,
  .finder-option:hover,
  .product-info button:hover,
  .product-save:hover {
    transform: translateY(-3px);
  }
}

@media (hover: none), (pointer: coarse) {
  .button:hover,
  .primary-nav a:hover,
  .primary-nav button:hover,
  .wardrobe-button:hover,
  .filter-chip:hover,
  .text-button:hover,
  .menu-toggle:hover,
  .finder-option:hover,
  .product-info button:hover,
  .product-save:hover {
    transform: none !important;
  }

  .button:active,
  .primary-nav a:active,
  .primary-nav button:active,
  .wardrobe-button:active,
  .filter-chip:active,
  .text-button:active,
  .menu-toggle:active,
  .finder-option:active,
  .product-info button:active,
  .product-save:active {
    transform: translateY(1px) scale(.985) !important;
  }
}

/* Minimum touch targets without forcing desktop dimensions. */
@media (pointer: coarse) {
  .primary-nav a,
  .primary-nav button,
  .wardrobe-button,
  .menu-toggle,
  .filter-chip,
  .text-button,
  .product-info button,
  .drawer-header button,
  .finder-close,
  .product-modal-close {
    min-height: 44px;
  }
}

/* iOS safe-area hardening. In regular browser mode these evaluate to zero. */
@supports (padding: max(0px)) {
  @media (max-width: 820px) {
    .site-header {
      padding-left: max(16px, env(safe-area-inset-left));
      padding-right: max(16px, env(safe-area-inset-right));
    }

    .finder-controls,
    .finder-shell.is-results .finder-controls {
      padding-bottom: max(12px, calc(12px + env(safe-area-inset-bottom))) !important;
    }

    .mobile-finder {
      left: max(14px, env(safe-area-inset-left));
      right: max(14px, env(safe-area-inset-right));
      bottom: max(14px, calc(8px + env(safe-area-inset-bottom)));
    }
  }
}

/* Preserve readable focus across engines, including Safari keyboard navigation. */
:focus-visible {
  outline: 2px solid var(--gold-soft) !important;
  outline-offset: 3px !important;
}

/* Windows high-contrast / forced-colors mode: do not erase control boundaries. */
@media (forced-colors: active) {
  .button,
  .primary-nav a,
  .primary-nav button,
  .wardrobe-button,
  .filter-chip,
  .text-button,
  .finder-option,
  .product-info button,
  .finder-shell,
  .product-modal,
  .drawer {
    border: 1px solid ButtonText !important;
    box-shadow: none !important;
  }
}
