@font-face {
  font-family: "Bebas Neue";
  src: url("assets/fonts/bebas-neue.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #000;
  --white: #fff;
  --muted: #aaa9a9;
  --line: #747474;
  --accent-pink: #c281aa;
  --accent-pink-light: #d7a8c6;
  --accent-violet: #8d789c;
  --newsletter-button: #9f708f;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  background: var(--white);
  color: var(--black);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  width: min(1200px, calc(100% - 80px));
  margin: 50px auto 72px;
}

.rawtekk-logo {
  width: 100%;
  height: auto;
}

.film {
  width: min(1000px, calc(100% - 80px));
  margin: 0 auto 48px;
}

.video-consent {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #080808;
}

.video-consent > img,
.video-consent iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-consent > img {
  object-fit: cover;
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  width: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.08);
  color: var(--white);
  cursor: pointer;
}

.video-play:hover,
.video-play:focus-visible {
  background: rgba(0, 0, 0, 0.22);
}

.video-play:focus-visible,
.buy-button:focus-visible,
.sample-pack-cover:focus-visible,
.catalogue-link:focus-visible,
.platform-links a:focus-visible,
.legal-link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.play-symbol {
  width: 70px;
  height: 50px;
  border-radius: 13px;
  background: #ff0033;
}

.play-symbol::after {
  display: block;
  width: 0;
  height: 0;
  margin: 13px 0 0 28px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid var(--white);
  content: "";
}

.consent-note {
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.74);
  font-size: 0.76rem;
  letter-spacing: 0;
}

.artist-bio {
  width: min(900px, calc(100% - 80px));
  margin: 0 auto 112px;
  color: #d7d7d7;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  text-align: center;
}

.artist-bio p {
  margin: 0;
}

.artist-bio p + p {
  margin-top: 22px;
}

.artist-bio .artist-bio-lead {
  color: var(--white);
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(2.15rem, 4.5vw, 3.1rem);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.05;
}

.releases {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
}

.releases > h2,
.sample-packs > h2 {
  margin: 0 0 46px;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(2.6rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1;
  text-align: center;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 72px 48px;
}

.release-row {
  display: contents;
}

.release {
  min-width: 0;
  text-align: center;
}

.release img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 0;
  object-fit: contain;
}

.release-cover-link a {
  display: block;
}

.buy-button {
  display: inline-flex;
  min-width: 112px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 10px 18px;
  border: 2px solid #5f5d66;
  border-radius: 11px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.buy-button:hover {
  border-color: var(--white);
  background: #101010;
}

.buy-button span {
  font-size: 1.15rem;
  line-height: 1;
}

.sample-packs {
  width: min(1200px, calc(100% - 80px));
  margin: 120px auto 0;
  text-align: center;
}

.sample-pack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 64px 32px;
}

.sample-pack {
  min-width: 0;
  text-align: center;
}

.sample-pack-cover {
  display: block;
}

.sample-pack img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.sample-pack h3 {
  display: flex;
  min-height: 3.1em;
  align-items: center;
  justify-content: center;
  margin: 15px 0 0;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.45;
}

.sample-pack .buy-button {
  min-width: 98px;
  min-height: 44px;
  margin-top: 13px;
  padding: 8px 16px;
  font-size: 0.92rem;
}

.catalogue-link {
  display: inline-block;
  margin-top: 66px;
  color: var(--accent-pink-light);
  font-size: 0.9rem;
  text-underline-offset: 5px;
}

.newsletter {
  width: min(600px, calc(100% - 48px));
  margin: 82px auto 54px;
}

.newsletter-panel {
  padding: 20px 40px 25px;
  border: 1px solid #695a6d;
  border-radius: 3px;
  text-align: center;
}

.newsletter h2 {
  max-width: 15ch;
  margin: 0 auto 12px;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1;
  color: var(--accent-pink-light);
}

.newsletter [data-form] [eo-block="title"] h1 {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(2.35rem, 5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1;
}

.newsletter p {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
}

.newsletter-panel > p:not(.newsletter-status):not(.newsletter-privacy) {
  color: #baa5c0;
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(140px, 0.82fr);
  gap: 8px;
  margin-top: 16px;
}

.newsletter-form input,
.newsletter-form button {
  min-height: 50px;
  border-radius: 4px;
}

.newsletter-form input {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #e9ecef;
  background: var(--white);
  color: #222;
}

.newsletter-form button {
  border: 1px solid var(--newsletter-button);
  background: var(--newsletter-button);
  color: var(--white);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.newsletter-form button:hover,
.newsletter-form button:focus-visible {
  border-color: var(--accent-pink-light);
  background: #b77a9f;
}

.newsletter-status,
.newsletter .newsletter-privacy {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.newsletter-status:empty {
  display: none;
}

.site-footer {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 56px;
  text-align: center;
}

.platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 34px;
}

.platform-links a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #262626;
  color: #d4d4d4;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.platform-links img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.platform-links .platform-all img {
  filter: invert(1);
}

.platform-links .platform-subvert img {
  filter: invert(1);
}

.platform-links .platform-bandlink img {
  border-radius: 4px;
  filter: grayscale(1);
}

.platform-links a:hover {
  background: var(--newsletter-button);
  transform: translateY(-1px);
}

.legal-link {
  color: var(--muted);
  font-size: 0.82rem;
  text-underline-offset: 4px;
}

.legal-site-header {
  margin-bottom: 70px;
}

.legal-site-header .rawtekk-logo {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content {
  width: min(860px, calc(100% - 64px));
  margin: 0 auto 96px;
  overflow: hidden;
  color: #d7d7d7;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-content h1,
.legal-content h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.05;
}

.legal-content h3 {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

.legal-content h1 {
  margin: 0 0 30px;
  color: var(--accent-pink-light);
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.legal-content h2 {
  margin: 54px 0 18px;
  color: var(--white);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.legal-content h3 {
  margin: 36px 0 14px;
  color: #eee;
  font-size: 1.12rem;
}

.legal-content p,
.legal-content ul {
  margin: 0 0 18px;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content a {
  color: var(--accent-pink-light);
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

.legal-content hr {
  height: 1px;
  margin: 50px 0;
  border: 0;
  background: #292929;
}

.legal-home-link {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--muted);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  text-underline-offset: 4px;
}

.legal-contact {
  font-style: normal;
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 58px);
    margin-top: 49px;
    margin-bottom: 70px;
  }

  .film,
  .artist-bio,
  .releases,
  .sample-packs {
    width: calc(100% - 58px);
  }

  .film {
    margin-bottom: 42px;
  }

  .artist-bio {
    margin-bottom: 86px;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .artist-bio p + p {
    margin-top: 18px;
  }

  .release-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .release-row {
    display: contents;
  }

  .sample-packs {
    margin-top: 90px;
  }

  .sample-pack-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .sample-pack h3 {
    min-height: 0;
  }

  .newsletter {
    margin-top: 72px;
  }

  .newsletter-panel {
    padding: 20px 20px 24px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .platform-links {
    justify-content: center;
  }

  .legal-content {
    width: calc(100% - 42px);
    margin-bottom: 72px;
    font-size: 0.94rem;
  }

  .legal-content h2 {
    margin-top: 42px;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .release-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sample-pack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .consent-note {
    font-size: 0.68rem;
  }

  .play-symbol {
    width: 62px;
    height: 44px;
  }

  .play-symbol::after {
    margin-top: 11px;
    margin-left: 25px;
    border-top-width: 11px;
    border-bottom-width: 11px;
    border-left-width: 17px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
