// data.jsx — The Pit Barbershop. ALL VALUES VERBATIM FROM BRIEF. Do not invent.
const SHOP = {
  name: "THE PIT",
  full: "THE PIT BARBERSHOP",
  sub: "BARBERSHOP · OAK ST",
  eyebrow: "— BARBER · OAK ST",
  addr: "3168 Oak St, Vancouver, BC V6H 2L1",
  addrLine1: "3168 OAK ST",
  addrLine2: "OAKRIDGE",
  phone: "(604) 739-1008",
  phoneTel: "6047391008",
  fresha: "https://www.fresha.com",
};

// Hero lede — LITERAL, do not edit
const LEDE = "4.8 stars on Google. The Pit doesn't advertise — the chair-rotation does the marketing. Book ahead, or roll the dice on a walk-in.";

// THE CUTS — three cards, verbatim copy + prices
const CUTS = [
  { no: "/01", name: "THE CUT",    desc: "Skin fade, scissor, taper — your call.", price: "$ ?" },
  { no: "/02", name: "BEARD TRIM", desc: "Lined up, oiled, sent out clean.",       price: "$ ?" },
  { no: "/03", name: "THE LOT",    desc: "Full cut + beard + hot towel.",          price: "$ ?" },
];

// THE NUMBERS — band. All figures verbatim from brief. NO invented founding year.
const NUMBERS = [
  { big: "4.8★",     small: "GOOGLE" },
  { big: "336",      small: "REVIEWS" },
  { big: "Walk-ins", small: "WELCOME" },
  { big: "No. 3168", small: "OAK ST" },
];

// Fresha #1 rankings — verbatim from brief
const RANK_HOODS = ["DOWNTOWN", "OAKRIDGE", "EAST VAN", "KENSINGTON", "UNIVERSITY HILL"];

// Hours — PLACEHOLDER, flagged to verify. No invented certainty.
const HOURS = [
  { d: "MON", h: "CLOSED", closed: true },
  { d: "TUE", h: "10–7" },
  { d: "WED", h: "10–7" },
  { d: "THU", h: "10–7" },
  { d: "FRI", h: "10–7" },
  { d: "SAT", h: "9–6" },
  { d: "SUN", h: "10–4" },
];

// Next-available slots for the Fresha-style viewer. Concept data for the prototype.
const TIMES = ["10:15", "11:00", "11:45", "1:30", "2:15", "3:00", "4:30", "5:15"];
const DAYS = (() => {
  const out = [];
  const start = new Date(2026, 4, 28); // Thu May 28 2026
  const dow = ["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"];
  for (let i = 0; i < 8; i++) {
    const dt = new Date(start); dt.setDate(start.getDate() + i);
    const day = dt.getDay();
    out.push({ key: dt.toISOString().slice(0, 10), dow: dow[day], num: dt.getDate(), closed: day === 1 });
  }
  return out;
})();

Object.assign(window, { SHOP, LEDE, CUTS, NUMBERS, RANK_HOODS, HOURS, TIMES, DAYS });
