:root {
    --bg: #0a0a0a;
    --bg-elevated: #111111;
    --surface: #181818;
    --text: #f5f5f5;
    --text-muted: #9a9a9a;
    --accent: #c9a86c;
    --accent-dark: #a38455;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --radius: 4px;
    --max-width: 1280px;
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-sans: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 1000;
    background: var(--accent);
    color: var(--bg);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 500;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 1rem;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav__logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
    transition: color var(--transition);
}

.nav__logo:hover {
    color: var(--accent);
}

.nav__menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav__link {
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
    padding: 0.5rem 0;
}

.nav__link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav__link:hover,
.nav__link:focus {
    color: var(--text);
}

.nav__link:hover::after,
.nav__link:focus::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    text-align: center;
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
    text-align: center;
}

.hero__eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1rem;
    text-align: center;
    opacity: 0;
    animation: fadeUp 0.8s ease-out 0.2s forwards;
}

.hero__title {
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 0.85;
    margin-bottom: 1.5rem;
    text-align: center;
    opacity: 0;
    animation: fadeUp 1s ease-out 0.4s forwards;
}

.hero__tagline {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    text-align: center;
    opacity: 0;
    animation: fadeUp 0.8s ease-out 0.6s forwards;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: 1px solid var(--text);
    border-radius: 100px;
    font-weight: 500;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
    opacity: 0;
    animation: fadeUp 0.8s ease-out 0.8s forwards;
}

.hero__cta:hover,
.hero__cta:focus {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
    transform: translateY(-2px);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.section {
    padding: 8rem 0;
}

.section__header {
    max-width: 640px;
    margin-bottom: 4rem;
}

.section__number {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
}

.section h2 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.section__lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 540px;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

.gallery__item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.gallery__item:hover img,
.gallery__item:focus-within img {
    transform: scale(1.05);
}

.gallery__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    transform: translateY(10px);
    opacity: 0;
    transition: opacity var(--transition), transform var(--transition);
}

.gallery__item:hover .gallery__caption,
.gallery__item:focus-within .gallery__caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery__caption h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.gallery__caption span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
}

/* About */
.about {
    background: var(--bg-elevated);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.about__images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about__img {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    transition: transform var(--transition);
}

.about__img:hover {
    transform: translateY(-4px);
}

.about__img--1 {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

.about__img--2,
.about__img--3 {
    aspect-ratio: 1 / 1;
}

.about__text p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
}

/* Contact */
.contact {
    text-align: center;
}

.contact__lead {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 480px;
    margin: 0 auto 2.5rem;
}

.contact__cta {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.25rem;
    transition: color var(--transition), border-color var(--transition);
}

.contact__cta:hover,
.contact__cta:focus {
    color: var(--text);
    border-color: var(--text);
}

.contact__note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
    opacity: 0.6;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer__top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    transition: color var(--transition), border-color var(--transition), transform var(--transition);
}

.footer__top:hover,
.footer__top:focus {
    color: var(--text);
    border-color: var(--text);
    transform: translateY(-2px);
}

/* Responsive */
@media (min-width: 640px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery__item--wide {
        grid-column: span 2;
    }

    .gallery__item--tall {
        grid-row: span 2;
    }
}

@media (min-width: 900px) {
    .container {
        padding: 0 3rem;
    }

    .nav__inner {
        padding: 0 3rem;
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .about__grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 6rem;
    }

    .about__images {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__img--1 {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        height: 100%;
    }

    .about__img--2 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .about__img--3 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
}

@media (max-width: 640px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        max-width: 280px;
        height: 100vh;
        flex-direction: column;
        gap: 0;
        padding: 6rem 2rem 2rem;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(12px);
        transform: translateX(100%);
        transition: transform var(--transition);
    }

    .nav__menu--open {
        transform: translateX(0);
    }

    .nav__menu::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition);
        z-index: -1;
    }

    .nav__menu--open::before {
        opacity: 1;
    }

    .nav__link {
        display: block;
        padding: 1rem 0;
        font-size: 1.25rem;
        border-bottom: 1px solid var(--border);
    }

    .nav__toggle {
        display: flex;
    }

    .hero__content {
        padding: 1rem;
    }

    .section {
        padding: 5rem 0;
    }

    .gallery__caption {
        opacity: 1;
        transform: translateY(0);
    }

    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- GPS coords + facts + lightbox (2026-07 additions) ---------- */

.hero__coords {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    z-index: 3;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: rgba(245, 245, 245, 0.55);
    display: none;
}

@media (min-width: 900px) {
    .hero__coords { display: block; }
}

.gallery__coords {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.about__facts {
    list-style: none;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.75rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.about__facts li::before {
    content: '— ';
    color: var(--accent);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(10, 10, 10, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.lightbox--open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox__figure {
    max-width: min(1200px, 88vw);
    max-height: 84vh;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lightbox__figure img {
    max-width: 100%;
    max-height: calc(84vh - 40px);
    object-fit: contain;
}

.lightbox__caption {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text);
}

.lightbox__caption span:last-child {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: fixed;
    background: none;
    border: 0;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition);
    font-family: var(--font-sans);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { color: var(--text); }

.lightbox__close { top: 1.25rem; right: 1.5rem; font-size: 2rem; line-height: 1; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); font-size: 2.75rem; padding: 1.25rem; }
.lightbox__prev { left: 0.5rem; }
.lightbox__next { right: 0.5rem; }

@media (max-width: 640px) {
    .lightbox__prev, .lightbox__next { font-size: 1.75rem; padding: 0.75rem; }
    .lightbox__figure { max-width: 94vw; }
}
