/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: "Unbounded";
  src: url("assets/fonts/unbounded-var.woff2") format("woff2");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #1c1b16;
  --text: #f5f4f0;
  --muted: #8f8d86;
  --accent: #d6ff3d;
  --accent-ink: #0a0a0a;
  --hairline: rgba(245, 244, 240, 0.12);
  --hairline-strong: rgba(245, 244, 240, 0.26);

  --font-display: "Unbounded", sans-serif;
  --font: "Hanken Grotesk", system-ui, sans-serif;

  --radius-notch: 2rem 2rem 2rem 0.25rem;
  --radius-blob: 62% 38% 33% 67% / 60% 35% 65% 40%;
  --nav-height: 76px;
  --max-width: 1400px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
}
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-notch);
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Browser surfaces ---------- */
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

html { scrollbar-color: var(--muted) var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--muted); border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---------- Buttons & tags ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-notch);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-pop), border-radius 0.3s var(--ease);
}
.btn.btn:hover { transform: translateY(-3px) rotate(-1deg) scale(1.03); }
.btn.btn:active { transform: scale(0.96); }
.btn--lg {
  padding: 1.2rem 2.5rem;
  font-size: 1rem;
  margin-top: 3rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-notch);
  border: 1px solid var(--hairline-strong);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.3s var(--ease-pop);
}
.tag:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.tag:active { transform: scale(0.96); }
.tag--lg { padding: 0.8rem 1.6rem; font-size: 0.85rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.nav__links { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); }
.nav__links a {
  position: relative;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--accent); }
  .nav__links a:hover::after { transform: scaleX(1); }
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { bottom: 18px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
  padding: 0.5rem 1.5rem 1.5rem;
}
.nav__mobile a {
  padding: 1rem 0.25rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile.is-open { display: flex; }

@media (max-width: 767px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 4rem) 1.5rem clamp(4rem, 9vw, 7rem); }
.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__kicker {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.hero__title {
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-top: 0.5rem;
}
.hero .btn { margin-top: 2.5rem; }
.hero__media { position: relative; }
.hero__media::before {
  content: "";
  position: absolute;
  inset: -6%;
  background: transparent;
  border: 3px solid var(--accent);
  border-radius: var(--radius-blob);
  z-index: 0;
  animation: blobshift 14s ease-in-out infinite;
}
.hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: var(--radius-blob);
  filter: grayscale(1) contrast(1.05);
  transition: border-radius 0.6s var(--ease);
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes blobshift {
    0%, 100% { border-radius: 62% 38% 33% 67% / 60% 35% 65% 40%; }
    50% { border-radius: 40% 60% 62% 38% / 45% 62% 38% 55%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media::before { animation: none; }
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 8vw, 7rem) 1.5rem; }
.section--dark { background: var(--bg-elevated); }
.section__inner { max-width: var(--max-width); margin: 0 auto; }
.section__inner--center { text-align: center; }
.section__title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  letter-spacing: -0.01em;
}
.section__lead {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1rem;
  max-width: 46ch;
}
.section__inner--center .section__lead { margin-left: auto; margin-right: auto; }

.tag-row {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.section__inner--split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1100px;
}
.ueber__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.25rem 3rem 0.25rem 3rem;
  filter: grayscale(1) contrast(1.05);
}
.ueber__text p {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 60ch;
}
.ueber__text p:first-of-type { margin-top: 1.75rem; }

@media (max-width: 800px) {
  .section__inner--split { grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */
.gallery__grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery__item { overflow: hidden; border-radius: 0.25rem 1.75rem 0.25rem 1.75rem; }
.gallery__trigger {
  display: block;
  width: 100%;
  padding: 0;
  cursor: pointer;
  transition: transform 0.35s var(--ease-pop);
}
.gallery__trigger:active { transform: scale(0.97); }
.gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 0.5s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .gallery__item:hover img { transform: scale(1.06) rotate(-0.6deg); }
}

@media (max-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

.gallery__more { margin-top: 3rem; }

/* ---------- Tracklist ---------- */
.tracklist { margin-top: 3rem; display: flex; flex-direction: column; gap: 1rem; }
.track {
  padding: 1.75rem 1.75rem 1.75rem 1.5rem;
  border-radius: 0.25rem 2rem 0.25rem 2rem;
  transition: background 0.3s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .track:hover { background: rgba(245, 244, 240, 0.03); }
}
.track__head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  transition: transform 0.4s var(--ease-pop);
}
@media (hover: hover) and (pointer: fine) {
  .track:hover .track__head { transform: translateX(10px); }
  .track:hover .track__index { color: var(--text); }
  .track:hover .track__title { color: var(--accent); }
}
.track__index {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--accent);
  width: 2.5ch;
  flex-shrink: 0;
  display: inline-block;
  transition: color 0.3s var(--ease);
}
.track__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 600;
  transition: color 0.3s var(--ease);
}
.track__body {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.track__tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.6rem;
  padding-top: 0.35rem;
}

/* ---------- Video embed (click-to-load) ---------- */
.video-embed {
  position: relative;
  width: 380px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.25rem 1.75rem 0.25rem 1.75rem;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed__facade {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.video-embed__facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.8);
}
.video-embed__play {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  transition: transform 0.3s var(--ease-pop);
}
.video-embed__play svg { width: 22px; height: 22px; transform: translateX(1px); }
.video-embed__facade:hover .video-embed__play { transform: scale(1.12) rotate(8deg); }
.video-embed__facade:active .video-embed__play { transform: scale(0.94); }

@media (max-width: 600px) {
  .video-embed { width: 100%; }
}

/* ---------- Instagram profile embed ---------- */
.ig-showcase {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
.ig-profile {
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  border-radius: 0.25rem 1.5rem 0.25rem 1.5rem;
  transition: transform 0.4s var(--ease-pop);
}
@media (hover: hover) and (pointer: fine) {
  .ig-profile:hover { transform: translateY(-6px); }
}
.ig-profile iframe {
  width: 100% !important;
  min-width: 0 !important;
  border: 0;
}
.ig-profile .instagram-media {
  margin: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* ---------- Legal pages ---------- */
.legal { max-width: 720px; }
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 2.5rem;
}
.legal p,
.legal address {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: normal;
}
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--accent); }
.legal__updated { margin-top: 3rem; font-size: 0.8rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--hairline); padding: 2rem 1.5rem; }
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer__social { display: flex; gap: 0.5rem; }
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  transition: background 0.25s var(--ease), transform 0.3s var(--ease-pop);
}
.footer__social a:hover { background: rgba(214, 255, 61, 0.12); transform: translateY(-2px); }
.footer__legal-links { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.footer__legal { color: var(--muted); font-size: inherit; transition: color 0.25s var(--ease); }
.footer__legal:hover { color: var(--accent); }
.footer__legal--btn { font-family: var(--font); padding: 0; }

/* ---------- Instagram consent gate ---------- */
.ig-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
  padding: 3rem 1.5rem;
  min-height: 320px;
  background: rgba(245, 244, 240, 0.03);
}
.ig-consent__text { color: var(--muted); font-size: 0.9rem; max-width: 30ch; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: var(--bg-elevated);
  border-top: 1px solid var(--hairline-strong);
  padding: 1.5rem;
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}
.cookie-banner.is-open { transform: translateY(0); }
.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner__text { color: var(--muted); font-size: 0.85rem; max-width: 60ch; }
.cookie-banner__text a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }

.btn--ghost {
  background: transparent;
  border: 1px solid var(--hairline-strong);
  color: var(--text);
}
@media (hover: hover) and (pointer: fine) {
  .btn--ghost.btn:hover { background: rgba(245, 244, 240, 0.08); }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__img {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.25rem 2rem 0.25rem 2rem;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-open .lightbox__img { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox__img {
    transform: scale(0.94);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease-pop);
  }
  .lightbox.is-open .lightbox__img { transform: scale(1); }
}

.lightbox__video {
  display: none;
  width: min(90vw, 1100px);
  aspect-ratio: 16 / 9;
  border-radius: 0.25rem 2rem 0.25rem 2rem;
  overflow: hidden;
}
.lightbox__video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.lightbox--video .lightbox__img { display: none; }
.lightbox--video .lightbox__video { display: block; }
.lightbox--video .lightbox__nav { display: none; }

.lightbox__close,
.lightbox__nav {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(245, 244, 240, 0.08);
  color: var(--text);
  transition: background 0.25s var(--ease), transform 0.3s var(--ease-pop);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(214, 255, 61, 0.18); color: var(--accent); }
.lightbox__close:active,
.lightbox__nav:active { transform: scale(0.92); }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__nav--prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev:active { transform: translateY(-50%) scale(0.92); }
.lightbox__nav--next:active { transform: translateY(-50%) scale(0.92); }

@media (max-width: 700px) {
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav--prev { left: 0.75rem; }
  .lightbox__nav--next { right: 0.75rem; }
  .lightbox__close { top: 0.75rem; right: 0.75rem; }
}

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(24px) scale(0.95);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  [data-reveal].is-visible { opacity: 1; transform: translateY(0) scale(1); }

  [data-parallax] { will-change: transform; }
}

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