/* OpenHero source by Cristian Olivera Chávez. MIT License Copyright (c) 2026 Cristian Olivera Chávez Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ "use client"; import { Icon } from "@iconify/react"; import { Inter, JetBrains_Mono, Playfair_Display } from "next/font/google"; import { useEffect, useRef } from "react"; const inter = Inter({ subsets: ["latin"], variable: "--font-inter" }); const playfair = Playfair_Display({ subsets: ["latin"], variable: "--font-playfair", style: ["normal", "italic"] }); const mono = JetBrains_Mono({ subsets: ["latin"], variable: "--font-mono" }); export default function Page() { const navbarRef = useRef(null); const videoContainerRef = useRef(null); const heroTextRef = useRef(null); useEffect(() => { let ticking = false; const handleScroll = () => { if (ticking) return; ticking = true; window.requestAnimationFrame(() => { const scrolled = window.scrollY; const navbar = navbarRef.current; const videoContainer = videoContainerRef.current; if (navbar) { navbar.classList.toggle("scrolled", scrolled > 50); } if (videoContainer && scrolled < window.innerHeight * 1.5) { const rotation = scrolled * 0.02; const scale = 1 + scrolled * 0.0005; videoContainer.style.transform = `scale(${scale}) rotate(${rotation}deg)`; } ticking = false; }); }; const handleMouseMove = (e: MouseEvent) => { const heroTextContainer = heroTextRef.current; if (!heroTextContainer) return; const xAxis = (window.innerWidth / 2 - e.pageX) / 50; const yAxis = (window.innerHeight / 2 - e.pageY) / 50; heroTextContainer.style.transform = `translate3d(${xAxis}px, ${yAxis}px, 0)`; }; const observer = new IntersectionObserver( (entries) => { entries.forEach((entry) => { if (entry.isIntersecting) { entry.target.classList.add("active"); observer.unobserve(entry.target); } }); }, { root: null, rootMargin: "0px 0px -10% 0px", threshold: 0.1, } ); document.querySelectorAll(".reveal-up").forEach((el) => observer.observe(el)); window.addEventListener("scroll", handleScroll, { passive: true }); document.addEventListener("mousemove", handleMouseMove, { passive: true }); handleScroll(); return () => { window.removeEventListener("scroll", handleScroll); document.removeEventListener("mousemove", handleMouseMove); observer.disconnect(); }; }, []); return (
Lat 41.8902° N / Lon 12.4922° E
Flavian Amphitheater

Engineering
The Empire

A masterclass in Travertine structural mass. Explore the exactitude of ancient logistics, where monumental geometry meets absolute spatial dominance in the heart of Rome.

Capacity 80,000
Material Travertine

Architectural
Archeology

Extracting the logic behind the empire's most sophisticated mechanical environment.

01. Subterranean Logistics

Hypogeum Mechanics

A complex two-level subterranean network of tunnels and 32 animal pens. Utilizing a system of pulleys and capstans operated by intricate kinetic engineering to elevate scenery seamlessly into the arena.

02. Crowd Dynamics

Vomitoria Efficiency

76 public entrances calibrated for hyper-efficient macroscopic flow. The vaulted passage architecture allowed an audience of 80,000 to evacuate the structural mass in exactly 15 minutes.

03. Environmental Control

Velarium Implementation

An active retractable awning system engineered by sailors of the Roman fleet. Manipulating massive canvas sails to regulate thermal exposure and create microclimates within the cavea.

Travertine Matrix

100,000 Cubic Meters
); }