/* ==========================================================================
   The Private Equity Show — shared design system
   Navy / orange / Playfair + Inter. Used by every page on the site.
   ========================================================================== */

:root {
  --navy:        #0F2738;
  --navy-deep:   #13293A;
  --navy-darker: #0D232C;
  --orange:      #D15E0C;
  --orange-hov:  #E26A14;
  --line:        rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text:        #FFFFFF;
  --muted:       rgba(255, 255, 255, 0.78);
  --faint:       rgba(255, 255, 255, 0.55);
  --error:       #F4A8A0;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--navy-deep);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---- HEADER ---- */
.header-bar {
  background: var(--navy);
  box-shadow: 3px 7px 11px 0px rgba(0, 0, 0, 0.17);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.011em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}
.nav-links a { text-decoration: none; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--orange); }
.nav-links a[aria-current="page"] { color: var(--orange); }
.nav-links .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  opacity: 0.78;
}
.nav-links .social-icon:hover { color: var(--orange); opacity: 1; }
.nav-links .social-icon svg { display: block; }

/* ---- TYPE ---- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 32px;
}
.section-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 24px;
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 6.4vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.011em;
  text-transform: uppercase;
  margin: 0 0 40px;
}
h1.nowrap { white-space: nowrap; }
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.116;
  letter-spacing: 0.011em;
  text-transform: uppercase;
  margin: 0 0 40px;
  max-width: 20ch;
}
h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: 0.011em;
  margin: 0 0 16px;
}
.lede {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 36px;
  line-height: 1.4;
}

/* ---- BUTTONS ---- */
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary { background: var(--orange); color: #ffffff; }
.btn-primary:hover {
  background: var(--orange-hov);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(209, 94, 12, 0.35);
}
.btn-primary:disabled {
  background: rgba(209, 94, 12, 0.4);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-sm { padding: 13px 24px; font-size: 11px; }

/* ---- PLATFORM LINKS ---- */
.platform-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: all 0.2s ease;
}
.platform-link svg { display: block; flex-shrink: 0; }
.platform-link:hover { border-color: var(--orange); color: var(--text); background: rgba(209, 94, 12, 0.1); }

/* ---- VIDEO EMBED ---- */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy-darker);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- EPISODE META ---- */
.ep-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 20px;
}
.ep-meta .dot { opacity: 0.4; }
.ep-meta .num { color: var(--orange); }
.ep-guest {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin: 0 0 24px;
}
.ep-guest .firm { color: var(--faint); font-weight: 500; }

/* ---- EPISODE CARDS (list) ---- */
.ep-list { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
.ep-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.ep-card:last-child { border-bottom: 1px solid var(--line); }
.ep-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy-darker);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.ep-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}
.ep-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 39, 56, 0.18);
  transition: background 0.25s ease;
}
.ep-card:hover .ep-thumb { border-color: var(--orange); transform: translateY(-2px); }
.ep-card:hover .ep-thumb::after { background: rgba(15, 39, 56, 0); }
.ep-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(209, 94, 12, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.25s ease;
}
.ep-card:hover .ep-play { transform: translate(-50%, -50%) scale(1.08); }
.ep-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-transform: none;
  max-width: none;
  margin: 0 0 14px;
}
.ep-title a { text-decoration: none; transition: color 0.2s ease; }
.ep-title a:hover { color: var(--orange); }
.ep-excerpt {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 22px;
  max-width: 62ch;
}
.ep-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
}
.ep-more:hover { color: var(--orange-hov); gap: 12px; }
.ep-more span { transition: all 0.2s ease; }

/* ---- CHAPTERS ---- */
.chapters { list-style: none; margin: 0; padding: 0; }
.chapters li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.chapters a {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 13px 4px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.98rem;
  transition: color 0.18s ease, background 0.18s ease;
}
.chapters a:hover { color: var(--text); background: rgba(255, 255, 255, 0.03); }
.chapters .ts {
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--orange);
  padding-top: 3px;
}

/* ---- PROSE + LISTS ---- */
.prose p { color: var(--muted); font-size: 1.0625rem; margin: 0 0 22px; max-width: 66ch; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 600; }
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 15px;
  color: var(--muted);
  max-width: 64ch;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 11px;
  height: 2px;
  background: var(--orange);
}
.tick-list li:last-child { margin-bottom: 0; }

/* ---- SIDEBAR CARD ---- */
.side-card {
  background: var(--navy-darker);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px;
  margin-bottom: 24px;
}
.side-card:last-child { margin-bottom: 0; }
.side-card h3 { font-size: 1.25rem; margin-bottom: 14px; }
.side-card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 18px; }
.side-card p:last-child { margin-bottom: 0; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li { margin-bottom: 10px; }
.side-links li:last-child { margin-bottom: 0; }
.side-links a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
}
.side-links a:hover { color: var(--orange-hov); text-decoration: underline; }

/* ---- SECTIONS ---- */
.section { padding: 76px 0; border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy-darker); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.section-head h2 { margin-bottom: 0; }

/* ---- DISCLAIMER ---- */
.disclaimer {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.42);
  max-width: 78ch;
  margin: 0;
}

/* ---- BREADCRUMB ---- */
.crumb {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 28px;
}
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--orange); }
.crumb .sep { opacity: 0.4; margin: 0 8px; }

/* ---- FOOTER ---- */
footer {
  background: var(--navy);
  padding: 40px 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-inner .wordmark { font-size: 18px; letter-spacing: 0.011em; }
.foot-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-socials { display: flex; gap: 16px; align-items: center; }
.foot-socials .social-icon {
  display: inline-flex;
  color: var(--text);
  opacity: 0.78;
  transition: all 0.2s ease;
}
.foot-socials .social-icon:hover { color: var(--orange); opacity: 1; }
.foot-socials .social-icon svg { display: block; }
.foot-inner span a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.foot-inner span a:hover { color: var(--orange); border-color: var(--orange); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .ep-card { grid-template-columns: 1fr; gap: 22px; }
  .ep-card .ep-thumb { max-width: 460px; }
}
@media (max-width: 760px) {
  .wrap, .header-inner, .foot-inner { padding-left: 20px; padding-right: 20px; }
  .header-inner { flex-wrap: wrap; gap: 14px; }
  .nav-links { gap: 22px; font-size: 11px; }
  .wordmark { font-size: 18px; }
  h1 { font-size: clamp(1.75rem, 8vw, 2.6rem); white-space: normal; }
  h1.nowrap { white-space: normal; }
  .section { padding: 56px 0; }
  .chapters a { grid-template-columns: 60px 1fr; gap: 12px; font-size: 0.92rem; }
  .btn { padding: 15px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- episode photo gallery + lightbox (shared) ---------- */
/* photo gallery */
.ep-gallery { padding: 0 0 16px; }
.ep-gallery > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 26px; max-width: none; }
.shot-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shot { margin: 0; }
.shot button {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line);
  background: none; cursor: zoom-in; overflow: hidden; border-radius: 2px; line-height: 0;
}
.shot img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform .35s ease, opacity .25s ease; }
.shot button:hover img, .shot button:focus-visible img { transform: scale(1.03); opacity: .9; }
.shot button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 820px) { .shot-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (max-width: 520px) { .shot-grid { grid-template-columns: 1fr; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; background: rgba(8,10,14,.94); }
.lightbox[open], .lightbox.is-open { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lightbox figure { margin: 0; max-width: min(1100px, 92vw); max-height: 82vh; display: flex; flex-direction: column; gap: 14px; }
.lightbox img { max-width: 100%; max-height: 74vh; width: auto; height: auto; object-fit: contain; border-radius: 2px; }
.lightbox figcaption { font-size: .85rem; color: rgba(255,255,255,.62); text-align: center; letter-spacing: .01em; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 1.15rem; line-height: 1;
}
.lb-btn:hover { background: rgba(255,255,255,.16); }
.lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { padding: 0 0 22px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); }
@media (max-width: 620px) { .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-close { top: 12px; right: 12px; } }
@media (prefers-reduced-motion: reduce) { .shot img { transition: none; } .shot button:hover img { transform: none; } }
