/* ─────────────────────────────────────────────────────────────
   Party Playbook — index + article shared styles
   ───────────────────────────────────────────────────────────── */

/* ============ HERO ============ */
.pb-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  overflow: hidden;
  background:
    radial-gradient(55% 45% at 18% 22%, rgba(255,46,138,0.25) 0%, rgba(255,46,138,0) 60%),
    radial-gradient(50% 40% at 88% 12%, rgba(255,209,92,0.16) 0%, rgba(255,209,92,0) 60%),
    linear-gradient(180deg, #15082B 0%, #08030F 100%);
}
.pb-hero-inner {
  position: relative; z-index: 2;
  max-width: 880px;
}
.pb-h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.98; letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: #FFFFFF;
}
.pb-lede {
  font-size: clamp(16px, 1.5vw, 19.5px);
  color: var(--ink-1); line-height: 1.55;
  margin: 0 0 36px;
  max-width: 680px;
}
.pb-hero-stats {
  display: inline-flex; gap: 36px; flex-wrap: wrap;
  padding: 18px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.pb-hero-stats > div {
  display: flex; flex-direction: column; gap: 4px;
}
.pb-hero-stats .num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 22px; line-height: 1; letter-spacing: -0.02em;
  color: var(--gold);
}
.pb-hero-stats .lbl {
  font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.16em; text-transform: uppercase;
}
@media (max-width: 560px) {
  .pb-hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 56px; }
  .pb-hero-stats { padding: 14px 18px; gap: 22px; }
  .pb-hero-stats .num { font-size: 18px; }
}

/* ============ FEATURED CARD ============ */
.pb-grid-section { padding-top: clamp(40px, 6vw, 72px) !important; }
.pb-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin-bottom: clamp(40px, 6vw, 72px);
  padding: 28px;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(255,46,138,0.10) 0%, transparent 50%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  transition: border-color 200ms, transform 200ms;
  color: inherit;
  align-items: center;
}
.pb-featured:hover {
  border-color: rgba(255,46,138,0.4);
  transform: translateY(-3px);
}
.pb-featured-img {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
}
.pb-featured-pill { position: absolute; top: 14px; left: 14px; z-index: 2; }
.pb-featured-body { padding: 14px 8px 14px 4px; }
.pb-featured-body h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: -0.025em; line-height: 1.04;
  margin: 8px 0 16px;
  color: var(--ink-0);
}
.pb-featured-body p {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--ink-2); line-height: 1.6;
  margin: 0 0 28px;
}
.pb-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}
.pb-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-pink);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 14px;
  color: #fff;
  letter-spacing: -0.02em;
}
.pb-author { font-weight: 700; font-size: 14px; color: var(--ink-0); }
.pb-author-sub { font-size: 12px; color: var(--ink-3); }
.pb-read {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; color: var(--pink-glow);
}

@media (max-width: 880px) {
  .pb-featured { grid-template-columns: 1fr; padding: 20px; }
  .pb-featured-body { padding: 4px; }
}

/* ============ GRID CARDS ============ */
.pb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pb-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 200ms, transform 200ms, background 200ms;
  color: inherit;
}
.pb-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  background: var(--surface-2);
}
.pb-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
}
.pb-card-pill {
  position: absolute; top: 12px; left: 12px; z-index: 2;
}
.pb-card-body {
  padding: 22px 22px 24px;
  display: flex; flex-direction: column; flex: 1;
  gap: 10px;
}
.pb-card-body h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; letter-spacing: -0.02em; line-height: 1.15;
  margin: 0;
  color: var(--ink-0);
}
.pb-card-body p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px; line-height: 1.5;
  flex: 1;
}
.pb-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-3);
}
.pb-card-read { color: var(--gold); font-family: var(--font-mono); }

/* ─── Coming-soon state (article in production, no HTML yet) ─── */
.pb-card.is-soon,
.pb-featured.is-soon {
  cursor: default;
  opacity: 0.78;
}
.pb-card.is-soon:hover,
.pb-featured.is-soon:hover {
  transform: none;
  border-color: var(--line);
  background: var(--surface);
}
.pb-card.is-soon .pb-card-img img,
.pb-featured.is-soon .pb-featured-img img {
  filter: grayscale(0.55) brightness(0.85);
}
.pb-card-soon {
  position: absolute; top: 12px; right: 12px; z-index: 2;
}
.pb-card.is-soon .pb-card-read { color: var(--ink-3); }

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

/* ─────────────────────────────────────────────────────────────
   ARTICLE PAGE
   ───────────────────────────────────────────────────────────── */
.art-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 48px;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(255,46,138,0.20) 0%, transparent 60%),
    var(--bg-0);
  text-align: center;
  overflow: hidden;
}
.art-crumbs {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-3);
  margin-bottom: 22px;
  letter-spacing: 0.06em;
}
.art-crumbs a { color: var(--pink-glow); }
.art-crumbs .sep { color: var(--ink-3); opacity: 0.6; }

.art-tag {
  display: flex; justify-content: center;
  margin-bottom: 22px;
}
.art-h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -0.03em; line-height: 1.02;
  margin: 0 auto 24px;
  max-width: 920px;
  color: var(--ink-0);
}
.art-deck {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--ink-1); line-height: 1.55;
  max-width: 720px; margin: 0 auto 32px;
}
.art-byline {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 12px 20px 12px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.art-byline .pb-avatar { width: 36px; height: 36px; font-size: 12px; }
.art-byline-text { text-align: left; font-size: 13px; }
.art-byline-text strong { color: var(--ink-0); }
.art-byline-text .sub { font-size: 11.5px; color: var(--ink-3); }

.art-cover {
  max-width: 1080px;
  margin: 48px auto 0;
  padding: 0 var(--gutter);
}
.art-cover-inner {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
}

/* article body */
.art-body {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
}
.art-body p,
.art-body ul,
.art-body ol {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-1);
  margin: 0 0 1.2em;
}
.art-body p { letter-spacing: -0.003em; }
.art-body h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.025em; line-height: 1.1;
  margin: 56px 0 18px;
  color: var(--ink-0);
}
.art-body h2:first-child { margin-top: 0; }
.art-body h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 21px; letter-spacing: -0.015em; line-height: 1.2;
  margin: 36px 0 12px;
  color: var(--ink-0);
}
.art-body a { color: var(--pink-glow); border-bottom: 1px solid rgba(255,102,176,0.3); }
.art-body a:hover { border-bottom-color: var(--pink-glow); }
.art-body strong { color: var(--ink-0); font-weight: 700; }
.art-body ul, .art-body ol { padding-left: 22px; }
.art-body li { margin-bottom: 8px; }
.art-body li::marker { color: var(--pink-glow); }

.art-tldr {
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(255,209,92,0.10) 0%, transparent 60%),
    var(--surface);
  border: 1px solid rgba(255,209,92,0.30);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-md);
  padding: 22px 24px;
  margin-bottom: 48px;
}
.art-tldr .lbl {
  font-family: var(--font-body); font-weight: 700;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.art-tldr p { font-size: 16px; margin: 0; color: var(--ink-1); }

.art-toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 24px;
  margin-bottom: 48px;
}
.art-toc .lbl {
  font-family: var(--font-body); font-weight: 700;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.art-toc ol {
  margin: 0; padding: 0; list-style: none;
  counter-reset: toc;
  font-size: 14.5px;
}
.art-toc li {
  counter-increment: toc;
  margin-bottom: 6px;
  display: flex; gap: 10px; align-items: baseline;
}
.art-toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--gold); flex-shrink: 0; width: 22px;
}
.art-toc a { color: var(--ink-1); border: none; }
.art-toc a:hover { color: var(--pink-glow); }

.art-cost-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.2em;
  font-size: 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.art-cost-table th,
.art-cost-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.art-cost-table th {
  background: var(--surface-2);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-1);
}
.art-cost-table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 600;
}
.art-cost-table tr:last-child td { border-bottom: none; }
.art-cost-table tr.total {
  background: rgba(255,46,138,0.08);
}
.art-cost-table tr.total td {
  font-weight: 700;
  color: var(--ink-0);
  font-size: 16px;
}

.art-callout {
  background: var(--surface);
  border-left: 3px solid var(--pink);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 22px;
  margin: 28px 0;
  color: var(--ink-1);
  font-size: 15.5px; line-height: 1.6;
}
.art-callout strong { color: var(--pink-glow); }

/* related + endcap */
.art-related {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
  border-top: 1px solid var(--line);
}
.art-related-head {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--ink-0);
}
.art-related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 880px) {
  .art-related-grid { grid-template-columns: 1fr; }
}
