/* ============================================
   Preferred Alternative — landing page
   Dark, minimal, serif display · matches banner
   ============================================ */

:root {
  --bg: #000000;
  --bg-elevated: #0a0a0a;
  --bg-card: #111111;
  --border: #1f1f1f;
  --border-hover: #333333;
  --text: #f2f0eb;
  --text-muted: #8a8680;
  --text-dim: #5c5954;
  --accent: #e8e4dc;
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Subtle film grain */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* Layout */
.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, 640px);
}

.section {
  padding: 5.5rem 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.section-head.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--text);
}

.section-sub {
  color: var(--text-muted);
  max-width: 36ch;
  margin-top: 0.75rem;
  font-weight: 300;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.9;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}

.nav a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}

.nav a:hover {
  color: var(--text);
}

.header-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

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

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #fff;
  border-color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hover);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.7rem;
}

.text-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}

.text-link:hover {
  color: var(--text);
}

/* Hero
   Desktop: banner as background, CTAs overlaid at the bottom.
   Mobile:  stacked layout — full banner first, CTAs in a solid bar below
            so buttons never cover the Preferred Alternative wordmark.
*/
.hero {
  position: relative;
  min-height: clamp(280px, 42vw, 480px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid var(--border);
}

.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2.5rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  text-align: center;
}

.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Intro */
.intro {
  text-align: center;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
}

.lede {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #0a0a0a;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.04);
}

.product-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
}

.product-body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.product-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  flex: 1;
}

.product-cta {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
  transition: opacity 0.25s;
}

.product-card:hover .product-cta {
  opacity: 1;
}

.shop-note {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 300;
}

/* Music */
.music {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.music::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -10%;
  width: min(50vw, 480px);
  height: min(50vw, 480px);
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.music-meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.music-layout {
  display: grid;
  grid-template-columns: minmax(0, 340px) 1fr;
  gap: 3rem;
  align-items: start;
}

.music-art-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.music-art {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.music-copy {
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 1.75rem;
  max-width: 48ch;
  line-height: 1.7;
}

.player-block {
  margin-bottom: 1.5rem;
}

.player-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.65rem;
}

.embed-frame {
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid var(--border);
}

.embed-frame iframe {
  display: block;
  vertical-align: middle;
}



.music-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Marketplaces */
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.marketplace-card {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease);
}

.marketplace-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  background: #141414;
}

.mp-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  margin-bottom: 1.35rem;
  color: var(--text-muted);
}

.mp-icon svg {
  width: 20px;
  height: 20px;
}

.marketplace-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.marketplace-card p {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
}

.mp-cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.25rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 3px;
  opacity: 0.85;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
}

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

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

  .music-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .music-art-wrap {
    max-width: 320px;
  }
}

@media (max-width: 720px) {
  .nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .site-header.nav-open .header-cta {
    display: inline-flex;
    position: absolute;
    top: calc(var(--header-h) + 9.5rem);
    left: 1.5rem;
    z-index: 101;
  }

  /* Hero: stack banner + CTAs so nothing covers the wordmark */
  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow: visible;
  }

  .hero-banner {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 4 / 1;
    object-fit: contain;
    object-position: center;
    background: #000;
  }

  .hero-overlay {
    position: relative;
    z-index: 1;
    padding: 1.5rem 1.25rem 1.75rem;
    gap: 1rem;
    /* Solid bar under the image — not a transparent overlay */
    background: #000;
    border-top: 1px solid var(--border);
  }

  .hero-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .section {
    padding: 3.75rem 0;
  }

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

  .footer-brand {
    justify-content: center;
  }
}

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

  .hero-banner {
    /* Keep full wordmark readable on narrow phones */
    aspect-ratio: auto;
    min-height: 120px;
    padding-block: 0.5rem;
  }

  .music-ctas {
    flex-direction: column;
  }

  .music-ctas .btn {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
