/* Booyah Beats Artist-Hub — Browse 07
   Tokens: Cream · Ink · Clay · Stone · Muted */

:root {
  --cream: #F6F1EA;
  --ink: #1A1410;
  --clay: #C45C4A;
  --stone: #E8E0D6;
  --muted: #6E645C;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px rgba(26, 20, 16, 0.08);
  --wrap: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.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;
}

/* —— Buttons & links —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  line-height: 1.2;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.btn--primary {
  background: var(--clay);
  color: var(--white);
}

.btn--primary:hover {
  filter: brightness(1.06);
}

.btn--primary:active {
  transform: translateY(1px);
}

.link-secondary {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: none;
  cursor: pointer;
}

.link-secondary--on-dark {
  color: var(--white);
  display: block;
  text-align: center;
  width: fit-content;
  margin-inline: auto;
}

.link-secondary--clay {
  color: var(--clay);
  display: block;
}

.link-secondary--muted {
  color: var(--muted);
  display: block;
  margin-top: 0.65rem;
  font-size: 0.875rem;
}

/* Play badge on covers */
.play-dot {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 2px 8px rgba(26, 20, 16, 0.35);
  pointer-events: none;
}

.play-dot::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}

/* ========== HERO ========== */
.hero {
  background:
    linear-gradient(105deg, rgba(26, 20, 16, 0.92) 0%, rgba(26, 20, 16, 0.78) 45%, rgba(26, 20, 16, 0.88) 100%),
    url("../assets/hero-bg.jpg") center / cover no-repeat;
  background-color: var(--ink);
  color: var(--white);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero__inner {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  min-height: 340px;
}

.hero__covers {
  position: relative;
  height: 320px;
}

.cover-float {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  background: #2a221c;
}

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

.cover-float--1 {
  width: 180px;
  height: 180px;
  left: 8%;
  top: 8%;
  transform: rotate(-6deg);
  z-index: 2;
}

.cover-float--2 {
  width: 210px;
  height: 208px;
  left: 28%;
  top: 22%;
  transform: rotate(3deg);
  z-index: 3;
}

.cover-float--3 {
  width: 150px;
  height: 150px;
  left: 52%;
  top: 4%;
  transform: rotate(8deg);
  z-index: 1;
}

.hero__copy {
  text-align: center;
  padding: 1rem 0;
}

.hero__copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero__tagline {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  opacity: 0.95;
  max-width: 22em;
  margin-inline: auto;
}

.hero__copy .btn {
  min-width: 180px;
}

/* ========== WHY ========== */
.why {
  padding: 3.25rem 0 1.25rem;
  text-align: center;
}

.why h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
}

.why__line {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

/* ========== EXPLORE ========== */
.explore {
  padding: 1.5rem 0 3.5rem;
}

.explore h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  text-align: center;
}

.explore__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.explore-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: 0.85rem 0.85rem 1.15rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.explore-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 20, 16, 0.12);
}

.explore-card__art {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--stone);
  margin-bottom: 0.85rem;
}

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

.explore-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.explore-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ========== NELLI ========== */
.nelli {
  padding: 0.5rem 0 2.5rem;
}

.nelli__panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  background: var(--stone);
  border-radius: 20px;
  padding: 1.75rem;
}

.nelli__visuals {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1rem;
  align-items: end;
}

.nelli__portrait {
  margin: 0;
  border-radius: 16px 16px 12px 12px;
  overflow: hidden;
  background: #2a221c;
}

.nelli__portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  
}

.nelli__cover {
  margin: 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  align-self: center;
}

.nelli__cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.nelli__copy {
  padding: 0.5rem 0.25rem;
}

.nelli__benefit {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.nelli__disclosure {
  margin: 0 0 1.35rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 32em;
}

.nelli__copy .btn {
  display: inline-flex;
}

/* ========== HORIZONTAL ROWS ========== */
.rows {
  padding: 0.5rem 0 3rem;
}

.row-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.row-card__art {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--stone);
}

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

.row-card__art .play-dot {
  width: 24px;
  height: 24px;
  right: 8px;
  bottom: 8px;
}

.row-card__art .play-dot::after {
  left: 9px;
  top: 6px;
  border-width: 5px 0 5px 8px;
}

.row-card__body h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.row-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.row-card__cta {
  text-align: right;
  white-space: nowrap;
}

.row-card__cta .btn {
  white-space: normal;
  text-align: center;
  max-width: 240px;
}

/* ========== NEWSLETTER (on ink, white box + clay border) ========== */
.newsletter {
  background: var(--ink);
  padding: 3rem 0 3.5rem;
}

.newsletter__box {
  background: var(--white);
  border: 2px solid var(--clay);
  border-radius: 18px;
  padding: 2rem 2.25rem 2.1rem;
}

.newsletter__box h2 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
}

.newsletter__help {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.newsletter__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.newsletter__form input[type="email"] {
  flex: 1 1 220px;
  max-width: 320px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font: inherit;
  color: var(--ink);
}

.newsletter__form input[type="email"]::placeholder {
  color: #9a9088;
}

.newsletter__form input[type="email"]:focus {
  outline: 2px solid var(--clay);
  outline-offset: 1px;
}

.newsletter__books {
  color: var(--clay);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 0.25rem;
}

.newsletter__privacy {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.newsletter__microcopy {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 36rem;
}

.newsletter__microcopy a {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.newsletter__form .btn {
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.4rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--ink);
  color: #b8aea4;
  padding: 0 0 2.5rem;
  text-align: center;
  font-size: 0.875rem;
}

.site-footer a {
  color: #b8aea4;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer p {
  margin: 0;
}

.site-footer__note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .explore__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nelli__panel {
    grid-template-columns: 1fr;
  }

  .nelli__visuals {
    max-width: 480px;
  }
}

@media (max-width: 720px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__covers {
    height: 240px;
    max-width: 340px;
    margin-inline: auto;
  }

  .cover-float--1 {
    width: 130px;
    height: 130px;
  }

  .cover-float--2 {
    width: 150px;
    height: 148px;
  }

  .cover-float--3 {
    width: 110px;
    height: 110px;
  }

  .row-card {
    grid-template-columns: 88px 1fr;
    grid-template-rows: auto auto;
  }

  .row-card__art {
    width: 88px;
    height: 88px;
    grid-row: 1 / 3;
  }

  .row-card__cta {
    grid-column: 2;
    text-align: left;
  }

  .row-card__cta .btn {
    max-width: none;
  }

  .newsletter__box {
    padding: 1.5rem 1.25rem;
  }

  .newsletter__form {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter__form input[type="email"] {
    max-width: none;
  }

  .newsletter__books,
  .newsletter__privacy {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .explore__grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }

  .nelli__visuals {
    grid-template-columns: 1fr;
  }

  .nelli__cover {
    max-width: 200px;
  }
}

.affiliate-note {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted, #6E645C);
}

.amazon-editions {
  margin: 0.5rem 0 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted, #6E645C);
}
.amazon-editions a {
  color: var(--clay, #C45C4A);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.affiliate-note--de {
  margin-top: 0.15rem;
}
.footer__affiliate {
  margin: 0.75rem auto 0;
  max-width: 52rem;
  text-align: center;
  font-size: 0.7rem;
  line-height: 1.4;
  color: rgba(246, 241, 234, 0.55);
}

/* Design-QA fix: Explore titles + benefit lines always visible below cover */
.explore-card {
  display: flex;
  flex-direction: column;
  overflow: visible;
  min-height: 0;
}
.explore-card__art {
  flex: 0 0 auto;
}
.explore-card h3,
.explore-card p {
  display: block;
  visibility: visible;
  opacity: 1;
  position: relative;
  z-index: 1;
  padding: 0 0.15rem;
}
.explore-card h3 {
  margin-top: 0.15rem;
}
.explore__grid {
  align-items: stretch;
  overflow: visible;
}

/* Soft spacing: Nelli copy secondary links stack above CTAs */
.nelli__copy .link-secondary {
  display: block;
  margin-top: 0.35rem;
  margin-bottom: 0.85rem;
}

.nelli__copy .link-secondary--clay {
  margin-top: 0.85rem;
  margin-bottom: 0;
}
