:root {
    --bg: #050807;
    --bg-2: #0a100e;
    --bg-3: #101816;
    --green: #1f6b4a;
    --green-deep: #0d3b2e;
    --lime: #8cffb4;
    --gold: #d4b46a;
    --ink: #f3f7f4;
    --muted: #a7b8af;
    --line: rgba(140, 255, 180, 0.16);
    --glass: rgba(10, 18, 15, 0.62);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --radius: 22px;
    --nav-h: 84px;
    --font: "Outfit", system-ui, sans-serif;
    --display: "Cormorant Garamond", Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

button,
.gallery-card {
    font: inherit;
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    background: var(--lime);
    color: #052010;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-weight: 600;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.9rem 0 0;
}

.navbar {
    width: min(1180px, calc(100% - 1.25rem));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0.8rem 0.7rem 1.1rem;
    background: rgba(8, 14, 12, 0.72);
    border: 1px solid var(--line);
    border-radius: 999px;
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 10, 8, 0.92);
    box-shadow: var(--shadow);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo-mark {
    font-size: 1.35rem;
}

.logo-text {
    font-size: 1.05rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.2rem 1.35rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--lime), var(--gold));
    transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
    color: var(--ink);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.45rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:focus-visible,
.nav-link:focus-visible,
.gallery-card:focus-visible,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 3px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #d8c07a, #9f7d38);
    color: #1a1408;
    box-shadow: 0 8px 24px rgba(212, 180, 106, 0.28);
}

.btn-primary:hover {
    box-shadow: 0 14px 32px rgba(212, 180, 106, 0.4);
}

.btn-ghost,
.btn-nav {
    background: rgba(140, 255, 180, 0.08);
    color: var(--ink);
    border-color: var(--line);
}

.btn-ghost:hover,
.btn-nav:hover {
    background: rgba(140, 255, 180, 0.16);
}

.btn-nav {
    min-height: 40px;
    padding: 0.45rem 1rem;
    font-size: 0.88rem;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: center;
    padding: 5.5rem 0 5rem;
    overflow: hidden;
}

.hero-media,
.hero-bg,
.hero-veil {
    position: absolute;
    inset: 0;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.05) contrast(1.05);
}

.hero-veil {
    background:
        linear-gradient(90deg, rgba(5, 8, 7, 0.92) 8%, rgba(5, 8, 7, 0.58) 48%, rgba(5, 8, 7, 0.78) 100%),
        radial-gradient(circle at 70% 40%, rgba(31, 107, 74, 0.28), transparent 42%);
}

.hud {
    position: absolute;
    z-index: 2;
    min-width: 150px;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--glass);
    backdrop-filter: blur(12px);
    display: grid;
    gap: 0.15rem;
    color: var(--ink);
    animation: floaty 6s ease-in-out infinite;
}

.hud-tl {
    top: 18%;
    left: 4%;
}

.hud-tr {
    top: 24%;
    right: 6%;
    animation-delay: -2s;
}

.hud-label {
    color: var(--lime);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hud strong {
    font-size: 1.25rem;
}

.hud span:last-child {
    color: var(--muted);
    font-size: 0.8rem;
}

.hud-arc {
    position: absolute;
    inset: 18% 8% auto auto;
    width: min(48vw, 620px);
    height: auto;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
}

.hud-arc path {
    fill: none;
    stroke: var(--lime);
    stroke-width: 2;
    stroke-dasharray: 8 10;
    animation: dash 8s linear infinite;
}

.hud-arc circle {
    fill: var(--gold);
    filter: drop-shadow(0 0 8px var(--gold));
}

.hero-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(140, 255, 180, 0.08);
    color: var(--lime);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.hero h1,
.section-intro h2,
.experience-copy h2,
.about-copy h2,
.final-cta h2 {
    font-family: var(--display);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6.1rem);
    max-width: 9ch;
    margin-bottom: 1.1rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.lede {
    max-width: 38ch;
    color: #d7e3db;
    font-size: 1.08rem;
    margin-bottom: 1.8rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-stage {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-stage img {
    width: 100%;
    height: min(62vh, 560px);
    object-fit: cover;
}

.stage-scan {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(140, 255, 180, 0.12) 48%, transparent 100%);
    animation: scan 5.5s ease-in-out infinite;
    pointer-events: none;
}

.stage-chip {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(5, 8, 7, 0.72);
    border: 1px solid var(--line);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 1.4rem;
    transform: translateX(-50%);
    z-index: 4;
    display: grid;
    justify-items: center;
    gap: 0.4rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mouse {
    width: 22px;
    height: 34px;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    width: 3px;
    height: 7px;
    border-radius: 99px;
    background: var(--lime);
    transform: translateX(-50%);
    animation: scroll 1.8s infinite;
}

/* Sections */
.features,
.gallery {
    padding: 6.5rem 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(31, 107, 74, 0.18), transparent 32%),
        var(--bg-2);
}

.experience,
.about {
    padding: 6.5rem 0;
    background: var(--bg);
}

.section-intro {
    max-width: 720px;
    margin: 0 auto 3.2rem;
    text-align: center;
}

.section-kicker {
    color: var(--lime);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.section-intro h2,
.experience-copy h2,
.about-copy h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    margin-bottom: 0.8rem;
}

.section-intro p,
.experience-copy p,
.about-copy p {
    color: var(--muted);
    font-size: 1.05rem;
}

.feature-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.feature-card {
    padding: 1.7rem 1.5rem 1.6rem;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(140, 255, 180, 0.4);
    box-shadow: 0 18px 40px rgba(31, 107, 74, 0.22), 0 0 24px rgba(140, 255, 180, 0.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    margin-bottom: 1.1rem;
    font-size: 1.6rem;
    background: rgba(140, 255, 180, 0.08);
    box-shadow: 0 0 24px rgba(140, 255, 180, 0.12);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.55rem;
}

.feature-card p {
    color: var(--muted);
}

.experience-layout,
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem;
    align-items: center;
}

.highlights {
    list-style: none;
    display: grid;
    gap: 1.1rem;
    margin: 1.8rem 0 2rem;
}

.highlights li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
}

.check {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--green), #2f9a66);
    color: white;
    font-weight: 700;
}

.highlights h3 {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.experience-visual,
.about-visual {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.experience-visual img,
.about-visual img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.shot-path {
    position: absolute;
    inset: 8% 6% auto 6%;
    width: 88%;
    pointer-events: none;
}

.shot-path path {
    fill: none;
    stroke: var(--lime);
    stroke-width: 3;
    stroke-dasharray: 6 8;
    filter: drop-shadow(0 0 6px var(--lime));
    animation: dash 5s linear infinite;
}

.visual-stats {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.visual-stats span {
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(5, 8, 7, 0.72);
    border: 1px solid var(--line);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.gallery-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    text-align: left;
    min-height: 320px;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
    transform: scale(1.08);
}

.gallery-copy {
    position: absolute;
    inset: auto 0 0;
    padding: 4.5rem 1.2rem 1.2rem;
    background: linear-gradient(transparent, rgba(5, 8, 7, 0.92));
    display: grid;
    gap: 0.25rem;
}

.gallery-copy strong {
    font-size: 1.2rem;
}

.gallery-copy span {
    color: #d5e0d9;
    font-size: 0.95rem;
}

.trust-line {
    margin-top: 1.5rem !important;
    color: var(--gold) !important;
    font-family: var(--display);
    font-size: 1.45rem !important;
    font-style: italic;
    letter-spacing: 0.04em;
}

.final-cta {
    position: relative;
    min-height: 62vh;
    display: grid;
    place-items: center;
    text-align: center;
    overflow: hidden;
}

.cta-bg,
.cta-veil {
    position: absolute;
    inset: 0;
}

.cta-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-veil {
    background: linear-gradient(180deg, rgba(5, 8, 7, 0.35), rgba(5, 8, 7, 0.78));
}

.cta-inner {
    position: relative;
    z-index: 1;
    padding: 6rem 0;
}

.final-cta h2 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    max-width: 14ch;
    margin: 0 auto 1rem;
}

.final-cta p {
    color: #e5eee8;
    margin-bottom: 1.6rem;
    font-size: 1.1rem;
}

.footer {
    background: #040605;
    border-top: 1px solid var(--line);
    padding: 3.5rem 0 1.4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2.4rem;
}

.footer-brand p,
.footer a {
    color: var(--muted);
    text-decoration: none;
}

.footer h2 {
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
    color: var(--ink);
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.footer a:hover,
.footer a:focus-visible {
    color: var(--lime);
}

.footer-brand .logo {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Legal pages */
.legal-page {
    padding: 8rem 0 5rem;
}

.legal-page h1 {
    font-family: var(--display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin-bottom: 1.2rem;
}

.legal-page h2 {
    margin: 2rem 0 0.7rem;
}

.legal-page p,
.legal-page li {
    color: var(--muted);
    max-width: 72ch;
}

.legal-page ul {
    margin: 0.6rem 0 1.2rem 1.2rem;
}

/* Lightbox */
.lightbox[hidden] {
    display: none;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
}

.lightbox-dialog {
    position: relative;
    width: min(1100px, calc(100% - 2rem));
    margin: 6vh auto 0;
    display: grid;
    justify-items: center;
}

.lightbox-dialog img {
    max-height: 74vh;
    width: auto;
    max-width: 100%;
    border-radius: 16px;
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 0.8rem;
    color: #fff;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
}

.lightbox-close {
    top: -3.2rem;
    right: 0;
    font-size: 1.6rem;
}

.lightbox-nav {
    top: 42%;
    font-size: 1.8rem;
}

.lightbox-nav.prev {
    left: -0.4rem;
}

.lightbox-nav.next {
    right: -0.4rem;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: rise 0.8s ease forwards;
    animation-play-state: paused;
}

.reveal.in-view {
    animation-play-state: running;
}

@keyframes rise {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes dash {
    to { stroke-dashoffset: -180; }
}

@keyframes scan {
    0%, 100% { transform: translateY(-40%); opacity: 0.2; }
    50% { transform: translateY(40%); opacity: 0.55; }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

@media (max-width: 980px) {
    .hero-grid,
    .experience-layout,
    .about-layout,
    .feature-grid,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hud-tl,
    .hud-tr,
    .hud-arc {
        display: none;
    }

    .hero {
        padding-top: 6.5rem;
    }

    .hero h1 {
        max-width: none;
    }

    .experience-visual img,
    .about-visual img,
    .hero-stage img {
        height: 380px;
    }

    .about-visual {
        order: -1;
    }
}

@media (max-width: 760px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu .btn-nav {
        width: 100%;
        margin-top: 0.35rem;
    }

    .lightbox-nav.prev {
        left: 0.4rem;
    }

    .lightbox-nav.next {
        right: 0.4rem;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 0.7rem);
        left: 0.6rem;
        right: 0.6rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 20px;
        background: rgba(7, 12, 10, 0.96);
        border: 1px solid var(--line);
    }

    .nav-menu.open {
        display: flex;
    }

    .navbar {
        position: relative;
        border-radius: 22px;
    }

    .site-header {
        padding: 0.7rem 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal,
    .hud,
    .hud-arc path,
    .shot-path path,
    .stage-scan,
    .mouse::before {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
}
