/* ═══════════════════════════════════════════════════════════
   OWN THE DREAM — Shared stylesheet for interior pages
   Used by: /javier-loya /speaking /the-book /foundation /community
   The homepage (index.html) keeps its own inline styles.
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #2e4a7d;
  --blue-dark:  #1e3460;
  --blue-light: #b9d9eb;
  --near-black: #060810;
  --dark:       #0D1120;
  --mid:        #111827;
  --light-bg:   #F4F6FB;
  --white:      #FFFFFF;
  --text-dark:  #1F2937;
}

html { scroll-behavior: smooth; }
body { font-family: 'Jost', sans-serif; background: var(--near-black); color: var(--white); overflow-x: hidden; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 40px; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; border-radius: 50px; font-size: 13px;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; transition: all .25s ease;
  border: 2px solid transparent; font-family: inherit;
}
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--text-dark); border-color: rgba(0,0,0,.35); }
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--blue); border-color: var(--white); font-weight: 800; }
.btn-white:hover { background: rgba(255,255,255,.9); transform: translateY(-2px); }
.arrow { font-size: 18px; }

.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--blue-light);
  border: 1px solid rgba(185,217,235,.4);
  padding: 6px 16px; border-radius: 50px;
  display: inline-block; margin-bottom: 24px;
}
.section-label.on-light { color: var(--blue); border-color: rgba(46,74,125,.3); }

/* ─── NAV ────────────────────────────────────────────────── */
/* Scoped to the top-level nav so nested <nav> (breadcrumb) is unaffected. */
body > nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 48px;
  background: rgba(6,8,16,.96);
  border-bottom: 1px solid rgba(46,74,125,.2);
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.8); text-decoration: none; font-size: 13px;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue-light); }
.nav-cta { padding: 12px 28px; font-size: 12px; }

/* Mobile menu */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: 4px; z-index: 200;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all .3s ease; transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-overlay {
  position: fixed; inset: 0; z-index: 150;
  background: var(--near-black);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }
.mobile-overlay .mob-links {
  list-style: none; text-align: center;
  display: flex; flex-direction: column; gap: 8px;
  width: 100%; padding: 0 40px;
}
.mobile-overlay .mob-links a {
  display: block; font-size: 30px; font-weight: 900;
  letter-spacing: -.01em; text-transform: uppercase;
  color: rgba(255,255,255,.85); text-decoration: none;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s;
}
.mobile-overlay .mob-links a:hover { color: var(--blue); }
.mobile-overlay .mob-cta {
  margin-top: 32px; padding: 16px 48px; border-radius: 50px;
  background: var(--blue); color: var(--white);
  font-size: 14px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none;
}

/* ─── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb {
  position: relative; z-index: 2;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue-light); }
.breadcrumb span { margin: 0 8px; }

/* ─── PAGE HERO ──────────────────────────────────────────── */
.page-hero {
  padding: 160px 0 100px;
  background: var(--dark);
  border-bottom: 1px solid rgba(46,74,125,.1);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 15% 50%, rgba(46,74,125,.1) 0%, transparent 70%);
}
.page-hero .inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.page-hero .inner.single { grid-template-columns: 1fr; max-width: 820px; }
.page-hero img { width: 100%; border-radius: 12px; object-fit: cover; }
.hero-kicker {
  display: inline-block; margin-bottom: 24px;
  font-size: 11px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--blue-light);
  border: 1px solid rgba(185,217,235,.4);
  padding: 6px 16px; border-radius: 50px;
}
.page-hero h1 {
  font-size: clamp(44px, 5.5vw, 72px); font-weight: 900;
  line-height: 1.05; letter-spacing: -.02em; color: var(--white);
  margin-bottom: 28px;
}
.page-hero h1 span { color: var(--blue-light); }
.page-hero p { font-size: 18px; line-height: 1.75; color: rgba(255,255,255,.65); }
.page-hero .hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

/* ─── GENERIC SECTIONS ───────────────────────────────────── */
.sec { padding: 100px 0; }
.sec-dark  { background: var(--near-black); }
.sec-mid   { background: var(--mid); border-top: 1px solid rgba(46,74,125,.1); border-bottom: 1px solid rgba(46,74,125,.1); }
.sec-deep  { background: var(--dark); }
.sec-light { background: var(--light-bg); color: var(--text-dark); }
.sec-blue  { background: var(--blue); }

.sec h2 {
  font-size: clamp(32px, 4vw, 48px); font-weight: 900;
  line-height: 1.05; letter-spacing: -.02em; margin-bottom: 24px;
}
.sec-dark h2, .sec-mid h2, .sec-deep h2 { color: var(--white); }
.sec-light h2 { color: var(--text-dark); }
.sec-blue h2 { color: var(--white); }
.sec h2 span { color: var(--blue-light); }
.sec-light h2 span { color: var(--blue); }

.sec .lead { font-size: 18px; line-height: 1.8; max-width: 680px; }
.sec-dark .lead, .sec-mid .lead, .sec-deep .lead { color: rgba(255,255,255,.65); }
.sec-light .lead { color: #4B5563; }
.sec-blue .lead { color: rgba(255,255,255,.8); }

.sec h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.sec-light h3 { color: var(--text-dark); }
.sec p + p { margin-top: 18px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.top { align-items: start; }

/* ─── PROOF / STAT GRID ──────────────────────────────────── */
.proof-section { background: var(--mid); padding: 72px 0; border-bottom: 1px solid rgba(46,74,125,.1); }
.proof-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
.proof-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.proof-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.proof-card { background: rgba(46,74,125,.06); border: 1px solid rgba(46,74,125,.12); padding: 32px 20px; text-align: center; }
.proof-card .pnum { font-size: 34px; font-weight: 900; color: var(--blue-light); line-height: 1; margin-bottom: 10px; }
.proof-card .plabel { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.5; }

/* ─── CARD GRID ──────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 48px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: rgba(46,74,125,.06); border: 1px solid rgba(46,74,125,.12);
  padding: 36px 32px; transition: background .2s;
}
.card:hover { background: rgba(46,74,125,.12); }
.card .cn { font-size: 11px; font-weight: 700; letter-spacing: .15em; color: var(--blue-light); text-transform: uppercase; margin-bottom: 12px; }
.card h4 { font-size: 19px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.card p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.65; }

.card-grid.on-light .card { background: var(--white); border-color: rgba(0,0,0,.07); box-shadow: 0 2px 18px rgba(0,0,0,.04); }
.card-grid.on-light .card:hover { background: var(--white); box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.card-grid.on-light .card .cn { color: var(--blue); }
.card-grid.on-light .card h4 { color: var(--text-dark); }
.card-grid.on-light .card p { color: #4B5563; }

/* ─── LISTS ──────────────────────────────────────────────── */
.bar-list { list-style: none; margin-top: 32px; }
.bar-list li {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 16px; color: rgba(255,255,255,.7); font-weight: 500;
}
.bar-list li:last-child { border-bottom: none; }
.bar-list .bar { width: 32px; height: 2px; background: var(--blue-light); flex-shrink: 0; }

.check-list { list-style: none; margin: 32px 0; }
.check-list li {
  display: flex; gap: 16px; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.5;
}
.check-list li:last-child { border-bottom: none; }
.check-list .check { color: var(--blue-light); font-size: 18px; flex-shrink: 0; font-weight: 900; }

.num-list { list-style: none; margin-top: 36px; }
.num-list li {
  display: flex; gap: 20px; padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 17px; font-weight: 500; color: rgba(255,255,255,.75); line-height: 1.5;
}
.num-list li:last-child { border-bottom: none; }
.num-list .num {
  font-size: 12px; font-weight: 700; color: var(--blue-light);
  letter-spacing: .1em; padding-top: 4px; flex-shrink: 0; width: 24px;
}

/* ─── QUOTE ──────────────────────────────────────────────── */
.pull-quote {
  padding: 32px 36px; background: var(--near-black);
  border-radius: 12px; border-left: 4px solid var(--blue); margin-top: 32px;
}
.pull-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; line-height: 1.5;
  color: rgba(255,255,255,.85); font-style: italic; margin-bottom: 10px;
}
.pull-quote cite {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-light); font-style: normal;
}

.panel {
  background: rgba(46,74,125,.08); border: 1px solid rgba(46,74,125,.2);
  border-radius: 16px; padding: 48px;
}
.panel.on-dark-solid { background: var(--near-black); }
.panel.on-blue { background: rgba(0,0,0,.2); border-color: transparent; }

/* ─── JOURNEY TIMELINE ───────────────────────────────────── */
.journey-section { background: var(--near-black); padding: 100px 0; }
.journey-section h2 {
  font-size: clamp(32px, 4vw, 48px); font-weight: 900;
  line-height: 1.05; letter-spacing: -.02em; color: var(--white); margin-bottom: 64px;
}
.journey-section h2 span { color: var(--blue-light); }
.journey-list { position: relative; padding-left: 32px; }
.journey-list::before {
  content: '';
  position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(to bottom, var(--blue), rgba(46,74,125,.1));
}
.journey-item { position: relative; padding: 0 0 48px 40px; }
.journey-item:last-child { padding-bottom: 0; }
.journey-item::before {
  content: '';
  position: absolute; left: -7px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue); border: 3px solid var(--near-black);
}
.journey-item .jlabel {
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue-light); margin-bottom: 6px;
}
.journey-item h3 { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.journey-item p { font-size: 15px; color: rgba(255,255,255,.5); line-height: 1.6; }

/* ─── CHAPTERS (long-form) ───────────────────────────────── */
.chapters-section { background: var(--light-bg); padding: 100px 0; }
.chapters-section .section-label { color: var(--blue); border-color: rgba(46,74,125,.3); }
.chapter { max-width: 760px; margin: 0 auto 72px; }
.chapter:last-child { margin-bottom: 0; }
.chapter-num {
  font-size: 11px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 8px;
}
.chapter h2, .chapter h3 {
  font-size: clamp(26px, 3vw, 36px); font-weight: 900;
  line-height: 1.1; letter-spacing: -.01em; color: var(--text-dark); margin-bottom: 6px;
}
.chapter .chapter-sub {
  font-size: 16px; font-weight: 600; color: #6B7280;
  margin-bottom: 24px; font-style: italic;
}
.chapter p { font-size: 17px; line-height: 1.8; color: #4B5563; margin-bottom: 20px; }
.chapter p:last-child { margin-bottom: 0; }
.chapter p strong { color: var(--text-dark); }
.chapter blockquote {
  margin: 32px 0 0; padding: 28px 36px;
  background: var(--near-black); border-radius: 12px; border-left: 4px solid var(--blue);
}
.chapter blockquote p {
  font-family: 'Playfair Display', serif;
  font-size: 19px; font-weight: 700; line-height: 1.5;
  color: rgba(255,255,255,.85); font-style: italic; margin-bottom: 10px;
}
.chapter blockquote cite {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-light); font-style: normal;
}
.chapter-divider { max-width: 760px; margin: 0 auto 72px; border: none; border-top: 1px solid rgba(0,0,0,.1); }

/* ─── PRINCIPLES ─────────────────────────────────────────── */
.principles-section { background: var(--near-black); padding: 100px 0; }
.principles-section h2 {
  font-size: clamp(32px, 4vw, 48px); font-weight: 900;
  line-height: 1.05; letter-spacing: -.02em; color: var(--white); margin-bottom: 56px;
}
.principles-section h2 span { color: var(--blue-light); }
.principles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.principle-card { background: rgba(46,74,125,.06); border: 1px solid rgba(46,74,125,.12); padding: 36px 32px; }
.principle-card .pn { font-size: 11px; font-weight: 700; letter-spacing: .15em; color: var(--blue-light); text-transform: uppercase; margin-bottom: 12px; }
.principle-card h3 { font-size: 19px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.principle-card p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.6; }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.08); padding: 24px 0; }
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,.08); }
.faq-item h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.faq-item p { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.6); }

/* ─── FORM ───────────────────────────────────────────────── */
.signup-form { max-width: 540px; margin: 44px auto 0; display: flex; gap: 12px; }
.signup-form input {
  flex: 1; padding: 18px 24px; border-radius: 50px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  color: var(--white); font-size: 15px; font-family: inherit;
  outline: none; transition: border-color .2s;
}
.signup-form input::placeholder { color: rgba(255,255,255,.35); }
.signup-form input:focus { border-color: var(--blue-light); }
.form-note { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.3); }

.tags { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.tags.center { justify-content: center; }
.tag {
  padding: 8px 18px; border-radius: 50px;
  background: rgba(46,74,125,.14); border: 1px solid rgba(46,74,125,.3);
  font-size: 12px; font-weight: 600; color: var(--blue-light);
  letter-spacing: .06em; text-transform: uppercase;
}

/* ─── FULLWIDTH STATEMENT ────────────────────────────────── */
.fullwidth-statement { background: var(--blue-dark); padding: 56px 0; text-align: center; }
.fullwidth-statement p {
  font-size: clamp(20px, 3vw, 36px); font-weight: 800;
  color: var(--white); letter-spacing: -.01em; line-height: 1.3;
}
.fullwidth-statement p em { font-style: italic; color: rgba(255,255,255,.6); }

/* ─── CTA ────────────────────────────────────────────────── */
.cta-section { background: var(--blue); padding: 100px 0; text-align: center; }
.cta-section h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 900; color: var(--white); margin-bottom: 20px; }
.cta-section p { font-size: 18px; color: rgba(255,255,255,.75); max-width: 500px; margin: 0 auto 40px; line-height: 1.7; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── RELATED PAGES (internal linking / SEO) ─────────────── */
.related { background: var(--dark); padding: 72px 0; border-top: 1px solid rgba(46,74,125,.1); }
.related h2 { font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.related-card {
  display: block; text-decoration: none;
  background: rgba(46,74,125,.06); border: 1px solid rgba(46,74,125,.12);
  padding: 28px 24px; transition: background .2s;
}
.related-card:hover { background: rgba(46,74,125,.14); }
.related-card .rc-title { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.related-card .rc-desc { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.55; }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer { background: #020408; padding: 60px 0 40px; border-top: 1px solid rgba(46,74,125,.1); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-bottom: 40px; }
.footer-links { display: flex; gap: 32px; list-style: none; flex-wrap: wrap; }
.footer-links a {
  color: rgba(255,255,255,.4); text-decoration: none; font-size: 12px;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: color .2s;
}
.footer-links a:hover { color: var(--blue-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.25); }
.footer-tagline { font-size: 12px; color: rgba(46,74,125,.7); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1000px) {
  .proof-grid, .proof-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  body > nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .container, .container-narrow { padding: 0 24px; }
  .page-hero { padding: 130px 0 72px; }
  .page-hero .inner, .split { grid-template-columns: 1fr; gap: 40px; }
  .sec { padding: 72px 0; }
  .card-grid, .card-grid.cols-2, .principles-grid, .proof-grid.cols-3 { grid-template-columns: 1fr; }
  .signup-form { flex-direction: column; }
  .signup-form input, .signup-form .btn { border-radius: 12px; }
  .signup-form .btn { justify-content: center; }
  .panel { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; }
  .footer-links { justify-content: center; }
}
@media (max-width: 560px) {
  .proof-grid, .proof-grid.cols-4 { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
