
/* ===== SOUNDS OF — REDESIGN ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --grey-100: #f5f5f5;
  --grey-200: #e0e0e0;
  --grey-400: #999;
  --grey-600: #555;
  --burnt-orange: #c45c1a;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1100px;
  --header-h: 52px;
  --player-h: 80px;
  --pad: 20px;
}

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

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  padding-top: var(--header-h);
  padding-bottom: var(--player-h);
}

body.player-hidden { padding-bottom: 0; }

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

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--white);
  z-index: 100;
  border-bottom: 1px solid var(--grey-200);
}

.header-inner {
  max-width:100%;
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
}

.logo-wordmark {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -2px;
  white-space: nowrap;
  color: var(--black);
}

.logo-contributor {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--grey-600);
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transition: max-width 0.4s ease, opacity 0.3s ease;
}

.logo-contributor.visible {
  max-width: 200px;
  opacity: 1;
  font-size: 1.5rem;
  letter-spacing: -1px;
  font-weight: 600;
  margin-left: -12px;
  white-space: nowrap;
  color: var(--category-color);
}

.logo-rule {
  flex: 1;
  height: 1px;
  background: var(--black);
  display: block;
  min-width: 0;
  max-width: 0;
  margin-top: 20px;
  opacity: 0;
  transform-origin: left center;
  transition: max-width 0.9s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.logo-rule.visible {
  max-width: 60px;
  opacity: 1;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
}

nav#main-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  padding: 20px var(--pad);
  flex-direction: column;
  gap: 18px;
  z-index: 99;
}

nav#main-nav.open { display: flex; }

nav#main-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
}

nav#main-nav a:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .hamburger { display: none; }
  nav#main-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    border-bottom: none;
    padding: 0;
    gap: 28px;
    background: none;
    flex: initial;
  }
  nav#main-nav a { font-size: 0.9rem; color: var(--grey-600); }
  nav#main-nav a:hover { color: var(--black); text-decoration: none; }
}

/* ===== LAYOUT ===== */
.page-wrap {
  max-width:100%;
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  margin-bottom: 0;
  cursor: pointer;
}

.hero-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.hero-placeholder {
  width: 100%;
  height: 260px;
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  position: absolute;
  bottom: 0; right: 0;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(10,10,10,0.55);
  letter-spacing: 0.01em;
}

@media (min-width: 768px) {
  .hero-img, .hero-placeholder { height: 420px; }
}

/* ===== SITE DESCRIPTION ===== */
.site-description {
  max-width:100%;
  margin: 0 auto;
  padding: 28px var(--pad) 24px;
}

.site-description p {
    width: 75%;
}

.site-description p {
  font-size: clamp(1.2rem, 3.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--black);
}

/* ===== POST LIST ===== */
.post-list {
  max-width:100%;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.post-list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 20px;
  padding: 16px 0;
  border-top: 1px solid var(--black);
  align-items: start;
  cursor: pointer;
}

.post-list-item:first-child { margin-top: 20px; border-top: none;}
.post-list-item:last-child { border-bottom: 1px solid var(--black); }

.post-list-left {}

.post-list-title {
  font-size: clamp(1.2rem, 1.1rem, 1rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 5px;
  display: block;
}

.post-list-title:hover { text-decoration: underline; }

.post-list-contributor {
  font-size: 0.9rem;
  color: var(--grey-600);
  font-weight: 400;
}

.post-list-contributor a {
  color: var(--category-color);
  font-weight: 500;
}

.post-list-contributor a:hover { text-decoration: underline; }

.post-list-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
  padding-top: 2px;
}

.post-list-date {
  font-size: 0.8rem;
  color: var(--grey-600);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.post-list-cats {
  font-size: 0.9rem;
  color: var(--grey-600);
  white-space: nowrap;
}

.post-list-cats a {
  color: var(--burnt-orange);
  text-decoration: underline;
}

.post-list-cats a:hover { color: var(--black); }

/* ===== PAGINATION ===== */
.pagination {
  max-width:100%;
  margin: 0 auto;
  padding: 28px var(--pad) 64px;
  display: flex;
  gap: 24px;
  font-size: 0.8rem;
}

.pagination a {
  color: var(--black);
  font-weight: 500;
}

.pagination a:hover { text-decoration: underline; }

/* ===== PAGE HEADINGS (archive/contributor) ===== */
.page-heading {
  padding: 36px var(--pad) 20px;
  max-width:100%;
  margin: 0 auto;
  border-bottom: 1px solid var(--grey-200);
}

.page-heading h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ===== TAGS & CATEGORIES (post page only) ===== */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--white);
  text-decoration: none;
  line-height: 1.6;
  white-space: nowrap;
}

.tag:hover { opacity: 0.85; }

.category-link {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--burnt-orange);
  text-decoration: none;
}

.category-link:hover { text-decoration: underline; }

/* ===== POST PAGE ===== */
.post-hero {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.post-hero-placeholder {
  width: 100%;
  height: 300px;
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .post-hero, .post-hero-placeholder { height: 440px; }
}

.post-layout {
  max-width:100%;
  margin: 0 auto;
  padding: 36px var(--pad) 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 900px) {
  .post-layout { grid-template-columns: 1fr 280px; }
}

.post-category { margin-bottom: 10px; }

.post-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.post-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.8rem;
  color: var(--grey-600);
  flex-wrap: wrap;
}

.post-byline a { font-weight: 600; color: var(--black); }

.post-byline .sep { color: var(--grey-200); }

.play-post-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--black);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  transition: background 0.15s;
}

.play-post-btn:hover { background: #333; }

.post-description {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 36px;
  white-space: pre-wrap;
  color: var(--grey-600);
}

.post-playlist { margin-bottom: 36px; }

.post-playlist h3 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--grey-200);
  color: var(--grey-400);
}

.playlist-items { list-style: none; }

.playlist-item {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--grey-100);
  font-size: 0.875rem;
}

.playlist-num {
  font-variant-numeric: tabular-nums;
  font-size: 0.7rem;
  color: var(--grey-400);
  min-width: 20px;
}

/* ===== POST SIDEBAR ===== */
.sidebar-block {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--grey-100);
}

.sidebar-block:last-child { border-bottom: none; }

.sidebar-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 8px;
}

.sidebar-value { font-size: 0.875rem; font-weight: 600; }

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

.contributor-card {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.contributor-card img,
.contributor-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--grey-100);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contributor-name { font-weight: 700; font-size: 0.875rem; }
.contributor-link { font-size: 0.7rem; color: var(--grey-400); }

/* ===== CONTRIBUTOR PAGES ===== */
.contributor-hero {
  max-width:100%;
  margin: 0 auto;
  padding: 40px var(--pad) 40px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: start;
  border-bottom: 1px solid var(--grey-200);
}

@media (min-width: 600px) {
  .contributor-hero { grid-template-columns: 200px 1fr; gap: 48px; }
}

.contributor-portrait {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.contributor-portrait-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contributor-hero-name {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
}

.contributor-bio {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--grey-600);
  white-space: pre-wrap;
}

.contributors-grid {
  max-width:100%;
  margin: 0 auto;
  padding: 32px var(--pad) 80px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 28px;
}

.contributor-card-full {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.contributor-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--grey-100);
}

.contributor-card-img-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contributor-card-name { font-size: 1rem; font-weight: 700; }

.contributor-card-bio {
  font-size: 0.8rem;
  color: var(--grey-600);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== SECTION HEADER ===== */
.section-header {
  max-width:100%;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 0;
  border-bottom: 1px solid var(--grey-200);
  margin-bottom: 0;
}

.section-header h2 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-400);
  padding-bottom: 10px;
}

/* ===== STICKY AUDIO PLAYER ===== */
#sticky-player {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--player-h);
  background: var(--black);
  color: var(--white);
  z-index: 200;
  display: none;
  align-items: center;
  padding: 0 var(--pad);
  gap: 16px;
  border-top: 2px solid var(--burnt-orange);
}

#sticky-player.visible { display: flex; }

.player-thumb {
  width: 44px; height: 44px;
  object-fit: cover;
  flex-shrink: 0;
}

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

.player-title {
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-contributor {
  font-size: 0.7rem;
  color: var(--grey-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.player-play-btn {
  width: 36px; height: 36px;
  border: 1.5px solid var(--white);
  background: none;
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}

.player-play-btn:hover { background: rgba(255,255,255,0.1); }

.player-progress {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
}

.player-progress-fill {
  height: 100%;
  background: var(--burnt-orange);
  pointer-events: none;
  transition: width 0.1s linear;
}

.player-time {
  font-size: 0.7rem;
  color: var(--grey-400);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.player-volume { display: flex; align-items: center; gap: 8px; }
.player-volume input[type=range] { width: 70px; accent-color: var(--burnt-orange); }

.player-close {
  background: none;
  border: none;
  color: var(--grey-400);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 4px;
  flex-shrink: 0;
}

.player-close:hover { color: var(--white); }

/* ===== TEXT PAGES ===== */
.text-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 52px var(--pad) 80px;
}

.text-page h1 {
  font-size: clamp(1rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.text-page-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--grey-600);
  white-space: pre-wrap;
  margin-bottom: 32px;
}

.contact-details { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
.contact-details a { font-weight: 600; color: var(--black); }
.contact-detail { font-size: 0.875rem; color: var(--grey-600); }

/* ===== FOOTER ===== */
.site-footer {
  max-width:100%;
  margin: 48px auto 0;
  padding: 0 var(--pad) 48px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  padding: 28px 0 20px;
}

.footer-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
}

.footer-nav a:hover { text-decoration: underline; }

.footer-rule {
  border: none;
  border-top: 1px solid var(--grey-200);
  margin-bottom: 20px;
}

.footer-brand {
  margin-bottom: 10px;
}

.footer-brand-name {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--grey-600);
  line-height: 1.5;
  max-width: 480px;
}

/* ===== ADMIN ===== */
.admin-body { background: #f7f7f5; }

.admin-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--black);
  color: var(--white);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 var(--pad);
  gap: 24px;
}

.admin-logo { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.05em; color: var(--white); }
.admin-logo span { color: var(--burnt-orange); }

.admin-nav { display: flex; gap: 20px; margin-left: auto; }
.admin-nav a { font-size: 0.775rem; font-weight: 500; color: rgba(255,255,255,0.55); }
.admin-nav a:hover, .admin-nav a.active { color: var(--white); text-decoration: none; }

.admin-main { max-width: 1040px; margin: 0 auto; padding: 40px var(--pad) 80px; }

.admin-section-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 24px; letter-spacing: -0.02em; }

.admin-table { width: 100%; background: var(--white); border: 1px solid var(--grey-200); border-collapse: collapse; margin-bottom: 32px; }
.admin-table th, .admin-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--grey-200); font-size: 0.85rem; vertical-align: middle; }
.admin-table th { font-weight: 700; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-600); background: var(--grey-100); }
.admin-table tr:hover td { background: #fcfcfa; }

.admin-actions { display: flex; gap: 8px; }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; font-size: 0.8rem; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: all 0.15s; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: #333; color: var(--white); text-decoration: none; }
.btn-secondary { background: var(--white); color: var(--black); border-color: var(--grey-200); }
.btn-secondary:hover { border-color: var(--black); text-decoration: none; }
.btn-danger { background: var(--white); color: #c00; border-color: #fcc; }
.btn-danger:hover { background: #fee; border-color: #c00; text-decoration: none; }
.btn-sm { padding: 4px 10px; font-size: 0.72rem; }

.admin-form { max-width: 720px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 7px; }
.form-group input[type=text], .form-group input[type=date], .form-group input[type=url], .form-group input[type=email], .form-group input[type=number], .form-group select, .form-group textarea { width: 100%; padding: 9px 12px; border: 1px solid var(--grey-200); background: var(--white); font-size: 0.875rem; font-family: var(--font); color: var(--black); outline: none; transition: border-color 0.15s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--black); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-hint { font-size: 0.7rem; color: var(--grey-400); margin-top: 5px; }

.tag-checkboxes { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-checkbox-label { display: flex; align-items: center; gap: 5px; padding: 5px 10px; border: 1px solid var(--grey-200); cursor: pointer; font-size: 0.775rem; font-weight: 600; transition: all 0.1s; }
.tag-checkbox-label:hover { border-color: var(--black); }
.tag-checkbox-label input { display: none; }
.tag-checkbox-label.checked { background: var(--black); color: var(--white); border-color: var(--black); }

.new-tag-row { display: flex; gap: 8px; margin-top: 10px; }
.new-tag-row input { flex: 1; }

.image-preview { margin-top: 8px; }
.image-preview img { max-width: 180px; max-height: 130px; object-fit: cover; border: 1px solid var(--grey-200); }

.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 0.775rem; font-weight: 600; color: var(--grey-600); margin-bottom: 24px; }
.back-link:hover { color: var(--black); text-decoration: none; }

@media (max-width: 640px) {
  .admin-grid { grid-template-columns: 1fr; }
  .player-volume { display: none; }
  .contributor-hero { grid-template-columns: 100px 1fr; gap: 20px; }
}
/* ===== HERO ASSOCIATION BADGE ===== */
.hero {
  display: block;
  text-decoration: none;
  color: inherit;
}

.hero-assoc {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 8px 12px;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  background: rgba(10,10,10,0.45);
  letter-spacing: 0.03em;
}

/* ===== CATEGORY COLOUR UPDATE — hot pink ===== */
:root {
  --category-color: #e91e63;
}

.post-list-cats a {
  color: var(--category-color) !important;
  text-decoration: underline;
}

.category-link {
  color: var(--category-color) !important;
}

/* ===== POST PAGE — header row ===== */
.post-page-header {
  max-width:100%;
  margin: 0 auto;
  padding: 28px var(--pad) 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.post-page-title {
  font-size: clamp(0.8rem, 5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  flex: 1;
}

.post-page-meta {
  text-align: right;
  flex-shrink: 0;
  padding-top: 10px;
  font-size: 0.75rem;
  color: var(--grey-600);
  white-space: nowrap;
}

.post-page-meta a {
  color: var(--category-color);
  text-decoration: underline;
  font-weight: 500;
}

.post-page-meta .sep { margin: 0 4px; }

/* ===== INLINE AUDIO PLAYER ===== */
.inline-player {
  max-width:100%;
  margin: 40px auto 0;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 18px;
}

.inline-play-btn {
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--black);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}

.inline-play-btn:hover { background: var(--grey-100); }

.inline-time {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--grey-600);
  white-space: nowrap;
  min-width: 36px;
}

.inline-progress-wrap {
  flex: 1;
  height: 1px;
  background: var(--grey-200);
  cursor: pointer;
  position: relative;
}

.inline-progress-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: var(--black);
  pointer-events: none;
}

/* ===== PLAYLIST (post page) ===== */
.post-playlist-section {
  max-width:100%;
  margin: 36px auto 0;
  padding: 0 var(--pad);
}

.playlist-col-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 6px;
  margin-bottom: 2px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.playlist-row {
  padding: 10px 0;
  border-top: 1px solid var(--grey-200);
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--black);
}

.playlist-row:last-child { border-bottom: 1px solid var(--grey-200); }

/* ===== POST DATE SECTION ===== */
.post-date-section {
  max-width:100%;
  margin: 40px auto 0;
  padding: 0 var(--pad);
  font-size: 0.8rem;
  color: var(--grey-600);
  display: flex;
  gap: 5px;
}

.post-date-label { font-weight: 600; color: var(--black); }

/* ===== POST DESCRIPTION ===== */
.post-desc-section {
  max-width:100%;
  margin: 32px auto 0;
  padding: 0 var(--pad);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--grey-600);
  white-space: pre-wrap;
}

/* ===== RELATED POSTS SECTION ===== */
.related-label {
  max-width:100%;
  margin: 52px auto 0;
  padding: 0 var(--pad) 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--grey-400);
  letter-spacing: 0.04em;
}

/* ===== CONTRIBUTOR PAGE — updated layout ===== */
.contributor-page-name {
  max-width:100%;
  margin: 0 auto;
  padding: 28px var(--pad) 20px;
  font-size: clamp(1.4rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
}

.contributor-page-info {
  max-width:100%;
  margin: 0 auto;
  padding: 0 var(--pad) 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contributor-page-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.contributor-page-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grey-100);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contributor-page-bio {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--grey-600);
  flex: 1;
  padding: 4px 0 0 20px;
  border-left: 1px solid grey;
  margin: 0 0 0 10px;
}

.contributor-shows-label {
  max-width:100%;
  margin: 0 auto;
  padding: 0 var(--pad) 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--grey-400);
  letter-spacing: 0.04em;
  padding-bottom: 4px;
}

/* ===== CONTRIBUTORS LIST PAGE — updated ===== */
.contributors-page-heading {
  max-width:100%;
  margin: 0 auto;
  padding: 28px var(--pad) 20px;
  font-size: clamp(1.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
}

.contributors-list {
  max-width:100%;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.contributor-list-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-top: 1px solid var(--grey-200);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.contributor-list-item:first-child { border-top: 1px solid var(--grey-200); }
.contributor-list-item:last-child { border-bottom: 1px solid var(--grey-200); margin-bottom: 60px; }

.contributor-list-item:hover .contributor-list-name { text-decoration: underline; }

.contributor-list-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.contributor-list-img-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contributor-list-body { display: flex; flex-direction: column; gap: 6px; justify-content: center; }

.contributor-list-name {
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.contributor-list-bio {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--grey-600);
  margin-bottom: 4px;
}

.contributor-list-count {
  font-size: 0.75rem;
  color: var(--grey-400);
  font-weight: 500;
}

@media (max-width: 480px) {
  .contributor-list-item { grid-template-columns: 100px 1fr; gap: 18px; }
  .contributor-list-img, .contributor-list-img-placeholder { width: 100px; height: 100px; }
}

/* ===== ARCHIVE / CATEGORY PAGE ===== */
.archive-heading {
  max-width:100%;
  margin: 0 auto;
  padding: 28px var(--pad) 32px;
  font-size: clamp(0.8rem, 5vw, 2   rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
}

.post-list-cats a.podcast {color: green !important;}
.post-list-cats a.mix {color: orange !important;}
.post-list-cats a.project {color: purple !important;}

.post-list-tag,
.post-list-tags {
    margin-top: 5px;
    font-size: 75%;
}
.post-list-tag {color: grey !important;}
.post-list-tag:hover {color: black !important;}

/*==== SEARCH ======*/
.search-header {
    max-width:100%;
    margin: 10px auto;
    padding: 0 var(--pad); 
}
.header-search input, .search-header input {
    padding: 8px;
    border: 1px solid grey;
    width: 100%;
    font-size: 1em;
    margin: 20px 0;
}
.search-meta {
    max-width:100%;
    margin: 0 auto;
    padding: 0 var(--pad);    
}
.search .search-header input {
    width:50%;
}
.search-btn {
    padding: 12px;
    border: none;
    background-color: none;
    font-weight: 800
}

/* ===== SUBSCRIBE MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.6);
  z-index: 400;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal {
  background: var(--white);
  max-width: 480px;
  width: 100%;
  padding: 40px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--grey-400);
  padding: 4px;
}

.modal-close:hover { color: var(--black); }

.modal-heading {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.modal-subheading {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.modal-description {
  font-size: 0.8rem;
  color: var(--grey-600);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-input-row {
  display: flex;
  gap: 0;
}

.modal-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--grey-200);
  border-right: none;
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--black);
  outline: none;
  background: var(--white);
  transition: border-color 0.15s;
}

.modal-input:focus { border-color: var(--black); }

.modal-btn {
  padding: 10px 20px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.modal-btn:hover { background: #333; }
.modal-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.modal-error {
  font-size: 0.75rem;
  color: #c00;
  margin-top: 8px;
  min-height: 1em;
}

.modal-success {
  display: none;
  padding: 16px 0 0;
  font-size: 0.875rem;
  color: var(--grey-600);
}
