/* ============================================================
   POUPETTE MAGAZINE — CSS Editorial
   Inspiración: Popeye Magazine, Kinfolk, Casa Brutus, Apartamento
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400&family=Inter:wght@300;400;500&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── TOKENS ── */
:root {
  --bg:      #F3F0EB;
  --surface: #FFFFFF;
  --text:    #111111;
  --muted:   rgba(17,17,17,.56);
  --subtle:  rgba(17,17,17,.34);
  --hairline: rgba(17,17,17,.10);
  --accent:  #111111;
  --serif:   'Fraunces', ui-serif, Georgia, serif;
  --display: 'DM Serif Display', ui-serif, Georgia, serif;
  --sans:    'Inter', ui-sans-serif, system-ui, sans-serif;
  --shell:   1200px;
  --gutter:  24px;
}
html[data-theme="dark"] {
  --bg:      #0B0B0B;
  --surface: #141414;
  --text:    rgba(255,255,255,.92);
  --muted:   rgba(255,255,255,.55);
  --subtle:  rgba(255,255,255,.30);
  --hairline: rgba(255,255,255,.12);
  --accent:  rgba(255,255,255,.92);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.p-shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
.p-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
  display: flex; align-items: center;
}
.p-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 64px;
  padding: 0 var(--gutter);
  width: 100%; max-width: var(--shell); margin: 0 auto;
}
.p-header__left  { display: flex; align-items: center; gap: 16px; }
.p-header__right { display: flex; align-items: center; gap: 12px; }

/* Logo */
.p-logo-light, .p-logo-dark { display: none; align-items: center; }
html[data-theme="light"] .p-logo-light { display: inline-flex; }
html[data-theme="dark"]  .p-logo-dark  { display: inline-flex; }
.p-logo__link { display: flex; align-items: center; }
.p-logo__img  { display: block; height: 48px; width: auto; }

/* Burger */
.p-burger {
  display: none; width: 28px; height: 28px;
  background: none; border: 0; padding: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.p-burger span { width: 22px; height: 1.5px; background: var(--text); transition: transform .22s ease, opacity .18s ease; }
body.p-nav-open .p-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.p-nav-open .p-burger span:nth-child(2) { opacity: 0; }
body.p-nav-open .p-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Nav Desktop */
.p-nav--desktop { display: flex; align-items: center; height: 64px; margin-left: 20px; }
.p-nav__menu    { list-style: none; display: flex; align-items: center; gap: 22px; height: 64px; }
.p-nav__menu a  { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); line-height: 64px; transition: color .18s; }
.p-nav__menu a:hover, .p-nav__menu .current > a { color: var(--text); }

/* Theme toggle */
.p-theme-toggle {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--hairline); background: transparent; cursor: pointer;
  display: grid; place-items: center;
}
.p-theme-toggle__dot { width: 9px; height: 9px; border-radius: 999px; background: var(--text); }

/* Cart & User */
.p-cart {
  width: 38px; height: 38px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; color: inherit; background: transparent;
  border: 1px solid var(--hairline);
}
.p-cart svg { width: 16px; height: 16px; opacity: .85; }
.p-cart-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 16px; height: 16px; border-radius: 999px;
  font-size: 10px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  background: var(--text); color: var(--bg); border: 1px solid var(--bg);
}
.p-cart-badge[data-count="0"] { display: none; }
.p-user-icon {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--hairline);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.p-user-icon:hover { background: var(--hairline); }

/* Mobile Nav */
.p-nav--mobile {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  transform: translateX(-100%);
  transition: transform .42s cubic-bezier(.22,.61,.36,1);
  padding: 80px 32px 40px;
  display: flex; flex-direction: column;
}
body.p-nav-open .p-nav--mobile { transform: translateX(0); }
.p-nav--mobile .p-nav__menu { flex-direction: column; align-items: flex-start; gap: 28px; height: auto; }
.p-nav--mobile .p-nav__menu a { font-size: 22px; letter-spacing: .08em; font-weight: 400; line-height: 1; color: var(--text); }
.p-nav__overlay { position: fixed; inset: 0; z-index: 89; background: transparent; display: none; }
body.p-nav-open .p-nav__overlay { display: block; }
body.p-lock-nav { overflow: hidden; }
body.p-nav-open .p-header { background: transparent; backdrop-filter: none; border-bottom-color: transparent; }

@media (min-width: 981px) { .p-burger { display: none !important; } .p-nav--mobile { display: none !important; } }
@media (max-width: 980px) { .p-burger { display: flex; } .p-nav--desktop { display: none !important; } }

/* Progress bar */
.p-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 200; pointer-events: none; }
.p-progress span { display: block; height: 100%; width: 0; background: var(--text); transition: width .12s linear; }

/* ═══════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════ */
.p-meta  { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.p-label {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); display: inline-block; transition: color .15s;
}
.p-label:hover { color: var(--text); }
.p-eyebrow {
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--subtle); font-weight: 500;
}

/* ═══════════════════════════════════════════════
   HOMEPAGE — EDITORIAL GRID
═══════════════════════════════════════════════ */
.p-mag-main { padding: 0 0 80px; }

/* ─ Issue header ─ */
.p-issue-bar {
  border-bottom: 1px solid var(--hairline);
  padding: 10px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}

/* ─ Hero editorial ─ */
.p-hero-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--hairline);
}
.p-hero-editorial__feature {
  border-right: 1px solid var(--hairline);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.p-hero-editorial__feature-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.p-hero-editorial__feature-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s ease;
}
.p-hero-editorial__feature:hover .p-hero-editorial__feature-img img { transform: scale(1.04); }
.p-hero-editorial__feature-body {
  padding: 32px 40px 40px;
  display: flex; flex-direction: column; gap: 14px;
}
.p-hero-editorial__feature-title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.08; letter-spacing: -.02em; font-weight: 400;
}
.p-hero-editorial__feature-dek { font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 44ch; }
.p-hero-editorial__feature-read {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text); display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px;
}
.p-hero-editorial__feature-read::after { content: '→'; }

.p-hero-editorial__stack {
  display: flex; flex-direction: column;
}
.p-hero-stack-item {
  border-bottom: 1px solid var(--hairline);
  padding: 28px 36px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background .2s;
}
.p-hero-stack-item:last-child { border-bottom: none; }
.p-hero-stack-item:hover { background: var(--surface); }
.p-hero-stack-item__cat { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.p-hero-stack-item__title {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.2; letter-spacing: -.01em; font-weight: 400;
}
.p-hero-stack-item__dek { font-size: 13px; color: var(--muted); line-height: 1.65; }

@media (max-width: 900px) {
  .p-hero-editorial { grid-template-columns: 1fr; }
  .p-hero-editorial__feature { border-right: none; border-bottom: 1px solid var(--hairline); }
  .p-hero-editorial__feature-body { padding: 24px 20px 28px; }
  .p-hero-stack-item { padding: 20px; }
}

/* ─ Section divider ─ */
.p-section {
  border-top: 1px solid var(--hairline);
  padding: 40px 0;
}
.p-section__head {
  display: flex; align-items: baseline; gap: 20px;
  margin-bottom: 28px;
}
.p-section__name {
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  font-weight: 500; white-space: nowrap;
}
.p-section__rule { flex: 1; height: 1px; background: var(--hairline); }
.p-section__see-all {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); transition: color .15s; white-space: nowrap;
}
.p-section__see-all:hover { color: var(--text); }

/* ─ Grid 3 cols ─ */
.p-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 860px) { .p-grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px)  { .p-grid-3 { grid-template-columns: 1fr; } }

/* ─ Grid 4 cols ─ */
.p-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 960px) { .p-grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .p-grid-4 { grid-template-columns: 1fr; } }

/* ─ Article card ─ */
.p-card {
  display: flex; flex-direction: column; gap: 12px;
  color: inherit; transition: opacity .2s;
}
.p-card:hover { opacity: .88; }
.p-card__img {
  aspect-ratio: 3/2; overflow: hidden; background: var(--hairline);
}
.p-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.p-card:hover .p-card__img img { transform: scale(1.04); }
.p-card__cat  { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.p-card__title {
  font-family: var(--serif);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.25; letter-spacing: -.01em; font-weight: 400;
}
.p-card__excerpt { font-size: 13px; color: var(--muted); line-height: 1.65; }
.p-card__meta   { font-size: 10px; color: var(--subtle); letter-spacing: .05em; }

/* ─ Card horizontal ─ */
.p-card-h {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px;
  align-items: start; color: inherit;
}
.p-card-h__img { aspect-ratio: 3/2; overflow: hidden; }
.p-card-h__img img { width: 100%; height: 100%; object-fit: cover; }
.p-card-h__body { display: flex; flex-direction: column; gap: 6px; }
.p-card-h__cat   { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.p-card-h__title { font-family: var(--serif); font-size: 15px; line-height: 1.3; font-weight: 400; }
.p-card-h__meta  { font-size: 10px; color: var(--subtle); }

/* ─ Feature card (imagen grande + texto debajo) ─ */
.p-card-feature {
  display: flex; flex-direction: column; gap: 16px; color: inherit;
}
.p-card-feature__img { aspect-ratio: 16/9; overflow: hidden; }
.p-card-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.p-card-feature:hover .p-card-feature__img img { transform: scale(1.03); }
.p-card-feature__eyebrow { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.p-card-feature__title {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.15; font-weight: 400; letter-spacing: -.01em;
}
.p-card-feature__dek { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ─ Listen card ─ */
.p-listen-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px; border: 1px solid var(--hairline);
  background: var(--surface); color: inherit;
  transition: box-shadow .25s;
}
.p-listen-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,.07); }
.p-listen-card__cover { aspect-ratio: 1; overflow: hidden; }
.p-listen-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.p-listen-card__mood { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.p-listen-card__title { font-family: var(--serif); font-size: 17px; line-height: 1.25; font-weight: 400; }
.p-listen-card__artist { font-size: 12px; color: var(--muted); }

/* ─ Featured quote block ─ */
.p-quote-block {
  padding: 60px 0; text-align: center;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.p-quote-block blockquote {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.3; font-weight: 300; font-style: italic;
  max-width: 680px; margin: 0 auto;
  letter-spacing: -.01em; color: var(--text);
}
.p-quote-block__source { margin-top: 24px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ─ Editors pick ─ */
.p-editors-pick {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 0;
  border: 1px solid var(--hairline);
}
.p-editors-pick__divider { background: var(--hairline); width: 1px; }
.p-editors-pick__col { padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.p-editors-pick__label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.p-editors-pick__title { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 30px); line-height: 1.15; font-weight: 400; letter-spacing: -.01em; }
.p-editors-pick__dek { font-size: 14px; color: var(--muted); line-height: 1.7; }
.p-editors-pick__img { aspect-ratio: 16/9; overflow: hidden; }
.p-editors-pick__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.p-editors-pick a:hover .p-editors-pick__img img { transform: scale(1.03); }

@media (max-width: 760px) {
  .p-editors-pick { grid-template-columns: 1fr; }
  .p-editors-pick__divider { width: 100%; height: 1px; }
  .p-editors-pick__col { padding: 24px 20px; }
}

/* ─ Monthly playlist (Apple Music style) ─ */
.p-playlist-feature {
  display: grid; grid-template-columns: 280px 1fr; gap: 0;
  border: 1px solid var(--hairline);
}
.p-playlist-feature__cover {
  background: #111;
  position: relative; overflow: hidden;
}
.p-playlist-feature__cover img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75); }
.p-playlist-feature__cover-text {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px; color: #fff;
}
.p-playlist-feature__type { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.p-playlist-feature__name { font-family: var(--serif); font-size: 22px; line-height: 1.2; margin-top: 6px; }
.p-playlist-feature__body { padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.p-playlist-feature__mood { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.p-playlist-feature__title { font-family: var(--serif); font-size: clamp(18px, 2vw, 28px); line-height: 1.2; font-weight: 400; }
.p-playlist-feature__desc { font-size: 14px; color: var(--muted); line-height: 1.75; max-width: 52ch; }
.p-playlist-feature__tracks { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.p-playlist-feature__tracks li { font-size: 13px; color: var(--muted); display: flex; gap: 12px; }
.p-playlist-feature__tracks li::before { content: attr(data-n); color: var(--subtle); min-width: 16px; }

@media (max-width: 720px) {
  .p-playlist-feature { grid-template-columns: 1fr; }
  .p-playlist-feature__cover { aspect-ratio: 4/3; }
  .p-playlist-feature__body { padding: 24px 20px; }
}

/* ─ Apple Music embed ─ */
.p-apple-embed {
  border-radius: 12px; overflow: hidden;
  width: 100%; max-width: 660px;
}

/* ═══════════════════════════════════════════════
   CATEGORY PAGE
═══════════════════════════════════════════════ */
.p-cat-masthead {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--hairline);
  display: grid; grid-template-columns: 1fr auto;
  align-items: end; gap: 40px;
}
.p-cat-masthead__name {
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.p-cat-masthead__title {
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 100px);
  line-height: 1; letter-spacing: -.03em; font-weight: 400;
}
.p-cat-masthead__desc {
  font-size: 15px; color: var(--muted); max-width: 44ch;
  line-height: 1.75; margin-top: 16px;
}
.p-cat-masthead__issue { font-size: 11px; color: var(--subtle); letter-spacing: .06em; }
@media (max-width: 640px) {
  .p-cat-masthead { grid-template-columns: 1fr; gap: 20px; }
  .p-cat-masthead__title { font-size: clamp(48px, 12vw, 72px); }
}

.p-cat-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--hairline);
}
.p-cat-featured__img { overflow: hidden; aspect-ratio: 1; }
.p-cat-featured__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.p-cat-featured a:hover .p-cat-featured__img img { transform: scale(1.03); }
.p-cat-featured__body { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.p-cat-featured__eyebrow { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.p-cat-featured__title { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 36px); line-height: 1.1; font-weight: 400; letter-spacing: -.015em; }
.p-cat-featured__dek { font-size: 14px; color: var(--muted); line-height: 1.75; max-width: 42ch; }
.p-cat-featured__read { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.p-cat-featured__read::after { content: '→'; }
@media (max-width: 760px) {
  .p-cat-featured { grid-template-columns: 1fr; }
  .p-cat-featured__body { padding: 28px 20px; }
}

.p-cat-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.p-cat-grid .p-card { background: var(--bg); padding: 28px; gap: 10px; }
.p-cat-grid .p-card .p-card__img { margin: -28px -28px 0; }
@media (max-width: 860px) { .p-cat-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .p-cat-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════
   ARTICLE SINGLE
═══════════════════════════════════════════════ */
.p-article-wrap { padding: 0 0 80px; }

.p-article-head {
  max-width: 760px; margin: 0 auto;
  padding: 48px var(--gutter) 0;
}
.p-article-head__meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.p-article-head__title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05; font-weight: 400; letter-spacing: -.025em;
  margin-bottom: 18px;
}
.p-article-head__dek {
  font-size: 17px; color: var(--muted); line-height: 1.8; max-width: 60ch;
}

.p-article-hero {
  max-width: 1040px; margin: 40px auto 0; padding: 0 var(--gutter);
}
.p-article-hero img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
}
.p-article-hero figcaption {
  font-size: 11px; color: var(--muted); margin-top: 10px; letter-spacing: .04em;
}

.p-article-body {
  max-width: 680px; margin: 48px auto 0; padding: 0 var(--gutter);
  font-size: 17px; line-height: 1.9;
}
.p-article-body p  { margin-bottom: 1.4em; }
.p-article-body h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15; letter-spacing: -.01em; font-weight: 400;
  margin: 2.4em 0 .8em;
}
.p-article-body h3 {
  font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 500; margin: 2em 0 .6em; color: var(--muted);
}
.p-article-body blockquote {
  border-left: 2px solid var(--hairline);
  padding: 4px 0 4px 28px;
  margin: 2.4em 0;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6; font-style: italic; color: var(--muted);
}
.p-article-body ul, .p-article-body ol {
  padding-left: 1.6em; margin-bottom: 1.4em;
}
.p-article-body li { margin-bottom: .5em; }
.p-article-body strong { font-weight: 500; color: var(--text); }
.p-article-body em { font-style: italic; }
.p-article-body .p-pullquote {
  text-align: center; padding: 40px 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.35; font-style: italic;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin: 2.4em 0;
}
.p-article-body .p-apple-embed-wrap { margin: 2em 0; }

.p-article-tags {
  max-width: 680px; margin: 48px auto 0; padding: 24px var(--gutter) 0;
  border-top: 1px solid var(--hairline);
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}

/* Related */
.p-related {
  padding: 56px 0;
  border-top: 1px solid var(--hairline);
}
.p-related__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.p-related__name { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.p-related__rule { flex: 1; height: 1px; background: var(--hairline); }
.p-related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 700px) { .p-related-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.p-footer {
  border-top: 1px solid var(--hairline);
  padding: 64px 0 48px;
}
.p-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px; align-items: start;
}
.p-footer-col__label {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--subtle); margin-bottom: 16px; font-weight: 500;
}
.p-footer-col__links { display: flex; flex-direction: column; gap: 10px; }
.p-footer-col__links a {
  font-size: 13px; color: var(--muted); transition: color .15s;
}
.p-footer-col__links a:hover { color: var(--text); }
.p-footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.p-footer-brand { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); }
.p-footer-credit { font-size: 11px; color: var(--subtle); letter-spacing: .08em; }
@media (max-width: 860px) { .p-footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 480px) { .p-footer-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════
   LISTEN PAGE — Apple Music style
═══════════════════════════════════════════════ */
.p-listen-hero {
  background: #111; color: #fff;
  padding: 80px 0 60px;
  position: relative; overflow: hidden;
}
.p-listen-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,45,85,.12) 0%, transparent 70%),
              radial-gradient(ellipse at 20% 80%, rgba(10,132,255,.08) 0%, transparent 60%);
}
.p-listen-hero__inner { position: relative; z-index: 1; }
.p-listen-hero__eyebrow { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.p-listen-hero__title { font-family: var(--display); font-size: clamp(44px, 7vw, 88px); line-height: 1; letter-spacing: -.03em; margin-bottom: 16px; }
.p-listen-hero__desc { font-size: 16px; color: rgba(255,255,255,.65); max-width: 46ch; line-height: 1.75; }

.p-listen-notes {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.p-listen-notes__month { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.p-listen-notes__title { font-family: var(--serif); font-size: clamp(22px, 2.8vw, 34px); line-height: 1.1; font-weight: 400; letter-spacing: -.015em; margin-bottom: 20px; }
.p-listen-notes__body { font-size: 15px; line-height: 1.85; color: var(--muted); }
.p-listen-notes__body p { margin-bottom: 1.2em; }
@media (max-width: 700px) { .p-listen-notes { grid-template-columns: 1fr; gap: 32px; } }

/* Tracklist */
.p-tracklist { list-style: none; }
.p-tracklist li {
  display: grid; grid-template-columns: 28px 1fr auto;
  gap: 12px; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
}
.p-tracklist li:last-child { border-bottom: none; }
.p-tracklist__n { color: var(--subtle); font-size: 12px; }
.p-tracklist__info { display: flex; flex-direction: column; gap: 2px; }
.p-tracklist__title { color: var(--text); font-weight: 400; }
.p-tracklist__artist { color: var(--muted); font-size: 12px; }
.p-tracklist__dur { color: var(--subtle); font-size: 12px; }
