/* ========================================
   DAREDREAMER 2.0 — DESIGN SYSTEM
   ======================================== */

:root {
  --background: #f5f3ed;
  --foreground: #171715;
  --muted: #77756e;
  --accent: #a7874c;
  --border: #d9d6ce;
  --surface: #eae7df;
  --white: #ffffff;
  --page-padding: 5%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

/* ========================================
   HEADER AND NAVIGATION
   ======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 85px;
  padding: 20px var(--page-padding);
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.brand {
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 1;
  white-space: nowrap;
}

.brand span {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a,
.shop-link {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.shop-link:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.shop-link {
  border-bottom: 1px solid var(--foreground);
  padding-bottom: 5px;
}

.menu-toggle {
  display: none;
  border: 0;
  padding: 5px;
  background: transparent;
  color: var(--foreground);
  font-size: 25px;
}

/* ========================================
   HERO
   ======================================== */

.hero {
  padding: 65px var(--page-padding) 75px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  line-height: 1.6;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(48px, 8vw, 115px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.93;
}

.hero-description {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: clamp(14px, 1.5vw, 19px);
  line-height: 1.6;
}

.primary-link,
.about-link {
  display: inline-block;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  transition: color 0.2s ease;
}

.primary-link:hover,
.about-link:hover {
  color: var(--accent);
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */

.content-section {
  padding: 48px var(--page-padding) 65px;
  border-top: 1px solid var(--border);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(27px, 3.5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
}

.section-heading > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-align: right;
}

.section-description {
  margin: -8px 0 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ========================================
   MUSIC, PRODUCTS AND MERCHANDISE
   ======================================== */

.release-grid,
.product-grid,
.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 35px;
}

.release-card,
.product-card,
.merch-card,
.video-card {
  display: block;
  min-width: 0;
}

.cover,
.product-image,
.merch-image,
.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface);
}

.cover img,
.product-image img,
.merch-image img,
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease,
              opacity 0.25s ease;
}

.release-card:hover .cover img,
.product-card:hover .product-image img,
.merch-card:hover .merch-image img,
.release-card:hover .card-image img,
.product-card:hover .card-image img {
  transform: scale(1.035);
  opacity: 0.92;
}

.release-card > img,
.product-card > img,
.merch-card > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--surface);
}

.product-image img,
.merch-image img {
  object-fit: contain;
}

.release-card h3,
.product-card h3,
.merch-card h3,
.video-card h3 {
  margin: 13px 0 5px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.35;
}

.release-card p,
.product-card p,
.merch-card p,
.video-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.release-card:hover h3,
.product-card:hover h3,
.merch-card:hover h3,
.video-card:hover h3 {
  color: var(--accent);
}

.card-meta,
.release-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.card-tag,
.release-format,
.product-status,
.format-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 7px;
  border: 1px solid var(--border);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.price,
.product-price {
  display: block;
  margin-top: 9px;
  color: var(--foreground);
  font-size: 14px;
  font-weight: 800;
}

.exclusive-tag,
.exclusive {
  color: var(--accent);
  border-color: var(--accent);
}

.sold-out,
.prototype-only {
  color: var(--muted);
}

/* ========================================
   CATALOG FILTERS AND SEARCH
   ======================================== */

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.filter-group,
.catalog-search {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 130px;
}

.catalog-search {
  flex: 1.5;
}

.filter-group label,
.catalog-search label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.catalog-toolbar select,
.catalog-toolbar input {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: var(--foreground);
  font-size: 13px;
}

.catalog-toolbar input::placeholder {
  color: var(--muted);
}

.catalog-count {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.5px;
}

.empty-state,
.no-results {
  grid-column: 1 / -1;
  padding: 40px 0;
  color: var(--muted);
  font-size: 14px;
}

/* ========================================
   VIDEO ARCHIVE
   ======================================== */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 22px;
}

.video-thumbnail,
.video-image,
.thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--foreground);
}

.video-thumbnail img,
.video-image img,
.thumbnail img,
.video-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease,
              transform 0.35s ease;
}

.video-card > img {
  aspect-ratio: 16 / 9;
}

.video-card:hover img {
  opacity: 0.85;
  transform: scale(1.025);
}

.play-icon,
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 17px;
  pointer-events: none;
}

/* ========================================
   THE DARING — ARTIST ROSTER
   ======================================== */

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

.artist-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  transition: background 0.25s ease;
}

.artist-card img {
  width: 100%;
  height: 100%;
  max-height: 160px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.artist-card:hover {
  background: var(--border);
}

.artist-card:hover img {
  transform: scale(1.05);
}

/* ========================================
   LABEL PHILOSOPHY
   ======================================== */

.about-section {
  padding: 95px var(--page-padding);
  background: var(--foreground);
  color: var(--background);
}

.about-section h2 {
  margin: 28px 0;
  font-size: clamp(38px, 6.5vw, 90px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.about-section > p:not(.eyebrow) {
  max-width: 550px;
  margin-bottom: 30px;
  color: #bfbdb6;
  font-size: 16px;
  line-height: 1.8;
}

/* ========================================
   COMMUNITY
   ======================================== */

.community-section {
  padding: 75px var(--page-padding);
  text-align: center;
}

.community-section h2 {
  margin: 15px 0;
  font-size: clamp(30px, 5vw, 65px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
}

.community-section > p:not(.eyebrow) {
  margin: 18px auto 28px;
  max-width: 420px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  padding: 45px var(--page-padding) 25px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.footer-brand img {
  width: 190px;
  max-height: 130px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px 25px;
  margin-bottom: 35px;
}

.footer-links a {
  color: var(--muted);
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--foreground);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 23px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ========================================
   TABLET
   ======================================== */

@media (max-width: 1050px) {
  .main-nav {
    gap: 15px;
  }

  .main-nav a {
    font-size: 10px;
    letter-spacing: 0.7px;
  }

  .site-header {
    gap: 15px;
  }

  .release-grid,
  .product-grid,
  .merch-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .artist-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 760px) {
  :root {
    --page-padding: 5%;
  }

  html {
    scroll-padding-top: 90px;
  }

  .site-header {
    min-height: 72px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .brand {
    font-size: 21px;
  }

  .brand span {
    font-size: 8px;
    letter-spacing: 3.5px;
  }

  .header-actions {
    gap: 15px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 25px var(--page-padding);
    background: var(--background);
    border-bottom: 1px solid var(--border);
  }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .main-nav a {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .hero {
    padding-top: 45px;
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: clamp(43px, 10vw, 75px);
  }

  .hero-description {
    font-size: 14px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.6px;
  }

  .content-section {
    padding-top: 35px;
    padding-bottom: 45px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading h2 {
    font-size: clamp(23px, 5.6vw, 36px);
  }

  .section-heading > span {
    max-width: 100px;
    font-size: 8px;
    letter-spacing: 0.8px;
    line-height: 1.5;
  }

  .release-grid,
  .product-grid,
  .merch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
  }

  .release-card h3,
  .product-card h3,
  .merch-card h3,
  .video-card h3 {
    font-size: 13px;
    margin-top: 10px;
  }

  .release-card p,
  .product-card p,
  .merch-card p,
  .video-card p {
    font-size: 11px;
  }

  .catalog-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .filter-group,
  .catalog-search {
    min-width: 0;
  }

  .catalog-toolbar select,
  .catalog-toolbar input {
    font-size: 12px;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }

  .play-icon,
  .play-button {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .artist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .artist-card {
    padding: 13px;
  }

  .about-section {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .community-section {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .brand {
    font-size: 18px;
  }

  .header-actions {
    gap: 10px;
  }

  .shop-link {
    font-size: 10px;
  }

  .hero h1 {
    font-size: 39px;
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}