:root {
  color-scheme: dark;
  --ink: #eee9df;
  --muted: #a9a59d;
  --line: #3e3d3b;
  --accent: #d5a35e;
  --background: #151515;
  --panel: #20201f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 16px/1.6 Georgia, "Times New Roman", serif;
}

a { color: var(--accent); }
a:hover, a:focus-visible { color: #f0c889; }

.home, .download-page { width: min(100% - 3rem, 980px); margin: 0 auto; }
.home-reference { width: 100%; min-height: 100vh; padding: 1.5rem 1rem 1rem; background: linear-gradient(rgba(0, 0, 0, .03), rgba(0, 0, 0, .2)), url('/down-goes-1250.jpg') center top / cover fixed; text-align: center; }
.reference-header { display: flex; justify-content: center; }
.reference-logo { display: block; }
.reference-logo img { display: block; width: min(400px, 72vw); height: auto; }
.reference-content { width: min(100%, 725px); margin: 3.25rem auto 0; }
.video-poster { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; box-shadow: 0 1rem 2rem rgba(0, 0, 0, .35); }
.video-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; top: 50%; left: 50%; width: 3.5rem; height: 2.5rem; transform: translate(-50%, -50%); border-radius: .7rem; background: #ff0033; }
.video-play::after { content: ''; position: absolute; top: 50%; left: 50%; border-top: .55rem solid transparent; border-bottom: .55rem solid transparent; border-left: .85rem solid white; transform: translate(-35%, -50%); }
.reference-actions { display: flex; justify-content: center; gap: .25rem; margin-top: 1.25rem; }
.reference-actions a, .enter-site { border: 1px solid #c9c19b; }
.reference-actions img, .enter-site img { display: block; width: min(250px, 43vw); height: auto; }
.enter-site { display: inline-block; margin-top: 3.5rem; }
.reference-footer { margin-top: .75rem; color: #c9c19b; font: .6rem/1.2 Georgia, serif; text-shadow: 0 1px 2px #000; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.site-header img { display: block; width: min(260px, 65vw); height: auto; }
.site-header nav { font-size: .9rem; }
.hero { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; min-height: 68vh; padding: 4rem 0; }
.hero > img { width: 100%; height: auto; filter: grayscale(12%); }
.eyebrow { margin: 0 0 .5rem; color: var(--accent); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
h1, h2 { margin: 0; font-weight: normal; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
.hero p:not(.eyebrow), .download-intro > p:not(.eyebrow) { max-width: 34rem; color: var(--muted); font-size: 1.15rem; }
.button { display: inline-block; margin-top: 1rem; padding: .7rem 1rem; border: 1px solid var(--accent); text-decoration: none; }
.download-intro { padding: 5rem 0 3rem; }
.download-intro h1 { font-size: clamp(3rem, 8vw, 6rem); }
.albums { display: grid; gap: 1px; background: var(--line); }
.album { display: grid; grid-template-columns: 250px 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding: 2rem; background: var(--panel); }
.album img { width: 100%; height: auto; }
.album-copy > p { color: var(--muted); }
.download-links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.site-footer { padding: 2rem 0 3rem; color: var(--muted); font-size: .85rem; }
.download-reference { width: min(100% - 2rem, 960px); min-height: 100vh; padding: 1rem clamp(1rem, 4vw, 2.5rem) 3rem; background: rgba(4, 22, 20, .94); color: #f2f4ed; }
.download-reference::before { content: ''; position: fixed; z-index: -1; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .05), rgba(0, 0, 0, .82)), url('/down-goes-1250.jpg') center / cover; }
.download-header { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0 1.25rem; }
.download-header img { width: 120px; height: auto; }
.download-header a:last-child { color: #b9c8d9; text-decoration: none; }
.download-reference .download-intro { padding: .5rem 0 2rem; }
.download-reference .download-intro h1 { color: #b9c8d9; font: 1.2rem/1 Georgia, serif; text-transform: lowercase; }
.download-reference .download-intro p { max-width: none; margin: 2rem 0 0; color: #f2f4ed; font: bold .78rem/1.4 Arial, sans-serif; }
.download-video { position: relative; display: block; width: min(100%, 725px); aspect-ratio: 853 / 480; margin: 0 auto 3rem; overflow: hidden; background: #000; }
.download-video img { display: block; width: 100%; height: 100%; object-fit: cover; }
.download-reference .albums { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 5rem); background: none; }
.download-reference .album { display: grid; grid-template-columns: 250px 1fr; gap: 1rem; align-items: start; padding: 0; background: transparent; }
.download-reference .album > img { width: 250px; border: 1px solid #78d9d0; }
.download-reference .album-copy { min-width: 0; font: .72rem/1.5 Arial, sans-serif; }
.download-reference .album-copy h2 { font: bold .78rem/1.4 Arial, sans-serif; }
.download-reference .album-copy p { margin: .15rem 0 1rem; color: #f2f4ed; }
.download-reference .album-copy .download-links { display: grid; gap: .15rem; margin-top: -.75rem; }
.download-reference .album-copy a { color: #35e8d0; text-decoration: none; }
.support-message { margin: 4rem auto 0; text-align: center; color: #f2f4ed; font: 1rem Arial, sans-serif; }
.donate-link { display: block; width: max-content; margin: 1rem auto 0; padding: .45rem 1.5rem; border-radius: 1rem; background: #ffc439; color: #111; font-weight: bold; text-decoration: none; }
.donate-link:hover, .donate-link:focus-visible { background: #ffda75; color: #111; }
.download-reference .site-footer { padding-top: 3rem; text-align: center; font: .7rem Arial, sans-serif; }
.download-reference .site-footer a { color: #35e8d0; text-decoration: none; }

@media (max-width: 640px) {
  .home, .download-page { width: min(100% - 2rem, 980px); }
  .home-reference { width: 100%; padding-inline: .5rem; }
  .reference-logo img { width: min(300px, 78vw); }
  .reference-content { margin-top: 2.5rem; }
  .reference-actions { gap: .1rem; }
  .enter-site { margin-top: 1.5rem; }
  .site-header { align-items: flex-start; gap: 1rem; }
  .hero, .album { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 3rem 0; }
  .hero > img { max-width: 360px; }
  .download-intro { padding: 3rem 0 2rem; }
  .album { padding: 1rem; }
  .album img { max-width: 250px; }
  .download-reference { width: 100%; padding-inline: 1rem; }
  .download-reference .albums { grid-template-columns: 1fr; gap: 2.5rem; }
  .download-reference .album { grid-template-columns: 180px 1fr; gap: .75rem; }
  .download-reference .album > img { width: 180px; }
  .download-reference .download-intro p { font-size: .7rem; }
}