/* =====================================================================
   Forever House Records
   Colors and type come straight from the label's logo:
   black and white bars, a sunset orange sun and pink horizon stripes.
   ===================================================================== */

:root {
  --black: #000000;
  --white: #ffffff;
  --sun: #ef4522;
  --pink: #ef5ba1;
  --ash: #a3a3a3;
  --line: #2b2b2b;
  --panel: #141414;

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;

  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --step-3: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  --step-4: clamp(3.6rem, 2rem + 8vw, 8.5rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid var(--white);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  font: 700 1rem/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }

.btn-sun { background: var(--sun); border-color: var(--sun); color: var(--black); }
.btn-sun:hover { background: var(--white); border-color: var(--white); }

.btn-quiet { border-color: transparent; color: var(--ash); padding-inline: 12px; }
.btn-quiet:hover { background: transparent; color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; }
.brand-name {
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav > ul:first-child { display: flex; gap: 28px; }
.site-nav a {
  font-weight: 600;
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}
.site-nav > ul:first-child a:hover,
.site-nav > ul:first-child a[aria-current="true"] { border-bottom-color: var(--sun); }

@media (min-width: 861px) and (max-width: 1100px) {
  .site-nav .nav-social { display: none; }
}

.nav-social { display: flex; gap: 6px; }
.nav-social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  transition: background-color .15s;
}
.nav-social a:hover { background: var(--panel); }
.nav-social svg { width: 18px; height: 18px; fill: currentColor; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 24px; height: 2px;
  margin-inline: auto;
  background: currentColor;
  transition: transform .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px var(--gutter) 28px;
    background: var(--black);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > ul:first-child { flex-direction: column; gap: 4px; width: 100%; }
  .site-nav > ul:first-child a {
    display: block;
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 400;
    text-transform: uppercase;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 8vw, 112px);
}
/* Low sunset glow from the label artwork, behind the cover */
.hero::before {
  content: "";
  position: absolute;
  right: -10%;
  top: 50%;
  width: min(900px, 80vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 69, 34, .28) 0%, rgba(239, 91, 161, .10) 40%, transparent 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.hero-kicker { color: var(--sun); font-weight: 700; font-size: var(--step-1); }
.hero-title {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--step-4);
  line-height: .92;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.hero-sub { margin-top: 20px; color: var(--ash); font-size: var(--step-1); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; }

.hero-title.is-long { font-size: clamp(2.8rem, 1.6rem + 5vw, 6.25rem); }
.hero-version {
  display: block;
  margin-top: .35em;
  color: var(--ash);
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(1.1rem, .9rem + 1vw, 1.6rem);
  line-height: 1.2;
  text-transform: none;
}

.hero-cover-button {
  position: relative;
  display: block;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  cursor: pointer;
  animation: rise 1s cubic-bezier(.2, .7, .1, 1) both;
}
.hero-cover-button img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06);
}
.hero-cover-button:focus-visible { outline-offset: 6px; }
@keyframes rise {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* Round play button that sits on a cover */
.play-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .55);
  transition: transform .15s ease, opacity .15s ease, background-color .15s;
}
.play-badge svg { width: 30px; height: 30px; fill: var(--black); }
.hero-cover-button:hover .play-badge { transform: scale(1.07); background: var(--white); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cover { order: -1; }
  .hero-cover-button { max-width: 420px; margin-left: 0; }
  .play-badge { width: 60px; height: 60px; left: 14px; bottom: 14px; }
}

/* ---------- Sleeves (generated cover art in the label's style) ---------- */

.sleeve {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: 2px;
  container-type: inline-size;
}
.sleeve img { width: 100%; height: 100%; object-fit: cover; }

.sleeve-sun {
  position: absolute;
  left: 50%;
  top: var(--sun-top, 14%);
  width: var(--sun-size, 66%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, var(--sun) 0 52%, var(--pink) 100%);
}
/* Horizon stripes cut across the lower half of the sun, getting thicker */
.sleeve-sun::after {
  content: "";
  position: absolute;
  inset: 52% 0 0 0;
  background:
    linear-gradient(var(--black) 0 0) 0 8%  / 100% 3% no-repeat,
    linear-gradient(var(--black) 0 0) 0 26% / 100% 5% no-repeat,
    linear-gradient(var(--black) 0 0) 0 46% / 100% 7% no-repeat,
    linear-gradient(var(--black) 0 0) 0 67% / 100% 9% no-repeat,
    linear-gradient(var(--black) 0 0) 0 90% / 100% 12% no-repeat;
}
.sleeve-title {
  position: absolute;
  left: 7%; right: 7%; bottom: 7%;
  padding: .12em .2em .04em;
  background: var(--white);
  color: var(--black);
  font-family: var(--display);
  font-size: clamp(.7rem, 11cqi, 2.4rem);
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

/* ---------- Section titles ---------- */

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1;
  text-transform: uppercase;
}

/* ---------- Platform tiles (in the Saxons section) ---------- */

.platform-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 32px;
}
.platform-list a {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  text-decoration: none;
  transition: border-color .15s, background-color .15s;
}
.platform-list a:hover { border-color: var(--white); background: #1c1c1c; }
.platform-list svg { grid-row: span 2; width: 30px; height: 30px; fill: currentColor; }
.platform-name { font-weight: 700; }
.platform-action { color: var(--ash); font-size: .9rem; }
.platform-list a:hover .platform-action { color: var(--white); }

.platform-list [data-brand="spotify"] svg { fill: #1ed760; }
.platform-list [data-brand="apple"] svg { fill: #fa2d48; }
.platform-list [data-brand="soundcloud"] svg { fill: #ff5500; }

@media (min-width: 700px) {
  .release-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}
@media (max-width: 420px) { .platform-list { grid-template-columns: 1fr; } }

/* ---------- Releases ---------- */

.releases { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 8px 24px;
}
.section-note { margin-top: 12px; color: var(--ash); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #d4d4d4;
  font: 600 .95rem/1 var(--body);
  cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
.filters button span { margin-left: 4px; color: var(--ash); font-weight: 500; }
.filters button:hover { border-color: var(--white); color: var(--white); }
.filters button[aria-pressed="true"] { border-color: var(--white); background: var(--white); color: var(--black); }
.filters button[aria-pressed="true"] span { color: #555; }
@media (max-width: 480px) {
  .filters { gap: 6px; }
  .filters button { min-height: 40px; padding: 8px 12px; font-size: .9rem; }
}

.noscript { margin-top: 24px; color: var(--ash); }

.release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-top: 36px;
}

.release {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.release-art { transition: transform .2s ease; }
.release:hover .release-art { transform: translateY(-4px); }
.release-text { display: block; }
.release-title { display: block; font-weight: 700; font-size: 1.1rem; line-height: 1.3; }

.play-badge--small {
  left: 10px;
  bottom: 10px;
  width: 46px;
  height: 46px;
  opacity: 0;
  transform: translateY(6px);
}
.play-badge--small svg { width: 22px; height: 22px; }
.release:hover .play-badge--small,
.release:focus-visible .play-badge--small { opacity: 1; transform: none; }
@media (hover: none) {
  .play-badge--small { opacity: 1; transform: none; width: 38px; height: 38px; left: 8px; bottom: 8px; }
  .play-badge--small svg { width: 18px; height: 18px; }
}
.release-meta { display: block; color: var(--ash); font-size: .95rem; }

.release-grid li[hidden] { display: none; }
.release-art { position: relative; display: block; }
.release-new {
  position: absolute;
  top: 10px; left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--black);
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.2;
}

.releases-more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(36px, 5vw, 56px);
}
.releases-more .btn[hidden] { display: none; }

/* ---------- Listen ---------- */

.listen {
  padding-block: clamp(48px, 7vw, 96px);
  background: var(--panel);
  border-top: 1px solid var(--line);
}
.listen-inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.listen-copy p { max-width: 36ch; margin-top: 16px; color: var(--ash); font-size: var(--step-1); line-height: 1.5; }

.quick-list { display: grid; gap: 8px; padding: 0; list-style: none; }
.quick-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 14px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--black);
  transition: border-color .15s;
}
.quick-item[data-state="playing"],
.quick-item[data-state="loading"] { border-color: var(--sun); }
.quick-cover img { display: block; width: 56px; height: 56px; border-radius: 3px; }
.quick-title { display: block; font-weight: 700; line-height: 1.3; }
.quick-meta { display: block; color: var(--ash); font-size: .9rem; }
.quick-stream {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .15s;
}
.quick-stream:hover { border-color: var(--white); }
.quick-stream svg { width: 18px; height: 18px; fill: #1ed760; flex: none; }
.quick-track { position: absolute; left: 10px; right: 10px; bottom: 5px; height: 3px; margin: 0; }

@media (max-width: 860px) {
  .listen-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .quick-item { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
  .quick-cover { display: none; }
  .quick-stream { padding: 8px 12px; }
}

/* ---------- Preview player (popup + Listen list) ---------- */

.snippet {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1d1d1d;
}
.snippet[hidden] { display: none; }
.snippet-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--sun);
  cursor: pointer;
  transition: background-color .15s, transform .15s;
}
.snippet-btn:hover { background: var(--white); transform: scale(1.05); }
.snippet-btn svg { width: 24px; height: 24px; fill: var(--black); }
.snippet-btn--small { width: 44px; height: 44px; }
.snippet-btn--small svg { width: 20px; height: 20px; }
[data-state="loading"] .snippet-btn { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.snippet-info { flex: 1; min-width: 0; }
.snippet-label { font-weight: 700; font-size: .95rem; }
.snippet-track {
  display: block;
  height: 4px;
  margin-top: 10px;
  border-radius: 2px;
  background: #3a3a3a;
  overflow: hidden;
}
.snippet-bar {
  display: block;
  height: 100%;
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- Artist ---------- */

.artist { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.artist-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.artist-photo { margin: 0; }
.artist-photo img { width: 100%; border-radius: var(--radius); }
.artist-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
  line-height: .9;
  text-transform: uppercase;
}
.artist-copy p {
  max-width: 46ch;
  margin-top: 20px;
  color: var(--ash);
  font-size: var(--step-1);
  line-height: 1.55;
}
.artist-copy p:first-of-type { color: var(--white); }

@media (max-width: 760px) { .artist-inner { grid-template-columns: 1fr; } }

/* ---------- Label + contact ---------- */

.label { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.label-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}
.label-about { display: flex; align-items: flex-start; gap: clamp(20px, 3vw, 36px); }
.label-about img { width: clamp(120px, 16vw, 220px); flex: none; border-radius: var(--radius); }
.label-about p { max-width: 46ch; margin-top: 16px; color: var(--ash); font-size: 1.05rem; }


.contact-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--sun);
  color: var(--black);
  container-type: inline-size;
}
.contact-actions { display: grid; gap: 22px; margin-top: 22px; }

.contact-email {
  display: block;
  font-family: var(--body);
  font-weight: 800;
  font-size: clamp(1.1rem, 7.4cqi, 2.3rem);
  white-space: nowrap;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.contact-email:hover { text-decoration-color: var(--white); }

.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-row .btn { justify-content: center; white-space: nowrap; }

.contact-card .btn { border-color: var(--black); color: var(--black); }
.contact-card .btn:hover { background: var(--black); color: var(--white); }
.contact-card .btn-solid { background: var(--black); color: var(--white); }
.contact-card .btn-solid:hover { background: var(--white); border-color: var(--white); color: var(--black); }

.contact-social {
  display: grid;
  grid-template-columns: 1fr;
  padding-top: 6px;
  border-top: 2px solid rgba(0, 0, 0, .25);
}
.contact-social a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
}
.contact-social a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.contact-social svg { width: 20px; height: 20px; fill: currentColor; flex: none; }

@container (max-width: 300px) {
  .contact-row { grid-template-columns: 1fr; }
}
.contact-card :focus-visible { outline-color: var(--black); }

@media (max-width: 1080px) {
  .label-inner { grid-template-columns: 1fr; }
  .contact-card { max-width: 640px; }
}
@media (max-width: 480px) {
  .label-about { flex-direction: column; }
}

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  align-items: start;
  gap: 32px;
  padding-block: 48px 40px;
}
.footer-brand { display: grid; gap: 14px; justify-items: start; }
.site-footer .brand img { width: 40px; height: 40px; }
.site-footer .brand-name { font-size: 1.15rem; }
.footer-email { color: var(--ash); text-decoration: none; }
.footer-email:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--ash); text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-base p {
  padding-block: 20px 28px;
  border-top: 1px solid var(--line);
  color: var(--ash);
  font-size: .9rem;
}

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Listen dialog ---------- */

.listen-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--white);
}
.listen-dialog::backdrop { background: rgba(0, 0, 0, .78); }
.listen-dialog[open] { animation: dialog-in .2s ease-out; }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.dialog-inner { position: relative; padding: 28px; }
.dialog-close {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 1;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.dialog-close:hover { background: #262626; }

.dialog-head {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 20px;
  padding-right: 40px;
}
.dialog-head:focus { outline: none; }
.dialog-meta { color: var(--ash); font-size: .95rem; }
.dialog-title {
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--step-2);
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.dialog-version {
  display: block;
  margin-top: 6px;
  color: var(--ash);
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  text-transform: none;
}
.dialog-artist { margin-top: 6px; font-weight: 600; }


.dialog-label { margin-top: 22px; color: var(--ash); font-size: .9rem; font-weight: 600; }
.dialog-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.dialog-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--black);
  font-weight: 700;
  text-decoration: none;
  transition: border-color .15s;
}
.dialog-links a:hover { border-color: var(--white); }
.dialog-links svg { width: 22px; height: 22px; fill: currentColor; flex: none; }

.dialog-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 14px; margin-left: -12px; }
.dialog-foot .btn { min-height: 44px; }
.dialog-foot .btn svg { width: 18px; height: 18px; }
.dialog-status { color: var(--ash); font-size: .9rem; overflow-wrap: anywhere; }

@media (max-width: 520px) {
  .dialog-inner { padding: 20px; }
  .dialog-head { grid-template-columns: 88px 1fr; gap: 16px; }
  .dialog-links a { gap: 10px; padding: 10px 12px; font-size: .95rem; }
}
@media (max-width: 440px) {
  .dialog-links { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
