/* THE DAILY PIXEL NEWS - info pages for artists and sponsors (not part of the newspaper) */
:root {
  --ink: #1b1b2f;
  --paper: #f3ead3;
  --paper2: #e4d8b8;
  --desk: #15122a;
  --p: #8b5cf6;
  --g: #16a34a;
  --r: #dc2626;
  --y: #eab308;
  --b: #2563eb;
  --c: var(--y);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  padding: 24px 16px 48px;
  color: var(--ink);
  font-family: 'VT323', monospace;
  font-size: 22px;
  line-height: 1.25;
  background:
    linear-gradient(#ffffff07 2px, transparent 2px) 0 0 / 16px 16px,
    linear-gradient(90deg, #ffffff07 2px, transparent 2px) 0 0 / 16px 16px,
    radial-gradient(ellipse at top, #2a2350 0%, var(--desk) 70%) fixed;
  background-color: var(--desk);
}
@media (min-width: 900px) and (min-height: 560px) { html:not(.langs-off) body { padding-left: 76px; padding-right: 76px; } } /* room for the language squares */

a { color: inherit; }
.sheet {
  max-width: 880px;
  margin: 0 auto;
  background: var(--paper);
  border: 4px solid var(--ink);
  box-shadow: 10px 10px 0 #0006;
}

/* top bar */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 4px double var(--ink);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 32px; height: 32px; image-rendering: pixelated; }
.brand span { font-family: 'Press Start 2P'; font-size: 12px; }
.top nav { display: flex; gap: 8px; flex-wrap: wrap; }
.top nav a {
  font-family: 'Press Start 2P'; font-size: 8px; text-decoration: none;
  padding: 7px 9px; border: 2px solid var(--ink); background: #fff;
  box-shadow: 2px 2px 0 var(--ink);
}
.top nav a[aria-current="page"] { color: #fff; background: var(--c); }

main { padding: 28px 32px 36px; }
.kicker {
  display: inline-block; margin-bottom: 14px;
  font-family: 'Press Start 2P'; font-size: 9px; color: #fff;
  padding: 6px 9px; background: var(--c); border: 2px solid var(--ink);
}
h1 { font-family: 'Press Start 2P'; font-size: 26px; line-height: 1.35; font-weight: normal; }
.lead { margin-top: 12px; font-size: 1.15em; max-width: 40em; }
h2 {
  margin: 34px 0 14px; padding-bottom: 6px;
  font-family: 'Press Start 2P'; font-size: 14px; font-weight: normal;
  border-bottom: 3px solid var(--ink);
}

/* how it works: numbered steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; counter-reset: s; }
.steps li {
  counter-increment: s; position: relative;
  padding: 34px 12px 12px; background: #fff9;
  border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--c);
}
.steps li::before {
  content: counter(s); position: absolute; top: -12px; left: 10px;
  width: 30px; height: 30px; display: grid; place-items: center;
  font-family: 'Press Start 2P'; font-size: 12px; color: #fff; background: var(--ink);
}
.steps b { display: block; margin-bottom: 4px; font-size: 1.1em; }

/* options (sponsors) */
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.opt { padding: 14px; background: #fff9; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--oc, var(--c)); }
.opt h3 { font-family: 'Press Start 2P'; font-size: 10px; font-weight: normal; line-height: 1.5; margin-bottom: 8px; }
.opt p { margin-bottom: 6px; }
.opt small { opacity: .7; }

/* FAQ */
.faq details { border: 3px solid var(--ink); background: #fff9; margin-bottom: 10px; }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 10px 14px; font-size: 1.1em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: 'Press Start 2P'; font-size: 12px; flex-shrink: 0; }
.faq details[open] summary { border-bottom: 2px dashed #1b1b2f66; }
.faq details[open] summary::after { content: '−'; }
.faq summary:focus-visible { outline: 3px solid var(--c); outline-offset: 2px; }
.faq .a { padding: 10px 14px 14px; }
.faq .a p + p, .faq .a ul { margin-top: 8px; }
.faq .a ul { padding-left: 22px; }
.tbd {
  display: inline-block; font-family: 'Press Start 2P'; font-size: 7px; vertical-align: middle;
  padding: 4px 6px; margin-right: 4px; color: var(--ink); background: var(--y); border: 2px solid var(--ink);
}

/* contact */
.cta {
  margin-top: 34px; padding: 18px; text-align: center;
  border: 3px dashed var(--ink); background: repeating-linear-gradient(45deg, #fff8, #fff8 8px, #fde04744 8px, #fde04744 16px);
}
.cta p { margin-bottom: 12px; }
.btn {
  display: inline-block; font-family: 'Press Start 2P'; font-size: 10px; text-decoration: none;
  padding: 10px 14px; color: #fff; background: var(--ink); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--c);
}
.btn:active { transform: translate(3px, 3px); box-shadow: none; }
.btn:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; }
.note { margin-top: 10px; font-size: .8em; opacity: .7; }

footer.foot {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 10px 20px; border-top: 4px double var(--ink);
  font-family: 'Press Start 2P'; font-size: 7px;
}

/* ── ARTISTS page: hand-made look, like the Artist of the Week page ── */
.hand { --c: var(--r); }
.hand .sheet {
  background-color: #fbf6ea;
  background-image: linear-gradient(180deg, #fffaf0, #f4ecd9);
  border-color: #2b2118;
}
.hand main { font-family: 'Patrick Hand', cursive; font-size: 21px; color: #2b2118; }
.hand h1, .hand h2 { font-family: 'Caveat', cursive; font-weight: 700; }
.hand h1 { font-size: 56px; line-height: 1; }
.hand h2 { font-size: 36px; border-bottom: 2px solid #2b2118; }
.hand .steps li, .hand .faq details, .hand .opt { border: 2px solid #2b2118; border-radius: 6px 10px 8px 12px; background: #fffdf6; }
.hand .steps li::before { border-radius: 50%; background: #2b2118; font-family: 'Caveat', cursive; font-size: 22px; font-weight: 700; }
.hand .faq summary::after { font-family: 'Caveat', cursive; font-size: 30px; }
.hand .kicker { font-family: 'Caveat', cursive; font-size: 22px; font-weight: 700; background: none; color: #2b2118; border: 0; border-bottom: 3px solid var(--r); padding: 0 2px; }
.hand .tbd { font-family: 'Caveat', cursive; font-size: 17px; font-weight: 700; border-radius: 4px; }
.hand .cta { border-color: #2b2118; border-radius: 8px; background: #fde68a55; }

@media (max-width: 600px) {
  body { padding: 10px 8px 32px; font-size: 20px; }
  main { padding: 20px 16px 26px; }
  h1 { font-size: 18px; }
  .hand h1 { font-size: 42px; }
  h2 { font-size: 12px; }
  .hand h2 { font-size: 30px; }
}

/* artist roster (sponsors page) */
.roster { margin-bottom: 6px; }
.artist-card h3 small { opacity: .6; }
.artist-card .links a { text-decoration: underline; }
.artist-card.empty { border-style: dashed; box-shadow: none; background: transparent; }

/* sponsors page: the Artist of the Week offer in the spotlight */
.feature {
  margin-top: 26px; padding: 18px 20px 22px;
  background: #fff; border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--r);
}
.feature .feature-h { margin-top: 0; border-bottom-color: var(--r); }
.perks { list-style: none; display: grid; gap: 10px; margin-bottom: 18px; }
.perks li { position: relative; padding-left: 26px; }
.perks li::before { content: '★'; position: absolute; left: 0; top: 0; color: var(--r); }
.perks a { text-decoration: underline; }
.btn-big { font-size: 12px; padding: 14px 18px; box-shadow: 5px 5px 0 var(--r); }

/* sponsors page: the two ways, side by side and on the same footing */
.two-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; margin-top: 26px; }
.two-ways .feature { margin-top: 0; display: flex; flex-direction: column; }
.two-ways .feature .btn-big { align-self: flex-start; margin-top: auto; }
.way-b { box-shadow: 8px 8px 0 var(--p); }
.way-b .feature-h { border-bottom-color: var(--p); }
.way-b .perks li::before { color: var(--p); }
.way-b .btn-big { box-shadow: 5px 5px 0 var(--p); }
@media (max-width: 760px) { .two-ways { grid-template-columns: 1fr; } }

/* sponsors page: the big decorated banner that opens the roster (roster.html) */
.roster-banner {
  position: relative; display: flex; align-items: center; gap: 18px;
  margin: 14px 0 8px; padding: 18px 22px; text-decoration: none; overflow: hidden;
  color: #fff; border: 4px solid var(--ink);
  background:
    repeating-linear-gradient(135deg, #ffffff14 0 12px, transparent 12px 24px),
    linear-gradient(100deg, var(--p), var(--r) 55%, var(--y));
  box-shadow: 8px 8px 0 var(--ink), inset 0 0 0 4px #ffffff55;
  transition: transform .12s, box-shadow .12s;
}
.roster-banner:hover { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 var(--ink), inset 0 0 0 4px #ffffff88; }
.roster-banner:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.roster-banner:focus-visible { outline: 4px solid var(--y); outline-offset: 4px; }
.rb-mascot { width: 92px; height: 92px; flex: none; image-rendering: pixelated; filter: drop-shadow(3px 3px 0 #0006); animation: rb-bob 1.2s steps(2) infinite; }
.rb-text { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.rb-title { font-family: 'Press Start 2P'; font-size: 22px; line-height: 1.35; text-shadow: 3px 3px 0 var(--ink); }
.rb-sub { font-size: 24px; text-shadow: 2px 2px 0 #0006; }
.rb-star { position: absolute; color: #fff; font-size: 22px; text-shadow: 2px 2px 0 #0005; animation: rb-twinkle 1.6s steps(3) infinite; pointer-events: none; }
.rb-star.s1 { top: 8px; right: 18px; }
.rb-star.s2 { bottom: 10px; right: 64px; font-size: 16px; animation-delay: .4s; }
.rb-star.s3 { top: 46%; right: 120px; font-size: 14px; animation-delay: .8s; }
.rb-star.s4 { top: 10px; left: 112px; font-size: 14px; animation-delay: 1.2s; }
@keyframes rb-bob { 50% { transform: translateY(-5px); } }
@keyframes rb-twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .25; transform: scale(.6); } }
@media (max-width: 640px) {
  .roster-banner { gap: 12px; padding: 14px; }
  .rb-mascot { width: 64px; height: 64px; }
  .rb-title { font-size: 14px; }
  .rb-sub { font-size: 19px; }
  .rb-star.s3, .rb-star.s4 { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rb-mascot, .rb-star { animation: none; } }

/* roster page: one profile per artist, small round photo on the left, everything else on its right */
.roster-list { display: grid; gap: 22px; margin-top: 22px; }
.artist {
  display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: start;
  padding: 16px 18px; background: #fff; border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--oc, var(--c));
}
/* round photo like an Instagram profile: a coloured ring, a white gap, the photo */
.artist-photo {
  position: relative; width: 100px; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--oc, var(--c)); border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--oc, var(--c)), 0 0 0 5px var(--ink);
  margin: 6px;
}
.artist-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.artist-initials {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: 'Press Start 2P'; font-size: 22px; color: #fff; text-shadow: 2px 2px 0 var(--ink);
}
.artist-info { min-width: 0; font-size: 18px; line-height: 1.2; }
.artist-info h2 { margin: 0 0 6px; font-family: 'Press Start 2P'; font-size: 12px; line-height: 1.4; border-bottom: 3px solid var(--oc, var(--c)); padding-bottom: 6px; }
.artist-role { font-weight: bold; color: var(--oc, var(--c)); margin-bottom: 6px; }
.artist-bio { margin-bottom: 10px; }
.artist-socials { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.artist-socials a {
  display: flex; align-items: center; gap: 6px; padding: 3px 8px 3px 3px; text-decoration: none; font-size: 16px;
  background: var(--paper); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
}
.artist-socials a:hover { background: #fff; }
.artist-socials a:active { transform: translate(2px, 2px); box-shadow: none; }
.soc-ico { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--ink); }
.soc-ico svg { width: 17px; height: 17px; }
.soc-name { display: none; }
.soc-handle { white-space: nowrap; }
.roster-end { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.roster-end a:not(.btn) { text-decoration: underline; }
@media (max-width: 640px) {
  .artist { grid-template-columns: 72px 1fr; gap: 12px; padding: 12px; }
  .artist-photo { width: 64px; margin: 4px; }
  .artist-initials { font-size: 16px; }
  .artist-info { font-size: 17px; }
  .artist-info h2 { font-size: 10px; }
}

/* the fairness note about the artists (roster page, artist page) */
.artist-note { margin-top: 26px; padding: 12px 16px; border: 3px dashed var(--ink); background: #fffdf5; font-size: .95em; }
.artist-note b { display: inline-block; margin-bottom: 6px; padding: 3px 7px; font-family: 'Press Start 2P', monospace; font-size: 9px; color: #fff; background: var(--ink); }
.artist-note p { margin: 0; }
