/* coolguy.live/ld60/art/: the art page of Counterweight. Colours are the game's palette, the site CSP allows no
   inline scripts or outside fonts, so the page is plain HTML with a system face. */
:root {
  --soot: #161412; --coal: #23211e; --iron: #36332f; --grey: #6f695f; --ash: #c7c1b0;
  --paper: #eee6d3; --brass: #d9b665; --brass-dk: #8a6f33; --red: #ad1d18;
  --sans: Bahnschrift, "DIN Alternate", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--soot); }
body { margin: 0; background: var(--soot); color: var(--paper); font: 400 18px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; image-rendering: pixelated; }
a { color: var(--brass); }

.hero { position: relative; min-height: min(100vh, 1080px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(22, 20, 18, 0) 35%, rgba(22, 20, 18, .75) 68%, var(--soot) 100%); }
.hero-in { position: relative; z-index: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px 56px; }
.kicker { margin: 0 0 18px; color: var(--ash); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; }
.title { width: min(100%, 780px); }
.lead { max-width: 640px; margin: 22px 0 32px; font-size: 22px; line-height: 1.4; }
.play { display: inline-block; padding: 22px 64px 20px; background: var(--brass); color: var(--soot); font: 700 30px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; box-shadow: 0 6px 0 var(--brass-dk), 0 0 48px rgba(217, 182, 101, .28); transition: transform .08s, box-shadow .08s, background .15s; }
.play:hover { background: #e6c67a; box-shadow: 0 6px 0 var(--brass-dk), 0 0 64px rgba(217, 182, 101, .45); }
.play:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--brass-dk), 0 0 40px rgba(217, 182, 101, .3); }
.play:focus-visible { outline: 3px solid var(--paper); outline-offset: 4px; }
.note { margin: 18px 0 0; color: var(--ash); font-size: 15px; }

main { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0 0; }
h2 { margin: 0 0 28px; color: var(--brass); font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.why ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; counter-reset: n; }
.why li { counter-increment: n; position: relative; padding-left: 52px; color: var(--ash); }
.why li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 1px; color: var(--brass); font-weight: 600; font-size: 17px; }
.why li b { display: block; margin-bottom: 4px; color: var(--paper); font-size: 20px; font-weight: 600; }
.proof { margin: 44px 0 0; padding-top: 28px; border-top: 1px solid var(--iron); color: var(--ash); font-size: 20px; }
.proof span { color: var(--brass); font-weight: 700; font-size: 40px; margin-right: 12px; vertical-align: -4px; }

.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
figure { margin: 0; }
figure img, figure video { width: 100%; background: var(--coal); }
figcaption { margin-top: 10px; color: var(--ash); font-size: 16px; }

.end { padding: 88px 0 24px; text-align: center; }
.links { margin: 28px 0 0; display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; font-size: 17px; }
.links a { text-decoration: none; border-bottom: 1px solid rgba(217, 182, 101, .4); padding-bottom: 2px; }
.links a:hover { border-color: var(--brass); }
footer { max-width: 1120px; margin: 0 auto; padding: 48px 24px 40px; color: var(--grey); font-size: 14px; text-align: center; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero { display: block; min-height: 0; }
  .hero-art { position: relative; height: auto; aspect-ratio: 16 / 9; }
  .hero::after { display: none; }
  .hero-in { padding: 24px 16px 8px; }
  .lead { font-size: 19px; margin: 18px 0 26px; }
  .play { display: block; text-align: center; padding: 20px 24px 18px; font-size: 26px; }
  main { padding: 0 16px; }
  section { padding-top: 56px; }
  .why ol, .grid2 { grid-template-columns: 1fr; gap: 24px; }
  .proof span { font-size: 32px; }
  footer { padding: 40px 16px 32px; }
}
@media (prefers-reduced-motion: reduce) { .play { transition: none; } }
