// WORKS — first-pass content overrides for portfolio imagery
// Images are served from shared Google Drive folders for review.

const driveThumb = (id) => `https://drive.google.com/thumbnail?id=${id}&sz=w1800`;
const findCase = (num) => window.WORKS_DATA.cases.find(c => c.num === num);

const gemini = findCase('P01');
if (gemini) {
  gemini.img = driveThumb('1L9PFfVFWCElI4WgVQRX_phiHsk3v8AUX');
  gemini.imgAlt = driveThumb('1FYxAtcBH8Jz-huVu7CCe8HEt5L6eAw96');
  // Keep the full portrait visible instead of cropping the people.
  gemini.imgFit = 'contain';
  gemini.imgPosition = 'center';
}

const gigabyte = findCase('P04');
if (gigabyte) {
  gigabyte.year = '2026';
  gigabyte.cat = 'BRAND';
  gigabyte.zh = 'Dcard × GIGABYTE 技嘉西門快閃活動';
  gigabyte.en = 'Dcard × GIGABYTE Ximen Pop-up Activation';
  gigabyte.tags = ['#西門快閃', '#品牌推廣', '#現場執行'];
  // Main image: clear GIGABYTE activation signage and on-site interaction.
  gigabyte.img = driveThumb('17hF1Rx7FSerI4-cH4y5B_iGsXXbRywmL');
  // Alternate image: Dcard Ximen pop-up branding + event team.
  gigabyte.imgAlt = driveThumb('11lpWmlT4Mf-yzxnVprtI1mkcW7NcVBJb');
  gigabyte.imgFit = 'cover';
  gigabyte.imgPosition = 'center';
}

const picnic = findCase('0104');
if (picnic) {
  picnic.img = driveThumb('1MdesC-jy60IXtnqy1kD_ScfTuXJeqmF4');
}

const ichiban = findCase('0108');
if (ichiban) {
  ichiban.img = driveThumb('11LEb0cGnhtSCe_wVAXpDmWsTiWNpln8_');
  ichiban.year = '2026';
}

// Partner brand logos will be replaced with official client-supplied assets later.
window.WORKS_DATA.clientLogos = [];
