/* ============================================================
   syncbyjt.com — Joseph Thomas Sync Music
   Design: Dark club-inspired palette, warm amber accent,
   mono utility type for track data, humanist body face.
   ============================================================ */

/* --- Reset & Base ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #0A0A0A;
  --surface:    #111111;
  --surface-2:  #191919;
  --surface-3:  #222222;
  --border:     #2A2A2A;
  --border-2:   #383838;
  --amber:      #D4922A;
  --amber-dim:  #8A5E18;
  --amber-bg:   #1A1208;
  --white:      #F0EDE8;
  --text-1:     #E8E4DE;
  --text-2:     #9A9490;
  --text-3:     #5C5855;
  --green:      #1D9E75;
  --green-bg:   #0A1F18;

  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --max-w:      1100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* --- Typography -------------------------------------------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.3px; }

/* --- Layout ------------------------------------------------ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}

.nav__name {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.2px;
}

.nav__tagline {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2.5px;
  color: var(--amber);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.15s;
}

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

.nav__cta {
  background: var(--amber);
  color: var(--black);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
  letter-spacing: 0.1px;
}

.nav__cta:hover { opacity: 0.88; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 5rem 2rem 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__available {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 6px var(--green); }
  50%       { box-shadow: 0 0 14px var(--green); }
}

.hero__available-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  letter-spacing: 0.5px;
}

.hero__h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero__h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero__body {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 420px;
}

.hero__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn--primary {
  background: var(--amber);
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn--primary:hover { opacity: 0.88; }

.btn--ghost {
  background: transparent;
  color: var(--text-1);
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-2);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.btn--ghost:hover { border-color: var(--text-3); color: var(--white); }

.hero__proof {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.hero__proof-item {
  font-size: 13px;
  color: var(--text-3);
}

.hero__proof-item strong {
  color: var(--text-2);
  font-weight: 500;
}

/* Hero right — origin card */
.hero__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.hero__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber-dim), var(--amber), var(--amber-dim));
}

.hero__card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero__card-text {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.hero__card-text strong { color: var(--text-1); font-weight: 500; }

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hero__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  background: var(--surface-2);
}

/* ============================================================
   TRACKS SECTION
   ============================================================ */
.tracks-section {
  padding: 3rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-eyebrow span {
  color: var(--amber);
  margin-right: 8px;
}

.tracks-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.track-row {
  display: grid;
  grid-template-columns: 40px 1fr auto auto auto;
  align-items: center;
  gap: 1rem;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.12s;
}

.track-row:last-child { border-bottom: none; }
.track-row:hover { background: var(--surface-2); }
.track-row.is-playing { background: var(--surface-2); }

.track-row__play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: border-color 0.12s, color 0.12s;
  flex-shrink: 0;
}

.track-row:hover .track-row__play,
.track-row.is-playing .track-row__play {
  border-color: var(--amber);
  color: var(--amber);
}

.track-row__info { min-width: 0; }

.track-row__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-row__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  display: flex;
  gap: 12px;
}

.track-row__waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 28px;
  width: 120px;
  flex-shrink: 0;
}

.wf-bar {
  border-radius: 2px;
  width: 2.5px;
  flex-shrink: 0;
  transition: background 0.1s;
}

.wf-bar.played   { background: var(--amber); }
.wf-bar.unplayed { background: var(--border-2); }

.track-row__tags {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.track-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid var(--border-2);
  color: var(--text-3);
  white-space: nowrap;
}

.track-row__disco {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-2);
  color: var(--amber);
  background: var(--amber-bg);
  transition: border-color 0.12s, opacity 0.12s;
  white-space: nowrap;
  flex-shrink: 0;
}

.track-row__disco:hover { border-color: var(--amber); opacity: 0.85; }

.tracks-footer {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

/* ============================================================
   GENRES GRID
   ============================================================ */
.genres-section {
  padding: 3rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.genres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 1.25rem;
}

.genre-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.15s, background 0.15s;
  cursor: default;
}

.genre-card:hover {
  border-color: var(--border-2);
  background: var(--surface-2);
}

.genre-card__icon {
  font-size: 22px;
  color: var(--text-3);
  margin-bottom: 10px;
}

.genre-card__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 3px;
}

.genre-card__desc {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  margin: 3rem 2rem;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(212,146,42,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band__text h2 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 6px;
}

.cta-band__text p {
  font-size: 15px;
  color: var(--text-2);
  max-width: 460px;
  line-height: 1.7;
}

/* ============================================================
   CONTACT / LEAD FORM
   ============================================================ */
.contact-section {
  padding: 3rem 2rem 5rem;
  max-width: 680px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.contact-section h2 {
  font-size: 26px;
  color: var(--white);
  margin-bottom: 8px;
}

.contact-section .subtitle {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }

label {
  display: block;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-3);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text-1);
  outline: none;
  transition: border-color 0.15s;
}

input:focus, select:focus, textarea:focus { border-color: var(--amber); }
input::placeholder, textarea::placeholder { color: var(--text-3); }

select { cursor: pointer; color: var(--text-2); }
select option { background: var(--surface-2); }

textarea { resize: vertical; min-height: 90px; }

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 10px;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--amber);
  flex-shrink: 0;
}

.form-submit {
  width: 100%;
  background: var(--amber);
  color: var(--black);
  font-size: 15px;
  font-weight: 600;
  padding: 13px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  margin-top: 1.25rem;
  transition: opacity 0.15s;
  letter-spacing: 0.1px;
}

.form-submit:hover { opacity: 0.88; }

.form-privacy {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  margin-top: 10px;
  line-height: 1.6;
}

/* Success message */
.form-success {
  display: none;
  background: var(--green-bg);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 1.25rem;
  color: var(--green);
  font-size: 14px;
  text-align: center;
  margin-top: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.15s;
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.25rem 2rem;
    gap: 2rem;
  }

  .nav__links { display: none; }
  .nav__inner { padding: 1rem 1.25rem; }

  .hero__h1 { font-size: 30px; }

  .track-row {
    grid-template-columns: 36px 1fr auto;
    gap: 10px;
    padding: 12px 14px;
  }

  .track-row__waveform,
  .track-row__tags { display: none; }

  .genres-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-band { flex-direction: column; text-align: center; padding: 1.75rem; }

  .form-grid-2 { grid-template-columns: 1fr; }

  .tracks-section,
  .genres-section,
  .contact-section { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero__dot { animation: none; }
  * { transition: none !important; }
}
