﻿/* Rhythm path welcome — secondary page; Navy / Gold / Teal; readable line lengths */

body.rhythm-path-page {
  background: var(--blue-gradient, linear-gradient(160deg, #1a2744 0%, #0f1729 100%));
  background-color: var(--blue-bg, #0f1729);
  color: var(--text, #f5f7fb);
  margin: 0;
  min-height: 100vh;
}

.rhythm-path-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

/* Keep copy blocks readable on wide monitors */
.rhythm-path-reading {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.rhythm-path-hero {
  padding: 28px 0 4px;
}

.rhythm-path-hero-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold, #f0c45b);
  margin: 0 0 10px;
}

.rhythm-path-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--white, #fff);
}

.rhythm-path-hero-tagline {
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--muted, #b8c3d9);
  margin: 0 0 24px;
  max-width: 42em;
}

/* —— How it works —————————————————————————————————————————————————— */
.rhythm-path-section--how {
  margin-top: 8px;
  padding-bottom: 8px;
}

.rhythm-path-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 14px;
}

.rhythm-path-how-col {
  padding: 16px 16px 18px;
  border-radius: 14px;
  background: rgba(17, 34, 64, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 3px solid rgba(91, 196, 229, 0.45);
}

.rhythm-path-how-title {
  margin: 0 0 8px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--white, #fff);
}

.rhythm-path-how-lede {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--slate, #c9d4e8);
}

.rhythm-path-how-strong {
  color: var(--gold, #f0c45b);
  font-weight: 800;
}

.rhythm-path-section {
  margin-top: 28px;
}

.rhythm-path-section h2 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold, #f0c45b);
  margin: 0 0 12px;
}

.rhythm-path-prose {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--slate, #c9d4e8);
  margin: 0 0 14px;
  max-width: 42em;
}

.rhythm-path-note {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(245, 247, 251, 0.82);
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(17, 34, 64, 0.85);
  border: 1px solid rgba(230, 184, 0, 0.22);
  max-width: 42em;
}

/* —— Sessions (focal) ————————————————————————————————————————————— */
.rhythm-path-section--sessions {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(230, 184, 0, 0.15);
}

.rhythm-path-reading--sessions-intro {
  margin-bottom: 6px;
}

.rhythm-path-prose--sessions-lede {
  margin-bottom: 0;
}

.rhythm-path-session-mount {
  margin-top: 14px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.rhythm-path-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

/* Path-connected cards: teal left rail */
.rhythm-path-mini-card {
  display: block;
  padding: 12px 14px 12px 16px;
  border-radius: 14px;
  background: #112240;
  border: 1px solid rgba(230, 184, 0, 0.22);
  border-left: 3px solid rgba(91, 196, 229, 0.82);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.rhythm-path-mini-card:hover {
  border-color: rgba(230, 184, 0, 0.45);
  border-left-color: rgba(130, 218, 243, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.rhythm-path-mini-card--baseline {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(17, 34, 64, 0.98), rgba(23, 55, 80, 0.92));
  border-color: rgba(240, 196, 91, 0.46);
  border-left-color: var(--gold, #f0c45b);
}

.rhythm-path-mini-card--coming-soon {
  opacity: 0.52;
  cursor: default;
  pointer-events: none;
  border-left-color: rgba(91, 196, 229, 0.3);
}

/* SESSION N — gold label */
.rhythm-path-mini-seq {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold, #f0c45b);
  margin-bottom: 6px;
}

.rhythm-path-mini-title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--white, #fff);
  margin: 0 0 6px;
}

.rhythm-path-mini-meta {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted, #b8c3d9);
  white-space: pre-line;
}

.rhythm-path-back {
  margin-top: 36px;
}

.rhythm-path-back a {
  color: var(--teal, #5BC4E5);
  font-weight: 700;
  text-decoration: none;
}

.rhythm-path-back a:hover {
  text-decoration: underline;
}

.rhythm-path-mount-fail {
  color: #f5a8a8;
  font-size: 0.95rem;
  margin-top: 12px;
}

/* —— Reference (collapsible) ——————————————————————————————————————— */
.rhythm-path-reading--reference {
  margin-top: 44px;
  padding-top: 8px;
}

.rhythm-path-details {
  border-radius: 14px;
  background: rgba(17, 34, 64, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.rhythm-path-details-summary {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--slate, #c9d4e8);
  font-size: 0.92rem;
  line-height: 1.4;
  user-select: none;
}

.rhythm-path-details-summary::after {
  content: '▸';
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.75rem;
  color: rgba(91, 196, 229, 0.85);
}

.rhythm-path-details[open] .rhythm-path-details-summary::after {
  content: '▾';
}

.rhythm-path-details-summary::-webkit-details-marker {
  display: none;
}

.rhythm-path-details-summary::marker {
  content: '';
}

.rhythm-path-details-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold, #f0c45b);
}

.rhythm-path-details-hint {
  font-size: 0.85rem;
  color: rgba(184, 195, 217, 0.85);
  font-weight: 500;
}

.rhythm-path-details[open] .rhythm-path-details-summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rhythm-path-details-body {
  padding: 6px 18px 18px;
}

.rhythm-path-glossary {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rhythm-path-glossary li {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rhythm-path-glossary li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.rhythm-path-glossary dt {
  font-weight: 800;
  color: var(--gold, #f0c45b);
  margin: 0 0 5px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rhythm-path-glossary dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--slate, #c9d4e8);
}

@media (max-width: 760px) {
  .rhythm-path-how-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .rhythm-path-mini-grid {
    grid-template-columns: 1fr;
  }
}
