@font-face {
  font-family: 'Big Shoulders';
  src: url('../fonts/big-shoulders.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

@property --accent {
  syntax: '<color>';
  inherits: true;
  initial-value: #e8e5df;
}

:root {
  --ink: #0a0a0b;
  --paper: #e8e5df;
  --smoke: #7a766e;
  --line: #232326;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --display: 'Big Shoulders', 'Arial Narrow', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--ink);
  color: var(--paper);
  font: 16px/1.6 system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  transition: --accent 0.6s ease;
  --accent: #e8e5df;
}
body[data-album='patillismo'] { --accent: #a962f5; }
body[data-album='alternativa'] { --accent: #d0692c; }
body[data-album='parafernalia'] { --accent: #e8e5df; }
body[data-album='heroina'] { --accent: #ff2d2d; }

/* era wash: a faint breath of the active album's color at the top of the page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(70% 45% at 50% 0%, color-mix(in oklab, var(--accent) 9%, transparent), transparent 75%);
  transition: inherit;
}

a { color: inherit; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero {
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 6rem) 1.5rem 0;
  position: relative;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--smoke);
}

.wordmark {
  margin: 1.5rem 0 0 -0.5rem;
}
.wordmark img {
  width: min(34rem, 88%);
  height: auto;
  display: block;
}

.bio {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: var(--smoke);
  text-wrap: balance;
}

.links {
  display: flex;
  gap: 1.75rem;
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.links a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.links a:hover { border-color: var(--accent); }

.footer {
  max-width: 68rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 8rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--smoke);
}

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