@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --bg: #0d0308;
  --panel: #1d0812;
  --panel-2: #2a0d1b;
  --line: rgba(226, 184, 102, .2);
  --gold: #e2b866;
  --gold-2: #f4dca6;
  --ivory: #f7eddd;
  --muted: #c4aca2;
  --rose: #c4506d;
  --ok: #7fd1a3;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', system-ui, 'Segoe UI', sans-serif;
  --r: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ivory); font-family: var(--sans); font-weight: 300; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background:
    radial-gradient(1100px 700px at 78% 8%, #3d1022 0%, transparent 62%),
    radial-gradient(900px 600px at 10% 70%, #2a0a1c 0%, transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor .card { cursor: none; }
body.has-cursor input, body.has-cursor select, body.has-cursor textarea { cursor: auto; }
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grain { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
main, footer { position: relative; z-index: 1; }
a { color: var(--gold); text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.02; margin: 0 0 .45em; color: var(--ivory); letter-spacing: -.01em; }
h1 { font-size: clamp(3rem, 8.2vw, 7.4rem); }
h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
h3 { font-size: 1.55rem; line-height: 1.15; }
em { font-style: italic; color: var(--gold); font-weight: 500; }
.wrap { width: min(1240px, 100% - 44px); margin-inline: auto; }
.eyebrow { font-size: .76rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 18px; }
.muted { color: var(--muted); }

/* loader */
#loader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-content: center; gap: 22px; justify-items: center; transition: opacity .8s var(--ease), visibility .8s; }
.lw { font: 600 clamp(2.4rem, 7vw, 4.4rem) var(--serif); letter-spacing: .02em; }
.lw span { color: var(--gold); font-style: italic; }
.lbar { width: 180px; height: 1px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.lbar i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; animation: load 1.1s var(--ease) forwards; }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
body.ready #loader { opacity: 0; visibility: hidden; }

/* cursor */
#cursor { position: fixed; left: -18px; top: -18px; width: 36px; height: 36px; border: 1px solid var(--gold); border-radius: 50%; z-index: 90; pointer-events: none; display: none; transition: width .25s var(--ease), height .25s var(--ease), left .25s var(--ease), top .25s var(--ease), background .25s; mix-blend-mode: difference; }
body.has-cursor #cursor { display: block; }
#cursor.big { width: 74px; height: 74px; left: -37px; top: -37px; background: rgba(226, 184, 102, .14); }
#cursor.down { width: 26px; height: 26px; left: -13px; top: -13px; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; transition: background .4s, backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { backdrop-filter: blur(16px); background: rgba(13, 3, 8, .66); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { font-family: var(--serif); font-size: 1.85rem; font-weight: 600; color: var(--ivory); }
.logo span { color: var(--gold); font-style: italic; }
.nav nav { margin-left: auto; display: flex; gap: 30px; align-items: center; }
.nav nav a:not(.btn) { color: var(--ivory); font-size: .92rem; font-weight: 400; position: relative; opacity: .82; }
.nav nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav nav a:not(.btn):hover { opacity: 1; }
.nav nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; overflow: hidden;
  border: 1px solid var(--gold); background: linear-gradient(180deg, #f3d595, #cf9f48);
  color: #24090f !important; font: 500 .96rem var(--sans); padding: 14px 26px; border-radius: 999px;
  cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s;
}
.btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover { box-shadow: 0 14px 40px rgba(226, 184, 102, .35); }
.btn:hover::before { transform: translateX(120%); }
.btn.ghost { background: transparent; color: var(--gold-2) !important; }
.btn.sm { padding: 10px 20px; font-size: .86rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* hero */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; position: relative; overflow: hidden; }
.ghost { position: absolute; left: 50%; bottom: -3vw; transform: translateX(-50%); font: 600 23vw/0.8 var(--serif); letter-spacing: -.03em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(226, 184, 102, .13); pointer-events: none; user-select: none; }
.hero-copy { max-width: 720px; position: relative; }
.hero h1 { margin-bottom: 26px; }
.line { display: block; overflow: hidden; padding-bottom: .09em; }
.line > span { display: block; transform: translateY(115%); transition: transform 1.25s var(--ease); }
.line:nth-child(2) > span { transition-delay: .1s; }
.line:nth-child(3) > span { transition-delay: .2s; }
body.ready .line > span { transform: none; }
.rise { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease) .45s, transform 1s var(--ease) .45s; }
body.ready .rise { opacity: 1; transform: none; }
.hero p.lead { font-size: 1.16rem; color: var(--muted); max-width: 500px; margin: 0 0 34px; }
.search {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr auto; gap: 10px; padding: 12px; max-width: 640px;
  background: rgba(29, 8, 18, .62); border: 1px solid var(--line); border-radius: 26px; backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
}
label.f { display: flex; flex-direction: column; gap: 5px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
input, select, textarea {
  width: 100%; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--ivory);
  border-radius: 14px; padding: 12px 13px; font: 400 .98rem var(--sans); letter-spacing: 0; text-transform: none; transition: border-color .3s, background .3s;
}
select option { background: var(--panel); color: var(--ivory); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .08); }
.search .btn { align-self: end; height: 48px; }
.scrollcue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-size: .68rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scrollcue i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* marquee */
.marquee { position: relative; z-index: 1; overflow: hidden; border-block: 1px solid var(--line); background: rgba(13, 3, 8, .5); backdrop-filter: blur(6px); padding: 20px 0; }
.track { display: flex; gap: 38px; width: max-content; animation: slide 36s linear infinite; font: 500 clamp(1.5rem, 3vw, 2.3rem) var(--serif); font-style: italic; color: var(--ivory); align-items: center; }
.track b { color: var(--gold); font-size: .6em; font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* scroll reveals */
.reveal { opacity: 0; translate: 0 34px; transition: opacity 1s var(--ease), translate 1s var(--ease); }
.reveal.in { opacity: 1; translate: 0 0; }

/* how it works: copy on the right, the particle arch stands on the left */
.how { min-height: 100vh; display: flex; align-items: center; padding: 120px 0; }
.how-copy { margin-left: auto; width: min(560px, 100%); }
.steps { list-style: none; padding: 0; margin: 34px 0 0; }
.steps li { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); align-items: start; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps b { font: 500 3.2rem/1 var(--serif); font-style: italic; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }

section.band { padding: 110px 0; background: linear-gradient(180deg, rgba(13, 3, 8, 0), rgba(13, 3, 8, .82) 14%, rgba(13, 3, 8, .82) 86%, rgba(13, 3, 8, 0)); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.head h2 { margin: 0; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); padding: 9px 17px; border-radius: 999px; font: 400 .88rem var(--sans); cursor: pointer; transition: all .3s var(--ease); }
.chip:hover { border-color: var(--gold); color: var(--gold-2); }
.chip.on { background: var(--gold); color: #24090f; border-color: var(--gold); font-weight: 500; }

.filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 34px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; perspective: 1400px; }
.card {
  position: relative; background: linear-gradient(180deg, rgba(42, 13, 27, .86), rgba(29, 8, 18, .9)); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; cursor: pointer;
  transform-style: preserve-3d; text-align: left; color: inherit; padding: 0; font: inherit; backdrop-filter: blur(10px);
  opacity: 0; translate: 0 40px;
  transition: transform .3s var(--ease), box-shadow .4s, border-color .4s, opacity .9s var(--ease), translate .9s var(--ease);
}
.card.in { opacity: 1; translate: 0 0; }
.card::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(244, 220, 166, .2), transparent 55%); }
.card:hover { box-shadow: 0 34px 80px rgba(0, 0, 0, .6); border-color: var(--gold); }
.card:hover::after { opacity: 1; }
.art { height: 200px; position: relative; display: grid; place-items: center; background-size: cover; background-position: center; overflow: hidden; }
.card .art { transition: scale .8s var(--ease); }
.card:hover .art { scale: 1.06; }
.art svg { width: 110px; opacity: .5; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--gold); color: #24090f; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.badge.demo { left: auto; right: 14px; background: rgba(0, 0, 0, .55); color: var(--ivory); font-weight: 400; }
.card .body { padding: 20px 20px 22px; position: relative; }
.card h3 { margin-bottom: 2px; font-size: 1.7rem; }
.meta { font-size: .88rem; color: var(--muted); }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 14px; }
.price { font: 500 1.25rem var(--sans); color: var(--gold-2); }
.price small { font: 300 .78rem var(--sans); color: var(--muted); }
.empty { padding: 56px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); grid-column: 1/-1; background: rgba(13, 3, 8, .5); }

.why { padding: 110px 0 130px; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; }
.glass { background: rgba(42, 13, 27, .5); backdrop-filter: blur(20px); box-shadow: 0 30px 80px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .07); }
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.store { border: 1px solid var(--line); border-radius: 14px; padding: 11px 20px; font-size: .9rem; color: var(--muted); }
.store b { display: block; color: var(--ivory); font-weight: 500; }
ul.tick { list-style: none; padding: 0; margin: 20px 0 30px; }
ul.tick li { padding: 14px 0 14px 34px; position: relative; border-top: 1px solid var(--line); font-size: 1.05rem; }
ul.tick li::before { content: '✦'; position: absolute; left: 4px; color: var(--gold); }

footer { border-top: 1px solid var(--line); padding: 60px 0 40px; background: rgba(13, 3, 8, .9); color: var(--muted); font-size: .88rem; overflow: hidden; }
.foot-logo { font: 600 clamp(4rem, 17vw, 15rem)/.85 var(--serif); color: var(--ivory); letter-spacing: -.03em; margin-bottom: 34px; }
.foot-logo span { color: var(--gold); font-style: italic; }
.foot-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }

/* listing dialog */
dialog { border: 1px solid var(--line); background: var(--panel); color: var(--ivory); border-radius: 26px; padding: 0; width: min(780px, 100% - 24px); max-height: 92vh; box-shadow: 0 50px 140px rgba(0, 0, 0, .7); }
dialog[open] { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.97); } }
dialog::backdrop { background: rgba(8, 2, 5, .78); backdrop-filter: blur(8px); }
.dlg-body { padding: 28px; }
.dlg-body h2 { font-size: clamp(2rem, 4vw, 3rem); }
.close { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(0, 0, 0, .55); border: 0; color: #fff; width: 38px; height: 38px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.tag { font-size: .8rem; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--muted); }
.form2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.form2 .full { grid-column: 1/-1; }
.note { font-size: .88rem; padding: 11px 15px; border-radius: 12px; margin-top: 12px; }
.note.ok { background: rgba(127, 209, 163, .12); color: var(--ok); border: 1px solid rgba(127, 209, 163, .35); }
.note.bad { background: rgba(196, 80, 109, .14); color: #f0a3b6; border: 1px solid rgba(196, 80, 109, .4); }
.thumbs { display: flex; gap: 8px; overflow-x: auto; margin-top: 12px; }
.thumbs img { height: 88px; border-radius: 12px; border: 1px solid var(--line); }

@media (max-width: 860px) {
  .nav nav a:not(.btn) { display: none; }
  .nav .wrap { height: 66px; }
  .hero { align-items: flex-end; padding: 46vh 0 90px; }
  .search, .filters, .form2 { grid-template-columns: 1fr 1fr; }
  .search .btn { grid-column: 1/-1; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .how { min-height: 0; padding: 90px 0; }
  .how-copy { background: rgba(13, 3, 8, .55); backdrop-filter: blur(8px); border-radius: var(--r); padding: 26px 20px; }
  .steps li { grid-template-columns: 64px 1fr; }
  .steps b { font-size: 2.4rem; }
  section.band, .why { padding: 70px 0; }
  .scrollcue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .line > span, .rise, .reveal, .card { transition: none; transform: none; translate: none; opacity: 1; }
  .track, .scrollcue i, .lbar i { animation: none; }
}
