@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
  color-scheme: dark;
  --white: #f7fbff;
  --muted: rgba(235, 244, 248, 0.68);
  --line: rgba(255, 255, 255, 0.24);
  --glass: rgba(4, 10, 13, 0.58);
  --signal: #c9ff3d;
  --electric: #58e7f2;
  --pulse: #ff4fd8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: #05070a;
}

body {
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
}

.hero {
  --pointer-x: 50%;
  --pointer-y: 42%;
  --shift-x: 0px;
  --shift-y: 0px;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(24px, env(safe-area-inset-top)) max(28px, env(safe-area-inset-right)) max(26px, env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left));
  isolation: isolate;
  overflow: hidden;
}

.hero__background,
.hero__shade,
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__background {
  z-index: -2;
  background-image: url("../images/background.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.035) translate3d(var(--shift-x), var(--shift-y), 0);
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
  animation: reveal 1.4s cubic-bezier(.2, .7, .2, 1) both;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 5, 16, 0.62) 0%, transparent 38%, transparent 67%, rgba(8, 5, 16, 0.26) 100%),
    linear-gradient(0deg, rgba(8, 5, 16, 0.7) 0%, transparent 38%, rgba(8, 5, 16, 0.18) 100%);
}

.hero__glow {
  z-index: -1;
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(88, 231, 242, 0.16), transparent 23%);
  mix-blend-mode: screen;
  transition: background-position 400ms ease;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: rise 700ms 250ms both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.18));
  animation: logo-pulse 5s ease-in-out infinite;
}

.site-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.site-meta__links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-link {
  position: relative;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-link::before { margin-right: 7px; color: var(--signal); font-size: 0.52rem; }
.contact-link:nth-child(1)::before { content: "01"; }
.contact-link:nth-child(2)::before { content: "02"; }
.contact-link:nth-child(3)::before { content: "03"; }

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--signal);
  color: var(--signal);
  transform: translateY(-2px);
}

.site-year {
  color: rgba(255, 250, 246, 0.5);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.hero__content {
  align-self: center;
  max-width: 560px;
  margin-top: 3vh;
  animation: rise 850ms 400ms both;
}

h1 {
  position: relative;
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(4.5rem, 11vw, 10rem);
  line-height: 0.82;
  letter-spacing: 0;
  color: transparent;
  background: linear-gradient(105deg, #f7fbff 12%, #9cf7ff 42%, #ffffff 58%, #c9ff3d 82%);
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.28));
  animation: title-charge 4.8s 1.1s ease-in-out infinite;
  transition: filter 500ms ease;
}

.hero-title-trigger {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.hero-title-trigger:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 8px;
}

.hero:hover h1 {
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 28px rgba(88, 231, 242, 0.25));
}

.tagline {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
}

.top-tracks {
  width: min(100%, 420px);
  margin-top: clamp(24px, 4vh, 38px);
  animation: rise 850ms 520ms both;
}

.top-tracks__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.top-tracks__heading h2,
.top-tracks__heading span {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.top-tracks__heading h2 { color: var(--white); }
.top-tracks__heading span { color: rgba(255, 250, 246, 0.45); }
.top-tracks__list { display: grid; gap: 5px; }

.top-track {
  display: grid;
  grid-template-columns: 24px 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 4px 12px 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  background: rgba(13, 8, 20, 0.44);
  color: var(--white);
  text-decoration: none;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.top-track:hover,
.top-track:focus-visible {
  border-color: rgba(201, 255, 61, 0.72);
  background: rgba(4, 16, 19, 0.74);
  transform: translateX(5px);
}

.top-track > img {
  width: 50px;
  height: 50px;
  border-radius: 2px;
  object-fit: cover;
}

.top-track__rank {
  color: var(--signal);
  font-family: "Archivo Black", sans-serif;
  font-size: 0.58rem;
}

.top-track__identity,
.top-track__plays { min-width: 0; }

.top-track__identity strong,
.top-track__identity small,
.top-track__plays b,
.top-track__plays small { display: block; }

.top-track__identity strong {
  overflow: hidden;
  font-family: "Archivo Black", sans-serif;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-track__identity small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.58rem;
}

.top-track__plays { text-align: right; }
.top-track__plays b { font-size: 0.68rem; }
.top-track__plays small { margin-top: 2px; color: rgba(255, 250, 246, 0.46); font-size: 0.5rem; text-transform: uppercase; }

.listen {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  animation: rise 850ms 550ms both;
}

.listen > p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.listen__links {
  display: flex;
  gap: 10px;
}

.platform {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 8px 16px 8px 9px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--white);
  gap: 10px;
  text-decoration: none;
  backdrop-filter: blur(14px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.platform:hover,
.platform:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(4, 16, 19, 0.78);
  transform: translateY(-2px);
}

.platform img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.platform span {
  font-size: 0.86rem;
  font-weight: 600;
}

body.intro-open {
  overflow: hidden;
}

.records-intro {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  visibility: hidden;
  opacity: 0;
  transition: opacity 400ms ease, visibility 400ms;
}

.records-intro.is-open {
  visibility: visible;
  opacity: 1;
}

.records-intro__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(88, 231, 242, 0.14), transparent 25%),
    radial-gradient(circle at 18% 78%, rgba(201, 255, 61, 0.08), transparent 22%),
    rgba(2, 6, 9, 0.97);
  backdrop-filter: blur(20px);
}

.records-intro__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent 99px, rgba(255, 255, 255, 0.09) 100px);
}

.records-intro[data-active-genre="rap"] .records-intro__backdrop {
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 79, 216, 0.18), transparent 30%),
    rgba(4, 5, 9, 0.97);
}

.records-intro[data-active-genre="electronic"] .records-intro__backdrop {
  background:
    radial-gradient(circle at 50% 38%, rgba(65, 217, 223, 0.2), transparent 32%),
    rgba(3, 10, 16, 0.95);
}

.records-intro[data-active-genre="edm"] .records-intro__backdrop {
  background:
    radial-gradient(circle at 50% 38%, rgba(184, 255, 56, 0.18), transparent 32%),
    rgba(5, 7, 9, 0.95);
}

.records-intro__browser {
    width: min(100%, 680px);
    min-height: 0;
    margin: clamp(24px, 4vh, 42px) auto 0;
  }
  .browser-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 18px;
  }
  .browser-steps span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 250, 246, 0.32);
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: border-color 220ms ease, color 220ms ease;
  }
  .browser-steps b { font-family: "Archivo Black", sans-serif; font-weight: 400; }
  .records-intro[data-step="artists"] [data-menu-step="artists"],
  .records-intro[data-step="genres"] [data-menu-step="genres"],
  .records-intro[data-step="releases"] [data-menu-step="releases"] {
    border-color: var(--signal);
    color: var(--white);
  }
  .artist-menu[hidden],
  .genre-menu[hidden],
  .genre-catalog[hidden],
  .genre-card[hidden],
  .records-intro__releases a[hidden] {
    display: none;
  }
  .artist-menu > p,
  .genre-menu__header > p {
    margin: 0 0 14px;
    color: rgba(255, 250, 246, 0.56);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0;
  }
  .records-intro.is-open .artist-menu > p,
  .records-intro.is-open .genre-menu__header > p {
    animation: intro-rise 420ms 260ms both;
  }
  .artist-menu__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .artist-select {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 94px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018));
    color: var(--white);
    text-align: left;
    cursor: pointer;
    opacity: 0;
    transform: translateY(18px);
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
  }
  .records-intro.is-open .artist-select:nth-child(1) { animation: intro-rise 460ms 320ms both; }
  .records-intro.is-open .artist-select:nth-child(2) { animation: intro-rise 460ms 400ms both; }
  .artist-select:hover,
  .artist-select:focus-visible { border-color: var(--signal); background: rgba(201, 255, 61, 0.06); transform: translateY(-4px); }
  .artist-select img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; }
  .artist-select strong,
  .artist-select small { display: block; }
  .artist-select strong { font-family: "Archivo Black", sans-serif; font-size: 1.05rem; }
  .artist-select small { margin-top: 5px; color: rgba(255, 250, 246, 0.5); font-size: 0.54rem; letter-spacing: 0.1em; }
  .artist-select__index { align-self: start; color: var(--signal); font-family: "Archivo Black", sans-serif; font-size: 0.66rem; }
  .genre-menu__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
  .genre-menu__header > p { margin: 0; text-align: right; }
  .genre-menu__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .genre-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-content: space-between;
    min-height: 148px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--white);
    text-align: left;
    cursor: pointer;
    opacity: 0;
    overflow: hidden;
    transform: translateY(18px);
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
  }
  .genre-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: var(--genre-accent);
    transform: scaleX(0.22);
    transform-origin: left;
    transition: transform 220ms ease;
  }
  .genre-card--rap { --genre-accent: var(--pulse); }
  .genre-card--electronic { --genre-accent: var(--electric); }
  .genre-card--edm { --genre-accent: var(--signal); }
  .records-intro.is-open .genre-card:nth-child(1) { animation: intro-rise 460ms 220ms both; }
  .records-intro.is-open .genre-card:nth-child(2) { animation: intro-rise 460ms 300ms both; }
  .records-intro.is-open .genre-card:nth-child(3) { animation: intro-rise 460ms 380ms both; }
  .records-intro.is-open .genre-card:nth-child(4) { animation: intro-rise 460ms 220ms both; }
  .genre-card:hover,
  .genre-card:focus-visible {
    border-color: var(--genre-accent);
    background: rgba(255, 255, 255, 0.075);
    transform: translateY(-4px);
  }
  .genre-card:hover::after,
  .genre-card:focus-visible::after {
    transform: scaleX(1);
  }
  .genre-card__mark {
    grid-column: 1;
    color: var(--genre-accent);
    font-family: "Archivo Black", sans-serif;
    font-size: 2rem;
    line-height: 1;
  }
  .genre-card__copy {
    grid-column: 1;
    align-self: end;
  }
  .genre-card__copy strong,
  .genre-card__copy small {
    display: block;
  }
  .genre-card__copy strong {
    font-family: "Archivo Black", sans-serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
  }
  .genre-card__copy small {
    margin-top: 5px;
    color: rgba(255, 250, 246, 0.5);
    font-size: 0.57rem;
    font-weight: 600;
    letter-spacing: 0.12em;
  }
  .genre-card__arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: var(--genre-accent);
    font-size: 1.1rem;
  }
  .genre-catalog {
    min-height: 0;
  }
  .genre-catalog__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    opacity: 0;
  }
  .genre-catalog.is-active .genre-catalog__header {
    animation: intro-rise 420ms both;
  }
  .genre-catalog__back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: rgba(255, 250, 246, 0.62);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .genre-catalog__back:hover,
  .genre-catalog__back:focus-visible {
    color: var(--white);
  }
  .genre-catalog__identity {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: right;
  }
  .genre-catalog__mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--signal);
    color: var(--signal);
    font-family: "Archivo Black", sans-serif;
    font-size: 0.72rem;
    line-height: 1;
  }
  .genre-catalog__identity p {
    margin: 0 0 2px;
    color: rgba(255, 250, 246, 0.48);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.15em;
  }
  .genre-catalog__identity h3 {
    margin: 0;
    font-family: "Archivo Black", sans-serif;
    font-size: clamp(1.25rem, 4vw, 1.8rem);
    letter-spacing: 0;
  }

.records-intro__close {
  position: absolute;
  z-index: 2;
  top: max(22px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.22);
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
}

.records-intro.is-open .records-intro__close {
  animation: intro-fade 360ms 240ms both;
}

.records-intro__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(520px, 1.32fr);
  grid-template-rows: auto auto 1fr;
  align-items: end;
  column-gap: clamp(50px, 8vw, 130px);
  width: min(100%, 1180px);
  max-height: calc(100svh - 48px);
  text-align: left;
}

.records-intro__logo {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  justify-self: start;
  width: clamp(88px, 12vw, 128px);
  height: clamp(88px, 12vw, 128px);
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 0 35px rgba(88, 231, 242, 0.28));
}

.records-intro.is-open .records-intro__logo {
  animation: records-logo 720ms cubic-bezier(.16, .8, .24, 1) both;
}

.records-intro__welcome {
  grid-column: 1;
  grid-row: 2;
  margin: 16px 0 8px;
  color: var(--signal);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
}

.records-intro.is-open .records-intro__welcome {
  animation: intro-rise 420ms 120ms both;
}

.records-intro h2 {
  grid-column: 1;
  grid-row: 3;
  align-self: start;
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.7rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: 0;
  opacity: 0;
}

.records-intro h2 span {
  display: block;
  color: rgba(255, 250, 246, 0.5);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.2em;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.records-intro.is-open h2 {
  animation: intro-rise 650ms 220ms both;
}

.records-intro__browser {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  width: 100%;
  margin: 0;
}

.artist-select {
  position: relative;
  min-height: 132px;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  border-radius: 0;
  background: linear-gradient(125deg, rgba(88, 231, 242, 0.06), rgba(255, 255, 255, 0.018));
  overflow: hidden;
}

.artist-select::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(201, 255, 61, 0.28);
  transform: rotate(45deg);
  transition: transform 300ms ease, border-color 300ms ease;
}

.artist-select:hover::after,
.artist-select:focus-visible::after { border-color: var(--signal); transform: rotate(135deg); }
.artist-select img { width: 96px; height: 96px; border-radius: 0; filter: grayscale(0.32); }
.artist-select:hover img,
.artist-select:focus-visible img { filter: grayscale(0); }

.genre-menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.genre-card { min-height: 174px; border-radius: 0; }
.genre-card__mark { font-size: clamp(2.4rem, 5vw, 4.4rem); opacity: 0.32; transition: opacity 220ms ease, transform 320ms ease; }
.genre-card:hover .genre-card__mark,
.genre-card:focus-visible .genre-card__mark { opacity: 1; transform: translateX(6px); }

.records-intro__releases {
  display: grid;
  min-height: 0;
  max-width: 620px;
  width: 100%;
  margin: 16px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(201, 255, 61, 0.75) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.records-intro__releases a {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  min-height: 62px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--muted);
  text-align: left;
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  transition: background 180ms ease, color 180ms ease, padding 180ms ease;
}

.genre-catalog.is-active .records-intro__releases a:not([hidden]) {
  animation: intro-rise 450ms calc(100ms + var(--item-index) * 90ms) both;
}

.records-intro__releases a:hover,
.records-intro__releases a:focus-visible {
  padding-left: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.records-intro__releases strong {
  display: block;
  color: var(--white);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.records-intro__release {
  min-width: 0;
}

.records-intro__release small {
  display: block;
  margin-top: 3px;
  color: var(--signal);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.records-intro__number,
.records-intro__releases a > span:last-child {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

.logo-mark {
  --mark-size: 24px;
  --mark-rotation: 0deg;
  position: fixed;
  z-index: 4;
  left: 0;
  top: 0;
  width: var(--mark-size);
  height: var(--mark-size);
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.72)) drop-shadow(0 0 24px rgba(88, 231, 242, 0.38));
  transform: translate(-50%, -50%) rotate(var(--mark-rotation)) scale(0.45);
  animation: logo-trail 1.9s cubic-bezier(.16, .8, .3, 1) forwards;
}

@keyframes reveal {
  from { opacity: 0; filter: saturate(0.72) brightness(0.72); }
  to { opacity: 1; filter: saturate(1) brightness(1); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes logo-pulse {
  0%, 100% { opacity: 0.9; filter: drop-shadow(0 0 10px rgba(88, 231, 242, 0.16)); }
  50% { opacity: 1; filter: drop-shadow(0 0 22px rgba(201, 255, 61, 0.34)); }
}

@keyframes title-charge {
  0%, 100% { background-position: 100% 50%; }
  50% { background-position: 0 50%; }
}

@keyframes logo-trail {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--mark-rotation)) scale(0.4); }
  16%, 48% { opacity: 0.62; }
  100% { opacity: 0; transform: translate(-50%, -82%) rotate(calc(var(--mark-rotation) + 18deg)) scale(1.12); }
}

@keyframes records-logo {
  0% { opacity: 0; transform: scale(0.35) rotate(-24deg); filter: blur(8px) drop-shadow(0 0 0 transparent); }
  55% { opacity: 1; transform: scale(1.12) rotate(4deg); filter: blur(0) drop-shadow(0 0 45px rgba(88, 231, 242, 0.48)); }
  100% { opacity: 1; transform: scale(1) rotate(0); filter: blur(0) drop-shadow(0 0 28px rgba(201, 255, 61, 0.24)); }
}

@keyframes intro-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes intro-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 700px) and (orientation: portrait) {
  .hero {
    padding: max(20px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  }

  .site-meta__links { gap: 12px; }
  .contact-link { font-size: 0.72rem; }

  .hero__background {
    background-position: 50% center;
    transform: scale(1.035);
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(8, 5, 16, 0.82) 0%, transparent 42%),
      linear-gradient(180deg, rgba(8, 5, 16, 0.48) 0%, transparent 28%);
  }

  .hero__content {
    align-self: end;
    margin: 0 0 15vh;
  }

  h1 {
    font-size: clamp(4.1rem, 23vw, 7rem);
  }

  .top-tracks { margin-top: 20px; }
  .top-track { grid-template-columns: 20px 46px minmax(0, 1fr) auto; min-height: 54px; gap: 9px; }
  .top-track > img { width: 46px; height: 46px; }

  .records-intro__content {
    display: flex;
    flex-direction: column;
    width: min(100%, 760px);
    text-align: center;
  }

  .records-intro__logo { align-self: center; }
  .records-intro__browser { width: 100%; margin: 22px auto 0; }

  .artist-menu__grid { grid-template-columns: 1fr; }
  .artist-select { min-height: 82px; grid-template-columns: 58px minmax(0, 1fr) auto; }
  .artist-select img { width: 58px; height: 58px; }

  .listen {
    display: block;
  }

  .listen__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .platform {
    flex-direction: column;
    justify-content: center;
    min-height: 72px;
    min-width: 0;
    padding: 8px 4px;
    gap: 4px;
  }

  .platform img {
    width: 30px;
    height: 30px;
  }

  .platform span {
    font-size: 0.72rem;
  }
  .genre-menu__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .genre-card {
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    min-height: 72px;
    padding: 12px 14px;
  }
  .genre-card__mark,
  .genre-card__copy,
  .genre-card__arrow {
    grid-column: auto;
    grid-row: auto;
  }
  .genre-card__mark { font-size: 1.1rem; }
  .genre-card__copy { align-self: center; }
  .genre-card__copy strong { font-size: 1rem; }
}

@media (max-height: 620px) and (orientation: landscape) {
  .hero {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero__content {
    margin-top: 0;
  }

  .tagline {
    margin-top: 10px;
  }

  .platform {
    min-height: 46px;
  }

  .platform img {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .logo-mark,
  .hero__glow {
    display: none;
  }
}