/* ============================================================
   FUXHEIT – PISS-CHOPF  |  style.css
   ============================================================ */

:root {
  --navy:  #0B1929;
  --rust:  #C4622D;
  --black: #0A0A0A;
  --fog:   #8A94A6;
  --white: #FFFFFF;
  --off-white: #DCDCDC;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background-color: var(--black);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ============================================================
   GRAIN OVERLAY  (SVG feTurbulence via data-URI)
   ============================================================ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  /* repeating noise tile – rendered once, tiled */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='0.085'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: overlay;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

/* ============================================================
   SHARED TYPOGRAPHIC ELEMENTS
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 1.6rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(4rem, 10vh, 8rem);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(10,10,10,1)    0%,
      rgba(10,10,10,0.82) 30%,
      rgba(10,10,10,0.45) 60%,
      rgba(10,10,10,0.10) 100%
    ),
    linear-gradient(to right,
      rgba(10,10,10,0.6) 0%,
      transparent         60%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

.hero__artist {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 22vw, 15rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 0.05em;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

.hero__single {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7.5vw, 5rem);
  letter-spacing: 0.12em;
  color: var(--rust);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.hero__tagline {
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  color: var(--fog);
  font-weight: 300;
  letter-spacing: 0.06em;
  margin-bottom: 2.8rem;
}

/* ---- Custom Audio Player ---- */
.player {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 400px;
}

.player__btn {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background-color: var(--rust);
  border: none;
  border-radius: 0;            /* hard edges, no softness */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background-color 0.12s ease, transform 0.08s ease;
  position: relative;
}

.player__btn::after {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(196, 98, 45, 0.35);
}

.player__btn:hover  { background-color: #d9712e; }
.player__btn:active { transform: scale(0.95); }
.player__btn:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }

.player__icon { width: 22px; height: 22px; }
.player__icon--hidden { display: none; }

.player__track { flex: 1; min-width: 0; }

.player__progress-wrap {
  width: 100%;
  height: 3px;
  background-color: var(--navy);
  cursor: pointer;
  position: relative;
  transition: height 0.1s ease;
  outline: none;
}

.player__progress-wrap:hover,
.player__progress-wrap:focus-visible { height: 5px; }

.player__progress-bar {
  height: 100%;
  width: 0%;
  background-color: var(--rust);
  pointer-events: none;
  transition: width 0.1s linear;
  position: relative;
}

.player__progress-bar::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--rust);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.1s;
}

.player__progress-wrap:hover .player__progress-bar::after,
.player__progress-wrap:focus-visible .player__progress-bar::after { opacity: 1; }

.player__times {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
}

.player__time {
  font-size: 0.68rem;
  color: var(--fog);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

/* ============================================================
   WAVEFORM + LYRIC DISPLAY
   ============================================================ */
.wave-canvas {
  display: block;
  width: 100%;
  max-width: 400px;
  height: 40px;
  margin-top: 0.9rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.wave-canvas.active { opacity: 1; }

.lyric-display {
  max-width: 520px;
  min-height: 3.2rem;
  margin-top: 0.75rem;
}

.lyric-section {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lyric-section.visible { opacity: 1; }

.lyric-line {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.lyric-line.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   BIO
   ============================================================ */
.bio {
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  padding: clamp(4.5rem, 11vw, 9rem) 0;
}

.bio::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/texture.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.11;
  mix-blend-mode: screen;
  pointer-events: none;
}

.bio .container {
  position: relative;
  z-index: 1;
}

.bio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 720px) {
  .bio__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
  }
}

.bio__text p {
  color: var(--fog);
  font-size: 0.97rem;
  font-weight: 300;
  margin-bottom: 1.1rem;
}

.bio__text p:last-child { margin-bottom: 0; }

.bio__cover {
  display: flex;
  justify-content: center;
}

@media (min-width: 720px) {
  .bio__cover { justify-content: flex-end; }
}

.bio__img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  transform: rotate(1.2deg);
  box-shadow:
    0 0 0 1px rgba(196, 98, 45, 0.25),
    8px 8px 0 rgba(196, 98, 45, 0.12),
    0 24px 60px rgba(0,0,0,0.5);
}

/* ============================================================
   LYRICS HIGHLIGHT
   ============================================================ */
.lyrics {
  position: relative;
  background-color: var(--black);
  padding: clamp(5rem, 13vw, 11rem) 0;
  overflow: hidden;
}

.lyrics__texture {
  position: absolute;
  inset: 0;
  background-image: url('assets/texture.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  mix-blend-mode: screen;
}

/* extra vignette on top of texture */
.lyrics::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(10,10,10,0.65) 100%);
  z-index: 1;
}

.lyrics__quote {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.lyrics__mark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 14rem);
  line-height: 0.75;
  color: var(--rust);
  opacity: 0.35;
  margin-bottom: -0.15em;
  user-select: none;
}

.lyrics__text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 4.6rem);
  line-height: 1.18;
  color: var(--white);
  letter-spacing: 0.015em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.7);
}

.lyrics__cite {
  margin-top: 2.2rem;
}

.lyrics__cite cite {
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fog);
  font-weight: 500;
  opacity: 0.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--navy);
  border-top: 1px solid rgba(138, 148, 166, 0.08);
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 4vw, 2.5rem);
}

.footer__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 560px) {
  .footer__grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer__logo {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.footer__tagline {
  font-size: 0.78rem;
  color: var(--fog);
  font-weight: 300;
  opacity: 0.6;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
}

@media (min-width: 560px) {
  .footer__nav { flex-direction: column; align-items: flex-end; gap: 0.45rem; }
}

.footer__link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
  text-decoration: none;
  transition: color 0.12s ease;
  opacity: 0.75;
}

.footer__link:hover { color: var(--rust); opacity: 1; }
.footer__link:focus-visible { outline: 1px solid var(--rust); outline-offset: 3px; }

.footer__bottom {
  border-top: 1px solid rgba(138, 148, 166, 0.06);
  padding-top: 1.25rem;
}

.footer__copy {
  font-size: 0.72rem;
  color: var(--fog);
  opacity: 0.4;
  letter-spacing: 0.06em;
}
