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

:root {
  --ink: #0c0c0c;
  --paper: #f0ede6;
  --paper-dim: #d9d5cc;
  --accent: #e8400c;
  --accent-dim: rgba(232, 64, 12, 0.15);
  --muted: #6b6760;
  --card-w: 380px;
  --card-gap: 2px;
  --header-h: 56px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-ui: 'Barlow', 'Helvetica Neue', Helvetica, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-ui);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── HEADER ─── */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 200;
  border-bottom: 1px solid rgba(240, 237, 230, 0.06);
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  height: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.logo-dot { color: var(--accent); }

.header-byline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── INTRO ─── */

.intro {
  padding: calc(var(--header-h) + 5rem) 2rem 4rem;
  max-width: 1600px;
  margin: 0 auto;
}

.intro-text {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--paper);
}

.intro-text em {
  font-style: italic;
  color: var(--accent);
}

.intro-sub {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.intro-sub a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(107, 103, 96, 0.4);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.intro-sub a:hover { color: var(--paper); border-color: var(--paper); }

.sep { color: rgba(107, 103, 96, 0.4); }

/* ─── TRACK ─── */

.track-outer {
  max-width: 1400px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 2rem 0;
}

.track-wrapper {
  position: relative;
  overflow: hidden;
}

.track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
  padding: 1.5rem 0 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* ─── CARD ─── */

.card {
  background: #141414;
  border: 1px solid rgba(240, 237, 230, 0.06);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.card:hover {
  border-color: rgba(240, 237, 230, 0.18);
}

.card:hover .card-img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.card:hover .arrow {
  transform: translateX(5px);
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.card-img-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #1e1e1e;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(30%);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(240, 237, 230, 0.06);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.card-pub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.card-date {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--paper);
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}

.card-title em {
  font-style: italic;
}

.card-excerpt {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.card-excerpt em {
  font-style: italic;
  color: var(--paper-dim);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
}

.arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}



/* ─── ESSAY PAGE ─── */

.essay-wrap {
  padding: calc(var(--header-h) + 4rem) 2rem 8rem;
  max-width: 700px;
  margin: 0 auto;
}

.essay-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 3.5rem;
  transition: color 0.2s;
}

.essay-back:hover { color: var(--paper); }

.essay-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.essay-kicker::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(232, 64, 12, 0.2);
  max-width: 60px;
}

.essay-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin-bottom: 1.5rem;
}

.essay-headline em { font-style: italic; color: var(--accent); }

.essay-standfirst {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--muted);
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  margin-bottom: 2rem;
}

.essay-byline {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(240, 237, 230, 0.07);
  border-bottom: 1px solid rgba(240, 237, 230, 0.07);
  margin-bottom: 3rem;
}

.essay-byline span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.essay-byline span strong {
  color: var(--paper-dim);
  font-weight: 700;
}

.essay-cover {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  margin-bottom: 3rem;
  filter: grayscale(20%);
}

.essay-body {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(240, 237, 230, 0.8);
}

.essay-body p {
  margin-bottom: 1.6em;
}

.essay-body em {
  font-style: italic;
  color: var(--paper);
}

.essay-body strong {
  font-weight: 700;
  font-style: normal;
  color: var(--paper);
}

/* ─── RESPONSIVE ─── */

@media (max-width: 1024px) {
  .track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 52px;
  }

  .intro-text { font-size: 2.6rem; }

  .track {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }
}

/* ─── LOAD MORE ─── */

.card--hidden {
  display: none;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 2.5rem 0 1rem;
}

.load-more-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  background: none;
  border: 1px solid rgba(240, 237, 230, 0.2);
  padding: 0.75rem 2rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.load-more-btn:hover {
  background: rgba(240, 237, 230, 0.06);
  border-color: rgba(240, 237, 230, 0.4);
}

/* ─── PLAYLIST ─── */

.playlist-section {
  max-width: 1400px;
  margin: 4rem auto 0;
  padding: 0 2rem 6rem;
  border-top: 1px solid rgba(240, 237, 230, 0.06);
}

.playlist-inner {
  padding-top: 3rem;
  max-width: 700px;
  margin: 0 auto;
}

.playlist-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.playlist-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(232, 64, 12, 0.2);
  max-width: 60px;
}

.playlist-embed {
  border-radius: 0;
  display: block;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::after {
  content: '';
  height: 1px;
  background: rgba(232, 64, 12, 0.2);
  width: 60px;
}