/* The Velvet Key (the-velvet-key.html) in the site's newer look:
 * Space Grotesk and Inter, glass cards, pill buttons, a gradient accent.
 * It keeps its own palette, waves and starfield.
 *
 * Linked after the page's own <style>, so a rule here wins at equal
 * specificity. The menu is injected by js/nav.js after this sheet, so those
 * rules are prefixed with `html body` to outrank it.
 */

:root {
  /* Velvet: near-black with a plum cast, garnet and wine, a dusty rose to read by */
  --bg: #08050a;
  --surface: #140a12;
  --surface-2: #1d0f1a;
  --crimson: #8e1c3c;
  --coral: #d0607a;
  --rose: #e8a0b0;
  --amber: #c88a6a;
  --glow-soft: rgba(142,28,60,0.12);
  --glow-mid: rgba(110,20,48,0.28);
  --text: #f8eef2;
  --text-mid: #e2c6d0;
  --text-dim: #b38c9c;
  --border: rgba(176,40,74,0.26);
  --border-mid: rgba(176,40,74,0.44);

  --ca-a: #d0607a;
  --ca-b: #8e1c3c;
  --ca-volt: linear-gradient(120deg, #e8a0b0 0%, var(--ca-a) 45%, var(--ca-b) 100%);
  --ca-glass: rgba(255,255,255,0.045);
  --ca-glass-hi: rgba(255,255,255,0.08);
  --ca-line: rgba(255,255,255,0.09);
  --ca-line-hi: rgba(255,255,255,0.16);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  color-scheme: dark;
}
body { background: var(--bg); }

/* The waves and the smoke stay; the page around them goes darker. */
.bg-glow {
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(90,14,40,0.38) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(110,20,48,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 70%, rgba(80,24,70,0.14) 0%, transparent 60%);
}
/* The hero is see-through now that the emblem has replaced the smoke picture:
   only a faint halo behind the emblem, with the stars and waves showing round it. */
.hero > * { position: relative; z-index: 1; }
.hero::before {
  background: radial-gradient(circle at 50% 40%, rgba(140,30,50,0.16) 0%, rgba(140,30,50,0.05) 30%, transparent 55%);
}
body { font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--ca-a); outline-offset: 3px; border-radius: 6px; }

/* Hero */
.hero-eyebrow {
  display: inline-block; font-family: var(--display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0; text-transform: none;
  color: var(--ca-a); background: rgba(208,96,122,0.12); border: 1px solid rgba(208,96,122,0.35); border-radius: 999px; padding: 0.25rem 0.8rem;
}
.hero h1 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; text-transform: none; line-height: 1;
  font-size: clamp(2.8rem, 10vw, 5.4rem);
  background: linear-gradient(120deg, #fff 0%, #f2d0da 30%, var(--ca-a) 62%, #a8284e 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-divider { display: none; }
.hero-tagline { font-family: var(--display); font-style: normal; font-weight: 500; font-size: clamp(1.15rem, 2.6vw, 1.45rem); line-height: 1.4; color: #fff; }
.hero-sub {
  display: inline-block; font-family: var(--display); font-weight: 500; font-size: 0.85rem; letter-spacing: 0; text-transform: none;
  color: var(--text-mid); background: var(--ca-glass); border: 1px solid var(--ca-line); border-radius: 999px; padding: 0.35rem 0.85rem;
}

/* Section headings */
.section-label {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 3.4vw, 1.8rem); letter-spacing: -0.01em;
  text-transform: none; color: var(--text);
}
.section-label::after { display: none; }
.recent-view-all {
  font-family: var(--display); font-weight: 500; font-size: 0.92rem; letter-spacing: 0; text-transform: none;
  color: var(--ca-a); border: 0; background: none; padding: 0;
}
.recent-view-all:hover { color: #fff; background: none; }

/* Latest works + artists: glass cards */
.recent-card, .artist-card {
  background: var(--ca-glass); border: 1px solid var(--ca-line); border-radius: 18px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform 0.2s ease, border-color 0.25s, box-shadow 0.25s;
}
.recent-card::before, .artist-card::before { display: none; }
.recent-card:hover, .artist-card:hover { transform: translateY(-4px); border-color: rgba(208,96,122,0.55); box-shadow: 0 14px 40px rgba(142,28,60,0.22); }
.recent-card:active, .artist-card:active { transform: scale(0.985); }
.recent-title, .artist-name { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; text-transform: none; color: #fff; }
.artist-name { font-size: 1.15rem; }
.recent-badge {
  font-family: var(--display); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.04em;
  color: #fff; background: var(--ca-volt); border: 0; border-radius: 999px;
}
.recent-desc, .artist-bio { font-family: var(--body); color: var(--text-mid); }
.artist-role { font-family: var(--display); font-weight: 500; font-size: 0.82rem; letter-spacing: 0; text-transform: none; color: var(--ca-a); }
.recent-date { font-family: var(--body); letter-spacing: 0; text-transform: none; }
.recent-desc { font-style: normal; }
.recent-tag { font-family: var(--body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0; text-transform: none; border-radius: 999px; color: var(--text); background: rgba(208,96,122,0.14); border: 1px solid rgba(208,96,122,0.42); padding: 0.2rem 0.62rem; }
.recent-tag.gender { color: #ffc56b; background: rgba(255,180,84,0.16); border-color: rgba(255,180,84,0.55); }
.artist-initials, .artist-initials-img { border-radius: 16px; overflow: hidden; border: 0; box-shadow: 0 0 0 1px var(--ca-line-hi), 0 6px 20px rgba(0,0,0,0.35); }
.artist-initials-img img { border-radius: 16px; }
.artist-arrow { color: var(--text-dim); }
.artist-card:hover .artist-arrow { color: var(--ca-a); }

/* Age gate */
.age-gate-box { background: #140a12; border: 1px solid var(--ca-line-hi); border-radius: 24px; box-shadow: 0 0 80px rgba(142,28,60,0.25); }
.age-gate-box::before { display: none; }
.age-gate-diamond { transform: none; border: 0; border-radius: 20px; background: var(--ca-volt); width: 64px; height: 64px; }
.age-gate-diamond span { transform: none; font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: #fff; }
.age-gate-eyebrow { font-family: var(--display); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 0.9rem; color: var(--ca-a); }
.age-gate-title { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.01em; }
.age-gate-text { font-family: var(--body); }
.age-btn {
  font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: 0; text-transform: none;
  border-radius: 999px; padding: 0.85rem 1.5rem; min-height: 50px;
}
.age-btn::before { display: none; }
.age-btn-yes { background: var(--ca-volt); color: #fff; border: 0; box-shadow: 0 8px 28px rgba(142,28,60,0.4); }
.age-btn-yes:hover { color: #fff; transform: translateY(-2px); }
.age-btn-no { background: var(--ca-glass-hi); border: 1px solid var(--ca-line-hi); color: var(--text); }

footer { font-family: var(--body); letter-spacing: 0; text-transform: none; font-size: 0.82rem; }

/* Menu (js/nav.js) */
html body #ca-nav { background: rgba(14,8,14,0.78); border: 1px solid var(--ca-line); border-radius: 999px; }
html body #ca-nav-logo { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; text-transform: none; }
html body .ca-nav-link, html body .ca-nav-btn, html body .ca-mobile-link, html body .ca-mobile-btn {
  font-family: var(--display); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 0.92rem; border-radius: 999px;
}
html body .ca-nav-dropdown { background: #140a12; border: 1px solid var(--ca-line-hi); border-radius: 16px; overflow: hidden; }
html body .ca-nav-dropdown a { font-family: var(--body); letter-spacing: 0; text-transform: none; font-size: 0.9rem; }
html body #ca-mobile-menu { background: #140a12; border: 1px solid var(--ca-line-hi); border-radius: 20px; }

/* A work's popup: the catalogues' layout, in the collective's colours.
   A centred card on desktop, a sheet from the bottom on phones. */
.vk-overlay { position: fixed; inset: 0; z-index: 9100; background: rgba(6,3,8,0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 1rem; animation: vk-fade 0.2s ease; }
.vk-modal {
  position: relative; background: var(--surface); border: 1px solid var(--ca-line-hi); border-radius: 24px; color: var(--text);
  max-width: 580px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 1.5rem 1.6rem; font-family: var(--body);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(142,28,60,0.18); animation: vk-pop 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes vk-fade { from { opacity: 0; } }
@keyframes vk-pop { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@media (max-width: 600px) {
  .vk-overlay { align-items: flex-end; padding: 0; }
  .vk-modal { border-radius: 24px 24px 0 0; max-height: 92vh; padding: 1.3rem 1.2rem 2rem; animation: vk-sheet 0.28s cubic-bezier(0.2, 0.9, 0.3, 1); }
  .vk-modal::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--ca-line-hi); margin: -0.4rem auto 0.9rem; }
  @keyframes vk-sheet { from { transform: translateY(100%); } }
}
@media (prefers-reduced-motion: reduce) { .vk-overlay, .vk-modal { animation: none; } }
.vk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.8rem; margin-bottom: 0.8rem; }
.vk-title { font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.25; color: #fff; }
.vk-type { display: inline-block; vertical-align: middle; margin-right: 0.5rem; font-family: var(--display); font-weight: 600; font-size: 0.72rem; color: #fff; background: var(--ca-glass-hi); padding: 0.2rem 0.55rem; border-radius: 999px; white-space: nowrap; }
.vk-close { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--ca-glass-hi); border: none; color: var(--text-mid); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.vk-close:hover { color: #fff; background: rgba(255,255,255,0.16); }
.vk-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.1rem; }
.vk-meta-item { display: inline-flex; gap: 0.4rem; align-items: baseline; background: var(--ca-glass); border: 1px solid var(--ca-line); border-radius: 999px; padding: 0.3rem 0.8rem; }
.vk-meta-item span { font-size: 0.75rem; color: var(--text-dim); }
.vk-meta-item b { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.vk-player { margin: 0 0 1rem; background: var(--ca-glass); border: 1px solid var(--ca-line); border-radius: 12px; padding: 0.7rem 0.8rem; }
.vk-player audio { width: 100%; display: block; height: 38px; }
.vk-frame { margin: 0 0 1.1rem; border-radius: 18px; overflow: hidden; background: rgba(0,0,0,0.3); }
.vk-frame img { display: block; width: 100%; height: auto; }
.vk-desc { color: var(--text-mid); font-size: 0.95rem; line-height: 1.7; margin: 0 0 1.2rem; }
.vk-desc a { color: var(--rose); text-decoration: none; border-bottom: 1px solid rgba(232,160,176,0.4); word-break: break-word; }
.vk-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.vk-link-btn {
  display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--display); font-weight: 600; font-size: 0.92rem;
  padding: 0.7rem 1.2rem; border-radius: 999px; color: #fff; text-decoration: none; background: var(--ca-volt);
  box-shadow: 0 6px 22px rgba(142,28,60,0.4); transition: transform 0.15s, box-shadow 0.2s;
}
.vk-link-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(208,96,122,0.4); }
.vk-dl {
  display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--display); font-weight: 600; font-size: 0.92rem;
  padding: 0.7rem 1.2rem; border-radius: 999px; border: 1px solid rgba(111,227,193,0.6); color: #bff7e6; text-decoration: none; background: rgba(111,227,193,0.12);
}
.vk-note { color: var(--text-dim); font-style: italic; font-size: 0.9rem; margin-bottom: 1rem; }
.vk-license { font-size: 0.85rem; color: var(--text-mid); font-style: italic; border-left: 2px solid rgba(111,227,193,0.5); padding-left: 0.7rem; margin-bottom: 1rem; }
.vk-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1.1rem; }
.vk-credits { border-top: 1px solid var(--ca-line); padding-top: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.2rem; }
@media (max-width: 420px) { .vk-credits { grid-template-columns: 1fr; } }
.vk-cred { font-size: 0.88rem; }
.vk-cred-label { display: block; color: var(--text-dim); font-size: 0.74rem; font-weight: 500; }
.vk-cred-names { color: var(--text); }
.vk-cred-names a { color: var(--rose); text-decoration: none; }
.vk-cred-names a:hover { text-decoration: underline; }

/* An invitation to creators: a line and two buttons in the header, and a
   section after the artists saying what joining gets them. */
.hero-creators { position: relative; font-family: var(--body); font-size: clamp(1rem, 2.2vw, 1.12rem); line-height: 1.6; color: var(--text-mid); max-width: 560px; margin: 0.9rem auto 0; }
.hero-ctas { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin: 1.4rem 0 1.2rem; }
.vk-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.8rem 1.5rem;
  border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.25s, background 0.25s;
}
.vk-btn:active { transform: scale(0.97); }
.vk-btn-primary { background: var(--ca-volt); color: #fff; box-shadow: 0 8px 28px rgba(142,28,60,0.45); }
.vk-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(208,96,122,0.45); }
.vk-btn-glass { background: var(--ca-glass-hi); color: var(--text); border: 1px solid var(--ca-line-hi); }
.vk-btn-glass:hover { background: rgba(255,255,255,0.13); transform: translateY(-2px); }

.create { margin: 3rem 0; scroll-margin-top: 90px; }
.create-card {
  position: relative; overflow: hidden; padding: 2.2rem 2rem; border-radius: 24px; text-align: center;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--ca-volt) border-box; border: 1.5px solid transparent;
}
.create-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 0%, rgba(142,28,60,0.28), transparent 70%); pointer-events: none; }
.create-card > * { position: relative; }
.create-eyebrow { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 0.85rem; color: var(--ca-a); background: rgba(208,96,122,0.12); border: 1px solid rgba(208,96,122,0.35); border-radius: 999px; padding: 0.25rem 0.8rem; margin-bottom: 0.9rem; }
.create-card h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 4.5vw, 2.2rem); letter-spacing: -0.01em; color: #fff; margin-bottom: 0.7rem; }
.create-lead { color: var(--text-mid); font-size: 1.05rem; line-height: 1.7; max-width: 620px; margin: 0 auto 1.4rem; }
.create-perks { list-style: none; padding: 0; margin: 0 auto; max-width: 720px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0.8rem; text-align: left; }
.create-perks li { background: var(--ca-glass); border: 1px solid var(--ca-line); border-radius: 16px; padding: 1rem 1.1rem; color: var(--text-mid); line-height: 1.55; font-size: 0.95rem; }
.create-perks b { color: #fff; font-family: var(--display); font-weight: 600; }
.create-ctas { margin-bottom: 0.6rem; }
.create-note { color: var(--text-dim); font-size: 0.9rem; }
@media (max-width: 520px) { .create-card { padding: 1.6rem 1.1rem; } .vk-btn { width: 100%; } }
