Hellenic Archaeology Survey Site

<html lang="en">
<head>
Survey of Active Archaeological Digs in Greece & Aegean (1996–2026)
<!-- Tailwind CSS -->
<!-- Chart.js -->
tailwind.config = {
theme: {
extend: {
colors: {
sand: {
50: '#fdfbf7',
100: '#f7f3eb',
200: '#ece3d2',
300: '#dfcfb3',
400: '#ceb791',
500: '#bc9e73',
800: '#685437',
900: '#382c1b',
},
aegean: {
50: '#f0f7ff',
100: '#e0effe',
200: '#bae0fd',
500: '#0284c7',
700: '#0369a1',
800: '#075985',
900: '#0c4a6e',
950: '#082f49',
},
terracotta: {
100: '#ffedd5',
200: '#fed7aa',
500: '#ea580c',
600: '#c2410c',
700: '#9a3412',
800: '#7c2d12',
},
olive: {
500: '#65a30d',
600: '#4d7c0f',
700: '#3f6212',
}
},
fontFamily: {
serif: ['Georgia', 'Cambria', 'serif'],
sans: ['system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'sans-serif'],
}
}
}
}
</script>
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: #f7f3eb;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #ceb791;
border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #bc9e73;
}
</style>
</head>
<body class="bg-sand-50 text-slate-800 font-sans min-h-screen flex flex-col selection:bg-terracotta-200">
<!-- HEADER & NAVIGATION -->
🏛️
Hellenic Archaeological Survey
</h1>
</div>
Active Excavations, Island Surveys & Rescue Archaeology (1996–2026)
</p>
</div>
<!-- NAVIGATION TABS -->
</nav>
</div>
</div>
</header>
<!-- MAIN CONTENT CONTAINER -->
<!-- ==================== TAB 1: OVERVIEW & MACRO METRICS ==================== -->
<!-- Macro Stats Banner -->
Cataloged Monuments
17,000+
Ministry of Culture Registry
</div>
UNESCO Sites
21
Olympia, Rhodes, Delos, etc.
</div>
Foreign Permits Cap
6 / Year
Per Foreign School (Law 4858)
</div>
Survey Scope
30 Years
1996–2026 Academic Excavations
</div>
</div>
<!-- Introductory Briefing -->

A Revolution in Hellenic Archaeology: 1996–2026

Over the past three decades, archaeological research in Greece has transformed from traditional monumental recovery into high-resolution, interdisciplinary bio-archaeological and landscape science. Active digs have resolved centuries-old historical enigmas—from sequencing Bronze Age paleogenomes (Minoan vs. Mycenaean) and establishing high-precision radiocarbon chronologies for the Thera eruption to unearthing unlooted royal tombs (Pylos Griffin Warrior, Kasta Tumulus Amphipolis) and large-scale urban salvage digs driven by public infrastructure (Athens Metro, Lesbos highway transects).
</p>
</div>
<!-- Visual Charts -->
📊 Excavation & Survey Distribution by Region
</h3>
</div>
</div>
🔬 Scientific & Excavation Focus (1996–2026)
</h3>
</div>
</div>
</div>
</section>
<!-- ==================== TAB 2: INTERACTIVE SITE DIRECTORY ==================== -->
<!-- Filter & Search Controls -->
🔍
</div>
All Regions
Peloponnese
Attica & Athens
Aegean Islands & Dodecanese
Crete
Central Greece & Macedonia
</select>
All Epochs
Bronze Age (Cycladic/Minoan/Mycenaean)
Archaic & Classical
Hellenistic to Roman
Multi-period / Rescue Archaeology
</select>
</div>
</div>
Showing all cataloged sites
Click any site card for full stratigraphy & AI summary
</div>
</div>
<!-- SITES GRID -->
<!-- Injected via JavaScript -->
</div>
</section>
<!-- ==================== TAB 3: SCIENTIFIC BREAKTHROUGHS ==================== -->
<!-- Genome Admixture Section -->

Ancient Paleogenomics: Minoans vs. Mycenaeans

Key Study: Lazaridis et al. (Nature 2017) & Skourtanioti et al. (Cell 2023)

</div>
</div>
</div>
<!-- Visual Bar Breakdown -->
Minoan Genetic Ancestry (Crete ~2000 BCE)
Primary Anatolian Farmer Base
</div>
78% Neolithic Anatolia
17% CHG/Iran
5% Other
</div>
Minoans derive the vast majority of their ancestry from the first Neolithic farmers of Western Anatolia and the Aegean, with secondary gene flow from Caucasus/Iran hunter-gatherers, but virtually zero Eastern European hunter-gatherer / Steppe pastoralist admixture.
</p>
</div>
</div>
<!-- Thera Eruption Chronology Section -->

The Thera Chronology Dilemma (Manning et al. / Friedrich et al.)

Bayesian 14C calibration vs Traditional Egyptian Synchronisms

</div>
Scientific High Chronology
1628–1560 BCE
</div>
Established via Bayesian radiocarbon analysis of short-lived olive branches and grain trapped inside the Akrotiri volcanic pumice destruction layer, correlated with Greenland ice core sulfate spikes and bristlecone pine frost rings.
</p>
</div>
Traditional Low Chronology
c. 1500–1490 BCE
</div>
Based on cross-craft ceramic synchronisms with New Kingdom Egyptian dynasties (Tell el-Dab'a Aegean frescoes) and Late Minoan IA typologies. Modern Bayesian modeling now heavily supports the High Chronology.
</p>
</div>
</div>
</div>
</section>
<!-- ==================== TAB 4: MARITIME & ISLAND SURVEYS ==================== -->

Deep-Water & Island Archipelago Surveys (1996–2026)

Remote Sensing, Submersibles & Systematic Coastal Transects

</div>
</div>
<!-- Kasos Project -->

Kasos Maritime Archaeological Project (KMAP)

2019–2024
</div>
Institutions: Hellenic National Research Foundation (NHRF) & Ephorate of Underwater Antiquities.
Finds: Located 10 shipwrecks spanning from 3000 BCE to World War II at depths up to 47 meters. Recovered Spanish Dressel 20 olive oil amphorae (c. 150 CE), African Terra Sigillata, and Archaic transport vessels demonstrating Kasos as an indispensable maritime crossroads.
</p>
</div>
<!-- Antikythera Return -->

Return to Antikythera Submersible Program

2012–Present
</div>
Institutions: Swiss Archaeological School in Greece & Greek Ephorate.
Finds: High-precision bathymetric mapping, unearthing the colossal marble head of Herakles, bronze statue components, human skeletal remains for DNA extraction, and structural lead anchors at 55m depth using custom Exosuit submersibles.
</p>
</div>
<!-- Fourni Archipelago -->

Fourni Korseon Underwater Survey

2015–Present
</div>
Institutions: Ephorate of Underwater Antiquities & RPM Nautical Foundation.
Finds: Identified 58 discrete ancient shipwrecks in a single 17 sq. mile archipelago—the largest concentration of ancient wrecks in the Mediterranean—illustrating East-West Aegean merchant transit routes across 2,500 years.
</p>
</div>
<!-- Dokos & Kythnos -->

Dokos & Cycladic Island Seafaring Surveys

Continuous
</div>
Significance: Documentation of Early Helladic II proto-urban coastal sites, confirming Melian obsidian exchange networks operating across the Cyclades as early as the Mesolithic and Early Bronze Age.
</p>
</div>
</div>
</div>
</section>
<!-- ==================== TAB 5: REGULATORY FRAMEWORK & AI TOOLS ==================== -->
<!-- Greek Antiquities Law Summary -->
📜

Hellenic Regulatory Framework: Law 4858/2021 & Foreign Schools

</div>
Permit Restrictions
Each accredited Foreign Archaeological Institute is capped at 6 annual field permits (maximum 3 systematic excavations and 3 surface surveys/synergasias).
</div>
Excavation Timelines
Fieldwork seasons are strictly limited to 6 to 8 weeks annually, with no excavation permitted during the winter months (Jan–Mar).
</div>
Publication Deadlines
Preliminary reports must be submitted within 2 years, and final systematic monographs within 5 years under penalty of permit suspension.
</div>
</div>
</div>
<!-- GEMINI AI REGULATORY COMPLIANCE CHECKER -->
⚖️

AI Regulatory Compliance Checker (Gemini LLM)

</div>
Drafting a research grant or excavation proposal? Describe your proposed dig dates, location, team structure, and duration to have the Gemini AI evaluate it against Greek Antiquities Law 4858/2021 constraints.
</p>
✨ Check Compliance via Gemini
</button>
Powered by Gemini 2.5 Flash
</div>
</div>
</div>
</section>
</main>
<!-- FOOTER -->

Hellenic Ministry of Culture & Archaeological Institutes Collaborative Database (1996–2026)

Curated with academic notations from Hesperia, BSA Annual, AJA, and Ephorate Monographs.

</div>
</footer>
<!-- MODAL POPUP FOR DETAILED SITE DOSSIER -->
<!-- Modal Header -->
Region

Site Name

Lead Institution & Subregion

</div>
</div>
<!-- Modal Content Grid -->
Chronology / Era: Era
Active Dig Dates: Dates
</div>

Stratigraphy & Landscape Context

Stratigraphy details...

</div>

Material Culture & Key Discoveries

Discoveries details...

</div>

Scientific & Historical Significance

Significance details...

</div>
<!-- GEMINI AI PUBLIC OUTREACH GENERATOR -->
🏛️ AI Museum Curator (Gemini LLM)
</h4>

Transform dense academic stratigraphy into an engaging public museum placard.

</div>
✨ Generate Museum Placard
</button>
</div>
</div>
Primary Publication
</div>
</div>
</div>
</div>
<!-- JAVASCRIPT APPLICATION LOGIC & DATASET -->
// --- COMPLETE DATASET: ACTIVE SITES, ISLANDS, RESCUE DIGS & WONDERS ---
const SITES_DATA = [
{
id: 'olympia',
name: 'Sanctuary of Zeus at Olympia (Wonder Context)',
region: 'Peloponnese',
subregion: 'Elis',
era: 'Hellenistic to Roman',
dates: '1875–Present (Continuous modern phases)',
lead: 'German Archaeological Institute (DAI) & Ephorate of Elis',
stratigraphy: 'Complex multi-layered sanctuary context over a prehistoric settlement. Recent focus on the Roman baths, the gymnasium, peripheral structures surrounding the Temple of Zeus, and hydrological alluvial sediments from the Kladeos river.',
discoveries: 'While Pheidias\' workshop (creator of the Wonder, the chryselephantine Statue of Zeus) was excavated in the 1950s, the last 30 years have yielded rich bronze votive offerings, epigraphic records, athlete quarters, and detailed architectural reconstructions of the colossal thermal and gymnasium complexes.',
significance: 'Olympia hosted one of the Seven Wonders of the Ancient World. While the statue itself was lost in late antiquity, ongoing excavations provide crucial socioeconomic context for the Panhellenic games, ancient religious economies, and Roman imperial patronage in Greece.',
pub: 'Olympia-Forschungen (DAI) & Hesperia'
},
{
id: 'rhodes',
name: 'Rhodes Ancient City & Harbor (Colossus Context)',
region: 'Aegean Islands',
subregion: 'Dodecanese (Rhodes)',
era: 'Hellenistic to Roman',
dates: '1990s–Present (Continuous rescue & harbor surveys)',
lead: 'Ephorate of Antiquities of Dodecanese',
stratigraphy: 'Dense Hellenistic urban grid overlaid by Byzantine and Hospitaller Knight fortifications. Recent marine surveys focus on the ancient harbor moles, commercial basins, and military ship sheds (neoria).',
discoveries: 'Extensive Hellenistic ship sheds, ancient harbor fortifications, elaborate mosaic floors in Hellenistic villas, and massive civic engineering works. While no physical trace of the bronze Colossus remains, the engineering infrastructure that supported its creation has been heavily documented.',
significance: 'Rhodes was home to the Colossus (one of the Seven Wonders). Modern archaeological focus is on rescue archaeology—saving Hellenistic civic monuments, subterranean water systems, and harbor infrastructure from modern urban expansion.',
pub: 'Archaiologikon Deltion & Dodecanese Ephorate Monographs'
},
{
id: 'acropolis-slopes',
name: 'Athens Metro Rescues & Acropolis Slopes',
region: 'Attica',
subregion: 'Athens Metropolitan Area',
era: 'Multi-period / Rescue',
dates: '1997–Present',
lead: 'Ephorate of Antiquities of Athens & Ministry of Culture',
stratigraphy: 'Deep urban stratigraphy spanning 5,000 years. Metro tunneling (Syntagma, Monastiraki, Acropolis station) cut through ancient riverbeds (Eridanos), residential quarters, cemeteries (Kerameikos), and workshops.',
discoveries: 'The Metro excavations represent the largest archaeological dig in Greek history, yielding over 300,000 artifacts: the 430 BCE Plague mass graves at Kerameikos, classical roads, water clocks, Roman baths, and thousands of domestic artifacts preserved in situ beneath the modern Acropolis Museum.',
significance: 'Shifted the focus of Athenian archaeology from monumental restoration of the Parthenon to uncovering the daily lives, sanitation, domestic quarters, and burials of regular citizens living in the shadow of the Acropolis.',
pub: 'The City Beneath the City (Hellenic Ministry of Culture)'
},
{
id: 'chios-kato-phana',
name: 'Sanctuary of Apollo Phanaeus & Chios Surveys',
region: 'Aegean Islands',
subregion: 'North Aegean (Chios)',
era: 'Archaic & Classical',
dates: '1999–2010 (Recent systematic phase)',
lead: 'British School at Athens (BSA) & Greek Ministry of Culture',
stratigraphy: 'Geometric ash altar superimposed by Archaic and Classical temple foundations, overlaid by a Late Antique paleo-Christian basilica and coastal fortifications.',
discoveries: 'Rich deposits of East Greek pottery, Egyptian scarabs, Phoenician ivory, and Ionian architectural terracottas indicating a massive, wealthy maritime sanctuary that served as a navigational waypoint across the Aegean.',
significance: 'Chios was a massive naval and commercial power. This site demonstrates the island\'s international trade connections and architectural innovation (early Ionian orders) before the Persian destruction during the Ionian Revolt.',
pub: 'Annual of the British School at Athens (BSA)'
},
{
id: 'lesbos-sigri',
name: 'Kalloni-Sigri Highway Rescue & Lesbos Surveys',
region: 'Aegean Islands',
subregion: 'North Aegean (Lesbos)',
era: 'Multi-period / Rescue',
dates: '2013–Present',
lead: 'Ephorate of Antiquities of Lesbos & Natural History Museum',
stratigraphy: 'Linear transect across western Lesbos revealing a continuous timeline: petrified tree trunks (20 million years old) intermingled with Early Bronze Age to Roman human structures, farms, and graves.',
discoveries: 'Over 3,000 ancient features uncovered along the 46km highway corridor, including a massive Roman aqueduct near Moria, an unknown Classical rural sanctuary, Byzantine farmsteads, and Early Bronze Age metallurgical workshops.',
significance: 'A masterclass in modern rescue archaeology and cross-disciplinary paleontology/archaeology. Proves that large infrastructure projects in Greece systematically document entire territorial hinterlands rather than just elite civic centers.',
pub: 'Ephorate of Antiquities of Lesbos Monographs'
},
{
id: 'pylos',
name: 'Palace of Nestor & Griffin Warrior Tomb',
region: 'Peloponnese',
subregion: 'Messenia',
era: 'Bronze Age',
dates: '2015–Present',
lead: 'University of Cincinnati (Sharon Stocker & Jack Davis)',
stratigraphy: 'Late Helladic II (c. 1450 BCE) shaft grave discovered unlooted adjacent to the Late Helladic IIIB Palace of Nestor complex.',
discoveries: 'Intact single male burial accompanied by over 3,500 objects: the Pylos Combat Agate (astonishing miniature gemstone carving), four gold signet rings, bronze armor, ivory boar combs, and Minoan ritual vessels.',
significance: 'Revolutionized our understanding of early Mycenaean state formation and elite identity, proving that the mainland Mycenaeans adopted sophisticated Minoan religious and iconographic systems as early as LH II.',
pub: 'Hesperia & American Journal of Archaeology (AJA)'
},
{
id: 'amphipolis',
name: 'Kasta Tumulus at Amphipolis',
region: 'Central Greece & Macedonia',
subregion: 'Serres, Macedonia',
era: 'Hellenistic to Roman',
dates: '2012–Present',
lead: 'Greek Ephorate of Antiquities of Serres (K. Peristeri et al.)',
stratigraphy: 'Colossal artificial burial mound encircled by a 497-meter marble perimeter wall, containing a three-chamber vaulted tomb with monumental entryways.',
discoveries: 'Pair of colossal marble Sphinxes, two Caryatid maiden figures supporting the inner vault, a breathtaking pebble mosaic depicting the Abduction of Persephone by Hades, and a limestone cist burial chamber.',
significance: 'The largest burial monument ever excavated in Greece. Linked directly to the inner circle of Alexander the Great (possibly Hephaestion or general officers), offering monumental proof of late 4th-century BCE Macedonian royal funerary architecture.',
pub: 'Hellenic Ministry of Culture Monographs'
},
{
id: 'akrotiri',
name: 'Akrotiri Volcanic Destruction Layer',
region: 'Aegean Islands',
subregion: 'Cyclades (Santorini)',
era: 'Bronze Age',
dates: '1999–Present (Continuous conservation & deep soundings)',
lead: 'Archaeological Society at Athens (Christos Doumas)',
stratigraphy: 'Late Cycladic I urban settlement buried and preserved under meters of tephra and pumice from the colossal Minoan eruption of the Thera volcano.',
discoveries: 'Multi-story houses with indoor plumbing, fresco masterpieces (Spring Fresco, Boxing Boys, Flotilla), carbonized furniture, wooden beds cast in plaster, and systematic botanical remains in storage jars.',
significance: 'The "Pompeii of the Aegean". Key battleground for the absolute radiocarbon vs. archaeological ceramic chronology debate of the 2nd millennium BCE Mediterranean.',
pub: 'Akrotiri Thera Research Series'
},
{
id: 'knossos-kulp',
name: 'Knossos Urban Landscape Project (KULP)',
region: 'Crete',
subregion: 'Heraklion',
era: 'Multi-period / Rescue',
dates: '2005–Present',
lead: 'British School at Athens (BSA) & 23rd Ephorate of Antiquities',
stratigraphy: 'Comprehensive urban survey combining surface ceramics, geophysical magnetometry, and targeted soundings covering over 11 square kilometers around the Minoan Palace.',
discoveries: 'Showed that Knossos did not collapse after the Bronze Age; rather, it underwent a massive demographic boom in the Early Iron Age and Roman periods, expanding to become one of the largest Roman cities in Greece.',
significance: 'Completely transformed Knossos from being viewed solely as a Minoan palatial center to understanding its 3,000-year evolution as a massive regional metropolis.',
pub: 'Annual of the British School at Athens (BSA)'
},
{
id: 'agora',
name: 'Athenian Agora Excavations',
region: 'Attica',
subregion: 'Athens Central',
era: 'Archaic & Classical',
dates: '1931–Present (Continuous 1996–2026 campaigns)',
lead: 'American School of Classical Studies at Athens (ASCSA)',
stratigraphy: 'Continuous stratigraphy from the Neolithic to the Ottoman era, with modern 30-year campaigns focusing on the North Side of the Agora across Adrianou Street (Stoa Poikile).',
discoveries: 'Foundations of the Stoa Poikile (Painted Stoa), hundreds of ostraka (ballots for ostracism), early archaic well deposits, and detailed epigraphic decrees of Athenian democracy.',
significance: 'The foundational site for understanding the architectural, civic, and democratic machinery of Classical Athens. Pioneered digital stratigraphic recording in Greek archaeology.',
pub: 'Hesperia: The Journal of the ASCSA'
},
{
id: 'mitrou',
name: 'Mitrou Archaeological Project',
region: 'Central Greece & Macedonia',
subregion: 'East Lokris',
era: 'Bronze Age',
dates: '2004–Present',
lead: 'University of Tennessee & Greek Archaeological Service (Eleni Zahou)',
stratigraphy: 'Tidal islet containing stratified sequence from Early Helladic II through the Late Bronze Age/Early Iron Age transition (Protogeometric).',
discoveries: 'Monumental apsidal building (Building B) with high-status elite burials inside the structure, illustrating the critical shift from Mycenaean palatial hierarchy to Early Iron Age big-man political systems.',
significance: 'Crucial bridge site resolving the mystery of the "Greek Dark Ages", demonstrating unbroken settlement continuity and political evolution across the 1200 BCE palatial collapse.',
pub: 'Hesperia & Aegean Archaeology'
},
{
id: 'lykaion',
name: 'Mt. Lykaion Ash Altar & Sanctuary of Zeus',
region: 'Peloponnese',
subregion: 'Arcadia',
era: 'Archaic & Classical',
dates: '2004–Present',
lead: 'University of Arizona & Ephorate of Antiquities of Arcadia',
stratigraphy: 'High-altitude mountaintop ash altar (1382m elevation) composed entirely of burnt animal bones, soil, and votive offerings spanning Mycenaean to Hellenistic eras.',
discoveries: 'Over 40,000 burnt animal bones (98% sheep/goat), Mycenaean pottery atop the altar, mini bronze statues of Zeus hurling thunderbolts, and an adolescent human skeleton within the sacrificial ash altar.',
significance: 'Demonstrates continuous cult worship of Zeus on this peak for over 1,500 years, confirming ancient literary accounts (Pausanias) of Arcadia\'s primitive sanctuary of Zeus.',
pub: 'Journal of Field Archaeology & Hesperia'
},
{
id: 'despotiko',
name: 'Despotiko Sanctuary of Apollo',
region: 'Aegean Islands',
subregion: 'Cyclades (Despotiko near Antiparos)',
era: 'Archaic & Classical',
dates: '2001–Present',
lead: 'Ephorate of Antiquities of Cyclades (Yannos Kourayos)',
stratigraphy: 'Uninhabited islet sanctuary featuring an Archaic marble temple, auxiliary buildings, ritual baths, and extensive stoas built over an earlier Geometric shrine.',
discoveries: 'Over 85 archaic marble kouros bases and statue fragments, inscribed pottery dedications to Apollo and Artemis, Egyptian faience, and gold jewelry.',
significance: 'Proves Despotiko was the second largest Pan-Cycladic sanctuary to Apollo after Delos, demonstrating intense inter-island religious competition in the 6th century BCE.',
pub: 'Archaiologika Analekta ex Athinon'
},
{
id: 'lefkandi',
name: 'Lefkandi Toumba & Xeropolis',
region: 'Central Greece & Macedonia',
subregion: 'Euboea',
era: 'Bronze Age',
dates: '1968–Present (Active recent excavations at Xeropolis)',
lead: 'British School at Athens (BSA)',
stratigraphy: 'Monumental 10th-century BCE Heroon building followed by stratified Early Iron Age settlement quarters at the nearby coastal tell of Xeropolis.',
discoveries: 'Double burial of a cremated "warrior-hero" inside a bronze cauldron with four sacrificed horses, unlooted gold jewelry, and dense settlement layers revealing early Mediterranean seafaring.',
significance: 'Redefined European Iron Age history by proving complex architecture, elite social stratification, and Far-Eastern trade networks existed centuries before the Classical rise of the polis.',
pub: 'Lefkandi Monographs (BSA)'
}
];
// --- TAB SWITCHING LOGIC ---
function switchTab(tabId) {
const tabs = ['overview', 'sites', 'science', 'maritime', 'regulatory'];
tabs.forEach(t => {
const view = document.getElementById(`view-${t}`);
const btn = document.getElementById(`tab-${t}`);
if (t === tabId) {
view.classList.remove('hidden');
btn.classList.add('bg-terracotta-600', 'text-white', 'shadow-sm');
btn.classList.remove('text-sand-200');
} else {
view.classList.add('hidden');
btn.classList.remove('bg-terracotta-600', 'text-white', 'shadow-sm');
btn.classList.add('text-sand-200');
}
});
if (tabId === 'overview') {
renderCharts();
}
}
// --- SITE DIRECTORY RENDERING & FILTERING ---
function renderSites(data) {
const grid = document.getElementById('sites-grid');
grid.innerHTML = '';
data.forEach(site => {
const card = document.createElement('div');
card.className = 'bg-white rounded-xl border border-sand-200 p-5 shadow-sm hover:shadow-md hover:border-sand-300 transition flex flex-col justify-between cursor-pointer space-y-3';
card.onclick = () => openModal(site.id);
card.innerHTML = `
${site.region}
${site.era}
</div>

${site.name}

Lead: ${site.lead}

${site.significance}

</div>
Active: ${site.dates}
Explore Dossier →
</div>
`;
grid.appendChild(card);
});
document.getElementById('results-count').innerText = `Showing ${data.length} of ${SITES_DATA.length} cataloged sites`;
}
function filterSites() {
const query = document.getElementById('site-search').value.toLowerCase();
const region = document.getElementById('filter-region').value;
const era = document.getElementById('filter-era').value;
const filtered = SITES_DATA.filter(site => {
const matchesSearch = site.name.toLowerCase().includes(query) ||
site.subregion.toLowerCase().includes(query) ||
site.lead.toLowerCase().includes(query) ||
site.discoveries.toLowerCase().includes(query) ||
site.significance.toLowerCase().includes(query);
const matchesRegion = region === 'ALL' || site.region === region;
const matchesEra = era === 'ALL' || site.era.includes(era);
return matchesSearch && matchesRegion && matchesEra;
});
renderSites(filtered);
}
// --- MODAL CONTROLS ---
function openModal(siteId) {
const site = SITES_DATA.find(s => s.id === siteId);
if (!site) return;
document.getElementById('modal-title').innerText = site.name;
document.getElementById('modal-sub').innerText = `${site.lead} | Subregion: ${site.subregion}`;
document.getElementById('modal-region').innerText = site.region;
document.getElementById('modal-era').innerText = site.era;
document.getElementById('modal-dates').innerText = site.dates;
document.getElementById('modal-stratigraphy').innerText = site.stratigraphy;
document.getElementById('modal-discoveries').innerText = site.discoveries;
document.getElementById('modal-significance').innerText = site.significance;
document.getElementById('modal-pub').innerText = `Primary Scholarly Publication: ${site.pub}`;
// Reset AI Output state
document.getElementById('ai-summary-result').innerHTML = '';
document.getElementById('ai-summary-result').classList.add('hidden');
document.getElementById('btn-generate-summary').innerText = '✨ Generate Museum Placard';
document.getElementById('btn-generate-summary').disabled = false;
document.getElementById('site-modal').classList.remove('hidden');
}
function closeModal() {
document.getElementById('site-modal').classList.add('hidden');
}
// --- GEMINI API LLM INTEGRATION ---
const apiKey = ""; // Injected by execution environment
const GEMINI_URL = `https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-preview-09-2025:generateContent?key=${apiKey}`;
async function fetchWithBackoff(url, options, maxRetries = 5) {
const delays = [1000, 2000, 4000, 8000, 16000];
for (let i = 0; i < maxRetries; i++) {
try {
const response = await fetch(url, options);
if (!response.ok) {
if (response.status === 429 || response.status >= 500) {
throw new Error(`HTTP ${response.status}`);
}
const errorData = await response.json().catch(() => ({}));
throw new Error(errorData.error?.message || `HTTP ${response.status}`);
}
return await response.json();
} catch (error) {
if (i === maxRetries - 1) throw error;
await new Promise(res => setTimeout(res, delays[i]));
}
}
}
async function callGeminiText(prompt, systemInstruction) {
const payload = {
contents: [{ parts: [{ text: prompt }] }],
systemInstruction: { parts: [{ text: systemInstruction }] }
};
const result = await fetchWithBackoff(GEMINI_URL, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(payload)
});
return result.candidates?.[0]?.content?.parts?.[0]?.text || "No response generated.";
}
async function generateOutreachSummary() {
const btn = document.getElementById('btn-generate-summary');
const resultDiv = document.getElementById('ai-summary-result');
const title = document.getElementById('modal-title').innerText;
const stratigraphy = document.getElementById('modal-stratigraphy').innerText;
const discoveries = document.getElementById('modal-discoveries').innerText;
const significance = document.getElementById('modal-significance').innerText;
btn.disabled = true;
btn.innerText = "Consulting AI Curator...";
resultDiv.classList.remove('hidden');
resultDiv.innerHTML = 'Generating engaging museum summary...';
const prompt = `Convert the following academic archaeological data into an engaging, accessible 2-paragraph summary suitable for a museum placard or press release. Keep it historically rigorous, captivating, and do not use markdown headers.\n\nSite: ${title}\nStratigraphy: ${stratigraphy}\nDiscoveries: ${discoveries}\nSignificance: ${significance}`;
const sysPrompt = "You are an expert museum curator translating dense Hellenic archaeological excavations into compelling public placards.";
try {
const response = await callGeminiText(prompt, sysPrompt);
resultDiv.innerHTML = response.replace(/\*\*(.*?)\*\*/g, '$1').replace(/\n\n/g, '

');
btn.innerText = "✨ Placard Generated";
} catch (error) {
resultDiv.innerHTML = `Error connecting to Gemini API. Please try again.`;
btn.disabled = false;
btn.innerText = "✨ Try Again";
}
}
async function checkCompliance() {
const btn = document.getElementById('btn-check-compliance');
const resultDiv = document.getElementById('compliance-result');
const proposal = document.getElementById('proposal-input').value;
if (!proposal.trim()) return;
btn.disabled = true;
btn.innerText = "Evaluating Law 4858/2021...";
resultDiv.classList.remove('hidden');
resultDiv.innerHTML = 'Evaluating proposal against Ministry rules...';
const prompt = `Evaluate this archaeological dig proposal against Greek Antiquities Law constraints:\n\nProposal:\n"${proposal}"\n\nIdentify any violations of the regulations (permit caps, seasonal bans, surface limitations) or state if it appears fully compliant. Be concise and authoritative.`;
const sysPrompt = "You are a Hellenic Ministry of Culture official expert in Antiquities Law 4858/2021. The rules are: Max 6 field permits/year per Foreign Institute (3 excavations, 3 surveys); Max 6-8 weeks active fieldwork per year; Digging prohibited in winter months (Jan-Mar); Surface surveys capped at 3,000 hectares; Preliminary report due within 2 years. Evaluate proposals strictly.";
try {
const response = await callGeminiText(prompt, sysPrompt);
resultDiv.innerHTML = response.replace(/\*\*(.*?)\*\*/g, '$1').replace(/\n/g, '
');
btn.innerText = "✨ Re-Evaluate Proposal";
btn.disabled = false;
} catch (error) {
resultDiv.innerHTML = `Error checking compliance. Please try again.`;
btn.disabled = false;
btn.innerText = "✨ Check Compliance";
}
}
// --- PALEOGENOMICS VISUALIZER ---
function setGenomeView(type) {
const title = document.getElementById('genome-title');
const tag = document.getElementById('genome-tag');
const barAnat = document.getElementById('bar-anatolian');
const barCauc = document.getElementById('bar-caucasus');
const barStep = document.getElementById('bar-steppe');
const desc = document.getElementById('genome-desc');
const btnMinoan = document.getElementById('btn-gen-minoan');
const btnMycenaean = document.getElementById('btn-gen-mycenaean');
if (type === 'minoan') {
title.innerText = 'Minoan Genetic Ancestry (Crete ~2000 BCE)';
tag.innerText = 'Primary Anatolian Farmer Base';
barAnat.style.width = '78%';
barAnat.innerText = '78% Neolithic Anatolia';
barCauc.style.width = '17%';
barCauc.innerText = '17% Caucasus/Iran';
barStep.style.width = '5%';
barStep.innerText = '5% Other';
desc.innerText = 'Minoans derive the vast majority of their ancestry from early Neolithic farmers of Western Anatolia and the Aegean, with secondary gene flow from Caucasus/Iran hunter-gatherers, but virtually zero Steppe pastoralist admixture.';
btnMinoan.className = 'px-3 py-1 text-xs font-semibold rounded-md bg-terracotta-600 text-white transition';
btnMycenaean.className = 'px-3 py-1 text-xs font-semibold rounded-md text-sand-800 hover:text-aegean-900 transition';
} else {
title.innerText = 'Mycenaean Genetic Ancestry (Mainland Greece ~1400 BCE)';
tag.innerText = 'Anatolian Base + Steppe Admixture';
barAnat.style.width = '64%';
barAnat.innerText = '64% Neolithic Anatolia';
barCauc.style.width = '18%';
barCauc.innerText = '18% Caucasus/Iran';
barStep.style.width = '18%';
barStep.innerText = '18% Steppe Pastoralist (EHG)';
desc.innerText = 'While sharing the same deep Neolithic Anatolian roots as the Minoans, Mycenaeans show significant new admixture (~13-18%) derived from Yamnaya/Eastern European Steppe hunter-gatherers, marking the arrival of early Indo-European Greek speakers.';
btnMycenaean.className = 'px-3 py-1 text-xs font-semibold rounded-md bg-terracotta-600 text-white transition';
btnMinoan.className = 'px-3 py-1 text-xs font-semibold rounded-md text-sand-800 hover:text-aegean-900 transition';
}
}
// --- CHART RENDERING ---
let chartsInitialized = false;
function renderCharts() {
if (chartsInitialized) return;
chartsInitialized = true;
// Region Chart
const ctxRegion = document.getElementById('chart-regions')?.getContext('2d');
if (ctxRegion) {
new Chart(ctxRegion, {
type: 'doughnut',
data: {
labels: ['Aegean Islands & Dodecanese', 'Peloponnese', 'Attica (Athens)', 'Crete', 'Central Greece & Macedonia'],
datasets: [{
data: [35, 25, 15, 15, 10],
backgroundColor: ['#0284c7', '#ea580c', '#382c1b', '#65a30d', '#685437'],
borderWidth: 2,
borderColor: '#ffffff'
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: { position: 'bottom', labels: { boxWidth: 12, font: { size: 10 } } }
}
}
});
}
// Focus Chart
const ctxFocus = document.getElementById('chart-focus')?.getContext('2d');
if (ctxFocus) {
new Chart(ctxFocus, {
type: 'bar',
data: {
labels: ['Rescue / Infrastructure', 'Paleogenomics & Bioarch', 'Marine / Deep-Water', 'Stratigraphic Settlement', 'Sanctuary Cult Sites'],
datasets: [{
label: 'Percentage of Modern Research Focus (%)',
data: [32, 22, 18, 16, 12],
backgroundColor: '#0369a1',
borderRadius: 6
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
scales: {
y: { beginAtZero: true, max: 40, ticks: { font: { size: 10 } } },
x: { ticks: { font: { size: 9 } } }
},
plugins: {
legend: { display: false }
}
}
});
}
}
// --- INITIALIZATION ---
window.addEventListener('DOMContentLoaded', () => {
renderSites(SITES_DATA);
renderCharts();
});
</script>
</body>
</html>
添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论