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

:root {
  --bg:      #0d0c0b;
  --border:  rgba(255,255,255,0.07);
  --text:    rgba(255,255,255,0.85);
  --muted:   rgba(255,255,255,0.4);
  --light:   rgba(255,255,255,0.18);
  --copper:  #b87a3a;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13,12,11,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 56px;
}

.wordmark {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
nav a:hover { color: var(--text); }

/* ── MAIN ── */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── HERO ── */
.hero {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ── SECTIONS ── */
section:not(.hero) {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

section h2 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 28px;
}

section p {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.8;
}

/* ── DESKTOP GRID ── */
@media (min-width: 900px) {
  header { padding: 0 60px; }
  main { padding: 0 60px; }
  footer { padding: 48px 60px 72px; max-width: 1100px; }

  /* Om, Press — label vänster, text höger */
  #om, #press {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0 80px;
    align-items: start;
  }
  #om h2, #press h2 { margin-bottom: 0; padding-top: 4px; }

  /* Artister + Musik — sida vid sida */
  #artister-musik {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 80px;
  }

  /* Musik — två album i kolumner */
  #musik .albums-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
  }

  /* Blogg-lista — bredare, 2 kolumner om det finns >=2 inlägg */
  #blogg { max-width: 100%; padding: 72px 0; }
  #blogg-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 0 60px; }
  .blogg-post { border-bottom: 1px solid #1e1e1e; }
}

/* ── ARTIST ── */
.artist { margin-top: 4px; }

.artist h3 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--text);
}

.artist-links {
  margin-top: 16px;
  display: flex;
  gap: 20px;
}

.artist-links a {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.artist-links a:hover { color: var(--text); }
.artist-links .spotify:hover { color: #1db954; }

/* ── ALBUMS ── */
.album {
  margin-bottom: 40px;
}

.album-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.album-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.album-year {
  font-size: 0.75rem;
  color: var(--light);
}

.tracklist {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--border);
}

.tracklist li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--muted);
  counter-increment: track;
}

.tracklist { counter-reset: track; }

.tracklist li::before {
  content: counter(track);
  width: 18px;
  text-align: right;
  font-size: 0.72rem;
  color: var(--light);
  flex-shrink: 0;
}

.listen-link {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--copper);
  text-decoration: none;
  margin-top: 8px;
  transition: opacity 0.15s;
}
.listen-link:hover { opacity: 0.7; }

/* ── PRESS ── */
.mail-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--copper);
  text-decoration: none;
  margin-top: 16px;
  transition: opacity 0.15s;
}
.mail-link:hover { opacity: 0.7; }

/* ── FOOTER ── */
footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-left span:last-child {
  font-size: 0.72rem;
  color: var(--light);
}

.footer-right a {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-right a:hover { color: var(--copper); }

/* ── HAMBURGERMENY ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
  transform-origin: center;
}
header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  header { padding: 0 20px; position: relative; flex-wrap: wrap; height: auto; min-height: 56px; }
  .nav-toggle { display: flex; }

  header nav {
    display: none !important;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 12px 0 20px;
    border-top: 1px solid var(--border);
  }
  header.nav-open nav { display: flex !important; }

  nav a {
    font-size: 1rem;
    color: var(--text);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  nav a:last-child { border-bottom: none; }
  nav a:hover { color: var(--copper); }

  main { padding: 0 20px; }
  footer { padding: 40px 20px 50px; }
  .hero { padding: 64px 0 56px; }

  section:not(.hero) { padding: 52px 0; }
  section p { font-size: 0.95rem; }

  .pod-ep-header { padding: 20px 0; }
  .pod-title { font-size: 0.95rem; }
  .pod-desc { font-size: 0.82rem; }
}

/* ── Poddar ─────────────────────────────────────────────── */
.poddar-lead {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 480px;
}

.poddar-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.pod-episode {
  border-bottom: 1px solid var(--border);
}

.pod-ep-header {
  display: grid;
  grid-template-columns: 52px 1fr 48px;
  gap: 0 24px;
  align-items: start;
  padding: 28px 0;
  cursor: pointer;
  transition: opacity 0.15s;
}
.pod-ep-header:hover { opacity: 0.8; }

.pod-num {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--copper);
  padding-top: 3px;
}

.pod-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pod-title {
  font-size: 1.0rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
}

.pod-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
}

.pod-info {
  font-size: 0.72rem;
  color: var(--light);
  margin-top: 2px;
}

.pod-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--copper);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s, background 0.15s;
  margin-top: 2px;
}
.pod-play-btn:hover {
  border-color: var(--copper);
  background: rgba(184,122,58,0.08);
}
.pod-play-btn svg {
  width: 16px;
  height: 16px;
}

.pod-share-link {
  font-size: 0.72rem;
  color: var(--light);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  letter-spacing: 0.02em;
  transition: color 0.15s;
  margin-top: 6px;
  display: inline-block;
  position: relative;
}
.pod-share-link:hover { color: var(--copper); }
.pod-share-link .share-tip {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  font-size: 0.65rem;
  color: var(--copper);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.pod-share-link.copied .share-tip { opacity: 1; }

/* Player expand */
.pod-player {
  display: none;
  padding: 0 0 24px 76px;
}
.pod-player.open { display: block; }

.pod-episode-img {
  width: 100%;
  max-width: 480px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.pod-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pod-time-current,
.pod-time-total {
  font-size: 0.72rem;
  color: var(--light);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  min-width: 32px;
}
.pod-time-total { text-align: right; }

.pod-progress-bar {
  flex: 1;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: height 0.15s;
}
.pod-progress-bar:hover { height: 3px; }

.pod-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--copper);
  border-radius: 2px;
  transition: width 0.1s linear;
  pointer-events: none;
}

@media (max-width: 600px) {
  .pod-ep-header {
    grid-template-columns: 36px 1fr 52px;
    gap: 0 14px;
    padding: 22px 0;
  }
  .pod-player { padding-left: 0; }
  .pod-num { font-size: 0.6rem; }
  .pod-play-btn {
    width: 52px;
    height: 52px;
    background: var(--copper);
    border-color: var(--copper);
    color: #fff;
    margin-top: 0;
  }
  .pod-play-btn:hover { background: #a06830; border-color: #a06830; }
  .pod-play-btn svg { width: 20px; height: 20px; }
}

/* ── Blogg ──────────────────────────────────────────────── */
#blogg { padding: 4rem 2rem; max-width: 720px; margin: 0 auto; }
.blogg-loading, .blogg-empty { color: #888; font-size: .9rem; }

.blogg-post {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 1.5rem 0; border-bottom: 1px solid #1e1e1e;
  cursor: pointer; transition: opacity .2s;
}
.blogg-post:hover { opacity: .75; }
.blogg-thumb { width: 100px; height: 72px; object-fit: cover; flex-shrink: 0; }
.blogg-post-body h3 { margin: 0 0 .4rem; font-size: 1rem; font-weight: 500; }
.blogg-post-body p  { margin: 0 0 .5rem; font-size: .85rem; color: #999; line-height: 1.5; }
.blogg-date { font-size: .75rem; color: #666; }

/* ── Post-sida ──────────────────────────────────────────── */
.post-main { max-width: 720px; margin: 0 auto; padding: 2rem; }
.post-hero { width: 100%; max-height: 420px; object-fit: cover; margin-bottom: 2rem; }
.post-content h1 { font-size: 1.8rem; font-weight: 400; margin-bottom: .5rem; }
.post-date { font-size: .8rem; color: #666; margin-bottom: 2rem; }
.post-body { font-size: .95rem; line-height: 1.75; color: #ccc; }
.post-body p { margin-bottom: 1.2rem; }
.back-link { display: inline-block; margin-top: 2.5rem; font-size: .85rem; color: #888; text-decoration: none; }
.back-link:hover { color: #fff; }

/* ── Hero med bild ──────────────────────────────────────── */
.hero { position: relative; min-height: 90vh; display: flex; align-items: flex-end; overflow: hidden; padding: 0; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(10,10,8,0.85) 100%); }
.hero-text { position: relative; z-index: 1; padding: 3rem 2.5rem 3.5rem; max-width: 720px; }
.hero-text h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 300; color: #f0ede6; margin-bottom: 0.75rem; line-height: 1.1; }
.hero-text p { color: #a09a90; font-size: 0.9rem; letter-spacing: 0.05em; }

@media (min-width: 900px) {
  .hero { min-height: 100vh; }
  .hero-text { padding: 4rem 5rem; }
}

/* ── Dokument ───────────────────────────────────────────── */
.dokument-list { list-style: none; padding: 0; margin: 0; }
.dokument-list li { padding: 1rem 0; border-bottom: 1px solid #222; display: flex; flex-direction: column; gap: .3rem; }
.dokument-list a { color: #e8e0d4; text-decoration: none; font-size: .95rem; }
.dokument-list a:hover { color: #fff; }
.dok-desc { font-size: .8rem; color: #666; }
