{
  "features": {
    "networking": true
  },
  "steps": [
    {
      "themeData": {
        "slug": "kadence",
        "resource": "wordpress.org/themes"
      },
      "options": {
        "activate": true
      },
      "step": "installTheme"
    },
    {
      "options": {
        "activate": true
      },
      "pluginData": {
        "slug": "kadence-blocks",
        "resource": "wordpress.org/plugins"
      },
      "step": "installPlugin"
    },
    {
      "code": "<?php\nrequire '/wordpress/wp-load.php';\n\n$content = <<<'BLOCKS'\n<!-- wp:paragraph {\"className\":\"north-label\"} -->\n<p class=\"north-label\">STRATEGY · OPERATIONS · CHANGE</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:kadence/advancedheading {\"uniqueID\":\"north-hero\",\"htmlTag\":\"h1\"} -->\n<h1 class=\"kt-adv-headingnorth-hero wp-block-kadence-advancedheading\" data-kb-block=\"kb-adv-headingnorth-hero\">Make the next move clear.</h1>\n<!-- /wp:kadence/advancedheading -->\n\n<!-- wp:paragraph {\"className\":\"north-intro\"} -->\n<p class=\"north-intro\">Northline Advisory is a sample consulting practice. This concept shows how a small firm can explain what it does, how it works, and how a prospective client can start a conversation.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button -->\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"#approach\">Explore the approach</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons -->\n\n<!-- wp:heading {\"anchor\":\"approach\",\"className\":\"north-section-title\"} -->\n<h2 class=\"wp-block-heading north-section-title\" id=\"approach\">Three ways we help</h2>\n<!-- /wp:heading -->\n\n<!-- wp:columns {\"className\":\"north-services\"} -->\n<div class=\"wp-block-columns north-services\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"level\":3} -->\n<h3 class=\"wp-block-heading\">01. Set priorities</h3>\n<!-- /wp:heading -->\n<!-- wp:paragraph -->\n<p>Identify the decisions that matter this quarter, who owns them, and what the team can set aside.</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"level\":3} -->\n<h3 class=\"wp-block-heading\">02. Fix handoffs</h3>\n<!-- /wp:heading -->\n<!-- wp:paragraph -->\n<p>Map a recurring workflow and agree what needs to be clear when work moves from one person to another.</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"level\":3} -->\n<h3 class=\"wp-block-heading\">03. Put change to work</h3>\n<!-- /wp:heading -->\n<!-- wp:paragraph -->\n<p>Give the team a short rollout plan, a way to surface problems, and a date to review progress.</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:paragraph {\"className\":\"north-credit\"} -->\n<p class=\"north-credit\">Independent portfolio concept by AuroraNext. Northline Advisory is a fictional business.</p>\n<!-- /wp:paragraph -->\nBLOCKS;\n\n$page_id = wp_insert_post([\n    'post_type'    => 'page',\n    'post_status'  => 'publish',\n    'post_title'   => 'Home',\n    'post_name'    => 'home',\n    'post_content' => $content,\n], true);\n\nif (is_wp_error($page_id) || ! $page_id) {\n    throw new RuntimeException('Could not create the demo page.');\n}\n\nupdate_option('blogname', 'Northline Advisory');\nupdate_option('blogdescription', 'AuroraNext portfolio concept');\nupdate_option('show_on_front', 'page');\nupdate_option('page_on_front', $page_id);\nupdate_option('blog_public', '0');\nset_theme_mod('page_title', false);\nset_theme_mod('page_content_style', 'unboxed');\n\n$css = <<<'CSS'\n:root { color-scheme: light; }\nbody.home { background: #edf1eb; }\n.home .content-bg { background: #edf1eb; }\n.home .entry-content-wrap { padding: clamp(1.25rem, 5vw, 4rem); }\n.home .north-label { margin-bottom: 1rem; color: #275a4b; font-size: .78rem; font-weight: 750; letter-spacing: .16em; }\n.home .kt-adv-headingnorth-hero { max-width: 12ch; margin: 0 0 1.25rem; color: #152d28; font-size: clamp(2.7rem, 7vw, 6rem); line-height: .98; letter-spacing: -.065em; }\n.home .north-intro { max-width: 48ch; font-size: clamp(1rem, 2.2vw, 1.24rem); }\n.home .wp-block-button__link { padding: .75rem 1.15rem; background: #1d493d; color: #fff; }\n.home .wp-block-button__link:focus-visible { outline: 3px solid #2b725d; outline-offset: 4px; }\n.home .north-section-title { margin-top: clamp(2.25rem, 6vw, 4.25rem); color: #152d28; }\n.home .north-services .wp-block-column { padding: 1.2rem; border: 1px solid #cedbd2; border-radius: .65rem; background: #f8faf6; }\n.home .north-services h3 { margin-top: 0; font-size: 1.2rem; color: #152d28; }\n.home .north-services p { margin-bottom: 0; }\n.home .north-credit { padding-top: 1.25rem; font-size: .9rem; color: #415c51; }\nCSS;\n\n$updated_css = wp_update_custom_css_post($css);\nif (is_wp_error($updated_css)) {\n    throw new RuntimeException($updated_css->get_error_message());\n}\n\n$blocks = parse_blocks(get_post_field('post_content', $page_id));\nif (get_stylesheet() !== 'kadence'\n    || ! WP_Block_Type_Registry::get_instance()->is_registered('kadence/advancedheading')\n    || ! in_array('kadence/advancedheading', array_column($blocks, 'blockName'), true)) {\n    throw new RuntimeException('Kadence theme or editable heading block is missing.');\n}\n",
      "step": "runPHP"
    }
  ],
  "landingPage": "/"
}
