/* PhotoCollections.jsx — every photo collection. Each one gets a shareable page at
   /photography/<id>, and each photo a link at /photography/<id>/<photo id>.

   Add a collection:
   1. Put the full-resolution files in assets/photography/<folder>/ (they are served untouched).
   2. Run `sh scripts/make-previews.sh` to build the grid previews.
   3. Append an entry below. `meta.size` ("W × H") is required: the grid uses it to lay out rows.
      Read the other EXIF fields with `exiftool -Model -LensModel -FNumber -ExposureTime -ISO -FocalLength -DateTimeOriginal <file>`. */

const NEEL_PHOTOS = [
  { id: "sfo-airport", file: "sfo-airport.jpg", cat: "Aviation", title: "SFO Airport", loc: "San Francisco, CA", meta: { size: "8000 \u00d7 4500" } },
  { id: "new-york-city", file: "new-york-city.jpg", cat: "City", title: "New York City", loc: "New York, NY", meta: { camera: "Sony A1 II", lens: "Sony FE 28-70mm F2 GM", aperture: "f/9", shutter: "1/125", iso: "100", focal: "45mm", taken: "JUN 18 2025  13:55", size: "8598 \u00d7 4836" } },
  { id: "sensorio", file: "sensorio.jpg", cat: "Light", title: "Sensorio", loc: "Paso Robles, CA", meta: { camera: "iPhone 17 Pro", lens: "iPhone 17 Pro (6.8mm f/1.8)", aperture: "f/1.8", shutter: "1/5", iso: "2500", focal: "7mm", taken: "NOV 26 2025  17:39", gps: "35\u00b039.255'N  120\u00b037.434'W", size: "4032 \u00d7 2687" } },
  { id: "interlaken", file: "interlaken.jpg", cat: "Landscape", title: "Interlaken", loc: "Interlaken, Switzerland", meta: { camera: "Sony A7 IV", lens: "Sony FE 24-70mm F2.8 GM", aperture: "f/5", shutter: "1/800", iso: "100", focal: "26mm", taken: "JUN 28 2025  03:28", size: "7008 \u00d7 3942" } },
  { id: "cabo-da-roca", file: "cabo-da-roca.jpg", cat: "Coast", title: "Cabo da Roca", loc: "Sintra, Portugal", meta: { camera: "Sony A7 IV", lens: "Sony FE 24-70mm F2.8 GM", aperture: "f/10", shutter: "1/320", iso: "100", focal: "46mm", taken: "DEC 30 2025  04:56", size: "7008 \u00d7 4672" } },
];

const PHOTO_COLLECTIONS = [
  {
    id: "dove-mountain",
    title: "Dove Mountain",
    kicker: "Landscape",
    date: "Nov 2026",
    desc: "Sunset in the Sonoran Desert outside Tucson: saguaros, long shadows and the last twenty minutes of light.",
    cover: "saguaro-at-sundown",
    photos: [
      { id: "saguaro-at-sundown", file: "dove-mountain/01.jpg", cat: "Sunset", title: "Saguaro at Sundown", loc: "Dove Mountain, AZ", meta: { camera: "Sony A7 IV", lens: "Sony FE 24-70mm F2.8 GM", aperture: "f/4.5", shutter: "1/200", iso: "100", focal: "70mm", taken: "NOV 23 2026  17:19", size: "7028 × 3956" } },
      { id: "last-light", file: "dove-mountain/02.jpg", cat: "Sunset", title: "Last Light", loc: "Dove Mountain, AZ", meta: { camera: "Sony A7 IV", lens: "Sony FE 24-70mm F2.8 GM", aperture: "f/4.5", shutter: "1/1250", iso: "100", focal: "70mm (105mm eq.)", taken: "NOV 23 2026  17:14", size: "4551 × 1963" } },
      { id: "desert-path", file: "dove-mountain/03.jpg", cat: "Sunset", title: "Desert Path", loc: "Dove Mountain, AZ", meta: { camera: "Sony A7 IV", lens: "Sony FE 24-70mm F2.8 GM", aperture: "f/4.5", shutter: "1/1000", iso: "100", focal: "70mm", taken: "NOV 23 2026  17:07", size: "5622 × 3169" } },
      { id: "golden-hour", file: "dove-mountain/04.jpg", cat: "Sunset", title: "Golden Hour", loc: "Dove Mountain, AZ", meta: { camera: "iPhone 17 Pro", lens: "iPhone 17 Pro (16.9mm f/2.8)", aperture: "f/2.8", shutter: "1/1397", iso: "25", focal: "100mm eq.", taken: "NOV 23 2026  17:13", size: "8064 × 5141" } },
      { id: "saguaro-hillside", file: "dove-mountain/05.jpg", cat: "Landscape", title: "Saguaro Hillside", loc: "Dove Mountain, AZ", meta: { camera: "Sony A7 IV", lens: "Sony FE 24-70mm F2.8 GM", aperture: "f/4", shutter: "1/160", iso: "125", focal: "37mm", taken: "NOV 23 2026  17:14", size: "5903 × 3966" } },
    ],
  },
  {
    id: "elements",
    title: "Elements of Art",
    kicker: "Series",
    date: "Aug–Sep 2026",
    desc: "A seven-part series, one photograph for each element of art: color, shape, form, space, value, texture and line.",
    cover: "color",
    photos: [
      { id: "color", file: "elements/color.jpg", cat: "Color", title: "Color", loc: "Plant", meta: { camera: "Sony A7 IV", lens: "Sony FE 24-70mm F2.8 GM", aperture: "f/4.5", shutter: "1/250", iso: "100", focal: "36mm (54mm eq.)", taken: "SEP 1 2026  11:32", size: "3962 \u00d7 2734" } },
      { id: "shape", file: "elements/shape.jpg", cat: "Shape", title: "Shape", loc: "Hoop", meta: { camera: "Sony A7 IV", lens: "Sony FE 24-70mm F2.8 GM", aperture: "f/4.5", shutter: "1/250", iso: "100", focal: "68mm", taken: "SEP 1 2026  11:37", size: "6344 \u00d7 4274" } },
      { id: "form", file: "elements/form.jpg", cat: "Form", title: "Form", loc: "Cone", meta: { camera: "Sony A7 IV", lens: "Voigtlander Nokton 40mm F1.2", aperture: "f/2.2", shutter: "1/2000", iso: "100", focal: "40mm", taken: "SEP 1 2026  11:12", size: "5493 \u00d7 4509" } },
      { id: "space", file: "elements/space.jpg", cat: "Space", title: "Space", loc: "Path", meta: { camera: "Sony A7 IV", lens: "Sony FE 24-70mm F2.8 GM", aperture: "f/4.5", shutter: "1/250", iso: "100", focal: "35mm (52mm eq.)", taken: "SEP 1 2026  11:31", size: "3824 \u00d7 2979" } },
      { id: "value", file: "elements/value.jpg", cat: "Value", title: "Value", loc: "Silhouette", meta: { camera: "Sony A7 IV", lens: "Voigtlander Nokton 40mm F1.2", aperture: "f/4", shutter: "1/3200", iso: "100", focal: "40mm", taken: "SEP 1 2026  11:22", size: "6727 \u00d7 4391" } },
      { id: "texture", file: "elements/texture.jpg", cat: "Texture", title: "Texture", loc: "Bark", meta: { camera: "Sony A7 IV", lens: "Sony FE 24-70mm F2.8 GM", aperture: "f/4", shutter: "1/160", iso: "250", focal: "24mm", taken: "SEP 1 2026  11:07", size: "6015 \u00d7 4009" } },
      { id: "line", file: "elements/line.jpg", cat: "Line", title: "Line", loc: "Wood", meta: { camera: "Sony A7 IV", lens: "Sony FE 24-70mm F2.8 GM", aperture: "f/4", shutter: "1/160", iso: "200", focal: "29mm (43mm eq.)", taken: "AUG 27 2026  12:00", size: "4453 \u00d7 2938" } },
    ],
  },
  {
    id: "places",
    title: "Places",
    kicker: "Travel",
    date: "2025",
    desc: "Stills from travel, airports and the spaces between assignments, from the SFO ramp to the cliffs at Cabo da Roca.",
    cover: "interlaken",
    photos: NEEL_PHOTOS,
  },
];

Object.assign(window, { NEEL_PHOTOS, PHOTO_COLLECTIONS });
