// Pillar data v4 — same content, adds cardImage (season scene for card back)

const PILLARS_V4 = [
  {
    id: 'awareness',
    season: 'Winter',
    name: 'Awareness',
    accent: 'var(--winter)',
    cardImage: 'assets/season-winter.png',
    essence: "Observe — don't absorb.",
    reveal:
      "The world is built to make you feel small. Awareness is where you wake up to the fear that isn't yours, and decide what stays.",
    questions: [
      "Whose fear are you carrying that was never yours?",
      "When has your anger, shame, or jealousy quietly kept you safe?",
      "What heavy thing have you never said out loud — even to yourself?",
      "If you drew the hardest mountain of the last five years, what would be in your pack?",
      "Where are you exhausted — and who benefits from you staying that way?",
      "What story about yourself have you started to doubt?",
      "After the news ends, what stays in your body for hours?",
      "What truth do you already know but have not yet acted on?",
      "Where in your day do you feel most like a stranger to yourself?",
      "If your body could speak this week, what would it say has been too much?"
    ],
    tools: {
      traditional: {
        kind: 'breath',
        title: 'Three Breaths, Three Truths',
        body: 'With each slow breath, name one thing you can release that was never yours.',
        icon: 'lungs'
      },
      action: {
        kind: 'timer',
        title: 'Sixty Seconds of Listening',
        body: 'Set a minute aside. Notice what surfaces when nothing is required of you.',
        icon: 'hourglass',
        timer: 60
      },
      brave: {
        kind: 'challenge',
        title: 'Name It Out Loud',
        body: 'Today — text one person the honest version of how you are. One sentence longer than usual.',
        icon: 'flame'
      }
    }
  },
  {
    id: 'presence',
    season: 'Spring',
    name: 'Being Present',
    accent: 'var(--spring)',
    cardImage: 'assets/season-spring.png',
    essence: "Come back to now.",
    reveal:
      "This breath is real. This moment is where your power lives. Go outside. Feel the wind. Be here.",
    questions: [
      "Right now — where are your shoulders, your jaw, your breath?",
      "When were you last so here that time stopped meaning anything?",
      "What element calls you back to yourself — water, earth, fire, air, or movement?",
      "What are you resisting today that might soften if you stopped pushing?",
      "What does your body know that your mind has been arguing with?",
      "When did you last let weather touch your skin and stay long enough to notice it?",
      "What are you doing on autopilot that deserves your whole attention?",
      "If today were the only one you were given, what would you stop pretending matters?",
      "What ordinary thing — a meal, a walk, a window — have you stopped seeing?",
      "Where in your day could you trade thinking for noticing?"
    ],
    tools: {
      traditional: {
        kind: 'breath',
        title: 'Box Breath, Four By Four',
        body: 'Breathe in four. Hold four. Out four. Hold four. Four rounds.',
        icon: 'lungs'
      },
      action: {
        kind: 'timer',
        title: 'Sixty Seconds of Now',
        body: 'No screen. No music. One minute of being in the room you are in.',
        icon: 'hourglass',
        timer: 60
      },
      brave: {
        kind: 'challenge',
        title: 'Weather on Your Face',
        body: 'In the next hour — go outside, no phone. Let the sky land on you. Stay until you feel it.',
        icon: 'wind'
      }
    }
  },
  {
    id: 'joy',
    season: 'Summer',
    name: 'Joy & Wonder',
    accent: 'var(--summer)',
    cardImage: 'assets/season-summer.png',
    essence: "Joy is your quiet rebellion.",
    reveal:
      "Dance wildly. Sing off-key. Jump in puddles. Joy is not silly — it is sacred. It is yours, and they cannot take it.",
    questions: [
      "What did you love before you learned what was acceptable to love?",
      "When were you last so happy you embarrassed yourself a little — and why did you stop?",
      "What still makes you feel infinite and tiny in the same breath?",
      "When you were small, what made you forget time?",
      "Do you remember a moment when you felt your most beautiful? What were you doing?",
      "What song makes your body want to move — and when did you last let it?",
      "What small joy have you been quietly rationing?",
      "If no one were watching and no one would know, what would you do this week?",
      "When did you last laugh so hard you forgot to be a grown-up?",
      "What would you say yes to today, if joy were a good enough reason?"
    ],
    tools: {
      traditional: {
        kind: 'breath',
        title: 'A Smile Before A Breath',
        body: 'Smile first. Then breathe in. Three rounds. Notice how your body receives the air differently.',
        icon: 'lungs'
      },
      action: {
        kind: 'song',
        title: 'Play Your Joy Song',
        body: 'You know the one. The one your body knows the chorus to. Play it loud. Right now if you can.',
        icon: 'note'
      },
      brave: {
        kind: 'challenge',
        title: 'Jump In One Puddle',
        body: 'Today. Literal or metaphorical. Do the thing you would have done at seven.',
        icon: 'sparkle'
      }
    }
  },
  {
    id: 'connection',
    season: 'Autumn',
    name: 'Deep Connection',
    accent: 'var(--autumn)',
    cardImage: 'assets/season-autumn.png',
    essence: "Find your people. You are not meant to do this alone.",
    reveal:
      "A table big enough for everyone. A page in a notebook you forgot you still had dreams in. Welcome each other home.",
    questions: [
      "What is something special about you that you wish someone would name — that maybe even you haven't?",
      "Who could you be your whole self with — no softening, no translating?",
      "If no one fits that yet, what would that person feel like to be near?",
      "Whose name keeps coming to mind that you haven't reached for in too long?",
      "Where do you give grace to others that you refuse to give yourself?",
      "What dream have you been keeping secret because saying it out loud would make it real?",
      "If you could build a world for your grandchildren's grandchildren — what would be there?",
      "Who in your life is quietly waking up, and how could you welcome them home?",
      "What honest thing have you been swallowing that someone needs to hear?",
      "What twenty seconds of bravery have you been postponing?"
    ],
    tools: {
      traditional: {
        kind: 'journal',
        title: 'Write the Letter — Send or Not',
        body: 'Write the message you have been holding to one person. You can send it. You can not. Just stop carrying it alone.',
        icon: 'pen'
      },
      action: {
        kind: 'action',
        title: 'A Real Hug This Week',
        body: 'One hug. Not the half-pat. The kind where they can feel you mean it. Notice what happens in your chest.',
        icon: 'heart'
      },
      brave: {
        kind: 'challenge',
        title: 'Compliment a Stranger',
        body: 'Today. Eye contact. Mean it. Say the specific thing. Then walk on.',
        icon: 'spark'
      }
    }
  }
];

const BLESSINGS_V4 = [
  "Hope is inevitable. Even the smallest light cannot be shut out once it is there.",
  "You are not broken. You are tired. Rest is sacred.",
  "Choose love. Seek joy. Find your hope. Watch what happens next.",
  "The world is shifting. Not someday. Now. And you are part of that shift.",
  "Nothing existed before it was a thought. Every dream you speak makes the next one possible.",
  "Hope is the bedrock you can never fall through into the void.",
  "You belong in this story. Come back tomorrow."
];

function ToolIconV4({ kind }) {
  const common = { fill: 'none', stroke: 'currentColor', strokeWidth: 1.4, strokeLinecap: 'round', strokeLinejoin: 'round' };
  switch (kind) {
    case 'lungs':
      return <svg viewBox="0 0 36 36" {...common}><path d="M18 6v22"/><path d="M18 10c-1 4-5 5-7 9s-1 9 0 11c1 2 3 2 4 1s2-3 2-5"/><path d="M18 10c1 4 5 5 7 9s1 9 0 11c-1 2-3 2-4 1s-2-3-2-5"/></svg>;
    case 'hourglass':
      return <svg viewBox="0 0 36 36" {...common}><path d="M10 5h16M10 31h16"/><path d="M10 5c0 6 8 9 8 13s-8 7-8 13"/><path d="M26 5c0 6-8 9-8 13s8 7 8 13"/><circle cx="18" cy="18" r="1.5" fill="currentColor"/></svg>;
    case 'flame':
      return <svg viewBox="0 0 36 36" {...common}><path d="M18 30c5 0 8-3 8-7 0-3-2-5-3-7-1 2-2 3-3 2 0-3 1-5 1-8 0-4-3-7-7-7 2 3 1 6-1 9-2 2-3 5-3 8 0 5 3 10 8 10z"/></svg>;
    case 'wind':
      return <svg viewBox="0 0 36 36" {...common}><path d="M5 12h16c2 0 4-1 4-3s-1-3-3-3-3 1-3 3"/><path d="M5 18h22c3 0 5-1 5-3"/><path d="M5 24h14c2 0 4 1 4 3s-1 3-3 3-3-1-3-3"/></svg>;
    case 'note':
      return <svg viewBox="0 0 36 36" {...common}><path d="M14 24V8l14-3v16"/><ellipse cx="11" cy="25" rx="3.5" ry="2.5"/><ellipse cx="25" cy="22" rx="3.5" ry="2.5"/></svg>;
    case 'sparkle':
      return <svg viewBox="0 0 36 36" {...common}><path d="M18 4v8M18 24v8M4 18h8M24 18h8"/><path d="M9 9l5 5M22 22l5 5M27 9l-5 5M14 22l-5 5"/></svg>;
    case 'pen':
      return <svg viewBox="0 0 36 36" {...common}><path d="M5 31l4-1L26 13l-3-3L6 27l-1 4z"/><path d="M22 9l3-3 4 4-3 3"/></svg>;
    case 'heart':
      return <svg viewBox="0 0 36 36" {...common}><path d="M18 30c-2-1-12-7-12-15 0-4 3-7 7-7 2 0 4 1 5 3 1-2 3-3 5-3 4 0 7 3 7 7 0 8-10 14-12 15z"/></svg>;
    case 'spark':
      return <svg viewBox="0 0 36 36" {...common}><circle cx="18" cy="18" r="3"/><path d="M18 4v6M18 26v6M4 18h6M26 18h6M8 8l4 4M24 24l4 4M28 8l-4 4M12 24l-4 4"/></svg>;
    default: return null;
  }
}

window.PILLARS_V4 = PILLARS_V4;
window.BLESSINGS_V4 = BLESSINGS_V4;
window.ToolIconV4 = ToolIconV4;
