/* pianosnake.github.io: a tile per app. Dark, like the apps; system fonts only. */
:root {
  --bg: #16171b;
  --tile: #202228;
  --border: #33363f;
  --text: #e8e8ec;
  --dim: #a3a8b4;
  --accent: #fbb12e;   /* the snake's yellow-orange */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.5 -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
a { color: inherit; }

header { max-width: 1100px; margin: 0 auto; padding: 48px 24px 8px; }
h1 { margin: 0 0 14px; line-height: 0; }
h1 img { display: block; width: 420px; max-width: 100%; height: auto; }   /* the PIANOSNAKE part of the arranger logo */
header p { margin: 0; max-width: 640px; color: var(--dim); font-size: 18px; }
h2.section {
  max-width: 1100px; margin: 0 auto; padding: 36px 24px 0; font-size: 14px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent);
}

.tiles {
  max-width: 1100px; margin: 0 auto; padding: 16px 24px 8px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px;
}
.tile {
  display: flex; flex-direction: column; background: var(--tile); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; transition: border-color .15s, transform .15s;
}
.tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.shot { display: block; aspect-ratio: 4 / 3; background: #0e0f12; border-bottom: 1px solid var(--border); }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.body { flex: 1; display: flex; flex-direction: column; padding: 16px 18px 18px; }
h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.2; }
h2 a { text-decoration: none; }
.body p { margin: 0 0 16px; color: var(--dim); font-size: 15px; }
.links { margin-top: auto; display: flex; gap: 10px; }
.links a {
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 600;
}
.links a:hover { border-color: var(--text); }
.links a.open { background: var(--accent); border-color: var(--accent); color: #16171b; }
.links a.open:hover { filter: brightness(1.1); }

footer { max-width: 1100px; margin: 0 auto; padding: 16px 24px 40px; color: var(--dim); font-size: 14px; }

@media (max-width: 480px) {
  header { padding: 32px 16px 4px; }
  .tiles { padding: 12px 16px 8px; gap: 18px; }
  h2.section { padding: 28px 16px 0; }
  footer { padding: 12px 16px 32px; }
}
