// CPW Public Portal — mock data (anonymous-facing)
// Per M5-FR-04: only published, public-safe fields are surfaced here. Staff fields
// (audit notes, internal red flags, etc) are NOT present in this dataset by design.

const TENANTS = {
  cpw: {
    id: "cpw",
    name: "Colorado Parks & Wildlife",
    shortName: "CPW",
    domain: "volunteer.cpw.state.co.us",
    wordmark: "Colorado Parks & Wildlife",
    glyph: "CPW",
    tagline: "Public lands. Looked after by Coloradans.",
    accent: "#3D5C3F",           // forest green
    accentSoft: "#D6E0CF",
    accentTint: "#ECF0E5",
    accentPress: "#2A4129",
    onAccent: "#FAF6EE",
    heroImageLabel: "Trail crew · Cedar Creek Canyon, summer 2025",
    heroEyebrow: "Volunteer with CPW · 2026 season",
    heroLine: "The trails are open because",
    heroAccentWord: "someone",
    heroLineEnd: "showed up.",
    heroBody:
      "Across 42 state parks, 350+ wildlife areas, and the hunter education program, Coloradans give about 250,000 volunteer hours a year. New volunteers are welcome — no experience needed, training is provided.",
    aboutLine: "A public agency. A volunteer crew.",
    aboutBody:
      "Colorado Parks and Wildlife manages the state's wildlife, parks, and outdoor recreation. We work alongside about 4,800 active volunteers who staff visitor centers, host campgrounds, repair trails, teach hunter education, and run the seasonal programs that make the parks possible.",
    stats: [
      { value: "42",    label: "State parks" },
      { value: "4,800", label: "Active volunteers" },
      { value: "247k",  label: "Hours last year" },
      { value: "350+",  label: "Wildlife areas" },
    ],
    contactEmail: "volunteer@state.co.us",
    contactPhone: "(303) 297-1192",
    accessibilityPhone: "(303) 297-1192 · TTY 711",
    address: "1313 Sherman St, Denver, CO 80203",
    footerBlurb: "An agency of the Colorado Department of Natural Resources.",
    needsBgCheck: true,
  },
  hillside: {
    id: "hillside",
    name: "Hillside Trails Conservancy",
    shortName: "Hillside",
    domain: "volunteer.hillsidetrails.org",
    wordmark: "Hillside Trails",
    glyph: "h",
    tagline: "Public trails, looked after by the people who walk them.",
    accent: "#2D5F3F",
    accentSoft: "#D9E5DB",
    accentTint: "#ECF1ED",
    accentPress: "#1F4429",
    onAccent: "#FAF6EE",
    heroEyebrow: "Trail crew · Summer 2026",
    heroLine: "The trails are open because",
    heroAccentWord: "someone",
    heroLineEnd: "showed up.",
    heroBody:
      "Two Saturdays a month, a small crew clears blowdown, rebuilds tread, and replaces blazes across 38 miles of public trail in the Hillside watershed.",
    aboutLine: "Neighbors who do the work each spring, summer, and fall.",
    aboutBody:
      "Hillside Trails Conservancy is a 41-year-old volunteer organization that maintains the 38-mile Hillside Trail System on behalf of the county Parks Department.",
    stats: [
      { value: "38",   label: "Miles maintained" },
      { value: "184",  label: "Active volunteers" },
      { value: "41",   label: "Years on the trail" },
      { value: "12k",  label: "Hours last year" },
    ],
    contactEmail: "crew@hillsidetrails.org",
    contactPhone: "(503) 555-0144",
    accessibilityPhone: "(503) 555-0144",
    address: "PO Box 218, Hillside",
    footerBlurb: "A 501(c)(3) volunteer organization.",
    needsBgCheck: false,
  },
};

// Public-safe opportunities (M5-FR-04)
// Only fields exposed to anonymous users. No internal notes, red-flag flags, staff comments.
const PORTAL_OPPS = [
  {
    id: "op-camphost-boyd",
    title: "Camp host — Boyd Lake State Park",
    program: "State parks",
    site: "Boyd Lake SP",
    region: "Northeast",
    location: "Loveland, CO",
    locationType: "in-person",
    coords: { x: 0.62, y: 0.31 },
    zips: ["80538"],
    schedule: "Ongoing · 2-week blocks",
    dateLabel: "Available May–Oct",
    dateStart: "2026-05-01",
    dateEnd: "2026-10-31",
    days: ["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],
    time: "All-day",
    summary:
      "Live on-site in your own RV for two weeks at a time, welcome campers, answer questions, and keep the campground tidy. CPW provides the site, hookups, and training.",
    interests: ["hospitality","outdoors","camping"],
    skills: ["customer service"],
    age: "21+",
    familyFriendly: false,
    accessibility: ["seated work available"],
    difficulty: "Easy",
    language: ["English"],
    qualifications: ["Own RV","Driver's license","Background check"],
    capacity: 6,
    signups: 4,
    waitlist: true,
    visibility: "public",
    status: "open",
    multiDay: true,
    bookable: true,
    media: { tone: "sage" },
  },
  {
    id: "op-trail-may24",
    title: "Trail crew workday — Lory State Park",
    program: "State parks",
    site: "Lory SP",
    region: "Northeast",
    location: "Bellvue, CO",
    locationType: "in-person",
    coords: { x: 0.58, y: 0.28 },
    zips: ["80512"],
    schedule: "Single day",
    dateLabel: "Sat, May 24 · 7:30 am – 12:00 pm",
    dateStart: "2026-05-24",
    dateEnd: "2026-05-24",
    days: ["Sat"],
    time: "Morning",
    summary:
      "Rebuilding tread on the steep section of the Mill Creek trail. Tools and instruction provided — no experience needed. Bring water, sturdy shoes, and a bag lunch.",
    interests: ["outdoors","trail work","conservation"],
    skills: [],
    age: "14+",
    familyFriendly: true,
    accessibility: [],
    difficulty: "Moderate",
    language: ["English","Spanish"],
    qualifications: ["Waiver"],
    capacity: 16,
    signups: 11,
    waitlist: true,
    visibility: "public",
    status: "open",
    multiDay: false,
    bookable: true,
    media: { tone: "coral" },
  },
  {
    id: "op-survey-jun7",
    title: "Wildlife survey — Roosevelt NF border",
    program: "Wildlife",
    site: "Roosevelt NF border",
    region: "Northeast",
    location: "Red Feather Lakes, CO",
    locationType: "in-person",
    coords: { x: 0.55, y: 0.24 },
    zips: ["80545"],
    schedule: "Single day",
    dateLabel: "Sun, Jun 7 · 5:30 am – 10:00 am",
    dateStart: "2026-06-07",
    dateEnd: "2026-06-07",
    days: ["Sun"],
    time: "Early morning",
    summary:
      "Walking a 2-mile transect at dawn, recording bird species by song and sight. Pair-up with an experienced surveyor. Binoculars helpful but not required.",
    interests: ["wildlife","birds","conservation","outdoors"],
    skills: ["bird ID"],
    age: "16+",
    familyFriendly: false,
    accessibility: [],
    difficulty: "Moderate",
    language: ["English"],
    qualifications: ["Wildlife survey orientation"],
    capacity: 8,
    signups: 8,
    waitlist: true,
    visibility: "public",
    status: "full",
    multiDay: false,
    bookable: true,
    media: { tone: "iris" },
  },
  {
    id: "op-hunter-jun14",
    title: "Hunter education instructor — Region 2",
    program: "Hunter education",
    site: "Region 2 HQ, Denver",
    region: "Front Range",
    location: "Denver, CO",
    locationType: "in-person",
    coords: { x: 0.59, y: 0.42 },
    zips: ["80216"],
    schedule: "Single day",
    dateLabel: "Sat, Jun 14 · 9:00 am – 2:00 pm",
    dateStart: "2026-06-14",
    dateEnd: "2026-06-14",
    days: ["Sat"],
    time: "Mid-day",
    summary:
      "Help certified instructors teach the firearm safety and wildlife identification modules of the state Hunter Education course. New instructor candidates welcome — shadowing only on day one.",
    interests: ["education","wildlife","firearms safety"],
    skills: ["teaching"],
    age: "21+",
    familyFriendly: false,
    accessibility: [],
    difficulty: "Easy",
    language: ["English"],
    qualifications: ["Background check","Hunter ed certification or apprentice"],
    capacity: 4,
    signups: 2,
    waitlist: false,
    visibility: "public",
    status: "open",
    multiDay: false,
    bookable: true,
    media: { tone: "amber" },
  },
  {
    id: "op-visitor-cherry",
    title: "Visitor center staffer — Cherry Creek",
    program: "State parks",
    site: "Cherry Creek SP",
    region: "Front Range",
    location: "Aurora, CO",
    locationType: "in-person",
    coords: { x: 0.61, y: 0.44 },
    zips: ["80014"],
    schedule: "Weekly · 4 hr shifts",
    dateLabel: "Saturdays · 9:00 am – 1:00 pm",
    dateStart: "2026-05-30",
    dateEnd: "2026-09-26",
    days: ["Sat"],
    time: "Morning",
    summary:
      "Welcome visitors, sell day passes, answer questions about trails and wildlife, and keep the lobby tidy. Two-week training. Great for retirees and people who like meeting new folks.",
    interests: ["hospitality","education","outdoors"],
    skills: ["customer service"],
    age: "18+",
    familyFriendly: false,
    accessibility: ["seated work","wheelchair accessible"],
    difficulty: "Easy",
    language: ["English","Spanish"],
    qualifications: ["Visitor center training"],
    capacity: 12,
    signups: 7,
    waitlist: true,
    visibility: "public",
    status: "open",
    multiDay: false,
    bookable: true,
    media: { tone: "coral" },
  },
  {
    id: "op-bighorn-may30",
    title: "Bighorn sheep count — Georgetown",
    program: "Wildlife",
    site: "Georgetown viewing area",
    region: "High Country",
    location: "Georgetown, CO",
    locationType: "in-person",
    coords: { x: 0.53, y: 0.41 },
    zips: ["80444"],
    schedule: "Single day",
    dateLabel: "Sat, May 30 · 7:00 am – 11:00 am",
    dateStart: "2026-05-30",
    dateEnd: "2026-05-30",
    days: ["Sat"],
    time: "Morning",
    summary:
      "Annual citizen-science count of the Georgetown bighorn herd. Spotting scopes provided. Dress warmly — the viewing area is exposed.",
    interests: ["wildlife","conservation","data"],
    skills: [],
    age: "all ages",
    familyFriendly: true,
    accessibility: ["wheelchair accessible viewing"],
    difficulty: "Easy",
    language: ["English"],
    qualifications: ["Brief orientation"],
    capacity: 24,
    signups: 18,
    waitlist: true,
    visibility: "public",
    status: "open",
    multiDay: false,
    bookable: true,
    media: { tone: "sage" },
  },
  {
    id: "op-fishing-jun13",
    title: "Family fishing day — Boyd Lake",
    program: "Education",
    site: "Boyd Lake SP",
    region: "Northeast",
    location: "Loveland, CO",
    locationType: "in-person",
    coords: { x: 0.62, y: 0.31 },
    zips: ["80538"],
    schedule: "Single day",
    dateLabel: "Sat, Jun 13 · 10:00 am – 2:00 pm",
    dateStart: "2026-06-13",
    dateEnd: "2026-06-13",
    days: ["Sat"],
    time: "Mid-day",
    summary:
      "Help kids and families learn to fish. Tackle and bait provided. Volunteers help with knots, casting, and identifying what they catch.",
    interests: ["education","fishing","families"],
    skills: ["fishing"],
    age: "14+",
    familyFriendly: true,
    accessibility: ["accessible fishing pier"],
    difficulty: "Easy",
    language: ["English","Spanish"],
    qualifications: [],
    capacity: 10,
    signups: 4,
    waitlist: false,
    visibility: "public",
    status: "open",
    multiDay: false,
    bookable: true,
    media: { tone: "iris" },
  },
  {
    id: "op-noxious-jun21",
    title: "Noxious weed pull — Eldorado Canyon",
    program: "Stewardship",
    site: "Eldorado Canyon SP",
    region: "Front Range",
    location: "Eldorado Springs, CO",
    locationType: "in-person",
    coords: { x: 0.57, y: 0.43 },
    zips: ["80025"],
    schedule: "Single day",
    dateLabel: "Sun, Jun 21 · 8:00 am – noon",
    dateStart: "2026-06-21",
    dateEnd: "2026-06-21",
    days: ["Sun"],
    time: "Morning",
    summary:
      "Hand-pulling musk thistle and houndstongue in the streamside meadows. Gloves and bags provided. Bring water and a long-sleeve shirt.",
    interests: ["conservation","outdoors","stewardship"],
    skills: [],
    age: "16+",
    familyFriendly: false,
    accessibility: [],
    difficulty: "Moderate",
    language: ["English"],
    qualifications: ["Waiver"],
    capacity: 14,
    signups: 6,
    waitlist: true,
    visibility: "public",
    status: "open",
    multiDay: false,
    bookable: true,
    media: { tone: "sage" },
  },
  {
    id: "op-virtual-id",
    title: "Online: Front-range bird ID for surveyors",
    program: "Wildlife",
    site: "Online · Zoom",
    region: "Online",
    location: "Online",
    locationType: "virtual",
    coords: null,
    zips: [],
    schedule: "Single session",
    dateLabel: "Wed, Jun 4 · 6:30 pm – 8:00 pm",
    dateStart: "2026-06-04",
    dateEnd: "2026-06-04",
    days: ["Wed"],
    time: "Evening",
    summary:
      "Required prep session for new wildlife survey volunteers. Covers our 40 most common front-range bird species, song recognition, and the survey protocol.",
    interests: ["wildlife","education","birds"],
    skills: [],
    age: "16+",
    familyFriendly: false,
    accessibility: ["live captions","recording posted"],
    difficulty: "Easy",
    language: ["English"],
    qualifications: [],
    capacity: 60,
    signups: 23,
    waitlist: false,
    visibility: "public",
    status: "open",
    multiDay: false,
    bookable: true,
    media: { tone: "iris" },
  },
];

const PORTAL_PROGRAMS = [
  { id: "parks",      name: "State parks",       blurb: "Camp hosts, visitor centers, trail crew, special events.", count: 4, icon: "tent" },
  { id: "wildlife",   name: "Wildlife",          blurb: "Surveys, counts, citizen science with state biologists.", count: 3, icon: "bird" },
  { id: "hunter",     name: "Hunter education",  blurb: "Teach the firearm safety + wildlife ID curriculum.",     count: 1, icon: "target" },
  { id: "education",  name: "Education",         blurb: "Fishing days, school programs, junior ranger events.",   count: 1, icon: "book" },
];

const PORTAL_FAQS = [
  { q: "Do I need experience to volunteer?",
    a: "No. Most opportunities are open to first-time volunteers and include hands-on training. A few specialized roles (hunter education, wildlife surveys, driving CPW vehicles) require certifications or background checks — these are labeled clearly on each opportunity." },
  { q: "How old do I have to be?",
    a: "Most roles are open to ages 16+. A handful welcome younger volunteers with a parent or guardian — look for the \"family-friendly\" badge. Camp hosts, hunter ed instructors, and roles involving CPW vehicles are 18+ or 21+." },
  { q: "Can I volunteer without creating an account?",
    a: "You can submit a one-time volunteer application without signing in. We'll then create your volunteer record and email you a link to set a password so you can RSVP for future shifts and see your service history." },
  { q: "What if I don't see the right opportunity?",
    a: "Use the filters in Find opportunities to refine by program, location, date, or interest. You can also subscribe to new-opportunity emails for your region — sign in, then visit your communication preferences." },
  { q: "How do I get my free state park pass?",
    a: "Volunteers who log 48 verified hours in any rolling 12-month window earn the free annual state park pass. Hours are verified by your coordinator after each shift." },
  { q: "I forgot which email I signed up with.",
    a: "Try our claim-your-account flow — enter the email or phone you think we have on file, and we'll send a verification code to whichever channel you choose." },
  { q: "I have an accessibility need or use assistive technology.",
    a: "Our portal supports screen readers, keyboard navigation, and high-contrast modes. If you hit a barrier or need accommodation for a specific opportunity, email volunteer@state.co.us or call (303) 297-1192. We respond within one business day." },
];

window.TENANTS_PORTAL = TENANTS;
window.PORTAL_OPPS = PORTAL_OPPS;
window.PORTAL_PROGRAMS = PORTAL_PROGRAMS;
window.PORTAL_FAQS = PORTAL_FAQS;
