/* I3b + diamond pass  --  dark cinema hub (on top of repaired site.css) */

:root {
  --hub-bg: #07080c;
  --hub-text: #f4f1ea;
  --hub-muted: #a39eb8;
  --hub-line: rgba(244, 241, 234, 0.1);
  --hub-accent: #c9a0ff;
  --hub-gold: #d4b35a;
  --hub-card: #0e1018;
  --hub-card-hover: #141824;
}

/* Force ink on the whole studio index */
body {
  background: var(--hub-bg) !important;
  color: var(--hub-text);
}

body::before {
  opacity: 1;
}

.site-header {
  background: rgba(7, 8, 12, 0.88) !important;
  border-bottom-color: rgba(244, 241, 234, 0.08) !important;
  backdrop-filter: blur(16px);
}

.brand {
  text-decoration: none;
  color: var(--hub-text);
}

.brand span {
  color: var(--hub-muted) !important;
}

.nav a {
  color: var(--hub-muted) !important;
}

.nav a:hover {
  color: var(--hub-text) !important;
}

/* Hero */
.hero-hub {
  padding: 3.75rem 0 2.75rem;
}

.hero-hub h1 {
  color: var(--hub-text);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
  letter-spacing: -0.02em;
}

.eyebrow {
  color: var(--hub-accent) !important;
  opacity: 0.95;
}

.lede,
.lede-wide {
  color: var(--hub-muted) !important;
  font-size: 1.08rem;
  line-height: 1.65;
}

.lede strong,
.lede-wide strong {
  color: var(--hub-text);
  font-weight: 600;
}

.trial-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1.1rem 0 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 206, 160, 0.35);
  background: rgba(20, 40, 32, 0.85);
  color: #d8f3e4 !important;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.trial-banner strong {
  color: #b8ecc9;
}

/* Doors  --  high contrast cards */
.door-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.85rem;
  max-width: 48rem;
}

.door-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem 1.3rem;
  border-radius: 16px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  text-decoration: none;
  color: var(--hub-text);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.door-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}

.door-play {
  border-color: rgba(201, 160, 255, 0.28);
}

.door-play:hover {
  border-color: rgba(201, 160, 255, 0.65);
  background: linear-gradient(165deg, rgba(201, 160, 255, 0.12), rgba(255, 255, 255, 0.02));
}

.door-verify {
  border-color: rgba(212, 179, 90, 0.28);
}

.door-verify:hover {
  border-color: rgba(212, 179, 90, 0.6);
  background: linear-gradient(165deg, rgba(212, 179, 90, 0.1), rgba(255, 255, 255, 0.02));
}

.door-kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hub-muted);
}

.door-card strong {
  font-size: 1.25rem;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  color: var(--hub-text);
}

.door-card > span:not(.door-kicker):not(.door-cta) {
  color: var(--hub-muted);
  font-size: 0.92rem;
}

.door-cta {
  margin-top: 0.55rem;
  color: var(--hub-accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.door-verify .door-cta {
  color: var(--hub-gold);
}

.hub-switch {
  margin-top: 1.35rem;
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  background: rgba(0, 0, 0, 0.35);
}

.hub-switch-btn {
  border: 0;
  background: transparent;
  color: var(--hub-muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
}

.hub-switch-btn.is-active {
  background: rgba(201, 160, 255, 0.18);
  color: var(--hub-text);
}

body[data-mode="library"] .hub-switch-btn.is-active {
  background: rgba(212, 179, 90, 0.18);
}

/* Stats */
.stats-row-clean {
  margin: 0 0 1.75rem;
}

.stat {
  background: rgba(0, 0, 0, 0.35) !important;
  border-color: rgba(244, 241, 234, 0.1) !important;
}

.stat strong {
  color: var(--hub-text);
}

.stat span {
  color: var(--hub-muted) !important;
}

/* Section heads */
.section-head h2 {
  color: var(--hub-text);
}

.section-head p {
  color: var(--hub-muted) !important;
}

.section-head p strong {
  color: var(--hub-text);
}

.section-head a {
  color: var(--hub-accent);
  font-weight: 600;
}

/* Play path  --  jewel tray */
.play-path-panel {
  margin: 0 0 2rem;
  padding: 1.25rem 1.3rem 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(201, 160, 255, 0.22);
  background:
    radial-gradient(ellipse 80% 80% at 10% 0%, rgba(201, 160, 255, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(18, 16, 28, 0.95), rgba(10, 10, 16, 0.92));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.play-path-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.95rem;
}

.path-label {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hub-muted);
}

.path-dossiers {
  color: var(--hub-accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.path-dossiers:hover {
  text-decoration: underline;
}

.play-path-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
}

.play-path-steps > li:not(.path-arrow) {
  flex: 1 1 140px;
  min-width: 128px;
}

.play-path-steps a {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  height: 100%;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  background: rgba(0, 0, 0, 0.35);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.play-path-steps a:hover {
  border-color: rgba(201, 160, 255, 0.55);
  background: rgba(201, 160, 255, 0.1);
  transform: translateY(-2px);
}

.step-n {
  flex-shrink: 0;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(201, 160, 255, 0.22);
  color: #e8d6ff;
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.step-body strong {
  font-size: 0.9rem;
  line-height: 1.25;
  color: var(--hub-text);
}

.step-body em {
  font-style: normal;
  font-size: 0.76rem;
  color: var(--hub-muted);
}

.path-arrow {
  display: none;
  align-self: center;
  color: rgba(201, 160, 255, 0.45);
  font-size: 0.95rem;
  padding: 0 0.05rem;
}

@media (min-width: 960px) {
  .path-arrow {
    display: block;
    flex: 0 0 auto;
  }
  .play-path-steps > li:not(.path-arrow) {
    flex: 1 1 0;
  }
}

.play-path-foot {
  margin: 0.9rem 0 0;
  font-size: 0.86rem;
  color: var(--hub-muted);
}

/* Story cards  --  denser, readable */
.story-slider-hint {
  color: var(--hub-muted) !important;
}

.story-slider-btn {
  background: rgba(0, 0, 0, 0.45) !important;
  border-color: rgba(244, 241, 234, 0.14) !important;
  color: var(--hub-text) !important;
}

.story-slider-btn:hover {
  border-color: var(--hub-accent) !important;
  color: var(--hub-accent) !important;
}

.book-card {
  background: linear-gradient(180deg, #12141e 0%, #0b0d14 100%) !important;
  border-color: rgba(244, 241, 234, 0.1) !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5) !important;
}

.book-card:hover {
  border-color: rgba(201, 160, 255, 0.35) !important;
  transform: translateY(-3px);
}

.book-body h3 {
  color: var(--hub-text) !important;
}

.book-meta {
  color: var(--hub-muted) !important;
}

.book-meta .pill {
  border-color: rgba(244, 241, 234, 0.12) !important;
  background: rgba(0, 0, 0, 0.35) !important;
  color: #cfc9e0;
}

.job-line {
  margin: 0.25rem 0 0.2rem;
  font-size: 0.95rem;
}

.job-line strong {
  color: #dcc4ff !important;
  font-weight: 700;
}

.leave-with {
  margin: 0 0 0.6rem;
  font-size: 0.88rem;
  color: var(--hub-muted) !important;
}

.hook-lead {
  color: var(--hub-text) !important;
  font-weight: 600;
}

.tagline {
  color: #b7b1c9 !important;
}

/* Dossier strip */
.section-dossier-strip {
  padding: 2.25rem 0;
  border-block: 1px solid rgba(201, 160, 255, 0.15);
  background:
    radial-gradient(ellipse 70% 100% at 50% 50%, rgba(201, 160, 255, 0.08), transparent 70%),
    rgba(0, 0, 0, 0.35);
}

.dossier-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.dossier-strip-inner h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  margin: 0.25rem 0 0.4rem;
  color: var(--hub-text);
}

.dossier-strip-inner .muted {
  margin: 0;
  max-width: 36rem;
  color: var(--hub-muted) !important;
}

/* MWL door  --  gold, not bright */
.eyebrow-gold {
  color: var(--hub-gold) !important;
}

.mwl-door-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.75rem;
  padding: 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(212, 179, 90, 0.28);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(212, 179, 90, 0.1), transparent 55%),
    linear-gradient(180deg, #14120e, #0c0b09);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

@media (max-width: 720px) {
  .mwl-door-panel {
    grid-template-columns: 1fr;
  }
}

.mwl-door-copy h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  margin: 0.35rem 0 0.5rem;
  color: var(--hub-text);
}

.mwl-door-copy .muted {
  color: var(--hub-muted) !important;
}

.mwl-door-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.btn-library {
  background: linear-gradient(135deg, #e0c56a, #b8922e) !important;
  color: #141008 !important;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(212, 179, 90, 0.25);
}

.btn-ghost-hub {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 241, 234, 0.14);
  color: var(--hub-text);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.25);
}

.btn-ghost-hub:hover {
  border-color: var(--hub-gold);
  color: var(--hub-gold);
}

.mwl-funnel-cover {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 179, 90, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.mwl-funnel-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.mwl-funnel-badge {
  display: block;
  padding: 0.45rem 0.7rem;
  background: rgba(0, 0, 0, 0.75);
  color: var(--hub-gold);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* About + footer */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.panel {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
}

.panel h3 {
  color: var(--hub-text);
  margin-top: 0;
}

.panel p {
  color: var(--hub-muted) !important;
}

.panel a {
  color: var(--hub-accent);
  font-weight: 600;
}

.panel-library {
  border-color: rgba(212, 179, 90, 0.28) !important;
}

.panel-library a {
  color: var(--hub-gold);
}

.site-footer {
  border-top: 1px solid rgba(244, 241, 234, 0.08);
  background: rgba(0, 0, 0, 0.4);
  color: var(--hub-muted);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-links a {
  color: var(--hub-accent);
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* MWL path chips / cards if JS fills them */
.path-chip,
.mwl-card {
  background: rgba(0, 0, 0, 0.35) !important;
}

.mwl-card-body h3,
.mwl-tag {
  color: var(--hub-text) !important;
}

.mwl-sub,
.mwl-meta {
  color: var(--hub-muted) !important;
}

/* Reduced glare on library mode glows */
body[data-mode="library"]::before {
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(212, 179, 90, 0.08), transparent 58%),
    radial-gradient(ellipse 50% 35% at 0% 30%, rgba(201, 160, 255, 0.04), transparent 50%);
}
