/* Artist pages: one layout for every artist in the Digital Sanctuary (her words, 7 Nov 2026: "needs simplfying and be
   repeatable"). The pages are made by tools/artists/build_artists.py. Each artist: portrait, name and bio, then their
   work in the same order (Music, Films, Talks, Games, Artwork, Merch), a section only when it has something in it.
   Dressed for Christmas (her words, 7 Nov 2026: "I want the main core pages like theater and things like that to be in the
   Christmas styling"): /christmas/core.css gives the homepage's colours, its blue night and the snow; this file the rest,
   silver labels in Cinzel, names in Cormorant Garamond, the homepage's blue buttons. */
:root { --ink: var(--text); --dim: var(--text-dim); color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font: 500 19px/1.6 var(--body); -webkit-font-smoothing: antialiased; }

/* the mark and the tagline, as on the homepage (the mark in silver, like the menu) */
.top { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 20px 6px; }
.top a { display: block; border-radius: 50%; }
.top .mark { display: block; width: 46px; height: 46px; object-fit: contain; filter: grayscale(1) brightness(1.35) contrast(1.05); }
.tagline { margin: 0; font: 400 14px/1 var(--display); letter-spacing: .34em; text-transform: uppercase; color: var(--text-dim); }

.artist { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: 20px 20px 64px; }
.artist-head { display: flex; align-items: center; gap: 28px; padding: 16px 0 12px; }
.portrait { flex: none; width: 200px; height: 250px; object-fit: cover; border-radius: 6px; background: var(--midnight);
  border: 1px solid rgba(238, 243, 248, .5); box-shadow: 0 18px 36px rgba(0, 6, 24, .45); }
.eyebrow { margin: 0 0 10px; font: 600 13px/1.25 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--silver); }
h1 { margin: 0 0 12px; font: 400 44px/1.12 var(--deco); letter-spacing: .01em; }
.bio { margin: 0; font-size: 21px; line-height: 1.55; color: var(--dim); }

/* a kind of work: its name, then a row for each piece (name on the left, what it is or when it opens on the right) */
.work { margin-top: 36px; }
.work h2 { margin: 0 0 10px; font: 600 13px/1.25 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--silver); }
.work ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.work li { border-bottom: 1px solid var(--line); }
.row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 18px; min-height: 44px; padding: 16px 0; color: var(--ink); text-decoration: none; }
a.row:hover .name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.name { font-size: 24px; font-weight: 600; line-height: 1.3; }
.name small { display: block; margin-top: 2px; font-size: 17px; font-weight: 500; color: var(--dim); }
.tag { font: 600 12px/1.4 var(--display); letter-spacing: .18em; text-transform: uppercase; color: rgba(238, 245, 255, .6); white-space: nowrap; }
.tag.new { color: var(--ice); }
.tag.soon { color: var(--silver); }
.tag.updating { color: var(--silver-pale); }
.tag.go { font: 500 22px/1 var(--body); letter-spacing: 0; color: var(--ice); }

/* The SUPERFAN Shop (7 Nov 2026): one shop for every artist, a collection each, with a button to the artist's own store */
.shop-head { padding: 16px 0 4px; }
.collection { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.collection .eyebrow a { color: inherit; text-decoration: none; }
.collection .eyebrow a:hover { text-decoration: underline; text-underline-offset: 4px; }
.collection h2 { margin: 0 0 10px; font: 400 32px/1.15 var(--deco); letter-spacing: .01em; }
.line { margin: 0 0 18px; font-size: 20px; line-height: 1.55; color: var(--dim); }
.pics { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pics img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: var(--midnight); }
.shop-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 13px 26px; border-radius: 999px;
  border: 1px solid rgba(238, 243, 248, .85); background: linear-gradient(#4a86d4, #1f4f99); color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 16px rgba(0, 8, 30, .35);
  font: 600 14px/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.shop-btn:hover { filter: brightness(1.1); }
.work.more { margin-top: 40px; }

/* Songs as downloads (9 Nov 2026): a card each (cover, name, by-line, blurb, Listen, the price, Buy), and the thank-you banner
   with the download links when Stripe sends the buyer back */
.songs { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.song { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; background: rgba(0, 6, 24, .35); overflow: hidden; }
.song .cover { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--midnight); }
.song-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.song-name { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.song-name small { display: block; margin-top: 2px; font-size: 17px; font-weight: 500; color: var(--dim); }
.blurb { margin: 0; font-size: 18px; line-height: 1.5; color: var(--dim); }
.song-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; margin-top: 6px; }
.listen { min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(238, 243, 248, .5); background: transparent; color: var(--ink);
  font: 600 13px/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.listen:hover, .listen.on { border-color: var(--ice); color: var(--ice); }
.price { margin-left: auto; font: 500 22px/1 var(--body); color: var(--ice); }
button.shop-btn { cursor: pointer; }
button.shop-btn:disabled { opacity: .6; cursor: default; filter: none; }
.note { margin: 0; min-height: 1em; font-size: 17px; line-height: 1.4; color: var(--silver-pale); }
.banner { margin: 10px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 6px; background: rgba(0, 6, 24, .45); }
.banner h2 { margin: 0 0 8px; font: 400 28px/1.2 var(--deco); letter-spacing: .01em; }
.banner p { margin: 8px 0 0; font-size: 19px; color: var(--dim); }
.downloads { list-style: none; margin: 10px 0 0; padding: 0; }
.downloads li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.downloads .song-name { font-size: 21px; }
.downloads a { color: var(--ice); font-weight: 600; text-underline-offset: 4px; }
button:focus-visible { outline: 3px solid var(--ice); outline-offset: 4px; }

.all { margin: 44px 0 0; font-size: 20px; }
.all a { color: var(--ice); text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--ice); outline-offset: 4px; }

@media (max-width: 699px) {
  .artist-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .portrait { width: 160px; height: 200px; }
  h1 { font-size: clamp(30px, 9vw, 40px); }
  .bio { font-size: 19px; }
  .name { font-size: 21px; }
  .pics { grid-template-columns: repeat(2, 1fr); }
  .collection h2 { font-size: clamp(26px, 7.5vw, 32px); }
  .songs { grid-template-columns: 1fr; }
  .song-name { font-size: 21px; }
}

/* One shop for all of us (her words, 9 Nov 2026: "Superfan Shop is a shop for all of us"): each collection's merch as cards
   in the songs' look, one bag for everything, and every picture opens bigger on a tap (her words: "you cannot click on the
   individual images to see them bigger"). Made by tools/artists/build_artists.py (SHOP_JS fills the colours and sizes). */
.group { margin: 26px 0 12px; font: 600 13px/1.25 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--silver); }
.items { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pic { display: block; width: 100%; padding: 0; border: 0; background: var(--midnight); cursor: zoom-in; }
.pic img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.colour-name { margin: 0; font-size: 17px; color: var(--dim); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button { width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 2px solid rgba(238, 243, 248, .35); cursor: pointer;
  box-shadow: inset 0 0 0 2px rgba(0, 6, 24, .55); }
.swatches button[aria-checked="true"] { border-color: var(--ice); box-shadow: inset 0 0 0 2px rgba(0, 6, 24, .55), 0 0 0 2px rgba(0, 6, 24, .8); }
.size { align-self: flex-start; min-height: 44px; min-width: 120px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(238, 243, 248, .5);
  background: rgba(0, 6, 24, .55); color: var(--ink); font: 600 15px/1.2 var(--body); }
.shop-btn.quiet { margin-top: 4px; background: transparent; box-shadow: none; }
.bag-btn { position: fixed; z-index: 20; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); min-height: 52px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid rgba(238, 243, 248, .85); background: linear-gradient(#4a86d4, #1f4f99); color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 8, 30, .5); font: 600 15px/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.bag-btn .count { display: inline-block; min-width: 1.6em; margin-left: 6px; padding: 2px 6px; border-radius: 999px; background: rgba(0, 6, 24, .45); text-align: center; letter-spacing: 0; }
.bag-btn[hidden] { display: none; }
dialog.bag { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); margin: auto; padding: 22px; border: 1px solid var(--line); border-radius: 8px;
  background: #050d24; color: var(--ink); }
dialog::backdrop { background: rgba(0, 3, 14, .78); }
.bag-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bag-head h2 { margin: 0; font: 400 28px/1.2 var(--deco); }
.x { width: 44px; height: 44px; padding: 0; border: 1px solid rgba(238, 243, 248, .5); border-radius: 50%; background: transparent; color: var(--ink); font: 400 26px/1 var(--body); cursor: pointer; }
.x.small { width: 36px; height: 36px; font-size: 22px; }
.bag-lines { list-style: none; margin: 16px 0 0; padding: 0; }
.bag-lines li { display: grid; grid-template-columns: 64px 1fr auto auto auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.bag-lines img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; background: var(--midnight); }
.bl-name { display: block; font-size: 19px; font-weight: 600; line-height: 1.3; }
.bl-what small { display: block; font-size: 16px; color: var(--dim); }
.bl-qty { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; }
.bl-qty button { width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid rgba(238, 243, 248, .5); background: transparent; color: var(--ink); font-size: 18px; cursor: pointer; }
.bl-price { font-size: 18px; color: var(--ice); }
.bag-empty { margin: 16px 0 0; font-size: 19px; color: var(--dim); }
.bag-total { display: flex; justify-content: space-between; margin: 14px 0 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 21px; font-weight: 600; }
.note.err { color: #ffb4a8; }
dialog.bag .shop-btn { width: 100%; justify-content: center; margin-top: 12px; }
dialog.lightbox { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(0, 3, 14, .94); color: var(--ink); }
dialog.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
#lb-img { display: block; max-width: calc(100vw - 32px); max-height: calc(100vh - 110px); object-fit: contain; cursor: zoom-out; }
.lb-cap { margin: 12px 16px 0; font-size: 18px; text-align: center; color: var(--dim); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; padding: 0; border-radius: 50%; border: 1px solid rgba(238, 243, 248, .5);
  background: rgba(0, 6, 24, .6); color: var(--ink); font: 400 34px/1 var(--body); cursor: pointer; }
.lb-nav.prev { left: 12px; }
.lb-nav.next { right: 12px; }
.lb-nav[hidden] { display: none; }
dialog.lightbox .x { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; background: rgba(0, 6, 24, .6); }
@media (max-width: 899px) { .items { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 699px) {
  .items { grid-template-columns: 1fr; }
  .bag-lines li { grid-template-columns: 52px 1fr auto; }
  .bag-lines img { width: 52px; height: 52px; }
  .bl-qty { grid-column: 2; }
  .bl-price { grid-column: 3; grid-row: 1; }
}
/* Hear Chris (her words, 9 Nov 2026: "chris's audios missing on his merch on the main shop"): his words in his own voice, a round
   button on the picture as on his shop; pressed, it shows stop and a ring */
.ph { position: relative; }
.hearo { position: absolute; left: 10px; bottom: 10px; z-index: 2; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(238, 243, 248, .85); border-radius: 50%;
  background: linear-gradient(#4a86d4, #1f4f99); color: #ffffff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 8, 30, .45); }
.hearo svg { width: 22px; height: 22px; }
.hearo .stop, .hearo[aria-pressed="true"] .spk { display: none; }
.hearo[aria-pressed="true"] .stop { display: block; }
.hearo[aria-pressed="true"]::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(160, 200, 255, .75); animation: hearo-ring 1.2s ease-out infinite; }
@keyframes hearo-ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hearo[aria-pressed="true"]::after { animation: none; } }
