:root {
  --bg: #0a0a0a;
  --bg-2: #131313;
  --line: #262626;
  --text: #f2f0ec;
  --muted: #a19d96;
  --accent: #6b3df2;
  --accent-hi: #8a65ff;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --serif: "Bodoni 72", Didot, "Playfair Display", Georgia, serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --wrap: 1200px;
  --radius: 2px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(10,10,10,0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand img { height: 22px; width: auto; filter: invert(1); }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); transition: color 160ms ease; }
.nav a[aria-current="page"], .nav a:hover { color: var(--text); }
.cart-btn { background: none; border: 1px solid var(--line); color: var(--text); font: inherit; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; padding: 8px 14px; cursor: pointer; border-radius: var(--radius); transition: transform 160ms var(--ease-out), border-color 160ms ease; }
.cart-btn:active { transform: scale(0.97); }
.cart-count { display: inline-block; min-width: 1.4em; margin-left: 6px; color: var(--accent-hi); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font: inherit; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; padding: 8px 0; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform 200ms var(--ease-out), opacity 200ms ease, visibility 0s 200ms; }
  .nav.open { transform: none; opacity: 1; visibility: visible; transition: transform 200ms var(--ease-out), opacity 200ms ease; }
  .nav a { padding: 14px 0; font-size: 15px; width: 100%; border-bottom: 1px solid var(--line); }
}

/* Type */
h1, h2, h3 { font-weight: 800; letter-spacing: 0.02em; line-height: 1.05; margin: 0 0 0.5em; text-transform: uppercase; }
h1 { font-size: clamp(40px, 7vw, 88px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: 20px; letter-spacing: 0.06em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 2vw, 22px); color: var(--text); max-width: 40em; }
.muted { color: var(--muted); }
.eyebrow { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-hi); margin: 0 0 14px; }
.motto { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3vw, 32px); text-transform: none; font-weight: 400; letter-spacing: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font: 600 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease; }
.btn:active { transform: scale(0.97); }
.btn.ghost { background: transparent; border-color: var(--text); color: var(--text); }
.btn.small { min-height: 36px; padding: 0 14px; font-size: 12px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
  .btn.ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Sections */
section { padding: clamp(64px, 10vw, 120px) 0; }
section + section { border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.page-head { padding: clamp(56px, 9vw, 110px) 0 clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head + section { border-top: 0; }

/* Hero */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; padding: 0 0 clamp(48px, 8vw, 96px); overflow: hidden; border-top: 0; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0.1) 30%, rgba(10,10,10,0.92) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero .logo { width: min(560px, 80vw); filter: invert(1); margin-bottom: 28px; }
.hero h1 { font-size: clamp(30px, 5vw, 60px); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: opacity 300ms ease; }
}

/* Releases */
.release { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .release { grid-template-columns: 1fr; } }
.release .cover { width: 100%; aspect-ratio: 1; object-fit: cover; }
.price-line { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 24px 0 8px; }
.price { font-size: 22px; font-weight: 700; }
.tracks { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.tracks li { display: grid; grid-template-columns: 2.2em 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.tracks .n, .tracks .t { color: var(--muted); font-variant-numeric: tabular-nums; }
.tracks .add { background: none; border: 1px solid var(--line); color: var(--text); font: 600 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; padding: 8px 10px; cursor: pointer; border-radius: var(--radius); transition: transform 160ms var(--ease-out), border-color 160ms ease; }
.tracks .add:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .tracks .add:hover { border-color: var(--accent-hi); } }

/* Embeds (click to load, no cookies before consent) */
.embed { position: relative; background: var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; padding: 32px; min-height: 152px; }
.embed.video { aspect-ratio: 16 / 9; min-height: 0; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed p { font-size: 13px; color: var(--muted); max-width: 32em; margin: 12px auto 0; }

/* Merch */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 28px; }
.card { display: flex; flex-direction: column; }
.card .img { background: #fff; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.card .img img { width: 100%; transition: transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .card:hover .img img { transform: scale(1.03); } }
.card h3 { margin: 18px 0 6px; font-size: 15px; }
.card p { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.card .meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.card .buy { margin-top: auto; display: flex; gap: 10px; align-items: center; }
select, input, textarea { font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; width: 100%; transition: border-color 160ms ease; }
select:focus, input:focus, textarea:focus { border-color: var(--accent-hi); outline: none; }
.card select { width: auto; padding: 8px 10px; font-size: 14px; }
.notice { border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: 16px 20px; font-size: 14px; color: var(--muted); margin: 0 0 40px; }

/* Forms */
.form { display: grid; gap: 18px; max-width: 640px; }
.form label { display: grid; gap: 8px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.form .hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; font-size: 15px; }
.inline-form { display: flex; gap: 10px; max-width: 520px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 240px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Amounts */
.amounts { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.amounts button { background: none; color: var(--text); border: 1px solid var(--line); min-width: 72px; min-height: 48px; font: 600 15px var(--sans); cursor: pointer; border-radius: var(--radius); transition: transform 160ms var(--ease-out), border-color 160ms ease, background-color 160ms ease; }
.amounts button:active { transform: scale(0.97); }
.amounts button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); }
.amounts input { width: 130px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent-hi); transition: transform 200ms var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }
.services div { border-top: 2px solid var(--accent); padding-top: 18px; }
.services p { color: var(--muted); font-size: 15px; }

/* Photo strip */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photos img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 700px) { .photos { grid-template-columns: 1fr 1fr; } }

/* Cart drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: opacity 240ms ease, visibility 0s 240ms; z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--bg); border-left: 1px solid var(--line); z-index: 61; transform: translateX(100%); transition: transform 320ms var(--ease-drawer); display: flex; flex-direction: column; }
.drawer-open .drawer { transform: none; }
.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; transition: opacity 240ms ease; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer header h2 { font-size: 18px; margin: 0; }
.drawer .close { background: none; border: 0; color: var(--text); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.drawer .items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer .item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.drawer .item img { width: 64px; height: 64px; object-fit: cover; background: #ecebe8; }
.drawer .item .rm { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 12px; text-decoration: underline; padding: 0; }
.drawer footer { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer .row { display: flex; justify-content: space-between; font-size: 15px; }
.drawer .total { font-weight: 700; font-size: 18px; }
.drawer .msg { font-size: 13px; color: var(--muted); min-height: 1.2em; }
#paypal-buttons { min-height: 0; }
@media (prefers-reduced-motion: reduce) { .drawer { transition: none; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 0); background: var(--text); color: var(--bg); padding: 12px 18px; font-size: 14px; z-index: 70; border-radius: var(--radius); opacity: 1; transition: opacity 200ms ease, transform 200ms var(--ease-out); }
@starting-style { .toast { opacity: 0; transform: translate(-50%, 8px); } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.social { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; }
.social a { text-decoration: none; color: var(--text); }
@media (hover: hover) and (pointer: fine) { .social a:hover { color: var(--accent-hi); } }
.site-footer .legal { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.prose { max-width: 720px; }
.prose h2 { font-size: 22px; margin-top: 1.6em; }
