/* -----------------------------------------
   Bobby Magik — Blantyre Sounds
   Black & white, street-poster identity
   ----------------------------------------- */

:root {
  --black: #0A0A09;
  --near-black: #131311;
  --charcoal: #1C1C19;
  --white: #F5F4F0;
  --grey-400: #8F8D85;
  --grey-600: #58564E;
  --line: rgba(245, 244, 240, 0.14);
  --line-strong: rgba(245, 244, 240, 0.4);
  --glow: rgba(245, 244, 240, 0.5);

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-stamp: "Bungee", var(--font-display);

  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* subtle film-grain texture over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  color: var(--black);
  padding: 0.75rem 1.25rem;
  z-index: 3000;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

a { color: inherit; }
img, svg { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

/* -------------------- Header / Nav -------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 9, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--white);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav__links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--grey-400);
  transition: color 0.2s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--white);
}

.nav__icons {
  list-style: none;
  display: flex;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

.nav__icons a {
  display: flex;
  color: var(--grey-400);
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav__icons a:hover,
.nav__icons a:focus-visible {
  color: var(--white);
  transform: translateY(-1px);
}

.nav__icons svg { width: 19px; height: 19px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 34px;
  height: 34px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--white);
  opacity: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* -------------------- Hero -------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 1.5rem 6rem;
  background: var(--black);
  text-align: center;
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  opacity: 0.9;
  filter: grayscale(1) contrast(1.1);
}

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 50% 26%, rgba(10,10,9,0.62) 0%, rgba(10,10,9,0.04) 62%),
    linear-gradient(to top, var(--black) 0%, rgba(10,10,9,0.12) 18%, rgba(10,10,9,0.02) 45%);
}

.hero__glow {
  position: absolute;
  z-index: 1;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 640px;
  max-width: 140vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,244,240,0.14) 0%, rgba(245,244,240,0) 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  animation: rise 0.9s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__name {
  font-size: clamp(4.2rem, 15vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: -0.015em;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 60px rgba(245, 244, 240, 0.18);
}

.hero__identity {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--grey-400);
}

.hero__identity span:first-child { color: var(--white); }

.tag-row {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5em;
  margin: 2rem 0 2.5rem;
  padding: 0;
}

.tag-row li {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 0 30px rgba(10, 10, 9, 0.9), 0 1px 2px rgba(10, 10, 9, 0.8);
}

.tag-row li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5em;
  color: var(--grey-400);
  font-weight: 400;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid var(--white);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.btn--fill {
  background: var(--white);
  color: var(--black);
}
.btn--fill:hover,
.btn--fill:focus-visible {
  background: transparent;
  color: var(--white);
  box-shadow: 0 0 24px rgba(245, 244, 240, 0.35);
}

.btn--line {
  background: transparent;
  color: var(--white);
}
.btn--line:hover,
.btn--line:focus-visible {
  background: var(--white);
  color: var(--black);
}

.btn:active { transform: scale(0.98); }

/* -------------------- Stamp transition -------------------- */

.hero__stamp {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 2.5rem;
  display: flex;
  justify-content: center;
}

.stamp {
  position: relative;
  font-family: var(--font-stamp);
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  padding: 0.5rem 1.15rem;
  border: 2px solid rgba(245, 244, 240, 0.85);
  border-radius: 4px 11px 5px 12px / 11px 5px 12px 4px;
  transform: rotate(-4deg);
  display: inline-block;
  opacity: 0.92;
  text-shadow: 0 0 1px rgba(245, 244, 240, 0.4);
}

.stamp::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(245, 244, 240, 0.3);
  border-radius: 6px 13px 7px 14px / 13px 6px 14px 5px;
  transform: rotate(3deg);
  pointer-events: none;
}

/* -------------------- Sections (shared) -------------------- */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem 6.5rem;
}

.section__head {
  margin-bottom: 2.75rem;
  max-width: 520px;
}

.section__head h2 {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  text-transform: uppercase;
}

.section__head p {
  margin: 0.6rem 0 0;
  color: var(--grey-400);
  font-size: 1rem;
}

.section__head--music {
  max-width: none;
}

.section__head--music h2 {
  font-size: clamp(3.4rem, 11vw, 7rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  transform: translateX(-0.35rem);
}

/* -------------------- Music -------------------- */

.release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.release-card {
  background: var(--near-black);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.release-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 0 40px rgba(245, 244, 240, 0.1);
  transform: translateY(-4px);
}

.release-card__art {
  aspect-ratio: 1 / 1;
  background: var(--charcoal);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.release-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.release-card:hover .release-card__art img {
  transform: scale(1.03);
}

.release-card__body {
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.release-card__type {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-400);
  margin: 0 0 0.6rem;
  font-weight: 600;
}

.release-card__body h3 {
  font-size: 1.5rem;
  text-transform: none;
  margin: 0 0 0.6rem;
}

.release-card__desc {
  color: var(--grey-400);
  font-size: 0.95rem;
  margin: 0 0 1.4rem;
}

.release-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  color: var(--white);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.release-card__link svg { width: 15px; height: 15px; }

.release-card__link:hover { opacity: 0.7; border-color: var(--white); }

/* -------------------- About -------------------- */

.section--about {
  background: linear-gradient(var(--black), var(--near-black), var(--black));
  padding-top: 1rem;
}

.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.about__photo {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: sticky;
  top: 6.5rem;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(1) contrast(1.1);
}

.about__text {
  font-size: 1.08rem;
  color: var(--grey-400);
  max-width: 60ch;
}

.about__text p { margin: 0 0 1.3rem; }
.about__text p:last-child { margin-bottom: 0; }

/* -------------------- Contact -------------------- */

.section--contact { text-align: left; }

.contact-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-row a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.4rem;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.contact-row a:hover,
.contact-row a:focus-visible {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 0 28px rgba(245, 244, 240, 0.25);
}

.contact-row__icon { display: flex; }
.contact-row__icon svg { width: 18px; height: 18px; }

/* -------------------- Footer -------------------- */

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--grey-600);
}

.site-footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--grey-400);
  letter-spacing: 0.01em;
}

/* -------------------- Responsive -------------------- */

@media (max-width: 860px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__photo {
    position: static;
    max-width: 380px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav__menu.is-open { max-height: 400px; }

  .nav__links {
    flex-direction: column;
    gap: 0;
  }

  .nav__links li { border-top: 1px solid var(--line); }
  .nav__links a { display: block; padding: 1rem 1.5rem; }

  .nav__icons {
    justify-content: center;
    padding: 1.25rem 0;
    border-top: 1px solid var(--line);
  }

  .hero { padding-top: 5rem; }

  .contact-row { flex-direction: column; }
  .contact-row a { justify-content: flex-start; }
}

@media (min-width: 641px) {
  .hero {
    padding-bottom: 20rem;
  }

  .hero__photo img {
    object-position: center 42%;
  }

  .hero__photo::after {
    background:
      radial-gradient(60% 55% at 50% 22%, rgba(10,10,9,0.6) 0%, rgba(10,10,9,0.02) 55%),
      linear-gradient(to top, var(--black) 0%, rgba(10,10,9,0.1) 12%, rgba(10,10,9,0.01) 34%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__inner { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
