@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Work+Sans:wght@200;300;400&display=swap');

:root {
  --bg:     #EDEAE4;
  --text:   #1A1A1A;
  --text2:  #2A2A2A;
  --text3:  #8A8178;
  --accent: #888888;
  --border: rgba(26,26,26,0.12);
}

[data-theme="dark"] {
  --bg:     #1A1A1A;
  --text:   #F5F2ED;
  --text2:  #8C857D;
  --text3:  #6B6560;
  --accent: #AAAAAA;
  --border: rgba(245,242,237,0.10);
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Work Sans', sans-serif;
  font-weight: 200;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ── THEME TOGGLE ── */
.theme-btn {
  position: fixed;
  top: 26px;
  right: 48px;
  z-index: 100;
  width: 30px; height: 30px;
  border-radius: 4px;
  border: 0.5px solid var(--border);
  background: transparent;
  color: var(--text2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.15s, border-color 0.15s;
}

.theme-btn:hover { color: var(--text); border-color: var(--text3); }
.theme-btn svg { width: 14px; height: 14px; display: block; }
.theme-btn .icon-sun  { display: none; }
.theme-btn .icon-moon { display: block; }
[data-theme="dark"] .theme-btn .icon-sun  { display: block; }
[data-theme="dark"] .theme-btn .icon-moon { display: none; }

/* ── NAVIGATION ── */
nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 28px 108px 28px 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

nav a {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text2);
  transition: color 0.15s;
}

nav a:hover { color: var(--text); }
nav a.active { color: #888888; text-decoration: underline; }

/* ── HAMBURGER ── */
.hamburger-btn {
  display: none;
  border: none;
  background: transparent;
  color: var(--text2);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.hamburger-btn:hover { color: var(--text); }
.hamburger-btn svg { width: 40px; height: 40px; display: block; }

/* ── FOOTER ── */
footer {
  padding: 40px 48px;
  font-size: 12px;
  font-weight: 300;
  color: var(--text3);
  letter-spacing: 0.04em;
  border-top: 0.5px solid var(--border);
  margin-top: 80px;
  text-align: center;
}

/* ── HOME ── */
.hero-screen {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 60px;
}

.hero-name {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(38px, 10.5vw, 136px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 26px;
}

.hero-name span { display: block; }

.hero-tagline {
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(20px, 2.8vw, 32px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text2);
}

.poster-grid {
  padding: 60px 48px 0;
  columns: 4;
  column-gap: 32px;
}

.poster-grid figure {
  break-inside: avoid;
  margin-bottom: 32px;
  overflow: hidden;
  border-radius: 2px;
}

.poster-grid img {
  width: 100%;
  display: block;
  transition: opacity 0.25s;
}

.poster-grid figure:hover img { opacity: 0.85; }

.section-divider {
  text-align: center;
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text3);
  margin: 60px 0 40px;
}

.poster-grid--secondary img { opacity: 0.85; }
.poster-grid--secondary figure:hover img { opacity: 1; }

/* ── ABOUT ── */
.about-section {
  padding: 60px 48px 0;
}

.about-hi {
  font-family: 'Work Sans', sans-serif;
  font-weight: 200;
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 12px;
}

.about-sub {
  font-family: 'Work Sans', sans-serif;
  font-weight: 200;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--text2);
  margin-bottom: 44px;
}

.about-bio {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text2);
  max-width: 620px;
  text-align: justify;
  letter-spacing: 0.05em;
}

.about-bio p + p { margin-top: 22px; }

.studio-photos {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 60px 48px 0;
}

.studio-photos img {
  width: 100%;
  display: block;
  object-fit: contain;
  background: transparent;
}

/* ── CONTACT ── */
.contact-section {
  padding: 60px 48px 0;
  max-width: 580px;
}

.contact-heading {
  font-family: 'Work Sans', sans-serif;
  font-weight: 200;
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 36px;
}

.contact-email-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--text2);
  text-decoration: none;
  margin-bottom: 52px;
  border-bottom: 0.5px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.contact-email-link:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-field { display: flex; flex-direction: column; }

.form-label {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 6px 0 10px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 200;
  font-size: 15px;
  color: var(--text);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color 0.15s;
}

.form-input:focus,
.form-textarea:focus { border-bottom-color: var(--text2); }

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text3); }

.form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.65;
}

.submit-btn {
  align-self: flex-start;
  margin-top: 8px;
  padding: 12px 36px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 3px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s;
}

.submit-btn:hover { opacity: 0.82; }

/* ── LISTEN ── */
.listen-main {
  padding: 48px 48px 120px;
}

.listen-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 40px;
}

.streaming-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.streaming-icons a {
  color: var(--text3);
  text-decoration: none;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: color 0.15s;
}

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

.streaming-text-badge {
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  width: 22px;
  height: 22px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

.listen-legal-btn {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text2);
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 3px;
  cursor: pointer;
  padding: 4px 10px;
  font-family: 'Work Sans', sans-serif;
  flex-shrink: 0;
  margin-left: auto;
  transition: color 0.15s;
}
.listen-legal-btn:hover { color: var(--text2); }

.album-section {
  display: flex;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 0.5px solid var(--border);
}

.album-section:first-of-type { padding-top: 0; }
.album-section:last-child  { border-bottom: none; }

.album-poster {
  width: 240px;
  flex-shrink: 0;
}

.album-poster img {
  width: 100%;
  display: block;
}

.album-right { flex: 1; min-width: 0; }

.album-title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 16px;
}

.album-credit {
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--text3);
}

.track-list { display: flex; flex-direction: column; }

.track-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 8px;
  margin: 0 -8px;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.12s;
}

.track-row:hover  { background: rgba(128,128,128,0.07); }
.track-row.active { background: rgba(128,128,128,0.09); }

.track-icon {
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--text3);
  margin-top: 3px;
}

.track-row:hover  .track-icon { color: var(--text2); }
.track-row.active .track-icon { color: var(--text); }

.track-icon .icon-pause { display: none; }
.track-row.playing .track-icon .icon-play  { display: none; }
.track-row.playing .track-icon .icon-pause { display: block; }

.track-body { flex: 1; min-width: 0; }

.track-name {
  display: block;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1.4;
}

.track-row.active .track-name { color: var(--text); }

.track-wave {
  display: block;
  width: 100%;
  height: 28px;
  margin-top: 6px;
  cursor: pointer;
}

/* ── PLAYER BAR ── */
.listen-player {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg);
  border-top: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 48px;
  height: 68px;
  gap: 28px;
  z-index: 50;
}

.lp-info { flex: 1; min-width: 0; }

.lp-title {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-album {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--text3);
  margin-top: 2px;
}

.lp-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.lp-skip {
  width: 32px; height: 32px;
  border: none; background: transparent;
  color: var(--text2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0; border-radius: 3px;
  transition: color 0.12s;
}
.lp-skip:hover { color: var(--text); }

.lp-play {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0.5px solid var(--text2);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  transition: border-color 0.12s;
}
.lp-play:hover { border-color: var(--text); }

#lpPlayBtn .icon-pause { display: none; }
#lpPlayBtn.playing .icon-play  { display: none; }
#lpPlayBtn.playing .icon-pause { display: block; }

.lp-prog {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1.2;
  min-width: 0;
}

.lp-time {
  font-size: 11px;
  font-weight: 300;
  color: var(--text3);
  letter-spacing: 0.03em;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.lp-bar {
  flex: 1;
  height: 2px;
  background: var(--border);
  cursor: pointer;
  position: relative;
  border-radius: 1px;
}

.lp-fill {
  height: 100%;
  background: var(--text);
  width: 0%;
  border-radius: 1px;
  pointer-events: none;
}

/* ── LEGAL MODAL ── */
.legal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.legal-overlay.open { display: flex; }

.legal-modal {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: 6px;
  padding: 40px 44px;
  max-width: 560px;
  width: 100%;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.legal-modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--text3);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  font-family: sans-serif;
}
.legal-modal-close:hover { color: var(--text); }

.legal-modal p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text2);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.legal-modal p:last-child { margin-bottom: 0; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .theme-btn { top: 20px; right: 20px; }

  nav {
    padding: 16px 64px 16px 24px;
    justify-content: flex-end;
    flex-wrap: wrap;
    position: relative;
  }

  .hamburger-btn { display: flex; }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-top: 0.5px solid var(--border);
    padding-top: 8px;
    padding-bottom: 12px;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    width: 100%;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.08em;
    padding: 4px 0;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .hero { padding: 0 24px 44px; }

  .poster-grid {
    padding: 48px 24px 0;
    columns: 2;
    column-gap: 20px;
  }

  .poster-grid figure { margin-bottom: 20px; }

  footer { padding: 32px 24px; margin-top: 60px; }

  .about-section { padding: 40px 24px 0; }
  .studio-photos { padding: 40px 24px 0; gap: 20px; }

  .contact-section { padding: 40px 24px 0; }

  /* listen page */
  .listen-main { padding: 36px 24px 100px; }
  .listen-header { flex-direction: column; align-items: center; gap: 24px; margin-bottom: 28px; }
  .streaming-icons { width: 100%; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0; flex: unset; }
  .listen-legal-btn { margin-left: 0; }
  .streaming-icons a { font-size: 28px; width: 36px; height: 40px; justify-content: center; padding: 0; }
  .streaming-text-badge { width: 28px; height: 28px; font-size: 14px; }
  .album-section { gap: 16px; padding: 36px 0; }
  .album-poster { width: 120px; }
  .listen-player { padding: 0 20px; gap: 16px; height: 60px; }
  .lp-info { display: none; }
  .lp-prog { flex: 1; }

  .legal-modal { padding: 32px 24px; }
}

