/* ============================================================
   OUR LEGACY (Formula Student / GSM) — story told in a single
   continuous timeline. Shared LegacyStory component lives in
   shared.jsx; this file just supplies the chapters + prologue.
   ============================================================ */

const GSM_CHAPTERS = [
  {
    year: "2013", series: "Formula Student Germany",
    event: "Formula Student Germany 2013", venue: "Hockenheimring, Germany",
    photo: "uploads/teams/gs-motorsports/timeline/FS_Rewanta.png",
    car: "Rewanta", tag: "Combustion", milestone: "Where it all began",
    story: "The very first car. GS Racers became the first team from Madhya Pradesh to reach the Hockenheimring — one of just six Indian teams to qualify for Formula Student Germany.",
    results: ["First team from Madhya Pradesh", "Among 6 teams from India to qualify for FSG"],
  },
  {
    year: "2014", series: "Supra SAE India",
    event: "Supra SAE India 2014", venue: "NATRAX, Pithampur",
    photo: "uploads/teams/gs-motorsports/timeline/FS_Aarjav.png",
    car: "Aarjav", tag: "Combustion",
    story: "Back on home soil at NATRAX, Aarjav was the most compact vehicle on the grid and cleared every static event.",
    results: ["Most compact vehicle", "Completed all static events"],
  },
  {
    year: "2015", series: "Supra SAE India",
    event: "Supra SAE India 2015", venue: "NATRAX, Pithampur",
    photo: "uploads/teams/gs-motorsports/timeline/FS_Shaurya.png",
    car: "Shaurya", tag: "Combustion",
    story: "Named for courage, Shaurya took first in the Cost Event, ran as the second-lightest car on the grid, and broke into the top eleven overall.",
    results: ["1st Rank — Cost Event", "2nd Lightest Vehicle", "11th Overall Rank"],
  },
  {
    year: "2017", series: "Formula Bharat",
    event: "Formula Bharat 2017", venue: "India",
    photo: "uploads/teams/gs-motorsports/timeline/FS_Shaurya_2.png",
    car: "Shaurya V2", tag: "Combustion",
    story: "The first team from Madhya Pradesh to line up at Formula Bharat, carrying every lesson from Shaurya forward.",
    results: ["1st team from MP at Formula Bharat", "Completed all static events"],
  },
  {
    year: "2018", series: "Supra SAE India",
    event: "Supra SAE India 2018", venue: "NATRAX, Pithampur",
    photo: "uploads/teams/gs-motorsports/timeline/FS_Karthikeya.png",
    car: "Karthikeya", tag: "Combustion",
    story: "An electric gear shifter marked a new level of engineering ambition — and Karthikeya cleared every static event.",
    results: ["Electric gear shifter", "Cleared all static events"],
  },
  {
    year: "2019", series: "Supra SAE India",
    event: "Supra SAE India 2019", venue: "NATRAX, Pithampur",
    photo: "uploads/teams/gs-motorsports/timeline/FS_GSR6.png",
    car: "GSR6", tag: "Combustion",
    story: "Six cars in. GSR6 passed technical inspection, placed 11th in Cost Presentation, and closed the chapter at 32nd overall.",
    results: ["Technical Inspection cleared", "11th — Cost Presentation", "32nd Overall Rank"],
  },
  {
    year: "2022", series: "Formula Bharat",
    event: "Formula Bharat 2022", venue: "Kari Motor Speedway, Coimbatore",
    photo: "uploads/teams/gs-motorsports/timeline/FS_Ayan.png",
    car: "Ayan", tag: "Combustion", milestone: "Best overall finish — P7",
    story: "The breakthrough. Ayan finished 7th overall at Formula Bharat — the team's best result yet — with top-five placings in Business and Cost.",
    results: ["7th Overall Rank", "4th — Business Plan Presentation", "5th — Cost & Manufacturing"],
  },
  {
    year: "2022", series: "Supra SAE India",
    event: "Supra SAE India 2022", venue: "NATRAX, Pithampur",
    photo: "uploads/teams/gs-motorsports/timeline/FS_Ayan_2.png",
    car: "Ayan 2.0", tag: "Combustion",
    story: "The same year, an evolved Ayan took 2nd in the Business Plan and led the field through the static events.",
    results: ["2nd — Business Plan Presentation", "4th — Static Events", "14th Overall Rank"],
  },
  {
    year: "2024", series: "Formula Bharat",
    event: "Formula Bharat 2024", venue: "Kari Motor Speedway, Coimbatore",
    photo: "uploads/teams/gs-motorsports/timeline/FS_Sumit.png",
    car: "Sumit", tag: "Combustion",
    story: "Consistency across every discipline — 11th overall, with top-twelve finishes in Business, Cost and Design.",
    results: ["11th Overall Rank", "12th — Business Plan", "10th — Cost & Manufacturing", "12th — Engineering Design"],
  },
  {
    year: "2024", series: "Supra SAE India",
    event: "Supra SAE India 2024", venue: "NATRAX, Pithampur",
    photo: "uploads/teams/gs-motorsports/timeline/FS_Haldar.png",
    car: "Haldar", tag: "Combustion",
    story: "At Supra, Haldar earned 5th in the Business Plan and sharpened the team's cost story further.",
    results: ["16th Overall Rank", "5th — Business Plan", "9th — Cost & Manufacturing", "24th — Engineering Design"],
  },
  {
    year: "2025", series: "Supra SAE India",
    event: "Supra SAE India 2025", venue: "NATRAX, Pithampur",
    photo: "uploads/teams/gs-motorsports/timeline/FS_2025.png",
    car: "Sumit 2.0", tag: "Combustion · 2025 Spec", milestone: "Endurance qualified",
    story: "The most refined car in team history returned to Endurance for the first time since 2013 — running on India's only F1 circuit.",
    results: ["16th Overall Rank", "1 of 22 teams (of 52) to qualify for Endurance", "Second Endurance run since 2013", "Ran on India's only F1 track"],
  },
  {
    year: "2026", series: "Formula Bharat",
    event: "Formula Bharat 2026", venue: "Kari Motor Speedway, Coimbatore",
    photo: "uploads/teams/gs-motorsports/timeline/FS_2026.png",
    car: "Sumit 2.0", tag: "Combustion",
    story: "The latest chapter — 8th in Business, 10th in Design, and 14th overall at Formula Bharat. The story is still being written.",
    results: ["8th — Business Plan Presentation", "12th — Cost & Manufacturing", "10th — Design Event", "14th Overall Rank"],
  },
];

function AchievementsPage({ go, t }) {
  return (
    <LegacyStory
      go={go}
      eyebrow="2013 — 2026 · The Story So Far"
      ghost="2013"
      lead={<>It all began when our selection at <span className="accent">Formula Student Germany</span> arrived. A dozen machines later, the drive hasn't changed.</>}
      sub="From a first car named Rewanta to the sharpest machines the workshop has ever produced, every season has been a chapter — new engineering, new circuits, new limits. This is how it has unfolded, year by year."
      figures={[
        { n: 13, label: "Years Racing" },
        { n: 12, label: "Machines Built" },
        { n: 7, suffix: "th", label: "Best Overall Finish" },
      ]}
      chapters={GSM_CHAPTERS}
    />
  );
}

Object.assign(window, { AchievementsPage });
