﻿// Americas landing data — 580 guides, 1,150 contributors, 35 countries.
// Edit data here, never markup.

const AM_ANCHOR = [
  { label: "Countries", href: "#countries" },
  { label: "Regions", href: "#regions" },
  { label: "When to Go", href: "#when" },
  { label: "Itineraries", href: "#itineraries" },
  { label: "Food", href: "#food" },
  { label: "Transport", href: "#transport" },
  { label: "Budget", href: "#budget" },
  { label: "Language", href: "#language" },
  { label: "Festivals", href: "#festivals" },
  { label: "Neighborhoods", href: "#neighborhoods" },
  { label: "Packing", href: "#packing" },
  { label: "FAQ", href: "#faq" },
];

const AM_HERO_STATS = [
  { n: "580", label: "Field guides" },
  { n: "35", label: "Countries" },
  { n: "228", label: "UNESCO sites" },
  { n: "1,150", label: "Contributors" },
];

const AM_HERO_META = [
  { k: "Issue", v: "Nº 016" },
  { k: "Season", v: "Spring 2026" },
  { k: "Updated", v: "25 Apr 2026" },
  { k: "Field desk", v: "Mexico City · Cusco · Brooklyn" },
];

const AM_HERO_COLLAGE = [
  { src: "https://images.unsplash.com/photo-1587595431973-160d0d94add1?w=900&q=80", cap: "Cusco · 06:14" },
  { src: "https://images.unsplash.com/photo-1518105779142-d975f22f1b0a?w=900&q=80", cap: "Patagonia · 18:42" },
  { src: "https://images.unsplash.com/photo-1518638150340-f706e86654de?w=900&q=80", cap: "Oaxaca · 08:11" },
];

const AM_TOC = [
  { t: "A Letter from the Editor", pg: "p. 04" },
  { t: "12 Countries, Sorted Honestly", pg: "p. 12" },
  { t: "Region Clusters", pg: "p. 26" },
  { t: "When To Go — A Real Calendar", pg: "p. 38" },
  { t: "Six Itineraries Worth Stealing", pg: "p. 46" },
  { t: "Food & Drink", pg: "p. 58" },
  { t: "Roads, Buses & Domestic Flights", pg: "p. 72" },
  { t: "Budget by Tier", pg: "p. 84" },
  { t: "Five Phrases per Country", pg: "p. 92" },
  { t: "Festivals Worth a Detour", pg: "p. 102" },
  { t: "Neighborhoods We Trust", pg: "p. 116" },
  { t: "Packing for Two Hemispheres", pg: "p. 128" },
];

const AM_COUNTRIES = [
  {
    name: "Mexico",
    cap: "Ciudad de México",
    img: "https://images.unsplash.com/photo-1518105779142-d975f22f1b0a?w=900&q=80",
    flag: "https://flagcdn.com/w80/mx.png",
    guides: 92,
    days: "10–14",
    featured: true,
    lede: "The country we send first-timers to. Mexico City is one of the great food capitals of the world, the colonial cities are walkable and cheap, and the coasts are still mostly undiscovered north of Tulum. Start with the capital. Always.",
    slug: "mexico",
  },
  { name: "USA", cap: "Washington", img: "https://images.unsplash.com/photo-1496442226666-8d4d0e62e6e9?w=900&q=80", flag: "https://flagcdn.com/w80/us.png", guides: 78, days: "10–21", slug: "usa" },
  { name: "Peru", cap: "Lima", img: "https://images.unsplash.com/photo-1587595431973-160d0d94add1?w=900&q=80", flag: "https://flagcdn.com/w80/pe.png", guides: 56, days: "10–14", slug: "peru" },
  { name: "Colombia", cap: "Bogotá", img: "https://images.unsplash.com/photo-1583531352515-8884af319dc6?w=900&q=80", flag: "https://flagcdn.com/w80/co.png", guides: 48, days: "10–14", slug: "colombia" },
  { name: "Argentina", cap: "Buenos Aires", img: "https://images.unsplash.com/photo-1589909202802-8f4aadce1849?w=900&q=80", flag: "https://flagcdn.com/w80/ar.png", guides: 52, days: "12–18", slug: "argentina" },
  { name: "Brazil", cap: "Brasília", img: "https://images.unsplash.com/photo-1483729558449-99ef09a8c325?w=900&q=80", flag: "https://flagcdn.com/w80/br.png", guides: 47, days: "12–21", slug: "brazil" },
  { name: "Chile", cap: "Santiago", img: "https://images.unsplash.com/photo-1518638150340-f706e86654de?w=900&q=80", flag: "https://flagcdn.com/w80/cl.png", guides: 38, days: "10–18", slug: "chile" },
  { name: "Costa Rica", cap: "San José", img: "https://images.unsplash.com/photo-1518182170546-07661fd94144?w=900&q=80", flag: "https://flagcdn.com/w80/cr.png", guides: 34, days: "8–12", slug: "costa-rica" },
  { name: "Cuba", cap: "La Habana", img: "https://images.unsplash.com/photo-1500380804539-4e1e8c1e7118?w=900&q=80", flag: "https://flagcdn.com/w80/cu.png", guides: 26, days: "8–14", slug: "cuba" },
  { name: "Canada", cap: "Ottawa", img: "https://images.unsplash.com/photo-1503614472-8c93d56e92ce?w=900&q=80", flag: "https://flagcdn.com/w80/ca.png", guides: 31, days: "7–14", slug: "canada" },
  { name: "Ecuador", cap: "Quito", img: "https://images.unsplash.com/photo-1508739773434-c26b3d09e071?w=900&q=80", flag: "https://flagcdn.com/w80/ec.png", guides: 24, days: "8–14", slug: "ecuador" },
  { name: "Bolivia", cap: "La Paz", img: "https://images.unsplash.com/photo-1531065208531-4036c0dba3ca?w=900&q=80", flag: "https://flagcdn.com/w80/bo.png", guides: 22, days: "10–14", slug: "bolivia" },
];

const AM_CLUSTERS = [
  {
    num: "01",
    title: "North America",
    titleEm: "North",
    blurb: "Continental scale and cultural sprawl. Road-trip country — distances are bigger, the rentals cheaper, and the diners better than they used to be.",
    cards: [
      { when: "May · Jun · Sep", pin: "USA·CA", h4: "Pacific Coast Highway", p: "San Francisco to Los Angeles in a week, or all the way to Big Sur in three days. Avoid July fog.", tags: ["road trip", "coast"] },
      { when: "Sep · Oct", pin: "USA", h4: "New England in fall", p: "Boston to Burlington via the White Mountains. Foliage peaks the first week of October most years.", tags: ["fall", "color"] },
      { when: "Jun · Sep", pin: "CA", h4: "Canadian Rockies", p: "Calgary to Jasper via Banff and Lake Louise. Five days minimum. Bear spray, not optional.", tags: ["wild", "lakes"] },
    ],
  },
  {
    num: "02",
    title: "Mexico & Central America",
    titleEm: "Central",
    blurb: "Walkable colonial cities, beaches that haven't been ruined yet, and the most diverse food on the continent. Cheap, easy, warm.",
    cards: [
      { when: "Nov · Dec · Mar", pin: "MX", h4: "Mexico City to Oaxaca", p: "Two cities, ten days, the best food trip in the Americas. Buses are cheap, flights are short.", tags: ["food", "city"] },
      { when: "Dec · Jan · Feb", pin: "CR·PA", h4: "Costa Rica → Panama", p: "Pacific coast surf to cloud forest to Bocas del Toro. Two weeks, one rental car.", tags: ["coast", "wildlife"] },
      { when: "Nov · Dec · Mar", pin: "GT·BZ", h4: "Tikal + Belize cayes", p: "Mayan ruins at sunrise, then island time on Caye Caulker. The slow loop.", tags: ["ruins", "diving"] },
    ],
  },
  {
    num: "03",
    title: "The Andes",
    titleEm: "Andes",
    blurb: "The continent's spine — colonial Cusco, the Sacred Valley, and the longest mountain range on earth. Acclimatize first, hike second.",
    cards: [
      { when: "May · Jun · Sep", pin: "PE", h4: "Inca Trail classic", p: "Four days, one Sun Gate. Permits sell out 6 months ahead. Salkantay if you missed the cutoff.", tags: ["hike", "ruins"] },
      { when: "Apr · May · Sep", pin: "EC", h4: "Quito + Galápagos", p: "Three nights at altitude, then five on a small ship in the islands. Naturalist guides only.", tags: ["wildlife", "islands"] },
      { when: "May · Aug · Oct", pin: "BO", h4: "La Paz → Uyuni", p: "Salt flats are the postcard; the high-altitude lagoons after are the trip. Three-day tour minimum.", tags: ["surreal", "altitude"] },
    ],
  },
  {
    num: "04",
    title: "The Southern Cone",
    titleEm: "Southern Cone",
    blurb: "Argentina, Chile, Uruguay — temperate, European-feeling cities, world-class wine, and the wildest unbuilt landscape on earth.",
    cards: [
      { when: "Nov · Dec · Mar", pin: "AR·CL", h4: "Patagonia circuit", p: "Torres del Paine plus El Chaltén. Two weeks, two countries, one bus border crossing.", tags: ["hike", "wild"] },
      { when: "Mar · Apr · Oct", pin: "AR", h4: "Buenos Aires + Mendoza", p: "Tango lessons, malbec country, and the best steaks on the planet. Nine nights total.", tags: ["wine", "city"] },
      { when: "Dec · Jan · Feb", pin: "CL", h4: "Atacama desert", p: "World's driest desert, world's clearest skies. Two stargazing nights, then geyser dawn.", tags: ["desert", "stars"] },
    ],
  },
  {
    num: "05",
    title: "The Caribbean",
    titleEm: "Caribbean",
    blurb: "More than just resorts. Cuba's old cities, Dominican mountains, Jamaican blue holes, and the Virgin Islands by sailboat.",
    cards: [
      { when: "Dec · Mar · Apr", pin: "CU", h4: "Havana to Trinidad", p: "Three nights in Havana, then a classic-car run east. Skip Varadero.", tags: ["history", "music"] },
      { when: "Jan · Feb · Apr", pin: "DO", h4: "DR mountains + coast", p: "Constanza in the highlands plus Las Terrenas on the Samaná coast. Cheaper than the all-inclusives.", tags: ["budget", "mountains"] },
      { when: "Dec · Mar · May", pin: "BVI·USVI", h4: "Sailing the BVI", p: "Bareboat charter Tortola to Anegada. Ten anchorages, five rum shacks. Seven days.", tags: ["sailing", "lush"] },
    ],
  },
];

const AM_WHEN_ROWS = [
  { region: "North America", months: ["L", "L", "S", "S", "P", "P", "P", "P", "P", "F", "L", "L"] },
  { region: "Central America", months: ["P", "P", "F", "S", "L", "L", "L", "L", "L", "L", "P", "P"] },
  { region: "Andes", months: ["L", "L", "S", "S", "P", "P", "P", "P", "P", "S", "L", "L"] },
  { region: "Southern Cone", months: ["P", "P", "P", "S", "L", "L", "L", "L", "S", "S", "P", "P"] },
  { region: "Caribbean", months: ["P", "P", "P", "P", "S", "L", "L", "L", "L", "L", "S", "P"] },
];
const AM_WHEN_HEAD = ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"];
const AM_WHEN_LEGEND = [
  { cls: "peak", label: "Peak (P)" },
  { cls: "shoulder", label: "Shoulder (S)" },
  { cls: "low", label: "Low (L)" },
  { cls: "fest", label: "Festival (F)" },
];

const AM_WHEN_NOTES = [
  { h4: "Two hemispheres, two seasons.", p: "December is summer in Patagonia and winter in Quebec. The single most useful thing to know about traveling the Americas — pack twice if you're crossing the equator.", meta: ["Equator-aware", "Reverse calendar"] },
  { h4: "Avoid Caribbean June through October.", p: "Hurricane season is real. Insurance gets cheaper, flights drop 40%, and the rain comes in 90-minute bursts. Worth it for the price; not worth it for honeymoons.", meta: ["Hurricane window", "Cheap fares"] },
  { h4: "Andean dry season is a hard window.", p: "May to early September. Permits, hostels, and bus seats sell out 4–8 weeks ahead in June and July. Book the Inca Trail six months out, no exceptions.", meta: ["Book early", "Sell-out risk"] },
];

const AM_ITIS = [
  {
    days: "14",
    pill: "First trip",
    h3: "Mexico City to Oaxaca, the food trip.",
    lede: "Two cities, ten days of eating. Buses south, fly back. The single most accessible Latin American itinerary.",
    stops: [
      { n: "01", place: "CDMX — Roma + Condesa", nights: "4 nt" },
      { n: "02", place: "Puebla — mole country", nights: "2 nt" },
      { n: "03", place: "Oaxaca — markets + mezcal", nights: "5 nt" },
      { n: "04", place: "CDMX return", nights: "3 nt" },
    ],
    cost: "$$",
    by: "Mateo · Mar 2026",
    slug: "mexico-city-to-oaxaca",
  },
  {
    days: "16",
    pill: "Wild south",
    h3: "Patagonia, end to end.",
    lede: "El Calafate, El Chaltén, Torres del Paine, Punta Arenas. One bus border. The walk you'll remember forever.",
    stops: [
      { n: "01", place: "El Calafate — Perito Moreno", nights: "3 nt" },
      { n: "02", place: "El Chaltén — Fitz Roy", nights: "4 nt" },
      { n: "03", place: "Puerto Natales", nights: "1 nt" },
      { n: "04", place: "Torres del Paine — W trek", nights: "5 nt" },
      { n: "05", place: "Punta Arenas", nights: "2 nt" },
    ],
    cost: "$$$",
    by: "Sofía · Jan 2026",
    slug: "patagonia-circuit",
  },
  {
    days: "10",
    pill: "Andean classic",
    h3: "Lima to Machu Picchu, slow.",
    lede: "Lima for the food, Cusco for the altitude, the Sacred Valley for the warm-up, then the Inca Trail for the payoff.",
    stops: [
      { n: "01", place: "Lima — Miraflores + Barranco", nights: "2 nt" },
      { n: "02", place: "Cusco — acclimatize", nights: "2 nt" },
      { n: "03", place: "Sacred Valley — Pisac, Ollanta", nights: "1 nt" },
      { n: "04", place: "Inca Trail (4-day)", nights: "3 nt" },
      { n: "05", place: "Cusco return", nights: "2 nt" },
    ],
    cost: "$$",
    by: "Diego · Sept 2025",
    slug: "lima-to-machu-picchu",
  },
];

const AM_FOOD = [
  { country: "México", glyph: "α", h4: "Tacos al pastor.", p: "The trompo, the pineapple, the tortilla off the comal. CDMX after 8pm, never before. The standard-bearer dish of the continent.", pair: { a: "Al pastor", b: "Mezcal espadín" }, span: "span-3" },
  { country: "Perú", glyph: "β", h4: "Ceviche is a lunch dish.", p: "The fish stops cooking after twenty minutes. Eat it within the hour or don't eat it. Lima is the capital.", pair: { a: "Ceviche clásico", b: "Pisco sour" }, span: "" },
  { country: "Argentina", glyph: "γ", h4: "Asado is a Sunday.", p: "Lit at 11, eaten at 4, finished at 8. Don't ask for it medium. Don't ask for steak sauce. Just don't.", pair: { a: "Bife de chorizo", b: "Malbec" }, span: "span-2" },
  { country: "Brasil", glyph: "δ", h4: "Feijoada is a Saturday.", p: "Black bean stew with everything. The Carioca lunch that closes the city for three hours. Eat slowly.", pair: { a: "Feijoada", b: "Caipirinha" }, span: "span-2" },
  { country: "USA", glyph: "ε", h4: "BBQ is regional.", p: "Texas brisket, Memphis ribs, Carolina pulled pork, Kansas City burnt ends. Pick a region; don't argue the others.", pair: { a: "Brisket", b: "Sweet tea" }, span: "span-2" },
  { country: "Cuba", glyph: "ζ", h4: "Ropa vieja, slow.", p: "Shredded beef in tomato and pepper, eight hours. The signature plate of the island. Plantains on the side, always.", pair: { a: "Ropa vieja", b: "Mojito" }, span: "span-2" },
];

const AM_ROUTES = [
  { from: "New York", fromCode: "NYC", to: "Los Angeles", toCode: "LAX", t: "5h 45m", trains: "30/d" },
  { from: "México DF", fromCode: "MEX", to: "Oaxaca", toCode: "OAX", t: "6h 30m bus", trains: "12/d" },
  { from: "Lima", fromCode: "LIM", to: "Cusco", toCode: "CUZ", t: "1h 25m", trains: "20/d" },
  { from: "Bogotá", fromCode: "BOG", to: "Cartagena", toCode: "CTG", t: "1h 25m", trains: "18/d" },
  { from: "Buenos Aires", fromCode: "BUE", to: "Mendoza", toCode: "MDZ", t: "1h 50m", trains: "10/d" },
  { from: "Santiago", fromCode: "SCL", to: "Calama", toCode: "CJC", t: "2h 05m", trains: "8/d" },
];

const AM_TRAIN_COMPARE = [
  { route: "NYC → LA", a: "Drive 6d", b: "Fly 5h45m" },
  { route: "Mexico City → Oaxaca", a: "Bus 6h30m", b: "Fly 1h05m" },
  { route: "Lima → Cusco", a: "Bus 22h", b: "Fly 1h25m" },
  { route: "Buenos Aires → Mendoza", a: "Bus 14h", b: "Fly 1h50m" },
  { route: "Santiago → Atacama", a: "Drive 18h", b: "Fly 2h05m" },
];

const AM_BUDGETS = [
  {
    lvl: "Frugal",
    day: "45",
    title: "Hostel, market, second-class bus.",
    lines: [
      ["Bed", "$12–22"],
      ["Food", "$8–14"],
      ["Transit", "$5–9"],
      ["Sights", "$5"],
    ],
    note: "Realistic across Mexico, Central America, and the Andes. Tight in the USA, Canada, and Patagonia.",
    region: "Latin tier",
  },
  {
    lvl: "Comfort",
    day: "140",
    title: "Three-star, one nice meal a day.",
    lines: [
      ["Bed", "$60–100"],
      ["Food", "$30–45"],
      ["Transit", "$25–40"],
      ["Sights", "$15"],
    ],
    note: "The honest middle. Where most readers actually spend across the continent. North America stretches this.",
    middle: true,
    region: "Continent-wide",
  },
  {
    lvl: "Editorial",
    day: "380",
    title: "Boutique, domestic flights, one Michelin.",
    lines: [
      ["Bed", "$180–320"],
      ["Food", "$80–140"],
      ["Transit", "$60–100"],
      ["Sights", "$25"],
    ],
    note: "Doable continent-wide; doubles fast in NYC, the Galápagos, and Patagonia luxury lodges. Plan the splurge first.",
    region: "Top tier",
  },
];

const AM_LANG = [
  { country: "México", phrases: [
    { dt: "Hola, buenos días", dd: "Hello, good morning" },
    { dt: "Gracias", dd: "Thank you" },
    { dt: "La cuenta, por favor", dd: "The bill, please" },
    { dt: "¿A dónde recomienda?", dd: "Where do you recommend?" },
  ]},
  { country: "Perú", phrases: [
    { dt: "Buenos días", dd: "Good morning" },
    { dt: "Gracias", dd: "Thank you" },
    { dt: "La cuenta, por favor", dd: "The bill, please" },
    { dt: "Un pisco sour", dd: "A pisco sour — never sweet" },
  ]},
  { country: "Argentina", phrases: [
    { dt: "Che, ¿cómo andás?", dd: "Hey, how are you (informal)" },
    { dt: "Dale", dd: "Sure / okay / let's go" },
    { dt: "La cuenta, por favor", dd: "The bill, please" },
    { dt: "Un fernet con cola", dd: "Fernet and Coke — the national drink" },
  ]},
  { country: "Brasil", phrases: [
    { dt: "Bom dia / Boa tarde", dd: "Good morning / afternoon" },
    { dt: "Obrigado / Obrigada", dd: "Thank you (m / f)" },
    { dt: "A conta, por favor", dd: "The bill, please" },
    { dt: "Um cafezinho", dd: "A small coffee — always" },
  ]},
  { country: "Colombia", phrases: [
    { dt: "Buenos días", dd: "Good morning" },
    { dt: "Gracias", dd: "Thank you" },
    { dt: "Qué chévere", dd: "How cool / how great" },
    { dt: "Un tinto", dd: "A black coffee" },
  ]},
  { country: "USA", phrases: [
    { dt: "Hi, how's it going", dd: "Hello (default)" },
    { dt: "Thanks", dd: "Thank you" },
    { dt: "Check, please", dd: "The bill, please" },
    { dt: "Tap water, please", dd: "Free at every restaurant" },
  ]},
  { country: "Quebec", phrases: [
    { dt: "Bonjour, salut", dd: "Hello, hi" },
    { dt: "Merci", dd: "Thank you" },
    { dt: "L'addition, s'il vous plaît", dd: "The bill, please" },
    { dt: "Un café au lait", dd: "Coffee with milk" },
  ]},
  { country: "Cuba", phrases: [
    { dt: "Hola, ¿qué bolá?", dd: "Hi, what's up (Cuban slang)" },
    { dt: "Gracias", dd: "Thank you" },
    { dt: "La cuenta, por favor", dd: "The bill, please" },
    { dt: "Un mojito", dd: "Always with hierbabuena" },
  ]},
];

const AM_FESTS = [
  { num: "01", when: "February", where: "Carnival · Rio de Janeiro", h4: "The biggest party on earth.", p: "Five days, two million people, 200 blocos in the streets. Sambadrome tickets are the Olympic version; the street parades are the people's version.", stars: "★★★★★" },
  { num: "02", when: "November", where: "Día de los Muertos · Oaxaca", h4: "The candle-lit cemeteries.", p: "Marigolds, candles, and families overnight at gravesides. October 31 to November 2. The least touristy version is in the Oaxacan villages, not the city.", stars: "★★★★★" },
  { num: "03", when: "February / March", where: "Mardi Gras · New Orleans", h4: "Twelve days of parades.", p: "Krewes, beads, balcony seats on St. Charles. Skip Bourbon Street; the family parades on the Avenue are the real thing. Book a year ahead.", stars: "★★★★☆" },
  { num: "04", when: "June 24", where: "Inti Raymi · Cusco", h4: "Festival of the Sun.", p: "The Inca's winter-solstice celebration, reenacted at Sacsayhuamán. The biggest day of the year in Cusco. The reenactment runs in Quechua.", stars: "★★★★☆" },
  { num: "05", when: "August", where: "Burning Man · Black Rock City", h4: "A city for a week.", p: "80,000 people, no commerce, dust. Tickets sell out in 30 minutes; the only way most years is the OMG sale in July. Bring twice the water you think.", stars: "★★★★☆" },
  { num: "06", when: "December 16–24", where: "Las Posadas · Mexico", h4: "Nine nights of nativity.", p: "Neighborhood processions reenacting Mary and Joseph. Piñatas every night, tamales every morning. The most Mexican of holidays.", stars: "★★★★☆" },
];

const AM_NEIGHBORHOODS = [
  { num: "01", name: "Roma Norte", city: "Mexico City", em: "Roma Norte", p: "The cleanest version of the CDMX flavor. Cafés, bookstores, and the best taquería per square meter on the planet. Stay here, walk to Condesa.", why: "Walkable · Café-dense" },
  { num: "02", name: "Palermo Soho", city: "Buenos Aires", em: "Palermo", p: "Cobbled streets, parrillas, and the densest concentration of natural-wine bars in South America. Quieter than Recoleta, livelier than Nuñez.", why: "Wine · Late nights" },
  { num: "03", name: "Barranco", city: "Lima", em: "Barranco", p: "Lima's literary quarter, with the best coastal walks and the quietest mornings. Half the price of Miraflores, twice the character.", why: "Coastal · Bohemian" },
  { num: "04", name: "Brooklyn", city: "New York", em: "Brooklyn", p: "Williamsburg for design, Greenpoint for Polish food, Park Slope for stoops. A four-night base beats Manhattan on every metric except convenience.", why: "Indie · Diverse" },
  { num: "05", name: "Vedado", city: "Havana", em: "Vedado", p: "The 20th-century Havana — colonnaded mansions, one of the great seafront drives, and the best paladares (private restaurants) in the country.", why: "Architecture · Seafront" },
  { num: "06", name: "Mile End", city: "Montreal", em: "Mile End", p: "Bagel shops at 3am, French-English-Greek-Hassidic on the same block. The bagels are different from New York; pick a side.", why: "Bilingual · Late food" },
];

const AM_PACK_LISTS = [
  {
    h4: "Two hemispheres, one bag.",
    em: "one bag",
    sub: "Year-round capability",
    items: [
      "Light merino base layer (good 0°C to 25°C)",
      "One linen shirt for tropical lunches",
      "One pair of dark jeans, one of trekking pants",
      "Mid-weight fleece or wool sweater",
      "Trail-ready waterproof shoes (not running shoes)",
      "A jacket that handles 90 minutes of rain",
      "Swim trunks — Caribbean and Pacific both",
      "Sun hat with a brim, not a baseball cap",
      "Tip — pack one extra warm layer than you think you need.",
    ],
  },
  {
    h4: "Buses and overnight rides.",
    em: "overnight",
    sub: "Latin America standard",
    items: [
      "One 40L carry-on backpack — fits all Latin airlines",
      "TSA-approved padlock for hostel lockers",
      "Universal Type-A/B/C plug adapter",
      "Slim chargers (one fast, one slow)",
      "Reusable bottle with a filter (LifeStraw or similar)",
      "Compression cubes — three small, never one big",
      "Earplugs and silk sleep mask (overnight buses)",
      "Cash belt — for 5+ hour bus rides",
      "Tip — keep $50 USD hidden separately for emergencies.",
    ],
  },
  {
    h4: "What to leave home.",
    em: "leave home",
    sub: "The 'just in case' pile",
    items: [
      "More than two pairs of shoes",
      "Hairdryers (every hotel has one)",
      "Half-empty toiletries (buy fresh in country)",
      "More than one 'nice outfit'",
      "Anything you'd cry about losing",
      "Cash above $300 USD equivalent",
      "Power-bank bricks above 10,000 mAh",
      "Anything not in the cube an hour before leaving",
      "Tip — leave 20% of the bag empty for what you'll bring back.",
    ],
  },
];

const AM_FAQS = [
  { q: "When is the best time to travel the Americas?", a: "There is no single answer — the continent crosses two hemispheres. <strong>For North America and the Caribbean</strong>, May through October is high season. <strong>For Latin America south of the equator</strong>, November through March is summer and peak season. The Andean dry season (May to September) is the only continent-wide rule worth memorizing." },
  { q: "Do I need a visa for the major destinations?", a: "On a US passport, almost nowhere. <strong>Brazil reinstated visas for US/Canada/Australia citizens in April 2025</strong> — apply online at gov.br at least 4 weeks ahead. Argentina, Chile, Bolivia, and Cuba all charge reciprocity or tourist-card fees. Mexico, Costa Rica, Peru, Colombia, and the Caribbean nations are visa-free for 30–180 days." },
  { q: "Is it safe? I keep hearing mixed things.", a: "Most of what you've heard is outdated. <strong>The safest cities in Latin America</strong> — Buenos Aires, Santiago, Lima's Miraflores, CDMX's Roma — are statistically safer than Atlanta, New Orleans, or Detroit. <strong>The genuinely dangerous places</strong> — parts of Venezuela, Honduras outside San Pedro Sula, certain neighborhoods in Cali — are not on the tourist trail. Use the same instincts you'd use in any unfamiliar city." },
  { q: "Should I rent a car or take buses?", a: "Both, by region. <strong>Rent a car</strong> for the USA, Canada, Costa Rica, and the Andes outside major cities — distances are big and bus networks are thin. <strong>Take buses</strong> in Mexico (ETN, ADO are world-class), Colombia, Argentina, and most of Brazil — they're cheap, comfortable, and run overnight. Patagonia is a hybrid: rent for two days, bus the rest." },
  { q: "How much Spanish do I actually need?", a: "Less than you think. <strong>In tourist zones</strong> — CDMX, Buenos Aires, Cusco, the Caribbean coasts — English is widely spoken. <strong>Off the trail</strong>, even broken Spanish opens every door. The single most useful sentence is '¿Habla inglés?' followed by '¿A dónde recomienda?' if they don't. Brazil is the exception — Portuguese is its own language, but Spanish gets you 70%." },
  { q: "What about altitude — do I need to worry?", a: "Yes, above 3,000m. <strong>Cusco (3,400m), La Paz (3,600m), Quito (2,850m), and Bogotá (2,640m)</strong> all sit at altitude. Take the first 24 hours easy — no alcohol, light meals, water before coffee. Acetazolamide (Diamox) is available over-the-counter in most Andean pharmacies and works. Coca tea is the local remedy and helps." },
  { q: "Can I drink the tap water?", a: "<strong>Yes</strong> in the USA, Canada, Costa Rica, Chile, and most of Argentina (Buenos Aires definitely). <strong>No</strong> in Mexico, Peru, Bolivia, Brazil, the Caribbean (with exceptions), and Colombia. Brush your teeth with bottled water in the no-list countries, ask for ice 'sin hielo' if you're worried, and pack a Steripen or a Grayl filter for backcountry trips." },
  { q: "What about the food allergy / dietary question?", a: "Vegetarianism is well-handled across the continent. <strong>Vegan</strong> is easy in CDMX, Lima, Buenos Aires, and any college town in the USA — harder elsewhere. <strong>Gluten-free</strong> is hard everywhere outside major cities; corn-based cuisines (Mexican, Peruvian Andes) are easier than wheat-based (Argentina, Italy of the south). Carry a translation card for severe allergies in seven languages — we link to free ones on the visas page." },
];

const AM_RELATED = [
  { lbl: "Field note", h4: "Three perfect days in <em>Mexico City.</em>", by: "Mateo · 12 min", href: "/journal/cdmx-three-days" },
  { lbl: "Editorial", h4: "What we learned crossing the Andes by bus.", by: "Diego · 9 min", href: "/journal/andes-by-bus" },
  { lbl: "Itinerary", h4: "The Pacific Coast Highway, properly.", by: "Iris · 14 min", href: "/journal/pacific-coast-highway" },
  { lbl: "Dispatch", h4: "Patagonia in shoulder season.", by: "Sofía · 8 min", href: "/journal/patagonia-shoulder" },
];

const AM_REGIONS = [
  { id: "europe", name: "Europe", href: "/en/europe/" },
  { id: "asia", name: "Asia", href: "/en/asia/" },
  { id: "americas", name: "Americas", href: "/en/americas/", current: true },
  { id: "africa", name: "Africa", href: "/en/africa/" },
  { id: "middle-east", name: "Middle East", href: "/en/middle-east/" },
  { id: "oceania", name: "Oceania", href: "/en/oceania/" },
];

Object.assign(window, {
  AM_ANCHOR, AM_HERO_STATS, AM_HERO_META, AM_HERO_COLLAGE, AM_TOC,
  AM_COUNTRIES, AM_CLUSTERS, AM_WHEN_ROWS, AM_WHEN_HEAD, AM_WHEN_LEGEND, AM_WHEN_NOTES,
  AM_ITIS, AM_FOOD, AM_ROUTES, AM_TRAIN_COMPARE,
  AM_BUDGETS, AM_LANG, AM_FESTS, AM_NEIGHBORHOODS, AM_PACK_LISTS,
  AM_FAQS, AM_RELATED, AM_REGIONS,
});
