{"id":385,"date":"2026-05-20T10:06:41","date_gmt":"2026-05-20T10:06:41","guid":{"rendered":"https:\/\/cluetoself.com\/?page_id=385"},"modified":"2026-05-22T21:02:23","modified_gmt":"2026-05-22T21:02:23","slug":"calculator-2","status":"publish","type":"page","link":"https:\/\/cluetoself.com\/bg\/calculator-2\/","title":{"rendered":"\u041a\u0430\u043b\u043a\u0443\u043b\u0430\u0442\u043e\u0440 \u043d\u0430 \u0421\u0435\u0432\u0435\u0440\u0435\u043d \u0412\u044a\u0437\u0435\u043b"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"385\" class=\"elementor elementor-385\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8f91814 e-flex e-con-boxed e-con e-parent\" data-id=\"8f91814\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f1a859b elementor-widget elementor-widget-html\" data-id=\"f1a859b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\"\/>\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\/>\n<title>The Inner Path Calculator \u2014 Clue To Self<\/title>\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@300;400;500&display=swap\" rel=\"stylesheet\"\/>\n<style>\n*{box-sizing:border-box;margin:0;padding:0;}\n:root{--gold:#B8941F;--gold-light:#F7F0DC;--dark:#1A1A2E;--mid:#4A4A5A;--light:#FAFAF8;--border:#E8E4DC;}\nbody{font-family:'Jost',sans-serif;background:var(--light);color:var(--dark);min-height:100vh;}\n.elementor-widget-html-wrapper{width:100vw !important;margin-left:calc(-50vw + 50%) !important;}\n.calculator-fullwidth{width:100vw !important;position:relative !important;left:50% !important;right:50% !important;margin-left:-50vw !important;margin-right:-50vw !important;}\n\n\/* HERO SECTION *\/\n.hero{background:linear-gradient(160deg,#F5E6D8 0%,#EDD5C8 40%,#E8C8D4 70%,#D4B8C8 100%);text-align:center;padding:4rem 2rem 3rem;border-bottom:1px solid #E0C8B8;width:100%;box-sizing:border-box;}\n.hero-tag{font-size:11px;letter-spacing:5px;text-transform:uppercase;color:#D4AF37;margin-bottom:1rem;font-weight:600;}\n.hero-title{font-family:'Cormorant Garamond',serif;font-size:clamp(2rem,5vw,3.2rem);font-weight:300;color:#2A1A10;line-height:1.1;margin-bottom:0.5rem;}\n.hero-title em{font-style:italic;color:#D4AF37;}\n.hero-subtitle{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:1.05rem;color:rgba(42,26,16,0.55);margin-bottom:0;}\n\n\/* CALCULATOR FORM *\/\n.form-section{max-width:580px;margin:3rem auto;padding:0 1.5rem;width:100%;box-sizing:border-box;}\n.form-card{background:#FAF6EE;border:1px solid #E0C8A8;border-radius:24px;padding:2.5rem;box-shadow:0 4px 24px rgba(139,90,43,0.08);}\n.form-label{font-size:11px;letter-spacing:3px;text-transform:uppercase;color:#D4AF37;margin-bottom:0.75rem;font-weight:600;display:block;}\n.gender-toggle{display:flex;border:1px solid #E0C8A8;border-radius:50px;overflow:hidden;background:#F0E8DC;margin-bottom:2rem;}\n.gender-btn{flex:1;padding:12px 20px;border:none;background:transparent;color:#8B7355;font-family:'Cormorant Garamond',serif;font-size:14px;cursor:pointer;transition:all .2s;font-weight:500;}\n.gender-btn.active{background:linear-gradient(135deg,#EDD5C8,#E8C8D4);color:#2A1A10;}\n.date-input{width:100%;padding:12px 16px;font-size:15px;font-family:'Cormorant Garamond',serif;border:1px solid #E0C8A8;border-radius:12px;background:#F8F5EF;color:#2A1A10;outline:none;margin-bottom:1.5rem;box-sizing:border-box;}\n.submit-btn{width:100%;padding:14px;background:linear-gradient(135deg,#D4AF37,#B8941F);color:#F8F5EF;font-family:'Jost',sans-serif;font-size:12px;font-weight:600;letter-spacing:3px;text-transform:uppercase;border:none;border-radius:50px;cursor:pointer;transition:all 0.3s ease;box-shadow:0 4px 12px rgba(0, 0, 0, 0.05);}\n.submit-btn:hover{transform:translateY(-3px);box-shadow:0 8px 28px rgba(212, 175, 55, 0.3);}\n\n\/* RESULTS SECTION *\/\n.result{display:none;max-width:680px;margin:0 auto;padding:0 1.5rem 4rem;width:100%;box-sizing:border-box;}\n.result.visible{display:block;}\n.card{background:#FAF6EE;border:1px solid #E0C8A8;border-radius:20px;padding:2rem;margin-bottom:1.5rem;text-align:center;box-shadow:0 4px 24px rgba(139,90,43,0.08);}\n.card-tag{font-size:10px;letter-spacing:4px;text-transform:uppercase;color:#D4AF37;margin-bottom:0.5rem;font-weight:600;}\n.card-symbol{font-size:3rem;margin-bottom:0.5rem;}\n.card-title{font-family:'Cormorant Garamond',serif;font-size:2rem;font-weight:300;color:#2A1A10;margin-bottom:0.25rem;}\n.card-subtitle{font-size:13px;color:#D4AF37;margin-bottom:1.25rem;font-weight:600;}\n.north-node-box{background:linear-gradient(135deg,rgba(212,175,55,0.08) 0%,rgba(139,92,246,0.05) 100%);border-radius:14px;padding:1.25rem 1.5rem;text-align:left;border-left:5px solid #D4AF37;}\n.north-node-label{font-size:10px;letter-spacing:3px;text-transform:uppercase;color:#D4AF37;margin-bottom:0.75rem;font-weight:600;}\n.north-node-text{font-family:'Cormorant Garamond',serif;font-size:1rem;color:#3A2018;line-height:1.7;}\n\n.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.5rem;}\n.grid-item{background:#FAF6EE;border:1px solid #E0C8A8;border-radius:16px;padding:1.25rem;text-align:center;box-shadow:0 4px 24px rgba(139,90,43,0.08);}\n.grid-item-value{font-family:'Cormorant Garamond',serif;font-size:1.2rem;color:#2A1A10;line-height:1.2;margin:0.4rem 0;}\n.grid-item-sub{font-size:11px;color:#8B7355;margin-top:3px;}\n\n\/* CLOCK *\/\n.clock-card{background:#FAF6EE;border:1px solid #E0C8A8;border-radius:20px;padding:2rem;margin-bottom:1.5rem;text-align:center;box-shadow:0 4px 24px rgba(139,90,43,0.08);}\n.clock-label{font-size:10px;letter-spacing:3px;text-transform:uppercase;color:#D4AF37;margin-bottom:1rem;font-weight:600;}\n.clock-container{position:relative;width:240px;height:240px;margin:0 auto 1.5rem;}\n.clock-svg{position:absolute;top:0;left:0;}\n.clock-inner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:140px;height:140px;border-radius:50%;background:#F0E8DC;border:2px solid #E0C8A8;display:flex;flex-direction:column;align-items:center;justify-content:center;}\n.clock-day-label{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:#D4AF37;margin-bottom:2px;font-weight:600;}\n.clock-day-num{font-family:'Cormorant Garamond',serif;font-size:2.5rem;color:#2A1A10;line-height:1;margin-bottom:2px;}\n.clock-day-of{font-size:10px;color:#8B7355;}\n\n.legend{display:flex;justify-content:center;gap:1.5rem;flex-wrap:wrap;}\n.legend-item{display:flex;align-items:center;gap:6px;font-size:12px;color:#6B5040;}\n.legend-dot{width:12px;height:12px;border-radius:50%;}\n\n\/* CURRENT CYCLE *\/\n.cycle-info{background:#FAF6EE;border:1px solid #E0C8A8;border-radius:16px;padding:1.5rem;margin-bottom:1.5rem;text-align:center;box-shadow:0 4px 24px rgba(139,90,43,0.08);}\n.cycle-label{font-size:10px;letter-spacing:3px;text-transform:uppercase;color:#D4AF37;margin-bottom:0.5rem;font-weight:600;}\n.cycle-name{font-family:'Cormorant Garamond',serif;font-size:1.5rem;color:#2A1A10;margin-bottom:0.25rem;}\n.cycle-belief{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:13px;color:#8B7355;line-height:1.5;}\n\n\/* VOID DAYS BOX *\/\n.void-box{display:none;background:linear-gradient(135deg,#F5E6D8,#F0E8DC);border:1px solid #E0C8A8;border-radius:14px;padding:1.25rem 1.5rem;margin-bottom:1.5rem;font-family:'Cormorant Garamond',serif;font-style:italic;font-size:14px;color:#6B4A28;line-height:1.65;border-left:5px solid #D4AF37;}\n.void-box.visible{display:block;}\n.void-countdown{font-family:'Jost',sans-serif;font-size:1.25rem;font-weight:600;color:#2A1A10;margin:0.75rem 0 0.5rem;}\n.void-days-info{font-family:'Jost',sans-serif;font-size:13px;font-style:normal;color:#4A3828;margin-top:0.75rem;}\n\n\/* CTA BUTTONS *\/\n.cta-section{text-align:center;}\n.cta-primary{display:inline-block;padding:15px 38px;background:linear-gradient(135deg,#D4AF37,#B8941F);color:#F8F5EF;font-family:'Jost',sans-serif;font-size:12px;font-weight:600;letter-spacing:3px;text-transform:uppercase;text-decoration:none;border-radius:50px;margin-bottom:1rem;transition:all 0.3s ease;box-shadow:0 4px 12px rgba(0, 0, 0, 0.05);}\n.cta-primary:hover{transform:translateY(-3px);box-shadow:0 8px 28px rgba(212, 175, 55, 0.3);}\n.cta-secondary{display:inline-block;padding:12px 30px;background:transparent;color:#2A1A10;font-family:'Jost',sans-serif;font-size:12px;letter-spacing:2px;text-transform:uppercase;text-decoration:none;border-radius:50px;border:1px solid #D4AF37;margin-top:0.5rem;transition:all 0.3s ease;}\n.cta-secondary:hover{border-color:#B8941F;background:linear-gradient(135deg, #F7F0DC, transparent);}\n\n.container{max-width:760px;margin:0 auto;padding:0 2rem 4rem;}\n@media(max-width:600px){.container{padding-left:1.25rem;padding-right:1.25rem;}.grid-2{grid-template-columns:1fr;}}\n<\/style>\n<\/head>\n<body>\n\n<!-- HERO SECTION -->\n<div class=\"hero\">\n  <p class=\"hero-tag\">The Inner Path<\/p>\n  <h1 class=\"hero-title\">Find Your <em>Growth Energy<\/em><\/h1>\n  <p class=\"hero-subtitle\">Enter your birth date to discover your personal archetype and where you are in your inner journey today<\/p>\n<\/div>\n\n<!-- CALCULATOR -->\n<div class=\"form-section\">\n  <div class=\"form-card\">\n    <label class=\"form-label\">I am<\/label>\n    <div class=\"gender-toggle\">\n      <button class=\"gender-btn active\" id=\"btnF\" onclick=\"setGender('female')\">\ud83c\udf19 Female<\/button>\n      <button class=\"gender-btn\" id=\"btnM\" onclick=\"setGender('male')\">\u2600\ufe0f Male<\/button>\n    <\/div>\n\n    <label class=\"form-label\" for=\"dobInput\">Date of Birth<\/label>\n    <input type=\"date\" id=\"dobInput\" class=\"date-input\" max=\"2010-01-01\"\/>\n\n    <button class=\"submit-btn\" onclick=\"calculate()\">Reveal My Path<\/button>\n  <\/div>\n<\/div>\n\n<!-- RESULTS (hidden until calculated) -->\n<div id=\"result\" class=\"result\">\n\n  <!-- CURRENT CYCLE INFO -->\n  <div class=\"cycle-info\">\n    <p class=\"cycle-label\">You are currently working with<\/p>\n    <p class=\"cycle-name\" id=\"curCycleName\">\u2014<\/p>\n    <p class=\"cycle-belief\" id=\"curCycleBelief\">\u2014<\/p>\n  <\/div>\n\n  <!-- VOID DAYS BOX -->\n  <div id=\"voidBox\" class=\"void-box\">\n    \u2726 <strong>You are in the Void Days<\/strong> \u2014 the sacred time between cycles.\n    <div class=\"void-countdown\" id=\"voidCountdown\">5 days until your birthday<\/div>\n    <div class=\"void-days-info\">These are sacred days of reflection and completion. Rest, journal, and prepare for the rebirth of your personal year on your next birthday. You will return to your growth energy and begin the cycle anew.<\/div>\n  <\/div>\n\n  <!-- CTA BUTTON -->\n  <div class=\"cta-section\">\n    <a id=\"cycleBtn\" href=\"\/the-cycles\/\" class=\"cta-primary\">Begin Your Current Cycle<\/a>\n  <\/div>\n\n  <!-- GROWTH ENERGY CARD -->\n  <div class=\"card\">\n    <p class=\"card-tag\">Your Growth Energy<\/p>\n    <div class=\"card-symbol\" id=\"archSym\">\u264a<\/div>\n    <h2 class=\"card-title\" id=\"archName\">The Communicator<\/h2>\n    <p class=\"card-subtitle\" id=\"archSign\">Gemini Energy \u00b7 Truth<\/p>\n    <div class=\"north-node-box\">\n      <p class=\"north-node-label\">Your North Node Journey<\/p>\n      <p class=\"north-node-text\" id=\"northNodeText\">Your growth challenge is to find focus and depth.<\/p>\n    <\/div>\n  <\/div>\n\n  <!-- CLOCK -->\n  <div class=\"clock-card\">\n    <p class=\"clock-label\" id=\"clockLabel\">Your Personal Year at a Glance<\/p>\n    <div class=\"clock-container\">\n      <svg id=\"clockSvg\" class=\"clock-svg\" width=\"240\" height=\"240\" viewBox=\"0 0 240 240\"><\/svg>\n      <div class=\"clock-inner\">\n        <p class=\"clock-day-label\">Day<\/p>\n        <p class=\"clock-day-num\" id=\"dayNum\">1<\/p>\n        <p id=\"monthLabel\" class=\"clock-day-of\">of 28<\/p>\n      <\/div>\n    <\/div>\n    <div class=\"legend\">\n      <div class=\"legend-item\"><div class=\"legend-dot\" style=\"background:#D4AF37;\"><\/div><span>Completed months<\/span><\/div>\n      <div class=\"legend-item\"><div class=\"legend-dot\" style=\"background:#14B8A6;border:1px solid #0EA5E9;\"><\/div><span>Current month<\/span><\/div>\n      <div class=\"legend-item\"><div class=\"legend-dot\" style=\"background:#F0E8DC;border:1px solid #E0C8A8;\"><\/div><span>Future months<\/span><\/div>\n    <\/div>\n  <\/div>\n\n  <!-- DATE INFO -->\n  <div class=\"grid-2\">\n    <div class=\"grid-item\">\n      <p class=\"card-tag\">Today<\/p>\n      <p id=\"todayDate\" class=\"grid-item-value\">\u2014<\/p>\n      <p class=\"grid-item-sub\">Standard calendar<\/p>\n    <\/div>\n    <div class=\"grid-item\">\n      <p class=\"card-tag\">Your Personal Date<\/p>\n      <p id=\"personalDate\" class=\"grid-item-value\">\u2014<\/p>\n      <p id=\"personalSub\" class=\"grid-item-sub\">Personal calendar<\/p>\n    <\/div>\n  <\/div>\n\n<\/div>\n\n<\/body>\n\n<script>\n\/\/ ============================================================================\n\/\/ ACCURATE NORTH NODE TABLE (Birth Date Only - No Time Required)\n\/\/ True Node Calculation based on astronomical data\n\/\/ ============================================================================\n\nconst NORTH_NODE_TABLE = [\n  {start:'1970-01-01', end:'1971-02-27', sign:'Mystic', index:11},\n  {start:'1971-02-28', end:'1972-08-16', sign:'Visionary', index:10},\n  {start:'1972-08-17', end:'1974-03-03', sign:'Master', index:9},\n  {start:'1974-03-04', end:'1975-09-07', sign:'Seeker', index:8},\n  {start:'1975-09-08', end:'1977-03-28', sign:'Alchemist', index:7},\n  {start:'1977-03-29', end:'1978-10-02', sign:'Harmoniser', index:6},\n  {start:'1978-10-03', end:'1980-04-16', sign:'Healer', index:5},\n  {start:'1980-04-17', end:'1981-11-18', sign:'Sovereign', index:4},\n  {start:'1981-11-19', end:'1983-05-11', sign:'Nurturer', index:3},\n  {start:'1983-05-12', end:'1984-12-12', sign:'Communicator', index:2},\n  {start:'1984-12-13', end:'1986-07-10', sign:'Builder', index:1},\n  {start:'1986-07-11', end:'1988-01-19', sign:'Pioneer', index:0},\n  {start:'1988-01-20', end:'1989-08-11', sign:'Mystic', index:11},\n  {start:'1989-08-12', end:'1991-03-06', sign:'Visionary', index:10},\n  {start:'1991-03-07', end:'1992-10-15', sign:'Master', index:9},\n  {start:'1992-10-16', end:'1994-05-16', sign:'Seeker', index:8},\n  {start:'1994-05-17', end:'1995-12-21', sign:'Alchemist', index:7},\n  {start:'1995-12-22', end:'1997-08-09', sign:'Harmoniser', index:6},\n  {start:'1997-08-10', end:'1999-02-11', sign:'Healer', index:5},\n  {start:'1999-02-12', end:'2000-09-09', sign:'Sovereign', index:4},\n  {start:'2000-09-10', end:'2002-04-01', sign:'Nurturer', index:3},\n  {start:'2002-04-02', end:'2003-11-22', sign:'Communicator', index:2},\n  {start:'2003-11-23', end:'2005-07-28', sign:'Builder', index:1},\n  {start:'2005-07-29', end:'2007-01-05', sign:'Pioneer', index:0},\n  {start:'2007-01-06', end:'2008-06-26', sign:'Mystic', index:11},\n  {start:'2008-06-27', end:'2010-01-01', sign:'Visionary', index:10}\n];\n\n\/\/ ============================================================================\n\/\/ ZODIAC-ORDER ARCHETYPES (Starting from Aries = Index 0)\n\/\/ ============================================================================\n\nconst ARCHETYPES = {\n  0: {name:'The Pioneer', sym:'\u2648', sign:'Aries', energy:'Courage', nnText:'You may hold yourself back from new opportunities due to fear of failure or shame about past mistakes.', belief:'I must always be first and fearless \u2014 showing weakness or slowing down means I have failed.'},\n  1: {name:'The Builder', sym:'\u2649', sign:'Taurus', energy:'Stability', nnText:'You may struggle with impermanence and resist change, trying to control outcomes instead of building with flexibility.', belief:'Change terrifies me \u2014 I would rather stay in something comfortable and wrong than risk the unknown.'},\n  2: {name:'The Communicator', sym:'\u264a', sign:'Gemini', energy:'Truth', nnText:'Your growth challenge is to find focus and depth. Scattered learning prevents mastery.', belief:'I cannot focus long enough to master anything.'},\n  3: {name:'The Nurturer', sym:'\u264b', sign:'Cancer', energy:'Belonging', nnText:'You may over-sacrifice your needs for others, creating resentment instead of genuine connection.', belief:'I give endlessly to everyone else but asking for my own needs feels selfish and shameful.'},\n  4: {name:'The Sovereign', sym:'\u264c', sign:'Leo', energy:'Radiance', nnText:'You may dim your own light to avoid standing out, choosing invisibility over authentic power.', belief:'My worth depends entirely on whether others see and celebrate me \u2014 without an audience I do not exist.'},\n  5: {name:'The Healer', sym:'\u264d', sign:'Virgo', energy:'Service', nnText:'You may lose yourself in service to others, forgetting that your own healing is essential.', belief:'I am only valuable when I am useful \u2014 the moment I stop serving others I have no reason to be here.'},\n  6: {name:'The Harmoniser', sym:'\u264e', sign:'Libra', energy:'Balance', nnText:'You may abandon your truth to keep peace, sacrificing authenticity for approval.', belief:'I cannot make decisions because every choice might displease someone \u2014 so I please everyone and satisfy no one, including myself.'},\n  7: {name:'The Alchemist', sym:'\u264f', sign:'Scorpio', energy:'Transformation', nnText:'You may fear intimacy and keep powerful secrets, preventing true transformation.', belief:'I cannot trust anyone completely \u2014 the deeper someone gets, the more power they have to destroy me.'},\n  8: {name:'The Seeker', sym:'\u2650', sign:'Sagittarius', energy:'Truth', nnText:'You may remain in perpetual search mode, never claiming your own wisdom and truth.', belief:'I am always searching for the next horizon, the next teacher, the next truth \u2014 because committing to one path feels like dying.'},\n  9: {name:'The Master', sym:'\u2651', sign:'Capricorn', energy:'Mastery', nnText:'You may prioritize structure over connection, climbing the ladder while losing your soul.', belief:'I have spent my whole life climbing \u2014 but I am terrified that when I reach the top there will be nothing there.'},\n  10: {name:'The Visionary', sym:'\u2652', sign:'Aquarius', energy:'Innovation', nnText:'You may feel detached from humanity, pursuing ideas over genuine human connection.', belief:'I rebel against every system and authority \u2014 but secretly I am terrified of what I would have to become if I stopped.'},\n  11: {name:'The Mystic', sym:'\u2653', sign:'Pisces', energy:'Surrender', nnText:'You may escape into spirituality to avoid real-world responsibility and embodied presence.', belief:'I live so fully in the invisible world of feeling and spirit that the practical world feels impossible and cruel.'},\n  12: {name:'Divine Feminine', sym:'\u2640', sign:'Goddess', energy:'Trust', nnText:'I must be completely self-sufficient and independent \u2014 trusting others or needing help means I am weak and will be abandoned.', belief:'I must be completely self-sufficient and independent \u2014 trusting others or needing help means I am weak and will be abandoned.'}\n};\n\nlet selectedGender = 'female';\n\n\/\/ ============================================================================\n\/\/ ACCURATE NORTH NODE LOOKUP (Birth Date Only)\n\/\/ ============================================================================\n\nfunction getNorthNodeIndex(birthDate) {\n  const dateStr = birthDate.toISOString().split('T')[0];\n  \n  for (let entry of NORTH_NODE_TABLE) {\n    if (dateStr >= entry.start && dateStr <= entry.end) {\n      return entry.index;\n    }\n  }\n  return 11; \/\/ Default to Mystic if outside table\n}\n\n\/\/ ============================================================================\n\/\/ ACCURATE DAY COUNTING FROM BIRTHDAY\n\/\/ ============================================================================\n\nfunction getDaysFromBirthday(birthDate, referenceDate) {\n  \/\/ Get the most recent birthday\n  let recentBirthday = new Date(referenceDate.getFullYear(), birthDate.getMonth(), birthDate.getDate());\n  \n  \/\/ If birthday hasn't occurred this year yet, use last year's\n  if (recentBirthday > referenceDate) {\n    recentBirthday = new Date(referenceDate.getFullYear() - 1, birthDate.getMonth(), birthDate.getDate());\n  }\n  \n  \/\/ Calculate days since birthday (0 = birthday, 1 = next day, etc)\n  const daysDiff = Math.floor((referenceDate - recentBirthday) \/ (1000 * 60 * 60 * 24));\n  \n  return {\n    daysSinceBirthday: daysDiff,\n    recentBirthday: recentBirthday\n  };\n}\n\nfunction getNextBirthday(birthDate, referenceDate) {\n  let nextBday = new Date(referenceDate.getFullYear(), birthDate.getMonth(), birthDate.getDate());\n  \n  if (nextBday <= referenceDate) {\n    nextBday = new Date(referenceDate.getFullYear() + 1, birthDate.getMonth(), birthDate.getDate());\n  }\n  \n  return nextBday;\n}\n\n\/\/ ============================================================================\n\/\/ CYCLE CALCULATION - ACCURATE DAY\/MONTH COUNTING\n\/\/ ============================================================================\n\nfunction calculateCycle(birthDate, referenceDate, gender) {\n  const cycleLength = gender === 'female' ? 28 : 30;\n  const totalCycles = gender === 'female' ? 13 : 12;\n  const voidDaysCount = gender === 'female' ? 1 : 5;\n  \n  const {daysSinceBirthday} = getDaysFromBirthday(birthDate, referenceDate);\n  const nextBday = getNextBirthday(birthDate, referenceDate);\n  const daysUntilBirthday = Math.floor((nextBday - referenceDate) \/ (1000 * 60 * 60 * 24));\n  \n  \/\/ Total days in year\n  const totalDaysInYear = (cycleLength * totalCycles) + voidDaysCount;\n  \n  \/\/ Check if in void days\n  if (daysUntilBirthday >= 0 && daysUntilBirthday < voidDaysCount) {\n    return {\n      inVoidDays: true,\n      daysUntilBirthday: daysUntilBirthday,\n      voidDaysCount: voidDaysCount,\n      nextBirthday: nextBday\n    };\n  }\n  \n  \/\/ ACCURATE: Day 1 starts at day 0 (birthday), Day 28 is at day 27\n  \/\/ Current day in cycle is (daysSinceBirthday % cycleLength) + 1\n  \/\/ Current month is Math.floor(daysSinceBirthday \/ cycleLength) + 1\n  \n  const currentMonth = Math.floor(daysSinceBirthday \/ cycleLength) + 1;\n  const dayInCycle = (daysSinceBirthday % cycleLength) + 1;\n  \n  return {\n    inVoidDays: false,\n    currentMonth: currentMonth,\n    dayInCycle: dayInCycle,\n    cycleLength: cycleLength,\n    totalCycles: totalCycles,\n    daysUntilBirthday: daysUntilBirthday\n  };\n}\n\n\/\/ ============================================================================\n\/\/ ARCHETYPE PROGRESSION - ZODIAC ORDER STARTING WITH NORTH NODE\n\/\/ ============================================================================\n\nfunction getCurrentArchetypeIndex(northNodeIndex, currentMonth) {\n  \/\/ Month 1 = North Node\n  \/\/ Month 2 = North Node + 1\n  \/\/ etc...\n  const archetypeIndex = (northNodeIndex + currentMonth - 1) % 12;\n  return archetypeIndex;\n}\n\nfunction setGender(g) {\n  selectedGender = g;\n  document.getElementById('btnF').classList.toggle('active', g === 'female');\n  document.getElementById('btnM').classList.toggle('active', g === 'male');\n}\n\nfunction getNextCelestialEvent(baseDate, name) {\n  let date = new Date(baseDate);\n  let today = new Date();\n  \n  while (date <= today) {\n    date = new Date(date.getFullYear() + 1, date.getMonth(), date.getDate());\n  }\n  \n  let days = Math.floor((date - today) \/ (1000 * 60 * 60 * 24));\n  return { date: date, days: days, name: name };\n}\n\nfunction calculate() {\n  const dobInput = document.getElementById('dobInput').value;\n  if (!dobInput) {\n    alert('Please select a birth date.');\n    return;\n  }\n\n  const birthDate = new Date(dobInput);\n  const today = new Date();\n  \n  \/\/ Get North Node\n  const northNodeIndex = getNorthNodeIndex(birthDate);\n  const nnArch = ARCHETYPES[northNodeIndex];\n  \n  \/\/ Display North Node\n  document.getElementById('archSym').textContent = nnArch.sym;\n  document.getElementById('archName').textContent = nnArch.name;\n  document.getElementById('archSign').textContent = nnArch.sign + ' Energy \u00b7 ' + nnArch.energy;\n  document.getElementById('northNodeText').textContent = nnArch.nnText;\n\n  \/\/ Display today's date\n  document.getElementById('todayDate').textContent = today.toLocaleDateString('en-GB',{day:'numeric',month:'long',year:'numeric'});\n\n  \/\/ Calculate cycle\n  const cycleData = calculateCycle(birthDate, today, selectedGender);\n  \n  if (cycleData.inVoidDays) {\n    \/\/ ===== VOID DAYS =====\n    const displayDaysRemaining = cycleData.daysUntilBirthday === 0 ? 1 : cycleData.daysUntilBirthday;\n    document.getElementById('personalDate').textContent = 'Void Days';\n    document.getElementById('personalSub').textContent = displayDaysRemaining + ' day' + (displayDaysRemaining !== 1 ? 's' : '') + ' remaining';\n    \n    document.querySelector('.clock-container').style.opacity = '0.3';\n    document.getElementById('clockLabel').textContent = 'Sacred Rest Before Renewal';\n    document.getElementById('dayNum').textContent = '\u2014';\n    document.getElementById('monthLabel').textContent = '';\n    \n    document.getElementById('voidBox').classList.add('visible');\n    const displayDays = cycleData.daysUntilBirthday === 0 ? 1 : cycleData.daysUntilBirthday;\n    document.getElementById('voidCountdown').textContent = displayDays + ' day' + (displayDays !== 1 ? 's' : '') + ' until your birthday';\n    \n    document.getElementById('curCycleName').textContent = nnArch.name + ' (returning)';\n    document.getElementById('curCycleBelief').textContent = 'You return to your growth energy on your birthday.';\n    \n  } else {\n    \/\/ ===== ACTIVE CYCLE =====\n    document.querySelector('.clock-container').style.opacity = '1';\n    document.getElementById('voidBox').classList.remove('visible');\n    \n    document.getElementById('personalDate').textContent = 'Month ' + cycleData.currentMonth + ' \u00b7 Day ' + cycleData.dayInCycle;\n    document.getElementById('personalSub').textContent = selectedGender === 'female' ? '28-day feminine cycle' : '30-day masculine cycle';\n    \n    document.getElementById('clockLabel').textContent = nnArch.name + ' \u2014 Your Personal Year at a Glance';\n    document.getElementById('dayNum').textContent = cycleData.dayInCycle;\n    document.getElementById('monthLabel').textContent = 'of ' + cycleData.cycleLength;\n    drawClock(cycleData.currentMonth, cycleData.totalCycles, cycleData.dayInCycle, cycleData.cycleLength);\n    \n    const currentArchIndex = getCurrentArchetypeIndex(northNodeIndex, cycleData.currentMonth);\n    const curArch = ARCHETYPES[currentArchIndex];\n    \n    document.getElementById('curCycleName').textContent = curArch.name;\n    document.getElementById('curCycleBelief').textContent = '\"' + curArch.belief + '\"';\n  }\n\n  \/\/ CTA button\n  var energyLinks = {\n    0: 'https:\/\/cluetoself.com\/the-journey\/the-pioneer\/',\n    1: 'https:\/\/cluetoself.com\/the-journey\/the-builder\/',\n    2: 'https:\/\/cluetoself.com\/the-journey\/the-communicator\/',\n    3: 'https:\/\/cluetoself.com\/the-journey\/the-nurturer\/',\n    4: 'https:\/\/cluetoself.com\/the-journey\/the-sovereign\/',\n    5: 'https:\/\/cluetoself.com\/the-journey\/the-healer\/',\n    6: 'https:\/\/cluetoself.com\/the-journey\/the-harmoniser\/',\n    7: 'https:\/\/cluetoself.com\/the-journey\/the-alchemist\/',\n    8: 'https:\/\/cluetoself.com\/the-journey\/the-seeker\/',\n    9: 'https:\/\/cluetoself.com\/the-journey\/the-master\/',\n    10: 'https:\/\/cluetoself.com\/the-journey\/the-visionary\/',\n    11: 'https:\/\/cluetoself.com\/the-journey\/the-mystic\/',\n    12: 'https:\/\/cluetoself.com\/the-journey\/divine-feminine\/'\n  };\n  \n  if (!cycleData.inVoidDays) {\n    const currentArchIndex = getCurrentArchetypeIndex(northNodeIndex, cycleData.currentMonth);\n    const curArch = ARCHETYPES[currentArchIndex];\n    document.getElementById('cycleBtn').textContent = 'Begin ' + curArch.name + ' Cycle';\n    document.getElementById('cycleBtn').href = energyLinks[currentArchIndex] || 'https:\/\/cluetoself.com\/the-journey\/';\n  } else {\n    document.getElementById('cycleBtn').textContent = 'Return to ' + nnArch.name;\n    document.getElementById('cycleBtn').href = energyLinks[northNodeIndex] || 'https:\/\/cluetoself.com\/the-journey\/';\n  }\n\n  \/\/ Show results\n  document.getElementById('result').classList.add('visible');\n  document.getElementById('result').scrollIntoView({behavior:'smooth',block:'start'});\n}\n\nfunction drawClock(curMonth, totalMonths, curDay, totalDays) {\n  var svg = document.getElementById('clockSvg');\n  svg.innerHTML = '';\n  var cx = 120, cy = 120, ro = 115, ri = 75;\n  var gap = 0.02;\n\n  for(var m=0; m<totalMonths; m++){\n    var startAngle = (m \/ totalMonths) * Math.PI * 2 - Math.PI\/2 + gap;\n    var endAngle = ((m+1) \/ totalMonths) * Math.PI * 2 - Math.PI\/2 - gap;\n\n    var x1 = cx + ro * Math.cos(startAngle);\n    var y1 = cy + ro * Math.sin(startAngle);\n    var x2 = cx + ro * Math.cos(endAngle);\n    var y2 = cy + ro * Math.sin(endAngle);\n    var x3 = cx + ri * Math.cos(endAngle);\n    var y3 = cy + ri * Math.sin(endAngle);\n    var x4 = cx + ri * Math.cos(startAngle);\n    var y4 = cy + ri * Math.sin(startAngle);\n\n    var large = (endAngle - startAngle) > Math.PI ? 1 : 0;\n    var d = 'M '+x1+' '+y1+' A '+ro+' '+ro+' 0 '+large+' 1 '+x2+' '+y2+' L '+x3+' '+y3+' A '+ri+' '+ri+' 0 '+large+' 0 '+x4+' '+y4+' Z';\n\n    var fill;\n    if(m+1 < curMonth) fill = '#D4AF37';\n    else if(m+1 === curMonth) fill = '#14B8A6';\n    else fill = '#F0E8DC';\n\n    var stroke = m+1 === curMonth ? '#0EA5E9' : '#E0C8A8';\n\n    var path = document.createElementNS('http:\/\/www.w3.org\/2000\/svg','path');\n    path.setAttribute('d', d);\n    path.setAttribute('fill', fill);\n    path.setAttribute('stroke', stroke);\n    path.setAttribute('stroke-width', '1');\n    svg.appendChild(path);\n\n    var midAngle = (startAngle + endAngle) \/ 2;\n    var labelR = (ro + ri) \/ 2;\n    var lx = cx + labelR * Math.cos(midAngle);\n    var ly = cy + labelR * Math.sin(midAngle);\n    var text = document.createElementNS('http:\/\/www.w3.org\/2000\/svg','text');\n    text.setAttribute('x', lx);\n    text.setAttribute('y', ly);\n    text.setAttribute('text-anchor','middle');\n    text.setAttribute('dominant-baseline','middle');\n    text.setAttribute('font-size','9');\n    text.setAttribute('font-family','Arial,sans-serif');\n    text.setAttribute('fill', m+1 < curMonth ? '#FAF6EE' : '#8B7355');\n    text.textContent = 'M'+(m+1);\n    svg.appendChild(text);\n  }\n\n  var dayFraction = curDay \/ totalDays;\n  var dayEnd = -Math.PI\/2 + dayFraction * Math.PI * 2;\n  var dx1 = cx + (ri-4) * Math.cos(-Math.PI\/2);\n  var dy1 = cy + (ri-4) * Math.sin(-Math.PI\/2);\n  var dx2 = cx + (ri-4) * Math.cos(dayEnd);\n  var dy2 = cy + (ri-4) * Math.sin(dayEnd);\n  var largeDayArc = dayFraction > 0.5 ? 1 : 0;\n\n  if(dayFraction > 0.01 && dayFraction < 0.99){\n    var dayArc = document.createElementNS('http:\/\/www.w3.org\/2000\/svg','path');\n    dayArc.setAttribute('d','M '+cx+' '+cy+' L '+dx1+' '+dy1+' A '+(ri-4)+' '+(ri-4)+' 0 '+largeDayArc+' 1 '+dx2+' '+dy2+' Z');\n    dayArc.setAttribute('fill','rgba(212, 175, 55, 0.2)');\n    svg.appendChild(dayArc);\n  }\n}\n<\/script>\n\n<\/html>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>The Inner Path Calculator \u2014 Clue To Self The Inner Path Find Your Growth Energy Enter your birth date to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-385","page","type-page","status-publish","hentry"],"_hostinger_reach_plugin_has_subscription_block":false,"_hostinger_reach_plugin_is_elementor":false,"_links":{"self":[{"href":"https:\/\/cluetoself.com\/bg\/wp-json\/wp\/v2\/pages\/385","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cluetoself.com\/bg\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cluetoself.com\/bg\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cluetoself.com\/bg\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cluetoself.com\/bg\/wp-json\/wp\/v2\/comments?post=385"}],"version-history":[{"count":32,"href":"https:\/\/cluetoself.com\/bg\/wp-json\/wp\/v2\/pages\/385\/revisions"}],"predecessor-version":[{"id":491,"href":"https:\/\/cluetoself.com\/bg\/wp-json\/wp\/v2\/pages\/385\/revisions\/491"}],"wp:attachment":[{"href":"https:\/\/cluetoself.com\/bg\/wp-json\/wp\/v2\/media?parent=385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}