/* 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 { useEffect, useRef } from "react" import { Icon } from "@iconify/react" export default function Page() { const lightCorridorRef = useRef(null) const portalVideoRef = useRef(null) const heroTextRef = useRef(null) useEffect(() => { const observerOptions = { root: null, rootMargin: "0px 0px -10% 0px", threshold: 0.1, } const observer = new IntersectionObserver((entries) => { entries.forEach((entry) => { if (entry.isIntersecting) { entry.target.classList.add("active") observer.unobserve(entry.target) } }) }, observerOptions) const revealElements = document.querySelectorAll(".reveal-up:not(.active)") revealElements.forEach((el) => observer.observe(el)) let ticking = false const handleScroll = () => { if (!ticking) { requestAnimationFrame(() => { const scrolled = window.scrollY const parallaxCards = document.querySelectorAll(".parallax-card") if (lightCorridorRef.current) { const hueRotate = Math.min(scrolled * 0.15, 180) lightCorridorRef.current.style.filter = `hue-rotate(${hueRotate}deg)` lightCorridorRef.current.style.transform = `translateX(-50%) translateY(${scrolled * 0.2}px) scale(${1 + scrolled * 0.0005})` } if (portalVideoRef.current && scrolled < window.innerHeight * 1.5) { portalVideoRef.current.style.transform = `scale(${1.02 + scrolled * 0.0002}) translateY(${scrolled * 0.1}px)` } if (heroTextRef.current && scrolled < window.innerHeight) { heroTextRef.current.style.transform = `translateY(${scrolled * -0.08}px)` } parallaxCards.forEach((card) => { const rect = card.getBoundingClientRect() if (rect.top < window.innerHeight && rect.bottom > 0) { const yOffset = (window.innerHeight - rect.top) * 0.05 ;(card as HTMLElement).style.transform = `translateY(-${yOffset}px)` } }) ticking = false }) ticking = true } } window.addEventListener("scroll", handleScroll) return () => { observer.disconnect() window.removeEventListener("scroll", handleScroll) } }, []) return ( <>
4,000 Meters Above

Floating
Sanctuaries

Experience extreme Andean orography where tectonic levitation meets cloud-forest biodiversity. A luxury archeo-tourism expedition bridging the ancient stone with infinite light.

Elevation 13,123 ft
Atmosphere Pristine

Tectonic
Levitation

Glacial runoff dynamics carve through the monolithic stone, creating ecosystems suspended between the earth and the Andean sky.

01. Lithic Precision

Sacsayhuamán Scale

Polygonal masonry engineered with millimeter precision. The massive interlocking blocks required zero mortar, relying on gravity and absolute mathematical exactitude to withstand centuries of seismic activity.

02. Biological Altitudes

Cloud-Forest Flora

The agricultural terraces (Andenes) act as vast open-air laboratories. Microclimates generated by the stepped architecture allow exotic biodiversity to thrive in the thinnest of atmospheres.

) }