/* ═══════════════════════════════════════════════════════════
   THE MC RECORD — record.css
   Publication stylesheet · newspaper/magazine light theme
   Pairs with maincharactr-website/city/city.css (shared nav vars not imported)
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Inter:wght@300;400;500;600&display=swap');

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --paper:     #FDFAF5;
  --paper-2:   #F4F0E8;
  --ink:       #1A1A1A;
  --ink-dim:   #4A4A4A;
  --ink-mute:  #8A8A8A;
  --gold:      #D4AF37;
  --gold-hi:   #FFE878;
  --gold-lo:   #8B6B10;
  --amber:     #C8901A;
  --sangre:    #8B0000;
  --teal:      #00D4AA;
  --black-nav: #0A0A0A;
  --rule:      rgba(212,175,55,.35);

  --f-display: 'Cinzel', 'Palatino Linotype', Georgia, serif;
  --f-story:   'Playfair Display', Georgia, serif;
  --f-body:    'Inter', 'Montserrat', sans-serif;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────────────────────── */
.record-nav {
  background: var(--black-nav);
  border-bottom: 1px solid rgba(212,175,55,.18);
  padding: 0 2rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.record-nav__brand {
  font-family: var(--f-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
}
.record-nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.record-nav__links a {
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,245,240,.55);
  text-decoration: none;
  transition: color .2s;
}
.record-nav__links a:hover { color: var(--gold); }

/* ── MASTHEAD ─────────────────────────────────────────────── */
.record-masthead {
  background: var(--paper);
  padding: 3rem 2rem 0;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.record-masthead__kicker {
  font-family: var(--f-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.75rem;
}
.record-masthead__title {
  font-family: var(--f-display);
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #000;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.record-masthead__sub {
  font-family: var(--f-story);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-mute);
  margin-bottom: 0.6rem;
}
.record-masthead__datestamp {
  font-family: var(--f-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}
.record-masthead__rule {
  max-width: 1000px;
  margin: 0 auto 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ── CATEGORY FILTER ──────────────────────────────────────── */
.record-filters {
  background: var(--paper);
  padding: 0.85rem 2rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.filter-pill {
  font-family: var(--f-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(0,0,0,.16);
  background: transparent;
  color: var(--ink-dim);
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
  border-radius: 0;
  line-height: 1.4;
}
.filter-pill:hover {
  border-color: var(--gold);
  color: var(--ink);
}
.filter-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

/* ── FEATURED POST ────────────────────────────────────────── */
.record-featured {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.record-featured__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}
.record-featured__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.record-featured__img:hover img { transform: scale(1.04); }

.record-featured__eyebrow {
  font-family: var(--f-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.record-featured__eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.record-featured__title {
  font-family: var(--f-story);
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
  color: #000;
  margin-bottom: 0.85rem;
}
.record-featured__sub {
  font-family: var(--f-story);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-dim);
  margin-bottom: 1.1rem;
  line-height: 1.5;
}
.record-featured__byline {
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.5rem;
}
.record-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
  transition: color .2s;
}
.record-featured__cta:hover { color: var(--gold); }
.record-featured__cta::after { content: '→'; }

/* ── SECTION DIVIDER ──────────────────────────────────────── */
.record-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.record-section__rule {
  border: none;
  border-top: 1px solid rgba(0,0,0,.1);
  margin-bottom: 0.6rem;
}
.record-section__label {
  font-family: var(--f-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.75rem;
}

/* ── POST GRID ────────────────────────────────────────────── */
.record-grid-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}
.record-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}

/* ── CARD ─────────────────────────────────────────────────── */
.record-card-wrap { display: contents; }
.record-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.record-card__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
  margin-bottom: 0.85rem;
}
.record-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .32s ease;
}
.record-card:hover .record-card__img img { transform: scale(1.05); }
.record-card__cat {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  margin-bottom: 0.55rem;
  color: #fff;
  line-height: 1.4;
}
.record-card__title {
  font-family: var(--f-story);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.22;
  color: #000;
  margin-bottom: 0.4rem;
  transition: color .18s;
  text-underline-offset: 3px;
}
.record-card:hover .record-card__title {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}
.record-card__excerpt {
  font-size: 0.82rem;
  color: var(--ink-dim);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 0.55rem;
}
.record-card__date {
  font-family: var(--f-body);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ── ARTICLE BREADCRUMB ───────────────────────────────────── */
.article-breadcrumb {
  background: var(--paper-2);
  border-bottom: 1px solid rgba(0,0,0,.07);
  padding: 0.65rem 2rem;
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.article-breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.article-breadcrumb a:hover { color: var(--gold); }
.article-breadcrumb span { margin: 0 0.5rem; color: rgba(0,0,0,.2); }

/* ── ARTICLE HEADER ───────────────────────────────────────── */
.article-header {
  max-width: 860px;
  margin: 3rem auto 2rem;
  padding: 0 2rem;
}
.article-cat {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}
.article-title {
  font-family: var(--f-story);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: #000;
  margin-bottom: 0.75rem;
}
.article-sub {
  font-family: var(--f-story);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-dim);
  margin-bottom: 1rem;
  line-height: 1.45;
}
.article-byline {
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,.1);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ── ARTICLE HERO ─────────────────────────────────────────── */
.article-hero {
  max-width: 1050px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}
.article-hero img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
}

/* ── ARTICLE LAYOUT (body + sidebar) ─────────────────────── */
.article-layout {
  max-width: 1050px;
  margin: 0 auto 5rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}

/* ── BODY COPY ────────────────────────────────────────────── */
.article-body {
  font-family: var(--f-story);
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--ink);
}
.article-body p { margin-bottom: 1.5rem; }

/* Drop cap */
.article-body > p:first-child::first-letter {
  font-family: var(--f-display);
  font-size: 4.25em;
  font-weight: 900;
  line-height: 0.78;
  float: left;
  margin: 0.06em 0.08em 0 0;
  color: var(--gold);
}

.article-body h2 {
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,.1);
}
.article-body strong { font-weight: 700; }
.article-body em { font-style: italic; }

/* Pull quote */
.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2.5rem 0;
  background: rgba(212,175,55,.05);
}
.pull-quote p {
  font-family: var(--f-story);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 0.5rem !important;
}
.pull-quote cite {
  font-family: var(--f-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* Article end */
.article-end-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 3rem 0 2rem;
}
.article-end-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.article-end-nav a {
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.18);
  padding-bottom: 2px;
  transition: color .18s, border-color .18s;
}
.article-end-nav a:hover { color: var(--gold); border-color: var(--gold); }

/* ── SIDEBAR ──────────────────────────────────────────────── */
.article-sidebar { position: sticky; top: 72px; }
.sidebar-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.sidebar-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-label {
  font-family: var(--f-body);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.75rem;
}
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sidebar-tag {
  font-family: var(--f-body);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(0,0,0,.14);
  color: var(--ink-dim);
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.sidebar-tag:hover { border-color: var(--gold); color: var(--gold); }

/* Landmark link */
.sidebar-landmark {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(212,175,55,.3);
  background: rgba(212,175,55,.04);
  transition: border-color .2s, background .2s;
}
.sidebar-landmark:hover {
  border-color: var(--gold);
  background: rgba(212,175,55,.1);
}
.sidebar-landmark__kicker {
  font-family: var(--f-body);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.sidebar-landmark__id {
  font-family: var(--f-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
}
.sidebar-landmark__name {
  font-family: var(--f-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.06em;
  line-height: 1.25;
}
.sidebar-landmark__arrow {
  font-family: var(--f-body);
  font-size: 0.6rem;
  color: var(--ink-mute);
  margin-top: 0.15rem;
}

/* Related posts */
.related-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1rem;
}
.related-card:last-child { margin-bottom: 0; }
.related-card__img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  overflow: hidden;
  background: #111;
}
.related-card__img img { width: 100%; height: 100%; object-fit: cover; }
.related-card__title {
  font-family: var(--f-story);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  color: #000;
  transition: color .18s;
  margin-bottom: 0.2rem;
}
.related-card:hover .related-card__title { color: var(--gold); }
.related-card__date {
  font-family: var(--f-body);
  font-size: 0.58rem;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.record-footer {
  background: #0A0A0A;
  border-top: 1px solid rgba(212,175,55,.15);
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.record-footer__copy {
  font-family: var(--f-body);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(245,245,240,.38);
  text-transform: uppercase;
}
.record-footer__brand { color: var(--gold); }
.record-footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.record-footer__links a {
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,245,240,.48);
  text-decoration: none;
  transition: color .2s;
}
.record-footer__links a:hover { color: var(--gold); }

/* ── CATEGORY COLORS ──────────────────────────────────────── */
.cat--drops          { background: #D4AF37; }
.cat--city-dispatch  { background: #C8901A; }
.cat--manifesto      { background: #1A1A1A; }
.cat--player-profile { background: #8B0000; }
.cat--dialogue       { background: #00A888; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .record-featured { grid-template-columns: 1fr; max-width: 680px; gap: 2rem; }
  .record-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 3rem; }
  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .sidebar-section { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
}

@media (max-width: 768px) {
  .record-nav__links { display: none; }
  .record-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .record-featured { padding: 0 1.25rem; }
  .record-masthead { padding: 2rem 1.25rem 0; }
  .record-filters { padding: 0.75rem 1.25rem; gap: 0.4rem; }
  .record-grid-wrap { padding: 0 1.25rem 3rem; }
  .record-section { padding: 0 1.25rem; }
  .article-header { padding: 0 1.25rem; margin-top: 2rem; }
  .article-hero { padding: 0 1.25rem; }
  .article-layout { padding: 0 1.25rem; }
  .article-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .record-grid { grid-template-columns: 1fr; }
  .record-masthead__title { letter-spacing: 0.05em; }
  .record-nav { padding: 0 1.25rem; }
  .record-footer { padding: 1.5rem 1.25rem; }
}
