// Axiom Analytics website
// Site content. Styles and layout follow below; brand rules are in ../brand/BRAND.md.
const AXIOM_DATA = {
  schools: [
    "ABQ Collegiate",
    "Solare Collegiate",
    "Middle College High School",
    "Voz Collegiate",
    "Hozho Academy",
    "Red River Charter School",
    "Explore Academy — Las Cruces",
    "Monte Del Sol",
    "Explore Las Vegas",
    "North Valley Academy",
    "La Academia de Esperanza",
    "Sun Mountain Community School",
    "Turquoise Trail Charter School",
  ],
  services: [
    {
      key: "accounting",
      title: "Accounting",
      blurb:
        "The general ledger, payroll, and procurement, run cleanly so audit season is uneventful.",
      items: [
        "GASB / GAAP alignment and allowable-cost discipline",
        "General ledger and accounting matrix management",
        "Purchasing & procurement-threshold controls",
        "AP — Check, ACH, P-Card",
        "Payroll processing (W/C, ERB, RHC, NMPSIA) and liability reconciliation",
        "Year-end closeout and audit-planning facilitation",
        "Compliant, school-specific fiscal policies",
      ],
    },
    {
      key: "modeling",
      title: "Financial Modeling & Budgeting",
      blurb:
        "Our proprietary models translate enrollment, staffing, and facility decisions into the runway your board needs to see.",
      items: [
        "Forecasting, cash-flow, YTD-vs-budget, and 3–5 year models",
        "Annual State (SEG) and Federal (Title I, II, etc.) budgets",
        "Facility strategy — securing, expanding, and modeling capital outlay",
        "Compensation modeling — salary scales, benefits, and retention planning across multi-year budgets",
        "Sustainability planning with school leader & GC",
        "YTD financial statements, board-ready",
        "Thought partner on state funding and cash-flow issues",
      ],
    },
    {
      key: "reporting",
      title: "Reporting",
      blurb:
        "Every required filing — federal, state, local — submitted on cycle, with the supporting work to defend it.",
      items: [
        "Reimbursement requests across all funds",
        "Quarterly and annual tax reports",
        "Payroll reports — complete and submitted",
        "All financial PED reports",
        "Grant reporting and ad-hoc financial reports",
        "Maximizing local, state, and federal funding access — capital outlay, lease assistance, appropriations",
      ],
    },
    {
      key: "governance",
      title: "Governing Council Engagement",
      blurb:
        "We sit at the table with you. Board-ready packets, finance-committee facilitation, and the trainings your council needs to govern well.",
      items: [
        "Attend GC meetings and present all financial information",
        "Monthly virtual finance-committee attendance",
        "Monthly financial reconciliations",
        "Best practices aligned with GFOA, ASBO standards",
        "Annual budget planning under PED & GC guidance",
        "3 hours of approved finance training for all GC members",
        "Advocate on financial matters on the school's behalf",
      ],
    },
  ],
  pillars: [
    {
      key: "expertise",
      label: "Expertise",
      title: "School business officials, not consultants.",
      blurb:
        "Our team has spent 15+ years inside New Mexico charter schools as SBOs, business managers, and CFOs. We know PED, OBMS, SEG, and the 50 small things that don't make it into a manual.",
    },
    {
      key: "partnership",
      label: "Partnership",
      title: "A long relationship, not a transaction.",
      blurb:
        "We partner with school leadership, governing councils, and state officials over years. Schools we serve don't get passed from manager to manager — they get individualized support and open lines of communication.",
    },
    {
      key: "advocacy",
      label: "Advocacy",
      title: "A voice for charter schools, where it counts.",
      blurb:
        "We advocate for the funding and resources charter schools deserve — with PED, the legislature, and the agencies in between. Our clients show up better-represented because we're already in the room.",
    },
  ],
  team: [
    {
      name: "Katie Rarick",
      role: "CEO, Founder",
      photo: "assets/team-3.avif",
      linkedin: "https://www.linkedin.com/in/rarick",
    },
    {
      name: "Josh Padilla",
      role: "Chief Financial Officer for Charter Schools",
      photo: "assets/team-4.avif",
      linkedin: "", // pending: LinkedIn URL requested
    },
    {
      name: "Kari Moore",
      role: "Chief Operations Officer",
      photo: "assets/team-2.avif",
      linkedin: "https://www.linkedin.com/in/kari-moore-74a7b8338/",
    },
    {
      name: "Deb Anyaibe",
      role: "Executive Financial Strategist, Grants",
      photo: "assets/team-5.avif",
      linkedin: "https://www.linkedin.com/in/deborah-anyaibe-b3a9122bb/",
    },
  ],
  testimonial: {
    quote:
      "Red River Valley Charter School went from being passed around from business manager to business manager at another vendor group to receiving individualized support specific to the school's needs. Katie Rarick and Axiom are conscientious, well-informed, eager to assist, and they maintain open lines of communication with their schools.",
    attribution: "Red River Valley Charter School",
  },
  process: [
    {
      step: "01",
      title: "Diagnostic",
      blurb:
        "We review current books, contracts, and reporting cadence with you. You get a written assessment in week one.",
    },
    {
      step: "02",
      title: "Stand-up",
      blurb:
        "Chart of accounts cleaned, cash controls established, payroll and AP cycles formalized.",
    },
    {
      step: "03",
      title: "Forecast",
      blurb:
        "A financial model tied to your enrollment plan, staffing matrix, and facility costs.",
    },
    {
      step: "04",
      title: "Board cadence",
      blurb:
        "Monthly close, finance committee prep, and governing council reporting — on a calendar everyone can see.",
    },
    {
      step: "05",
      title: "Steady state",
      blurb:
        "Year after year, the financial story is already written, sourced, and defensible — ready whenever the board, PED, or anyone else asks.",
    },
  ],
};

// Contact address used by every "Let's talk" button.
const MAILTO = "mailto:katie.rarick@axiomanalytics.org?subject=Axiom%20Analytics%20%E2%80%94%20Let%27s%20talk";

// Hero photos, in grid order (left to right, top to bottom).
const HERO_PHOTOS = [
  { src: "assets/team-3.avif", name: "Katie Rarick" },
  { src: "assets/team-2.avif", name: "Kari Moore" },
  { src: "assets/team-4.avif", name: "Josh Padilla" },
  { src: "assets/team-5.avif", name: "Deb Anyaibe" },
];

// Brand values: see ../brand/BRAND.md (source: Axiom Analytics Brand Guide, Feb 2022).
const css = `
  .site {
    --dark-blue: #1B3A6A;
    --dark-blue-hover: #2F5C9E;
    --dark-blue-pressed: #142B4F;
    --medium-green: #9FC898;
    --light-green: #F0F7EE;
    --dark-green: #5A7759;
    --text: #1B3A6A;
    --text-soft: #4A5A70;
    --on-dark: #FFFFFF;
    --on-dark-soft: rgba(255,255,255,0.8);
    --line: rgba(27,58,106,0.14);
    --serif: 'Merriweather', Georgia, serif;
    --sans: 'Merriweather Sans', system-ui, sans-serif;

    font-family: var(--sans); font-size: 16px; line-height: 1.6;
    color: var(--text); background: #fff;
    width: 100%; max-width: 1440px; margin: 0 auto;
  }
  .site * { box-sizing: border-box; }
  .site a { color: inherit; }
  .site h1, .site h2, .site h3 { font-family: var(--serif); font-weight: 700; color: var(--dark-blue); margin: 0; letter-spacing: -0.01em; }
  .site :focus-visible { outline: 3px solid var(--medium-green); outline-offset: 2px; }
  .site .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

  /* Buttons */
  .site .btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 6px; font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, box-shadow .15s; border: 1px solid transparent; }
  .site .btn-primary { background: var(--dark-blue); color: #fff; }
  .site .btn-primary:hover { background: var(--dark-blue-hover); box-shadow: 0 4px 12px -4px rgba(27,58,106,0.4); }
  .site .btn-primary:active { background: var(--dark-blue-pressed); }
  .site .btn-ghost { background: transparent; color: var(--dark-blue); border-color: rgba(27,58,106,0.35); }
  .site .btn-ghost:hover { background: var(--light-green); }

  /* Shared section frame */
  .site section { padding: 88px 56px; }
  .site .tint { background: var(--light-green); }
  .site .split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: end; margin-bottom: 48px; }
  .site h2 { font-size: 38px; line-height: 1.2; }
  .site .intro { font-size: 17px; color: var(--text-soft); margin: 0; max-width: 560px; }

  /* Nav */
  .site .nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 56px; border-bottom: 1px solid var(--line); }
  .site .nav-logo img { height: 44px; width: auto; display: block; }
  .site .nav-links { display: flex; gap: 32px; align-items: center; }
  .site .nav-links a:not(.btn) { color: var(--text-soft); text-decoration: none; font-size: 15px; }
  .site .nav-links a:not(.btn):hover { color: var(--dark-blue); }
  .site .nav-toggle { display: none; }

  /* Hero */
  .site .hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding-top: 72px; }
  .site .hero-place { font-size: 14px; font-weight: 600; color: var(--dark-green); margin: 0 0 20px; }
  .site h1 { font-size: 54px; line-height: 1.15; margin-bottom: 24px; }
  .site h1 em { font-style: italic; font-weight: 400; color: var(--dark-green); }
  .site .lede { font-size: 18px; line-height: 1.65; color: var(--text-soft); max-width: 560px; margin: 0 0 32px; }
  .site .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
  .site .hero-meta { display: flex; gap: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-soft); }
  .site .hero-meta strong { display: block; font-family: var(--serif); font-size: 26px; color: var(--dark-blue); margin-bottom: 2px; }

  /* Hero photo collage: two columns, the right column set lower */
  .site .collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 500px; justify-self: end; padding-bottom: 48px; }
  .site .collage .ph { aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--light-green); box-shadow: 0 16px 36px -20px rgba(27,58,106,0.45); }
  .site .collage .ph:nth-child(even) { transform: translateY(48px); }
  .site .collage .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .site .collage .badge { position: absolute; left: -28px; bottom: 0; max-width: 250px; background: var(--dark-blue); color: var(--on-dark-soft); padding: 16px 18px; border-radius: 8px; font-size: 13px; line-height: 1.5; box-shadow: 0 16px 32px -16px rgba(27,58,106,0.5); }
  .site .collage .badge strong { display: block; color: #fff; font-family: var(--serif); font-size: 15px; margin-bottom: 4px; }

  /* What we bring */
  .site .pillars-head { max-width: 760px; margin-bottom: 48px; }
  .site .pillars-head h2 { margin-bottom: 20px; }
  .site .pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .site .pillar { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 32px 28px; }
  .site .pillar .label { font-size: 14px; font-weight: 700; color: var(--dark-green); margin-bottom: 12px; }
  .site .pillar h3 { font-size: 21px; line-height: 1.3; margin-bottom: 14px; }
  .site .pillar p { font-size: 15px; color: var(--text-soft); margin: 0; }

  /* Services */
  .site .svc-list { border-top: 1px solid var(--line); }
  .site .svc { border-bottom: 1px solid var(--line); }
  .site .svc h3 { font-size: inherit; }
  .site .svc-head { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 1fr 1.6fr 32px; gap: 32px; padding: 28px 8px 28px 0; align-items: start; cursor: pointer; }
  .site .svc-head:focus-visible { outline: 3px solid var(--medium-green); outline-offset: 2px; }
  .site .svc-head:hover .svc-t { color: var(--dark-blue-hover); }
  .site .svc-t { font-family: var(--serif); font-size: 23px; font-weight: 700; line-height: 1.3; color: var(--dark-blue); }
  .site .svc-b { font-family: var(--sans); font-size: 15px; font-weight: 400; color: var(--text-soft); line-height: 1.6; padding-top: 3px; }
  .site .svc-tog { font-family: var(--sans); font-size: 26px; font-weight: 400; line-height: 1; color: var(--dark-green); text-align: right; transition: transform .2s; }
  .site .svc.open .svc-tog { transform: rotate(45deg); }
  .site .svc-body { padding: 0 0 32px; }
  .site .svc-body ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .site .svc-body li { position: relative; padding: 10px 0 10px 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-soft); line-height: 1.5; }
  .site .svc-body li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--medium-green); }

  /* How we work: Dark Blue with the brand pattern (guide page 7) */
  .site .process { background: var(--dark-blue) url("assets/pattern-blue.png") center / cover no-repeat; color: var(--on-dark); }
  .site .process h2 { color: #fff; }
  .site .process .intro { color: var(--on-dark-soft); }
  .site .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .site .step { background: rgba(27,58,106,0.88); border: 1px solid rgba(255,255,255,0.16); border-radius: 8px; padding: 24px 20px; }
  .site .step-n { font-size: 13px; font-weight: 600; color: var(--on-dark-soft); margin-bottom: 10px; }
  .site .step-t { font-family: var(--serif); font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
  .site .step-b { font-size: 14px; line-height: 1.6; color: var(--on-dark-soft); margin: 0; }

  /* Team */
  .site .team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .site .person-photo { aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--light-green); margin-bottom: 16px; }
  .site .person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .site .person-n { font-family: var(--serif); font-size: 19px; font-weight: 700; margin-bottom: 4px; }
  .site .person-r { font-size: 14px; color: var(--dark-green); line-height: 1.45; margin-bottom: 12px; }
  .site .person-li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-soft); text-decoration: none; }
  .site .person-li:hover { color: var(--dark-blue); text-decoration: underline; }

  /* Mission */
  .site .mission { display: grid; grid-template-columns: 1.15fr 1.4fr; gap: 56px; align-items: start; }
  .site .mission h2 { font-size: 36px; }
  .site .mission p { font-size: 18px; line-height: 1.65; margin: 0 0 18px; max-width: 640px; }
  .site .mission p:last-child { margin-bottom: 0; font-size: 16px; color: var(--text-soft); }

  /* Testimonial */
  .site .quote figure { margin: 0 auto; max-width: 900px; }
  .site .quote blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: 24px; line-height: 1.6; color: var(--dark-blue); }
  .site .quote figcaption { font-size: 15px; font-weight: 700; color: var(--dark-green); }

  /* Schools */
  .site .schools h2 { font-size: 26px; margin-bottom: 28px; }
  .site .schools ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
  .site .schools li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }

  /* Contact */
  .site .cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
  .site .cta h2 { font-size: 40px; margin-bottom: 20px; }
  .site .cta p { font-size: 17px; color: var(--text-soft); max-width: 500px; margin: 0; }
  .site .cta-side { padding: 28px; background: var(--light-green); border-radius: 8px; }
  .site .cta-side dl { margin: 0 0 24px; }
  .site .cta-side .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .site .cta-side dt { color: var(--text-soft); }
  .site .cta-side dd { margin: 0; font-weight: 600; text-align: right; }
  .site .cta-side .btn { width: 100%; }

  /* Footer */
  .site .footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 36px 56px; background: var(--dark-blue); color: var(--on-dark-soft); font-size: 14px; }
  .site .footer img { height: 28px; width: auto; display: block; } /* 92 px wide, above the 81 px minimum */

  /* Tablet */
  @media (max-width: 1024px) {
    .site section { padding: 64px 32px; }
    .site .nav { padding: 18px 32px; }
    .site .nav-links { gap: 20px; }
    .site .nav-links a:not(.btn) { font-size: 14px; }
    .site .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; }
    .site h1 { font-size: 44px; }
    .site .collage { justify-self: center; }
    .site .collage .badge { left: -16px; }
    .site .split, .site .mission, .site .cta { grid-template-columns: 1fr; gap: 20px; }
    .site .mission h2 br { display: none; }
    .site h2 { font-size: 32px; }
    .site .cta h2 { font-size: 34px; }
    .site .pgrid { grid-template-columns: 1fr; }
    .site .steps { grid-template-columns: repeat(2, 1fr); }
    .site .team { grid-template-columns: repeat(2, 1fr); }
    .site .svc-head { grid-template-columns: 1fr 32px; gap: 16px; }
    .site .svc-b { grid-column: 1; grid-row: 2; padding-top: 0; }
    .site .schools ul { grid-template-columns: repeat(2, 1fr); }
    .site .quote blockquote { font-size: 21px; }
    .site .footer { padding: 32px; }
  }

  /* Phone */
  @media (max-width: 720px) {
    .site section { padding: 48px 20px; }
    .site .nav { padding: 14px 20px; flex-wrap: wrap; gap: 12px; }
    .site .nav-logo img { height: 36px; }
    .site .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; color: var(--dark-blue); }
    .site .nav-toggle svg { width: 18px; height: 18px; }
    .site .nav-links { display: none; }
    .site .nav-links.mobile-open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; width: 100%; padding-top: 12px; border-top: 1px solid var(--line); }
    .site .nav-links.mobile-open a:not(.btn) { font-size: 16px; padding: 10px 0; color: var(--dark-blue); }
    .site .nav-links.mobile-open .btn { margin-top: 8px; }
    .site .hero { padding-top: 40px; gap: 36px; }
    .site h1 { font-size: 34px; }
    .site .lede { font-size: 16px; }
    .site .hero-cta .btn { flex: 1 1 100%; padding: 14px 20px; }
    .site .hero-meta { gap: 24px; flex-wrap: wrap; }
    .site .hero-meta strong { font-size: 22px; }
    .site .collage { gap: 10px; padding-bottom: 0; }
    .site .collage .ph:nth-child(even) { transform: translateY(28px); }
    .site .collage .badge { position: static; grid-column: 1 / -1; max-width: none; margin-top: 40px; }
    .site h2 { font-size: 27px; }
    .site .cta h2 { font-size: 28px; }
    .site .steps { grid-template-columns: 1fr; }
    .site .team { gap: 20px; }
    .site .person-n { font-size: 17px; }
    .site .svc-t { font-size: 19px; }
    .site .svc-body ul { grid-template-columns: 1fr; }
    .site .schools ul { grid-template-columns: 1fr; }
    .site .quote blockquote { font-size: 19px; }
    .site .cta-side { padding: 20px; }
    .site .footer { flex-direction: column; align-items: flex-start; padding: 28px 20px; }
  }
`;

const LinkedInIcon = () => (
  <svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M20.5 2h-17A1.5 1.5 0 002 3.5v17A1.5 1.5 0 003.5 22h17a1.5 1.5 0 001.5-1.5v-17A1.5 1.5 0 0020.5 2zM8 19H5v-9h3zM6.5 8.25A1.75 1.75 0 118.3 6.5a1.78 1.78 0 01-1.8 1.75zM19 19h-3v-4.74c0-1.42-.6-1.93-1.38-1.93A1.74 1.74 0 0013 14.19a.66.66 0 000 .14V19h-3v-9h2.9v1.3a3.11 3.11 0 012.7-1.4c1.55 0 3.36.86 3.36 3.66z"/></svg>
);

function Site() {
  const [navOpen, setNavOpen] = React.useState(false);
  const [openSvc, setOpenSvc] = React.useState(0);
  const D = AXIOM_DATA;

  return (
    <>
      <style>{css}</style>
      <div className="site">
        <header className="nav">
          <a href="#top" className="nav-logo" aria-label="Axiom Analytics home">
            <img src="assets/axiom-logo.png" alt="Axiom Analytics" />
          </a>
          <button className="nav-toggle" aria-label="Menu" aria-expanded={navOpen} aria-controls="nav-links" onClick={() => setNavOpen(o => !o)}>
            <svg viewBox="0 0 18 18" fill="none" stroke="currentColor" strokeWidth="2" aria-hidden="true">
              {navOpen
                ? <path d="M3 3 L15 15 M15 3 L3 15"/>
                : <><path d="M2 5 H16"/><path d="M2 9 H16"/><path d="M2 13 H16"/></>}
            </svg>
          </button>
          <nav id="nav-links" className={"nav-links" + (navOpen ? " mobile-open" : "")} onClick={(e) => { if (e.target.closest("a")) setNavOpen(false); }}>
            <a href="#services">Services</a>
            <a href="#process">How we work</a>
            <a href="#schools">Schools</a>
            <a href="#team">Our team</a>
            <a href="#mission">About</a>
            <a href={MAILTO} className="btn btn-primary">Let's talk</a>
          </nav>
        </header>

        <main id="top">
          <section className="hero">
            <div>
              <p className="hero-place">Charter School Finance · Albuquerque, NM · Serving NM & NV</p>
              <h1>You focus on <em>students.</em><br/>We'll focus on the <em>financials.</em></h1>
              <p className="lede">CFO-grade financial modeling, governance support, compliance, and grants — built and delivered by school business officials with 15+ years inside New Mexico charters.</p>
              <div className="hero-cta">
                <a href={MAILTO} className="btn btn-primary">Let's start a conversation</a>
                <a href="#team" className="btn btn-ghost">Meet the team</a>
              </div>
              <div className="hero-meta">
                <div><strong>13</strong>schools served</div>
                <div><strong>15+ yrs</strong>inside NM charters</div>
                <div><strong>100%</strong>audit-ready</div>
              </div>
            </div>
            <div className="collage">
              {HERO_PHOTOS.map(ph => (
                <div className="ph" key={ph.src}><img src={ph.src} alt={ph.name} /></div>
              ))}
              <div className="badge">
                <strong>The team behind your books</strong>
                Real people, on a first-name basis with your school and your board.
              </div>
            </div>
          </section>

          <section className="pillars tint" id="about">
            <div className="pillars-head">
              <h2>Three things we bring to your school.</h2>
              <p className="intro">Other firms sell hours. We bring expertise from years inside NM charters, a partnership with your leadership and board, and advocacy for the funding charter schools deserve.</p>
            </div>
            <div className="pgrid">
              {D.pillars.map(pl => (
                <article className="pillar" key={pl.key}>
                  <div className="label">{pl.label}</div>
                  <h3>{pl.title}</h3>
                  <p>{pl.blurb}</p>
                </article>
              ))}
            </div>
          </section>

          <section className="services" id="services">
            <div className="split">
              <h2>Four practices,<br/>one accountable team.</h2>
              <p className="intro">We replace the patchwork of bookkeepers, treasurers, and vendor management groups that most charters cobble together. Everything below is included in a single CFO-level engagement.</p>
            </div>
            <div className="svc-list">
              {D.services.map((s, i) => {
                const open = openSvc === i;
                return (
                  <div className={"svc" + (open ? " open" : "")} key={s.key}>
                    <h3>
                      <button className="svc-head" aria-expanded={open} aria-controls={"svc-" + s.key} onClick={() => setOpenSvc(open ? -1 : i)}>
                        <span className="svc-t">{s.title}</span>
                        <span className="svc-b">{s.blurb}</span>
                        <span className="svc-tog" aria-hidden="true">+</span>
                      </button>
                    </h3>
                    <div className="svc-body" id={"svc-" + s.key} hidden={!open}>
                      <ul>{s.items.map((it, j) => <li key={j}>{it}</li>)}</ul>
                    </div>
                  </div>
                );
              })}
            </div>
          </section>

          <section className="process" id="process">
            <div className="split">
              <h2>A cadence the<br/>board can plan against.</h2>
              <p className="intro">Reporting and forecasting are on a calendar everyone can see. No mystery. No fire drills. Just predictability.</p>
            </div>
            <ol className="steps">
              {D.process.map((s, i) => (
                <li className="step" key={s.step}>
                  <div className="step-n">Step {i + 1}</div>
                  <div className="step-t">{s.title}</div>
                  <p className="step-b">{s.blurb}</p>
                </li>
              ))}
            </ol>
          </section>

          <section className="people" id="team">
            <div className="split">
              <h2>Reporting, modeling, governance, accounting — covered, by name.</h2>
              <p className="intro">Schools we serve don't get passed from manager to manager. You'll know who's in your finance committee meetings and who's on the other end of the phone — because the same people show up, year after year.</p>
            </div>
            <div className="team">
              {D.team.map(person => (
                <div className="person" key={person.name}>
                  <div className="person-photo"><img src={person.photo} alt={person.name} /></div>
                  <div className="person-n">{person.name}</div>
                  <div className="person-r">{person.role}</div>
                  {person.linkedin && person.linkedin !== "#" && (
                    <a href={person.linkedin} className="person-li" target="_blank" rel="noopener noreferrer">
                      <LinkedInIcon /> LinkedIn<span className="sr-only"> profile for {person.name}</span>
                    </a>
                  )}
                </div>
              ))}
            </div>
          </section>

          <section className="mission tint" id="mission">
            <h2>We believe in charter schools.<br/>That's why we're here.</h2>
            <div>
              <p>Charter schools change lives — and strong financials are what let mission-driven schools actually do their work. We're New Mexico-based, and we picked this work because we believe in the schools we serve. The same passion you bring to your students, we bring to your books.</p>
              <p>Locally based. Locally invested. In it for the long run.</p>
            </div>
          </section>

          <section className="quote">
            <figure>
              <blockquote>“{D.testimonial.quote}”</blockquote>
              <figcaption>{D.testimonial.attribution}</figcaption>
            </figure>
          </section>

          <section className="schools tint" id="schools">
            <h2>Trusted by 13 New Mexico charter schools</h2>
            <ul>{D.schools.map(s => <li key={s}>{s}</li>)}</ul>
          </section>

          <section className="cta" id="contact">
            <div>
              <h2>Organized financials and forecasts. Clear visibility. Audit-ready, every cycle.</h2>
              <p>One conversation. One engagement letter. One team accountable end-to-end. We'll have a written assessment in your hands within the first week.</p>
            </div>
            <div className="cta-side">
              <dl>
                <div className="row"><dt>Engagement</dt><dd>CFO-level retainer</dd></div>
                <div className="row"><dt>Onboarding</dt><dd>2–3 weeks</dd></div>
                <div className="row"><dt>Reporting cadence</dt><dd>Monthly close + GC packet</dd></div>
                <div className="row"><dt>Coverage</dt><dd>NM charter schools</dd></div>
              </dl>
              <a href={MAILTO} className="btn btn-primary">Let's start a conversation</a>
            </div>
          </section>
        </main>

        <footer className="footer">
          <img src="assets/axiom-logo-white.png" alt="Axiom Analytics" />
          <div>© {new Date().getFullYear()} Axiom Analytics · New Mexico, USA · techsupport@axiomanalytics.org</div>
        </footer>
      </div>
    </>
  );
}

ReactDOM.createRoot(document.getElementById("root")).render(<Site />);
