// Shared data for the I Am Intuitive course preview
const COURSE = {
  creator: {
    name: "Dr. Arlene Dijamco",
    fullName: "Dr. Arlene Dijamco, MD",
    shortBio:
      "Osteopathic physician, teacher, and author of I Am Intuitive. Bridging clinical medicine with the body's quieter wisdom.",
    longBio:
      "Dr. Arlene Dijamco, MD is a board-certified physician with over two decades of clinical practice, specializing in osteopathic manipulation, emotional release work, and mind-body integration. She has taught physicians, osteopaths, and lay audiences across the United States and internationally.",
    creds: ["MD", "Board-Certified", "Osteopathic Manipulation Specialist", "Author"],
    email: "arlene@allworldshealth.com",
  },
  parts: [
    {
      id: "I",
      title: "Part I — The Intuitive Body",
      blurb: "The body as the first teacher.",
      modules: [
        { id: "symptoms", chapter: 1, title: "A New Way of Looking at Symptoms", state: "soon" },
        { id: "grounding-body", chapter: 2, title: "Grounding the Body and Opening the Heart", state: "soon" },
        {
          id: "body-compass",
          chapter: 3,
          title: "Your Body as a Compass",
          state: "published",
          price: 39,
          videos: 3,
          minutes: 42,
          updated: "April 2026",
          description:
            "Your body is never guessing. It's always reporting — tightness, ease, warmth, contraction — long before the conscious mind notices. In this module, you'll learn to read that reporting clearly, and use it as a compass for everyday decisions large and small.",
          thumbTone: "sand",
          thumbAlt: "Hands resting on an open book, warm natural light — placeholder",
          videoList: [
            {
              id: "meeting-body-wisdom",
              num: "01",
              title: "Meeting Your Body's Wisdom",
              minutes: 8,
              state: "preview",
              thumbAlt: "Close-up of hands on chest — placeholder",
              thumbTone: "sand",
            },
            {
              id: "mapping-compass",
              num: "02",
              title: "Mapping the Body's Compass",
              minutes: 18,
              state: "locked",
              thumbAlt: "Compass on weathered desk with notebook — placeholder",
              thumbTone: "sand-deep",
            },
            {
              id: "daily-checkins",
              num: "03",
              title: "Practical Daily Check-Ins",
              minutes: 16,
              state: "locked",
              thumbAlt: "Mug of tea on a windowsill — placeholder",
              thumbTone: "sage",
            },
          ],
        },
      ],
    },
    {
      id: "II",
      title: "Part II — The Intuitive Mind",
      blurb: "Thought, noticed and grounded.",
      modules: [
        { id: "thoughts", chapter: 4, title: "Thoughts — What Are They?", state: "soon" },
        { id: "grounding-mind", chapter: 5, title: "Grounding the Mind", state: "soon" },
        { id: "mind-compass", chapter: 6, title: "Your Mind as a Compass", state: "soon" },
      ],
    },
    {
      id: "III",
      title: "Part III — The Intuitive Spirit",
      blurb: "Spirit, carried through a human life.",
      modules: [
        { id: "spiritual-beings", chapter: 7, title: "Spiritual Beings Having a Human Experience", state: "soon" },
        { id: "grounding-spirit", chapter: 8, title: "Grounding the Spirit", state: "soon" },
        { id: "spirit-compass", chapter: 9, title: "Your Spirit as a Compass", state: "soon" },
      ],
    },
    {
      id: "IV",
      title: "Part IV — The Intuitive Human",
      blurb: "Living the integration.",
      modules: [
        { id: "intuitive-living", chapter: 10, title: "The Art of Intuitive Living", state: "soon" },
        { id: "multidim-medicine", chapter: 11, title: "Multidimensional Medicine", state: "soon" },
      ],
    },
  ],
  testimonials: [
    {
      quote:
        "Arlene's teaching is the rare kind that works on every level at once — the anatomy, the emotion, the spirit. I reach for it every week in my own practice.",
      name: "Dr. Maya Chen, DO",
      place: "Vancouver, BC",
    },
    {
      quote:
        "I've read a hundred wellness books. This is the first time I've actually felt a practitioner pointing me back to my own knowing.",
      name: "Rebecca L.",
      place: "New York, NY",
    },
    {
      quote:
        "Our chaplaincy team went through the material together. It shifted how we show up for patients — and for each other.",
      name: "Fr. James O.",
      place: "Hospital Chaplain, Atlanta",
    },
  ],
};

// Helpers
function findModule(id) {
  for (const p of COURSE.parts) {
    for (const m of p.modules) if (m.id === id) return { module: m, part: p };
  }
  return null;
}
function findVideo(id) {
  for (const p of COURSE.parts) {
    for (const m of p.modules) {
      if (!m.videoList) continue;
      for (const v of m.videoList) if (v.id === id) return { video: v, module: m, part: p };
    }
  }
  return null;
}

Object.assign(window, { COURSE, findModule, findVideo });
