/* ════════════════════════════════════════════
   pages.css — shared components for sub-pages
   Builds on site.css tokens & base styles
   ════════════════════════════════════════════ */

/* ── MOBILE NAV TOGGLE ── */
.nav-links a { white-space: nowrap; }

@media (max-width: 1140px) {
  .nav-links:not(.open) { display: none !important; }
  .hamburger { display: flex !important; }
}

@media (max-width: 1140px) {
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 5vw 1.5rem;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .nav-links.open .nav-cta {
    margin-top: 1rem;
    text-align: center;
    border-bottom: none;
  }
}

/* ── PAGE HERO ── */
.page-hero {
  padding: 10rem 5vw 4.5rem;
  background: var(--white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero.dark {
  background: var(--charcoal);
  border-bottom: none;
}

.page-hero.dark h1, .page-hero.dark .lead { color: var(--white); }
.page-hero.dark .lead { color: rgba(255,255,255,0.6); }

.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.page-eyebrow .eyebrow-line { width: 32px; height: 1px; background: var(--gold); }

.page-eyebrow span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.page-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  max-width: 16ch;
}

.page-hero h1 em { font-style: italic; color: var(--gold); }

.page-hero .lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
  max-width: 560px;
  margin-top: 1.75rem;
}

.page-hero .hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ── GENERIC SECTION ── */
.section {
  padding: 6.5rem 5vw;
}
.section.tight { padding: 4.5rem 5vw; }
.section.alt { background: var(--off-white); }
.section.dark { background: var(--charcoal); }
.section.gold { background: var(--gold-pale); border-top: 1px solid var(--border-gold); border-bottom: 1px solid var(--border-gold); }

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.section-inner.narrow { max-width: 820px; }

.section-head {
  margin-bottom: 3.25rem;
  max-width: 720px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--charcoal);
  margin-top: 0.85rem;
}
.section-head h2 em { font-style: italic; color: var(--gold); }
.section.dark .section-head h2 { color: var(--white); }
.section.dark .section-head h2 em { color: var(--gold); }

.section-head p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
  margin-top: 1rem;
}
.section.dark .section-head p { color: rgba(255,255,255,0.55); }

/* ── PROSE (long-form text) ── */
.prose p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--charcoal-mid);
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.prose p strong { font-weight: 600; color: var(--charcoal); }
.prose .drop {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--charcoal);
  font-weight: 500;
  font-style: italic;
}

/* ── ABOUT SPLIT ── */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  align-items: start;
}
.split.reverse { grid-template-columns: 1.15fr 0.85fr; }

.split-photo {
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: var(--gold-pale);
  position: sticky;
  top: 100px;
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── VALUE / FEATURE CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }

.vcard {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.25rem;
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.vcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.vcard:hover::before { transform: scaleX(1); }
.vcard:hover { border-color: var(--border-gold); transform: translateY(-3px); }

.vcard .vnum {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: block;
}
.vcard h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}
.vcard p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}

/* dark variant for cards on charcoal sections */
.section.dark .vcard {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.1);
}
.section.dark .vcard h3 { color: var(--white); }
.section.dark .vcard p { color: rgba(255,255,255,0.6); }

/* ── CHECK / CROSS LISTS ── */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.qual-col h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}
.section.dark .qual-col h4 { color: var(--white); }
.qual-col ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.qual-col li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
}
.section.dark .qual-col li { color: rgba(255,255,255,0.62); }
.qual-col .mark {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
  margin-top: 1px;
}
.mark.yes { background: rgba(201,168,76,0.15); color: var(--gold); }
.mark.no { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.12); }
.section:not(.dark) .mark.no { background: #F2F0E9; color: var(--muted); border: 1px solid var(--border); }

/* ── TESTIMONIALS ── */
.tgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tcard {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 2rem;
  background: rgba(255,255,255,0.03);
  display: flex;
  flex-direction: column;
}
.section:not(.dark) .tcard { background: var(--white); border-color: var(--border); }
.tcard .stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.85rem; margin-bottom: 1rem; }
.tcard blockquote {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  font-weight: 300;
  margin-bottom: 1.5rem;
  flex: 1;
}
.section:not(.dark) .tcard blockquote { color: var(--charcoal-mid); }
.tcard .tname { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.92); }
.section:not(.dark) .tcard .tname { color: var(--charcoal); }
.tcard .trole {
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); margin-top: 0.25rem;
}

/* ── FAQ ── */
.faq { display: flex; flex-direction: column; gap: 0; max-width: 820px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--border);
}
.section.dark .faq details { border-color: rgba(255,255,255,0.1); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.6rem 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.section.dark .faq summary { color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex-shrink: 0;
  width: 24px; height: 24px;
  position: relative;
  transition: transform 0.25s;
  color: var(--gold);
}
.faq summary .plus::before, .faq summary .plus::after {
  content: '';
  position: absolute;
  background: var(--gold);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.faq summary .plus::before { width: 13px; height: 1.5px; }
.faq summary .plus::after { width: 1.5px; height: 13px; transition: transform 0.25s; }
.faq details[open] summary .plus::after { transform: translate(-50%,-50%) scaleY(0); }
.faq details p {
  padding: 0 0 1.6rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
  max-width: 90%;
}
.section.dark .faq details p { color: rgba(255,255,255,0.55); }

/* ── COURSE CARDS ── */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.course-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.course-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.06);
}
.course-card.featured { border-color: var(--gold); }
.course-thumb {
  height: 180px;
  background: linear-gradient(150deg, var(--charcoal) 0%, #2A2A2A 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  overflow: hidden;
}
.course-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(201,168,76,0.18) 0%, transparent 60%);
}
.course-thumb svg { width: 44px; height: 44px; position: relative; z-index: 1; opacity: 0.85; }
.course-body { padding: 1.85rem; display: flex; flex-direction: column; flex: 1; }
.course-badge {
  align-self: flex-start;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}
.badge-free { background: rgba(31,138,91,0.12); color: #1F8A5B; }
.badge-paid { background: var(--gold); color: var(--charcoal); }
.course-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}
.course-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 1.5rem;
  flex: 1;
}
.course-card .course-link {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s;
}
.course-card .course-link:hover { color: var(--gold); }

/* ── STAT BAND ── */
.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.stat-band .sb-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-band .sb-label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.6rem;
}
.section.dark .stat-band .sb-label { color: rgba(255,255,255,0.5); }

/* ── CTA BAND ── */
.cta-band {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-band h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-band h2 em { font-style: italic; color: var(--gold); }

/* ── EBOOK: LIBRARY OF GREATNESS ── */
.ebook {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4.5rem;
  align-items: center;
}
.ebook-cover { display: flex; justify-content: center; }
.ebook-book {
  position: relative;
  width: 270px;
  aspect-ratio: 3 / 4.3;
  border-radius: 4px 8px 8px 4px;
  background: linear-gradient(150deg, #1c1c1c 0%, #2f2c24 60%, #3a3320 100%);
  border-left: 5px solid rgba(0,0,0,0.45);
  box-shadow: 0 28px 55px -22px rgba(40,30,5,0.55), inset 1px 0 0 rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.75rem;
  gap: 1.25rem;
}
.ebook-book::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 3px;
  pointer-events: none;
}
.ebook-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.ebook-booktitle {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.18;
  color: #fff;
  font-weight: 500;
}
.ebook-booktitle em { font-style: italic; color: var(--gold); }
.ebook-byline {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.5rem;
}
.ebook-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
  margin: 0.75rem 0 1.1rem;
}
.ebook-text h2 em { font-style: italic; color: var(--gold-dark, #9a7a2e); }
.ebook-text > p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--muted, #5c574c);
  max-width: 52ch;
}
.ebook-list {
  list-style: none;
  margin: 1.75rem 0 2.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.ebook-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.ebook-list svg { width: 18px; height: 18px; color: var(--gold-dark, #9a7a2e); flex-shrink: 0; }

@media (max-width: 760px) {
  .ebook { grid-template-columns: 1fr; gap: 2.75rem; }
  .ebook-text { text-align: center; }
  .ebook-text .page-eyebrow, .ebook-text .hero-cta-row { justify-content: center; }
  .ebook-list { display: inline-flex; text-align: left; }
}
.cta-band p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-channels { display: flex; flex-direction: column; gap: 0.5rem; }
.channel {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: padding-left 0.2s;
}
.channel:hover { padding-left: 0.5rem; }
.channel .ch-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  background: var(--gold-pale);
}
.channel .ch-icon svg { width: 19px; height: 19px; }
.channel .ch-label { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.channel .ch-value { display: block; font-size: 1rem; color: var(--charcoal); font-weight: 500; margin-top: 0.15rem; }
.channel:hover .ch-value { color: var(--gold-dark); }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 130px; }
.contact-form button {
  align-self: flex-start;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  padding: 1rem 2.25rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.contact-form button:hover { background: var(--gold-dark); transform: translateY(-1px); }
.form-note { font-size: 0.8rem; color: var(--muted); opacity: 0.8; }

/* ── PODCAST PLATFORMS ── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.platform-card {
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  background: var(--white);
  transition: border-color 0.2s, transform 0.2s;
}
.platform-card:hover { border-color: var(--border-gold); transform: translateY(-3px); }
.platform-card .pc-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.platform-card .pc-icon svg { width: 22px; height: 22px; }
.platform-card .pc-name { font-size: 1rem; font-weight: 600; color: var(--charcoal); }
.platform-card .pc-sub { font-size: 0.78rem; color: var(--muted); margin-top: 0.1rem; }

/* ── TOPIC PILLS ── */
.topic-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.topic-pill {
  border: 1px solid var(--border-gold);
  background: var(--gold-pale);
  color: var(--gold-dark);
  padding: 0.55rem 1.1rem;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ── BREADCRUMB / BACK ── */
.muted-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.muted-link:hover { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-photo { position: relative; top: 0; max-width: 420px; }
  .card-grid.two, .card-grid.three { grid-template-columns: 1fr; }
  .qual-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .tgrid { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .stat-band { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .page-hero { padding: 8rem 5vw 3.5rem; }
}
