/* Week 04, Set 1: Analog. A record shop after closing: walnut dark, cream paper, one burnt-orange lamp.
   Shared by the album, progress and volume prototypes. */
:root {
  --walnut: #17130f;     /* the page */
  --shelf: #211b15;      /* raised surfaces */
  --line: #3a3129;       /* rails and hairlines */
  --cream: #f1e7d3;      /* ink and fill */
  --dust: #9c8f7c;       /* quiet text */
  --lamp: #e86a33;       /* the one accent */

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;

  --title-size: 18px; --title-line: 22px; --title-weight: 500;
  --meta-size: 12px;  --meta-line: 16px;
  --time-size: 11px;  --time-line: 14px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--walnut); color: var(--cream); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
.stage { min-height: 100vh; display: grid; place-items: center; padding: 16px; user-select: none; -webkit-user-select: none; overflow: hidden; }
[role="slider"] { touch-action: none; outline: none; }
[role="slider"]:focus-visible { box-shadow: 0 0 0 2px var(--walnut), 0 0 0 4px var(--lamp); border-radius: 6px; }
.title { font: var(--title-weight) var(--title-size)/var(--title-line) var(--serif); margin: 0; letter-spacing: -.005em; }
.meta { font: 400 var(--meta-size)/var(--meta-line) var(--sans); color: var(--dust); margin: 0; }
.time { font: 400 var(--time-size)/var(--time-line) var(--mono); color: var(--dust); font-variant-numeric: tabular-nums; }

/* Spec, below the fold */
.spec { max-width: 620px; margin: 0 auto; padding: 32px 20px 64px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.spec h2 { font: 500 20px/1.2 var(--serif); margin: 0 0 6px; }
.spec h3 { font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dust); margin: 24px 0 8px; }
.spec p { color: var(--dust); margin: 0 0 8px; }
.spec table { width: 100%; border-collapse: collapse; }
.spec td { padding: 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec td:first-child { width: 42%; color: var(--dust); padding-right: 12px; }
.spec .swatch { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.back-pill { position: fixed; left: 12px; bottom: 12px; font: 12px/1 var(--sans); color: var(--cream); background: rgba(255,255,255,.1); padding: 8px 12px; border-radius: 999px; text-decoration: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; } }
