/* The Andy Roos look, taken from the covers: thick black ink outlines,
   honky-tonk neon at dusk, barnwood and barbed wire (AR logo), white slab titles. */
:root {
  --wood: #1b130d;
  --wood-2: #2a1d13;
  --ink: #120c08;
  --paper: #f4e7c9;
  --paper-2: #ead8b1;
  --cream: #fbf3e2;
  --neon: #ff3b30;        /* honky-tonk sign red */
  --neon-pink: #ff4fa3;
  --neon-teal: #3fe0d0;   /* Frio water */
  --rust: #b8401f;
  --sun: #f6a623;
  --wire: #a8a197;
  --display: "Ultra", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--cream);
  font: 16px/1.55 "Work Sans", system-ui, sans-serif;
  padding-bottom: 104px;
  background-color: var(--wood);
  /* barnwood: plank seams + a little grain */
  background-image:
    repeating-linear-gradient(180deg, transparent 0 118px, rgba(0,0,0,.45) 118px 121px, rgba(255,255,255,.03) 121px 122px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 2px, transparent 2px 9px, rgba(0,0,0,.05) 9px 10px, transparent 10px 23px),
    linear-gradient(180deg, var(--wood-2), var(--wood) 600px);
}
a { color: var(--sun); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: .01em; }

/* White slab titles with an ink outline, like the cover lettering */
.slab {
  color: #fff;
  -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--ink);
}

/* Hero */
.hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden; border-bottom: 4px solid var(--ink); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,19,13,0) 35%, rgba(27,19,13,.82) 80%, var(--wood-2)); }
.hero-inner { position: relative; display: flex; gap: 22px; align-items: center; width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 20px 30px; }
.logo { width: 128px; height: 128px; border-radius: 50%; border: 4px solid var(--ink); box-shadow: 0 0 0 3px var(--wire), 6px 6px 0 3px var(--ink); flex: none; object-fit: cover; }
.hero h1 {
  font-size: clamp(48px, 10vw, 88px); color: #fff;
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--neon), 9px 9px 0 var(--ink);
}
.tag { margin: 8px 0 12px; font-size: 18px; font-weight: 500; max-width: 34em; text-shadow: 0 2px 8px rgba(0,0,0,.9); }
.links { display: flex; gap: 10px; flex-wrap: wrap; }
.links a {
  color: var(--ink); background: var(--paper); font-weight: 700; text-decoration: none; font-size: 14px;
  border: 2px solid var(--ink); border-radius: 4px; padding: 4px 10px; box-shadow: 3px 3px 0 var(--ink);
}

main { max-width: 1060px; margin: 0 auto; padding: 8px 20px; }
section { margin: 44px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 700; color: var(--neon-teal); margin: 0 0 6px; text-shadow: 0 0 10px rgba(63,224,208,.5); }

/* Barbed wire divider, after the AR logo */
.wire {
  border: 0; height: 22px; margin: 36px 0; opacity: .8;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='22'%3E%3Cpath d='M0 11 Q22 8 45 11 T90 11' fill='none' stroke='%23a8a197' stroke-width='2'/%3E%3Cpath d='M0 12 Q22 15 45 12 T90 12' fill='none' stroke='%23736c63' stroke-width='1.5'/%3E%3Cpath d='M38 4 52 18M52 4 38 18' stroke='%23a8a197' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center;
}

/* Neon sign headings */
.neon {
  font-size: clamp(32px, 5vw, 44px); color: #fff4f0;
  text-shadow: 0 0 2px #fff, 0 0 8px var(--neon), 0 0 18px var(--neon), 0 0 36px rgba(255,59,48,.6);
}
.neon.pink { text-shadow: 0 0 2px #fff, 0 0 8px var(--neon-pink), 0 0 18px var(--neon-pink), 0 0 36px rgba(255,79,163,.6); }

/* Poster cards: cream paper, black ink border, hard comic shadow */
.feature, .track, .use {
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 6px;
  box-shadow: 7px 7px 0 var(--ink);
}

/* New song feature */
.feature { display: grid; grid-template-columns: 1.25fr 1fr; overflow: hidden; }
.feature-art { width: 100%; height: 100%; object-fit: cover; display: block; border-right: 3px solid var(--ink); min-height: 280px; }
.feature-text { padding: 26px 26px 26px; position: relative; }
.sticker {
  display: inline-block; margin: 0 0 10px; padding: 5px 12px; transform: rotate(-3deg);
  background: var(--neon); color: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  font: 700 13px "Work Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase;
}
.feature h2 {
  font-size: clamp(40px, 6vw, 60px); color: #fff;
  -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink);
}
.feature-text > p:not(.sticker) { margin: 12px 0 18px; font-size: 17px; }

.section-head p { color: #e3d5bd; margin: 8px 0 22px; max-width: 42em; }

/* Tracks */
.tracks { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.track { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 22px; padding: 14px; transition: box-shadow .15s, transform .15s; }
.track.on { box-shadow: 7px 7px 0 var(--neon); border-color: var(--ink); }
.cover { position: relative; padding: 0; border: 3px solid var(--ink); background: var(--ink); cursor: pointer; border-radius: 4px; overflow: hidden; aspect-ratio: 16/9; align-self: start; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.cover:hover img { transform: scale(1.04); }
.cover .play { position: absolute; right: 10px; bottom: 10px; width: 46px; height: 46px; border-radius: 50%; background: var(--neon); color: #fff; border: 2px solid var(--ink); display: grid; place-items: center; box-shadow: 3px 3px 0 var(--ink); }
.cover .play svg { width: 22px; height: 22px; fill: currentColor; }
.info h3 { font-size: 28px; color: var(--ink); }
.info .sub { font-family: "Work Sans", sans-serif; font-weight: 600; font-size: 15px; color: #6b5a45; }
.meta { margin: 4px 0 8px; color: var(--rust); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.blurb { margin: 0 0 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Title tile for a song with no art yet */
.tile { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; text-align: center;
  background: linear-gradient(160deg, var(--neon) 0%, var(--sun) 35%, #2a8f8a 70%, #14435a 100%); }
.tile span { font-family: var(--display); font-size: clamp(28px, 4vw, 40px); color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); }

/* Chunky buttons that press in */
.btn {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px;
  border-radius: 6px; border: 3px solid var(--ink); background: var(--neon); color: #fff;
  font: 700 15px "Work Sans", sans-serif; text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink); transition: transform .08s, box-shadow .08s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn.ghost { background: var(--cream); color: var(--ink); }
.btn:focus-visible, .cover:focus-visible, .pbtn:focus-visible, .links a:focus-visible { outline: 3px solid var(--neon-teal); outline-offset: 3px; }

/* Make something with it: a dark sign board inside the poster frame */
.use { background: #20160f; color: var(--cream); padding: 26px; box-shadow: 7px 7px 0 var(--ink), 0 0 0 3px rgba(255,79,163,.35) inset; }
.use p:not(.eyebrow) { max-width: 42em; }
.use .eyebrow { color: var(--sun); text-shadow: none; }
.rules { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; }
.rules .yes { color: var(--neon-teal); font-weight: 700; }
.rules .no { color: #ff8a80; font-weight: 700; }

.also h2 { font-size: 26px; }
.also p { color: #e3d5bd; }

footer { text-align: center; padding: 34px 20px 10px; max-width: 1060px; margin: 0 auto; }
.sign { font-family: var(--display); font-size: 28px; margin: 0 0 8px; color: #fff4f0; text-shadow: 0 0 8px var(--neon), 0 0 20px var(--neon); }
.small { color: #bfae93; font-size: 13px; margin: 0; }

/* Bottom player */
.player {
  position: fixed; left: 12px; right: 12px; bottom: 12px; max-width: 720px; margin: 0 auto;
  display: flex; gap: 14px; align-items: center; padding: 10px 16px 10px 10px;
  background: var(--ink); color: var(--cream); border: 3px solid var(--paper); border-radius: 8px;
  box-shadow: 6px 6px 0 rgba(0,0,0,.6);
}
.player[hidden] { display: none; }
.pbtn { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 2px solid var(--paper); background: var(--neon); color: #fff; display: grid; place-items: center; cursor: pointer; }
.pbtn svg { width: 24px; height: 24px; fill: currentColor; }
.pmeta { flex: 1; min-width: 0; }
.ptitle { font-family: var(--display); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbar { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #bfae93; font-variant-numeric: tabular-nums; }
.pbar input { flex: 1; min-width: 0; accent-color: var(--neon); }

@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .feature-art { border-right: 0; border-bottom: 3px solid var(--ink); min-height: 0; aspect-ratio: 16/9; }
}
@media (max-width: 680px) {
  .hero { min-height: 420px; }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 16px 24px; }
  .logo { width: 88px; height: 88px; }
  main { padding: 4px 16px; }
  .track { grid-template-columns: 1fr; gap: 14px; }
  .feature-text, .use { padding: 20px 18px; }
  .feature, .track, .use { box-shadow: 5px 5px 0 var(--ink); }
}
@media (prefers-reduced-motion: reduce) { .btn, .cover img, .track { transition: none; } }
