/* Base */

@font-face {
  font-family: "Alte Haas Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/altehaasgrotesk/AlteHaasGroteskBold.woff") format("woff");
}

@font-face {
  font-family: "Source Code Pro";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/sourcecodepro/source-code-pro-v22-latin-300.woff2") format("woff2"),
    url("../fonts/sourcecodepro/source-code-pro-v22-latin-300.woff") format("woff");
}

@font-face {
  font-family: "Source Code Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/sourcecodepro/source-code-pro-v22-latin-700.woff2") format("woff2"),
    url("../fonts/sourcecodepro/source-code-pro-v22-latin-700.woff") format("woff");
}

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.16);
  --ink: #0c0c0c;
  --display: "Alte Haas Grotesk", Helvetica, Arial, sans-serif;
  --mono: "Source Code Pro", Helvetica, Arial, sans-serif;
  --max: 1080px;
  --pad: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--mono);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Nav */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--pad);
  background: rgba(0, 0, 0, 0.88);
}

.nav__mark {
  width: 28px;
  height: 42px;
  object-fit: cover;
  object-position: center top;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav__links a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav__links a:hover { opacity: 0.65; }

/* Hero */

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #000;
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  will-change: opacity;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 96px var(--pad) 72px;
}

.hero__logo {
  width: min(780px, 88vw);
  height: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

/* Button */

.button {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  padding: 15px 28px;
  border-radius: 5px;
  text-transform: uppercase;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.06em;
  text-decoration: none;
  line-height: 1;
}

.button:hover { background: #e7e7e7; }

.button--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px #fff;
}

.button--ghost:hover { background: #fff; color: var(--ink); }

main {
  position: relative;
  z-index: 2;
  background: var(--bg);
}

/* Section */

.section {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) var(--pad);
}

#videos {
  scroll-margin-top: clamp(72px, 10vw, 120px);
}

.kicker {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

h2 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.08em;
  text-transform: uppercase;
  line-height: 0.9;
}

/* Release */

.release {
  display: grid;
  grid-template-columns: minmax(220px, 380px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.release__cover {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.release h2 { margin-bottom: 18px; }

.release__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0;
}

.spotify {
  margin-top: 22px;
  border: 0;
  border-radius: 12px;
  width: 100%;
  height: 152px;
  background: #121212;
}

/* Video */

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

.video--feature { grid-column: 1 / -1; }

.video__frame {
  width: 100%;
  background: #111;
}

.video .plyr {
  width: 100%;
  border-radius: 12px;
  --plyr-color-main: #081f4d;
}

.video .plyr__video-wrapper {
  aspect-ratio: 16 / 9;
  padding-top: 0 !important;
}

.video .plyr--stopped .plyr__controls {
  opacity: 0;
  pointer-events: none;
}

.video__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.video__actions {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.video__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.video__link {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
}

.video__link:hover { color: #fff; }

/* Band */

.band {
  position: relative;
  height: 82vh;
  min-height: 460px;
  overflow: hidden;
  background: #000;
}

.band__frame {
  position: absolute;
  left: 0;
  right: 0;
  top: -18%;
  height: 136%;
  will-change: transform;
}

.band__frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 32%;
}

/* Instagram */

.ig {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ig h2 {
  font-size: clamp(48px, 9vw, 96px);
  margin-bottom: 8px;
}

.ig__handle {
  margin: 0 0 28px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 28px);
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.ig__handle a {
  color: inherit;
  text-decoration: none;
}

.ig__handle a:hover { opacity: 0.65; }

/* Merch */

.merch__hero {
  display: block;
  margin: 0 0 28px;
}

.merch__hero img {
  width: 100%;
  height: auto;
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  align-content: start;
  align-items: start;
  text-decoration: none;
  color: inherit;
}

.product__shot {
  grid-column: 1 / -1;
  aspect-ratio: 1;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product__name {
  align-self: start;
  margin: 12px 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  line-height: 1.15;
}

.product__price {
  align-self: start;
  margin: 12px 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.05em;
  line-height: 1.15;
  text-align: right;
  white-space: nowrap;
}

.product:hover .product__name { opacity: 0.65; }

.merch__cta { margin: 28px 0 0; text-align: center; }

/* Shows */

.shows .kicker,
.shows h2 { text-align: center; }

/* Footer */

.footer {
  text-align: center;
  padding: 28px var(--pad) 56px;
}

.footer__icon {
  width: 42px;
  height: auto;
  margin: 0 auto 18px;
}

.social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
}

.social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social a:hover { opacity: 0.6; }

.footer__mail {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer__fine {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer__fine a {
  color: inherit;
  text-decoration: none;
}

.footer__fine a:hover { color: #fff; }

@media (max-width: 860px) {
  .release { grid-template-columns: 1fr; }
  .release__cover { max-width: 420px; }
  .merch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .nav { padding: 12px 16px; }
  .nav__toggle { display: block; position: relative; z-index: 40; }
  .nav__links { display: none; }
  .nav.is-open .nav__links {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 30;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin: 0;
    background: #000;
  }
  .nav.is-open .nav__links a { font-size: clamp(28px, 8vw, 42px); }
  .videos { grid-template-columns: 1fr; }
  .video--feature { grid-column: auto; }
  .band { height: 68vh; min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg,
  .band__frame { will-change: auto; }
}
