@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../assets/fonts/dmsans/DMSans[opsz,wght].ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../assets/fonts/dmsans/DMSans-Italic[opsz,wght].ttf") format("truetype");
}

:root {
  color-scheme: light;
  --ink: #000;
  --paper: #fff;
  --field: #e6e6e6;
  --rule: #000;
  --muted: #5c5c5c;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
}

body {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  font-optical-sizing: auto;
}

strong {
  font-weight: 700;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  display: block;
  padding: 12px 16px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: 2px solid var(--ink);
  outline-offset: -4px;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 28px;
  padding: 12px 16px;
  background: #f7f7f7;
  border-bottom: 1px solid var(--rule);
}

.mark {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.mark img {
  display: block;
  width: 84px;
  height: auto;
  aspect-ratio: 1600 / 1425;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px 28px;
  margin-left: auto;
  font-size: 40px;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.primary-nav a,
.nav-static {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
}

.nav-word {
  white-space: nowrap;
}

.nav-static {
  color: var(--muted);
  cursor: default;
}

.nav-note {
  color: var(--ink);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0a0a0a;
  color: var(--paper);
  aspect-ratio: 1824 / 848;
  max-height: 84vh;
  min-height: 420px;
  display: grid;
  align-items: end;
}

.hero-poster,
.hero-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-poster {
  z-index: 0;
  background: #0a0a0a url("../assets/hero/big-cheke-poster-wide.jpg") center / cover no-repeat;
}

.hero-film {
  z-index: 1;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero[data-film="on"] .hero-film {
  opacity: 1;
}

.hero-grade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.12) 0%, rgba(10, 10, 10, 0) 35%, rgba(10, 10, 10, 0.78) 100%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: 24px 16px 28px;
  max-width: 60rem;
}

.hero-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero-title {
  margin: 0;
  font-size: clamp(48px, 7.5vw, 112px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.hero-credits {
  margin: 14px 0 0;
  max-width: 40rem;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.4;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--paper);
}

.hero-btn-fill {
  background: var(--paper);
  color: var(--ink);
}

.hero-btn-fill:hover {
  background: #e6e6e6;
}

.hero-btn-line {
  color: var(--paper);
  background: rgba(10, 10, 10, 0.25);
}

.hero-btn-line:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-btn:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.about-logo {
  margin: 0 0 20px;
  line-height: 0;
}

.about-logo img {
  display: block;
  mix-blend-mode: multiply;
  width: min(300px, 70vw);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.about-copy {
  max-width: 40rem;
  font-size: 18px;
  line-height: 1.45;
}

.about-copy p {
  margin: 0;
  overflow-wrap: anywhere;
}

.about-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

.about-column,
.release-carousel,
.release-copy,
.release-art {
  min-width: 0;
}

.release-carousel {
  position: relative;
  margin: 0;
}

.release-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}

.release-kicker {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-count {
  margin-left: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.release-art a {
  display: block;
  line-height: 0;
}

.release-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.release-controls button {
  font-family: inherit;
  font-size: 22px;
  line-height: 1;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
  cursor: pointer;
}

.release-controls button:focus,
.release-carousel:focus {
  outline: none;
}

.release-controls button:focus-visible,
.release-carousel:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.release-frame {
  touch-action: pan-y;
}

.release-body {
  display: grid;
  gap: 20px;
  align-items: start;
}

.release-title {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 56px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.release-artist {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.release-listen {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-underline-offset: 4px;
}

.release-art {
  aspect-ratio: 1;
  background: var(--paper);
  border: 1px solid var(--rule);
}

.release-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.release-live {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.band {
  padding: 40px 16px 8px;
}

.band h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.videos,
.social,
.catalog {
  margin: 0;
  padding: 0;
  list-style: none;
}

.videos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 16px;
}

.card a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.still {
  width: 100%;
  background: #000;
  border: 1px solid var(--rule);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.still img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-title {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.card-meta {
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.social {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.social li,
.social a {
  min-width: 0;
}

.social a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 120px;
  padding: 24px 20px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.social svg {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.follow {
  padding-bottom: 64px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 20px 16px 28px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.catalog-page {
  padding: 36px 16px 72px;
}

.catalog-heading {
  margin: 0 0 32px;
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.88;
}

.catalog {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px 20px;
}

.catalog li,
.catalog a {
  min-width: 0;
}

.catalog a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.catalog-art {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: var(--paper);
  border: 1px solid var(--rule);
  line-height: 0;
}

.catalog-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.catalog-title {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.catalog-artist {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.catalog-listen {
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.catalog a:hover .catalog-art img {
  opacity: 0.62;
}

.catalog a:hover .catalog-title,
.catalog a:focus-visible .catalog-title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

a:hover .card-title,
.primary-nav a:hover .nav-word,
.social a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

a:focus {
  outline: none;
}

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

@media (min-width: 800px) {
  .catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 24px;
  }
}

@media (min-width: 1200px) {
  .about-layout {
    grid-template-columns: minmax(0, 34rem) minmax(0, 1fr);
    gap: 48px;
  }

  .release-body {
    grid-template-columns: minmax(240px, 0.95fr) minmax(280px, 1fr);
    align-items: center;
    gap: 28px;
  }
}

@media (min-width: 1100px) {
  .videos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px 28px;
  }
}

@media (max-aspect-ratio: 4/5) {
  .hero {
    aspect-ratio: auto;
    height: 88svh;
    max-height: none;
    min-height: 520px;
  }

  .hero-poster {
    background-image: url("../assets/hero/big-cheke-poster-tall.jpg");
  }
}

@media (max-width: 899px) {
  .hero-copy {
    padding-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btn {
    justify-content: center;
  }

  .site-header {
    align-items: center;
  }

  .mark img {
    width: 64px;
  }

  .primary-nav {
    font-size: 26px;
    gap: 12px 20px;
    align-items: center;
  }

  .social a {
    gap: 8px;
    padding: 16px 12px;
    font-size: 20px;
  }
}

@media (max-width: 359px) {
  .social {
    grid-template-columns: 1fr;
  }

  .primary-nav {
    font-size: 22px;
    gap: 10px 14px;
  }

  .social a {
    font-size: 32px;
    min-height: 96px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
