:root {
  color-scheme: dark;
  --background: #0d0a10;
  --panel: #15101a;
  --text: #fbf8ff;
  --muted: #bfb5c7;
  --accent: #d6abff;
  --line: #36283f;
  --display: "Arial Black", Arial, sans-serif;
  --body: system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--body); }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[id] { scroll-margin-top: 1.5rem; }

.container { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.skip-link {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 2;
  padding: .75rem 1rem;
  background: var(--text);
  color: var(--background);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.site-header { background: #0d0a10; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.header-inner { min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand > span { font-size: 1rem; font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: .055em; }
.brand-subtitle { display: block; margin-top: .3rem; color: var(--muted); font-size: .59rem; letter-spacing: .29em; }
.site-header nav { display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 2.6rem); }
.site-header nav a, .site-footer a {
  padding-block: .75rem;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 650;
  text-decoration: none;
}
.site-header nav a:hover, .site-footer a:hover { color: var(--text); }

.hero {
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background: #110b1b url("./assets/vinyl-hero.webp") center right / cover no-repeat;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #0c0913 0%, #0c0913e8 17%, #0c09137a 46%, transparent 70%);
  content: "";
}
.hero-inner { display: flex; align-items: center; min-height: clamp(29rem, 40vw, 36rem); padding-block: 4rem; }
.hero h1 {
  width: max-content;
  max-width: 100%;
  font-family: var(--display);
  font-size: clamp(4rem, 8.2vw, 7.5rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
.hero h1 span { display: block; color: var(--accent); }
.hero p { max-width: 47ch; margin-top: 1.65rem; color: #e0d6e8; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.6; }
.artist-name { white-space: nowrap; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
  margin-top: 1.85rem;
  padding: .9rem 1.2rem;
  background: var(--accent);
  color: #180d24;
  font-size: .87rem;
  font-weight: 750;
  text-decoration: none;
  transition: background-color .18s ease;
}
.button:hover { background: #e9cfff; }
.button span { font-size: 1.05rem; }

.artists { padding-block: clamp(2.75rem, 4vw, 4rem) clamp(3rem, 6vw, 5.25rem); }
.section-title { display: flex; align-items: center; gap: 1.65rem; margin-bottom: 1.5rem; }
.section-title::after { flex: 1; height: 1px; background: var(--line); content: ""; }
.section-title h2, .label h2, .contact h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.3vw, 2.85rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.artist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.4rem); }
.artist { --artist-accent: #d6abff; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); }
.artist-rock { --artist-accent: #ffa39a; }
.artist-country { --artist-accent: #f0c688; }
.artist-image { overflow: hidden; aspect-ratio: 3 / 2; background: #18111f; }
.artist-image img { width: 100%; height: 100%; object-fit: cover; }
#wraithm .artist-image img { object-position: 50% 33%; }
.artist-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(1rem, 2.2vw, 1.55rem); border-top: 2px solid var(--artist-accent); }
.artist-content .genre { color: var(--artist-accent); font-size: .71rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.artist h3 { margin-block: .42rem .6rem; font-size: clamp(1.35rem, 2.45vw, 2.1rem); font-weight: 840; line-height: 1.08; letter-spacing: -.045em; }
.artist-content p, .label p { color: var(--muted); line-height: 1.65; }
.artist-content p { font-size: .95rem; }
.listen-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--artist-accent);
  font-size: .85rem;
  font-weight: 700;
  text-underline-offset: .24em;
  text-decoration-color: transparent;
}
.listen-link:hover { text-decoration-color: currentColor; }

.label { border-block: 1px solid var(--line); background: radial-gradient(ellipse at 12% 15%, #20112c, #130e18 65%); }
.label-inner { display: flex; align-items: center; gap: clamp(1.25rem, 4.5vw, 4rem); padding-block: clamp(2rem, 5vw, 4rem); }
.label-inner img { flex: 0 0 auto; width: clamp(3.6rem, 8vw, 5.5rem); height: auto; }
.label h2, .contact h2 { font-size: clamp(1.45rem, 2.7vw, 2.3rem); }
.label p { max-width: 62ch; margin-top: .65rem; }
.contact { padding-block: clamp(2rem, 5vw, 4rem); }
.contact-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1rem;
  font-style: normal;
  line-height: 1.65;
}
.contact-role { color: var(--muted); }
.contact-details a { color: var(--accent); text-underline-offset: .24em; overflow-wrap: anywhere; }
.contact-details a:hover { color: var(--text); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 5rem; color: var(--muted); }

@media (max-width: 780px) {
  .container { width: calc(100% - 3rem); }
  .hero h1 { font-size: clamp(3.4rem, 11vw, 5.4rem); }
  .hero::before { background: linear-gradient(90deg, #0c0913ed, #0c0913ab 40%, #0c091326 100%); }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.25rem; }
  .hero { background-position: 73% center; }
  .hero::before { background: linear-gradient(90deg, #0c0913e8, #0c09139c 57%, #0c091340); }
  .hero-inner { min-height: 28rem; padding-block: 3.25rem; }
  .hero h1 { font-size: clamp(3.1rem, 12.8vw, 4.5rem); }
  .hero p { max-width: 33ch; }
  .artist-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .artist-content { padding: 1.2rem; }
  .artist h3 { font-size: 1.85rem; }
  .label-inner { align-items: flex-start; }
}

@media (max-width: 420px) {
  .header-inner { flex-wrap: wrap; gap: .1rem 1rem; padding-block: .75rem .25rem; }
  .site-header nav { flex-basis: 100%; flex-wrap: wrap; gap: 0 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
