/*
Theme Name: ProblaMaddox
Theme URI: https://problamaddox.com
Author: McArthur Media, LLC
Description: One-page landing site for recording artist ProblaMaddox. Black & white, bold, sharp-edged design built around the ProblaMaddox monogram.
Version: 1.0
Text Domain: problamaddox
*/

/* ============================================
   DESIGN SYSTEM
   ============================================ */
:root {
  --black:        #050505;
  --near-black:   #0e0e0e;
  --charcoal:     #161616;
  --border:       #2b2b2b;
  --muted:        #7a7a7a;
  --light:        #b8b8b8;
  --offwhite:     #ededed;
  --white:        #ffffff;

  --max-width: 1160px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--offwhite);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--white); text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--white);
  margin: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.section-label::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--white);
}

section { position: relative; padding: 6rem 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--white);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-filled {
  background: var(--white);
  color: var(--black);
}
.btn-filled:hover { background: transparent; color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-block { width: 100%; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5,5,5,0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
  padding: 0.7rem 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo { display: flex; align-items: center; gap: 0.65rem; }
.site-logo img { height: 34px; width: auto; }
.site-logo .wordmark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--white);
}

.main-nav ul { display: flex; align-items: center; gap: 2.1rem; }
.main-nav a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--white); }
.main-nav .btn { padding: 0.6rem 1.4rem; font-size: 0.75rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}
.nav-toggle span {
  width: 26px; height: 2px; background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,255,255,0.05), transparent 60%);
}
.hero .wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3rem);
}
.hero-mark {
  position: absolute;
  top: 50%; right: 4%;
  transform: translateY(-50%);
  width: min(46vw, 620px);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.hero-content { max-width: 780px; position: relative; z-index: 2; }
.hero-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 3.4/1;
  max-height: 340px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--charcoal);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%) contrast(1.08);
}
.hero .eyebrow { display: block; margin-bottom: 1.4rem; }
.hero h1 {
  font-size: clamp(3rem, 9vw, 6.4rem);
  margin-bottom: 1.6rem;
}
.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--light);
  max-width: 560px;
  margin-bottom: 2.4rem;
  font-weight: 400;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-socials { display: flex; gap: 1.1rem; }
.hero-socials a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--light);
  transition: all 0.2s ease;
}
.hero-socials a:hover { border-color: var(--white); color: var(--white); transform: translateY(-2px); }
.hero-socials svg { width: 18px; height: 18px; }

.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 40px;
  background: linear-gradient(var(--muted), transparent);
  animation: scrollpulse 2s ease-in-out infinite;
}
@keyframes scrollpulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.about-copy h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1.6rem; }
.about-copy p { font-size: 1.1rem; color: var(--light); margin-bottom: 1.2rem; max-width: 620px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2.5rem;
}
.about-stats div { background: var(--black); padding: 1.5rem 1rem; text-align: center; }
.about-stats strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--white); }
.about-stats span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.about-frame {
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.about-frame img.portrait { width: 100%; height: 100%; object-fit: cover; }
.about-frame .placeholder-mark { width: 45%; opacity: 0.85; }
.about-frame .placeholder-note {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-align: center;
}

/* ============================================
   MUSIC
   ============================================ */
.music-intro { max-width: 640px; margin-bottom: 3rem; }
.music-intro h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1rem; }
.music-intro p { color: var(--light); font-size: 1.05rem; }

.dsp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3.5rem;
}
.dsp-card {
  background: var(--black);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  transition: background 0.2s ease;
}
.dsp-card:hover { background: var(--charcoal); }
.dsp-card .dsp-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--white);
}
.dsp-card .dsp-icon svg { width: 16px; height: 16px; }
.dsp-card .dsp-name { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.02em; }
.dsp-card .dsp-cta { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 0.4rem; }
.dsp-card:hover .dsp-cta { color: var(--white); }

.store-teaser {
  border: 1px dashed var(--border);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.store-teaser h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.store-teaser p { color: var(--muted); font-size: 0.95rem; max-width: 460px; margin: 0; }

/* ============================================
   VIDEOS
   ============================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 3rem;
}
.video-single {
  max-width: 820px;
  margin-bottom: 3rem;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--charcoal);
  border: 1px solid var(--border);
  overflow: hidden;
}
.video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-frame.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.8rem;
}
.video-frame.is-placeholder img {
  width: 30%;
  opacity: 0.85;
}
.video-frame.is-placeholder span {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.video-caption { margin-top: 0.9rem; font-size: 0.9rem; color: var(--light); }

/* ============================================
   FOLLOW
   ============================================ */
.follow-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.follow-links { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.follow-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  transition: padding-left 0.2s ease, color 0.2s ease;
}
.follow-links a:hover { padding-left: 0.6rem; color: var(--offwhite); }
.follow-links a span.handle { font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--muted); text-transform: none; letter-spacing: normal; }
.follow-links a .arrow { font-size: 1.1rem; color: var(--muted); }

.ig-embed-wrap {
  border: 1px solid var(--border);
  background: var(--charcoal);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ig-embed-wrap iframe { width: 100%; }

/* ============================================
   STORE
   ============================================ */
.store-section .wrap { text-align: center; }
.store-box {
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--border);
  padding: 4rem 2.5rem;
}
.store-box .section-label { justify-content: center; }
.store-box .section-label::before { display: none; }
.store-box h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.store-box p { color: var(--light); margin-bottom: 2rem; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.contact-info h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 1.4rem; }
.contact-info p { color: var(--light); margin-bottom: 2rem; max-width: 420px; }
.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--white);
  margin-bottom: 2.5rem;
}
.contact-social { display: flex; gap: 1rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.1rem;
  transition: border-color 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--white); }
.form-field select option { background: var(--black); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: var(--muted); }
.form-success { color: var(--white); font-weight: 700; }

/* ============================================
   SUBSCRIBE
   ============================================ */
.subscribe-section { text-align: center; background: var(--charcoal); }
.subscribe-box { max-width: 620px; margin: 0 auto; }
.subscribe-box h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.subscribe-box p { color: var(--light); margin-bottom: 2.2rem; }
.subscribe-form-embed { min-height: 60px; }
.subscribe-form-embed .placeholder-form {
  display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center;
}
.subscribe-form-embed .placeholder-form input[type="email"] {
  flex: 1 1 280px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.95rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.subscribe-form-embed .placeholder-form input[type="email"]:focus { outline: none; border-color: var(--white); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { padding: 3.5rem 0 2.5rem; }
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 2rem;
  padding-bottom: 2.5rem; margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.footer-logo { display: flex; align-items: center; gap: 0.6rem; }
.footer-logo img { height: 30px; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 1.8rem; }
.footer-nav a { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--light); }
.footer-nav a:hover { color: var(--white); }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 50%; color: var(--light);
}
.footer-socials a:hover { color: var(--white); border-color: var(--white); }
.footer-socials svg { width: 15px; height: 15px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem; color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .about-grid, .follow-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-frame { order: -1; max-width: 380px; margin: 0 auto 2.5rem; }
  .video-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 2.2/1; max-height: 220px; }
}

@media (max-width: 768px) {
  .main-nav { position: fixed; inset: 0; top: 0; background: var(--black); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 2rem; }
  .main-nav a { font-size: 1.3rem; }
  .nav-toggle { display: flex; }
  section { padding: 4rem 0; }
  .store-teaser { flex-direction: column; align-items: flex-start; text-align: left; }
}
