:root {
    --color-bg: #0a0a0b;
    --color-bg-dark: #000000;
    --color-gold: #c9a050;
    --color-gold-muted: rgba(201, 160, 80, 0.4);
    --color-crimson: #8b0000;
    --color-text: #f5f5f5;
    --color-text-muted: #a0a0a0;
    --color-highlight: #ffffff;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    --ease-silk: cubic-bezier(0.65, 0.05, 0.36, 1);
    --transition-slow: 1.5s var(--ease-silk);
    --transition-medium: 0.8s var(--ease-silk);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 1. 3D Cinematic Entrance Styling */
.loader-3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.loader-perspective {
    width: 100%;
    height: 100%;
    perspective: 2000px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.gate-layer {
    position: absolute;
    width: 200%;
    height: 200%;
    background: #000;
    border: 1px solid rgba(201, 160, 80, 0.1);
    transform-style: preserve-3d;
    transition: all 2.5s var(--ease-silk);
}

.layer-back {
    transform: translateZ(-800px);
}

.layer-mid {
    transform: translateZ(-400px);
}

.layer-front {
    transform: translateZ(0);
}

.loader-logo {
    position: relative;
    z-index: 10;
    text-align: center;
    transform: translateZ(400px);
}

.loader-logo h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-gold);
    margin: 1rem 0;
    letter-spacing: 1rem;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(201, 160, 80, 0.4);
}

.est-tag {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.5rem;
    color: var(--color-text-muted);
}

.load-bar-container {
    width: 200px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem auto;
    overflow: hidden;
}

.load-bar {
    width: 100%;
    height: 100%;
    background: var(--color-gold);
    transform: translateX(-100%);
    animation: load-progress 2s cubic-bezier(0.85, 0, 0.15, 1) forwards;
}

@keyframes load-progress {
    to {
        transform: translateX(0);
    }
}

/* Exit State: Triggered via JS */
.loader-3d.exit .layer-front {
    transform: translateZ(1500px) rotateX(45deg);
    opacity: 0;
}

.loader-3d.exit .layer-mid {
    transform: translateZ(1000px) rotateX(-30deg);
    opacity: 0;
}

.loader-3d.exit .layer-back {
    transform: translateZ(500px);
    opacity: 0;
}

.loader-3d.exit .loader-logo {
    opacity: 0;
    transform: translateZ(1200px) scale(1.5);
    transition: 1.5s;
}

.loader-3d.exit {
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s 1.5s;
}

/* Main Content Reveal Focus */
#hero {
    transition: transform 2s var(--ease-silk);
}

.loader-3d:not(.exit)~#hero {
    transform: scale(1.1) translateZ(-200px);
}

/* Custom Cursor */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid var(--color-highlight);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s linear;
    z-index: 9999;
    mix-blend-mode: difference;
    display: none;
    /* JS will enable for desktop */
}

@media (min-width: 1024px) {
    .cursor-follower {
        display: block;
    }
}

/* 1.5 Premium Floating Navigation */
.fixed-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 1.2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 11, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.8s var(--ease-silk);
    border-radius: 4px;
}

.fixed-nav.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    padding: 1rem 10%;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--color-gold-muted);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-gold);
    text-decoration: none;
    letter-spacing: 0.5rem;
    font-weight: 300;
    transition: letter-spacing 0.5s var(--ease-silk);
}

.logo:hover {
    letter-spacing: 0.8rem;
}

.nav-links {
    display: flex;
    gap: 4rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-text-muted);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.5s var(--ease-silk);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.8s var(--ease-silk);
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 25px;
    height: 1px;
    background-color: var(--color-gold);
    margin: 6px 0;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .burger {
        display: block;
    }
}

/* 1. Hero Section */
.video-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* 1.6 Page Hero System (Sub-pages) */
.page-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6) contrast(1.1);
    transform: scale(1.1);
    animation: hero-zoom 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes hero-zoom {
    from { transform: scale(1.1); }
    to { transform: scale(1.3) rotate(1deg); }
}

.hero-overlay-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.ghost-title {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 15rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 2;
    user-select: none;
    pointer-events: none;
    letter-spacing: 2rem;
}

.hero-content-island {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-content-island h1 {
    font-family: var(--font-heading);
    font-size: 6rem;
    color: #fff;
    margin: 1.5rem 0;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-content-island p {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1rem;
    line-height: 1.8;
}

.pillar-tag-island {
    display: inline-block;
    padding: 0.5rem 2rem;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.4rem;
    margin-bottom: 2rem;
    background: rgba(201, 160, 80, 0.05);
}

.about-bg { background-image: url('https://images.unsplash.com/photo-1552566626-52f8b828add9?auto=format&fit=crop&q=80&w=2000'); }
.menu-bg { background-image: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&q=80&w=2000'); }
.contact-bg { background-image: url('https://images.unsplash.com/photo-1560624052-449f5ddf0c31?auto=format&fit=crop&q=80&w=2000'); }

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cinematic-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* Simulated Video Motion: Slow Zoom & Pan */
    animation: ken-burns 20s infinite alternate linear;
}

@keyframes ken-burns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(-2%, -2%);
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(5, 5, 5, 0.3),
            rgba(5, 5, 5, 0.6) 80%,
            var(--color-bg));
    z-index: 1;
    /* Film Grain Simulation */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 10;
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition-slow);
}

.hero-content.active {
    transform: translateY(0);
    opacity: 1;
}

.cinematic-title {
    font-family: var(--font-heading);
    font-size: 7rem;
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.4rem;
    margin-bottom: 3rem;
    color: var(--color-gold);
    font-weight: 400;
}

.btn-primary {
    padding: 1.2rem 3.5rem;
    background: var(--color-gold);
    color: var(--color-bg);
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.5s var(--ease-silk);
    position: relative;
    overflow: hidden;
}



.btn-primary:hover::after {
    transform: translate(-50%, -50%) rotate(45deg) translateY(-100%);
}

.btn-primary:hover {
    box-shadow: 0 10px 40px rgba(201, 160, 80, 0.4);
}

/* 1.7 Global Mobile Responsiveness & Polish */
@media (max-width: 768px) {
    .page-hero {
        height: 70vh;
    }

    .hero-content-island h1 {
        font-size: 3rem;
    }

    .ghost-title {
        font-size: 5rem;
        letter-spacing: 0.5rem;
        opacity: 0.05;
        top: 20%;
    }

    .pillar-tag-island {
        padding: 0.4rem 1.2rem;
        letter-spacing: 0.2rem;
        font-size: 0.6rem;
    }

    .hero-content-island p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .fixed-nav {
        top: 0;
        width: 100%;
        max-width: 100%;
        padding: 0.8rem 1.5rem;
        border-radius: 0;
    }

    .logo {
        font-size: 1.4rem;
    }

    .loader-logo h1 {
        font-size: 3rem;
        letter-spacing: 0.5rem;
    }

    /* Reset Section 2 editorial masks for mobile */
    .editorial-visual-container {
        height: 180px;
    }
}
/* 2. Philosophy Editorial Panels Styling */
.panel-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    scroll-snap-align: start;
    background: #000;
}

.panel-inner {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 2rem;
}

.pillar-tag {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
    display: block;
}

.editorial-title {
    font-family: var(--font-heading);
    font-size: 6rem;
    color: #fff;
    margin-bottom: 4rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.silk-text {
    font-style: italic;
    color: var(--color-gold);
}

.editorial-visual-container {
    width: 100%;
    height: 250px;
    margin: 4rem 0;
    position: relative;
    display: flex;
    justify-content: center;
}

.editorial-mask {
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7) sepia(0.2);
    transition: all 1.5s var(--ease-silk);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.panel-section:hover .editorial-mask {
    width: 70%;
    filter: brightness(1) sepia(0);
}

.editorial-summary {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .editorial-title {
        font-size: 3.5rem;
    }

    .editorial-mask {
        width: 90%;
    }
}

@keyframes gradient-shift {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }

    100% {
        transform: scale(1.3);
        opacity: 0.4;
    }
}

.panel-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}

.panel-content p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 600px;
}

/* 3. Culinary Journey Enhanced */
.sticky-scroll-container {
    height: 400vh;
    /* Longer scroll for more detail */
    position: relative;
    background: var(--color-bg-dark);
}

.journey-progress {
    position: fixed;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.progress-bar {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.progress-step {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: all 0.5s var(--ease-silk);
    cursor: pointer;
    padding: 0.5rem 0;
    z-index: 1;
}

.progress-step.active {
    color: var(--color-gold);
    transform: scale(1.5);
}

.sticky-wrapper {
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
}

.journey-stage {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1.2s var(--ease-silk);
    display: flex;
    justify-content: center;
    align-items: center;
}

.journey-stage.active {
    opacity: 1;
}

.stage-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 3s var(--ease-silk);
}

.journey-stage.active .stage-bg {
    transform: scale(1.1);
}

.stage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.8) 0%,
            transparent 60%,
            rgba(0, 0, 0, 0.8) 100%),
        rgba(0, 0, 0, 0.3);
}

.stage-content {
    z-index: 10;
    max-width: 800px;
    text-align: center;
    padding: 4rem;
    /* Glassmorphism Refined */
    background: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(201, 160, 80, 0.2);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    transform: translateY(40px);
    opacity: 0;
    transition: all 1s var(--ease-silk) 0.3s;
}

.journey-stage.active .stage-content {
    transform: translateY(0);
    opacity: 1;
}

.stage-tag {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.stage-content h3 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 2rem;
    color: #fff;
    font-weight: 400;
}

.stage-content p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    font-weight: 300;
}

/* 4. Culinary Artistry Gallery Enhanced */
.horizontal-scroll-section {
    width: 100%;
    background: var(--color-bg-dark);
    padding: 10rem 0;
    position: relative;
}

.gallery-wrapper {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    cursor: grab;
}

.gallery-header {
    text-align: center;
    margin-bottom: 5rem;
    padding: 0 4rem;
}

.gallery-header.scroll-reveal {
    transform: none;
    /* No vertical jump */
    opacity: 0;
    transition: opacity 1.5s var(--ease-silk);
}

.gallery-header.scroll-reveal.active {
    opacity: 1;
    transform: none;
}

.gallery-header h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 5rem;
    padding-bottom: 2rem;
}

.gallery-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.5s var(--ease-silk);
    position: relative;
}

.gallery-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s var(--ease-silk);
}

.gallery-dot.active {
    background: var(--color-gold);
    transform: scale(1.2);
}

.gallery-dot.active::before {
    opacity: 1;
    width: 24px;
    height: 24px;
}

.horizontal-track {
    display: flex;
    width: max-content;
    padding: 0 10vw;
    gap: 4rem;
    cursor: grab;
    transition: transform 0.1s ease-out;
}

.card-large {
    width: 30vw;
    height: 70vh;
    background: #111;
    position: relative;
    flex-shrink: 0;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    border: 1px solid rgba(201, 160, 80, 0.1);
    transition: border 1.5s var(--ease-silk);
}

.card-large:hover {
    border: 1px solid var(--color-gold);
}

.card-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    color: var(--color-gold);
    opacity: 0.6;
}

.card-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    transition: transform 2.5s var(--ease-silk);
    /* SLOWER movement */
    z-index: 0;
}

.card-large:hover .card-video-bg {
    transform: scale(1.08);
    /* Minimal scale for elegance */
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(10, 10, 11, 0.9) 0%,
            rgba(10, 10, 11, 0.2) 50%,
            transparent 100%);
    z-index: 1;
    transition: opacity 1.5s var(--ease-silk);
}

.card-large:hover .card-overlay {
    opacity: 0.8;
}

.card-large h3 {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 1s var(--ease-silk);
}

.card-large:hover h3 {
    transform: translateY(0);
    color: var(--color-gold);
}

.card-desc {
    position: relative;
    z-index: 2;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s var(--ease-silk) 0.1s;
    max-width: 280px;
}

.card-large:hover .card-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Oriental Decorative Corner */
.card-large::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
    border-top: 2px solid var(--color-gold);
    border-left: 2px solid var(--color-gold);
    z-index: 3;
    opacity: 0.3;
    transition: opacity 1s var(--ease-silk);
}

.card-large:hover::before {
    opacity: 1;
}

/* 10. Modal Overlay System Styling */
.modal-system {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s var(--ease-silk);
}

.modal-system.active {
    display: flex;
    opacity: 1;
}

.modal-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(40px);
}

.modal-content {
    position: relative;
    width: 85%;
    max-width: 1200px;
    height: 70vh;
    background: #0d0d0e;
    z-index: 10;
    display: flex;
    box-shadow: 0 50px 150px rgba(0, 0, 0, 0.8);
    transform: scale(0.9) translateY(40px);
    transition: all 1s var(--ease-silk);
    border: 1px solid rgba(201, 160, 80, 0.2);
}

.modal-system.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: transparent;
    border: none;
    color: var(--color-gold);
    font-size: 3rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

.modal-img-container {
    flex: 1.2;
    overflow: hidden;
    position: relative;
}

.modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slow-zoom 20s infinite alternate;
}

.modal-details {
    flex: 1;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-separator {
    width: 60px;
    height: 1px;
    background: var(--color-gold);
    margin-bottom: 2rem;
}

#modal-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

#modal-description {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 2.2;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

.price-tag {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

@keyframes slow-zoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .modal-layout {
        flex-direction: column;
        overflow-y: auto;
    }

    .modal-content {
        width: 95%;
        height: 90vh;
    }

    .modal-details {
        padding: 2rem;
    }

    #modal-title {
        font-size: 2.5rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        z-index: 11;
    }

    .cinematic-title {
        font-size: 3rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .fixed-nav {
        padding: 1.5rem;
    }
}

/* 8. Contact & Map Styling Enhanced */
.contact-section {
    padding: 10rem 4rem;
    background: #050505;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 10rem;
    align-items: center;
}

.contact-form-pane h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: #fff;
    margin: 1rem 0 3.5rem;
}

.premium-form {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.form-group {
    position: relative;
}

.premium-form input,
.premium-form textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s;
}

.premium-form label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    pointer-events: none;
    transition: all 0.4s var(--ease-silk);
}

.premium-form input:focus~label,
.premium-form input:not(:placeholder-shown)~label,
.premium-form textarea:focus~label,
.premium-form textarea:not(:placeholder-shown)~label {
    top: -1.5rem;
    font-size: 0.7rem;
    color: var(--color-gold);
}

.premium-form .bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.6s var(--ease-silk);
}

.premium-form input:focus~.bar,
.premium-form textarea:focus~.bar {
    width: 100%;
}

.contact-info-pane {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.8rem;
    color: var(--color-gold);
    padding: 1.5rem;
    background: rgba(201, 160, 80, 0.05);
    border: 1px solid rgba(201, 160, 80, 0.1);
    transition: all 0.5s var(--ease-silk);
}

.info-item:hover .info-icon {
    background: var(--color-gold);
    color: #000;
}

.info-text h3 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.info-text p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.map-wrapper {
    width: 100%;
    height: 350px;
    filter: invert(100%) hue-rotate(180deg) brightness(0.9) contrast(0.9) grayscale(100%);
    opacity: 0.7;
    transition: all 1s var(--ease-silk);
}

.map-wrapper:hover {
    filter: invert(100%) hue-rotate(180deg) brightness(1) contrast(1) grayscale(0%);
    opacity: 1;
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
}

/* 5. Admin - Canvas */
.abstract-section {
    height: 80vh;
    position: relative;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas#data-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.content-overlay {
    z-index: 2;
    text-align: center;
    pointer-events: none;
}

/* Scroll Reveal Util */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 6. Grid */
.grid-section {
    padding: 5rem;
    background: var(--color-bg);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-item {
    aspect-ratio: 16/9;
    background: #111;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}


.hover-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    mix-blend-mode: color-dodge;
}

.grid-item:hover .hover-video {
    opacity: 0.2;
}

.grid-item:hover h4 {
    transform: translateY(-10px);
    color: var(--color-highlight);
}

.grid-item h4 {
    z-index: 2;
    font-size: 1.5rem;
    transition: all 0.5s;
}

/* 7. Impact */
.emotional-section {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, #1a1a1a 0%, #000 100%);
    text-align: center;
}

.fade-in-text {
    font-family: var(--font-heading);
    font-size: 4rem;
    opacity: 0.5;
}

/* 9. Final CTA */
.final-cta {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #000, #140d05);
    /* Sunset hint */
    position: relative;
    overflow: hidden;
}

.sunset-bg {
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 100, 0, 0.1) 0%, transparent 60%);
    animation: pulp 10s infinite alternate;
}

.btn-glow {
    margin-top: 2rem;
    padding: 1.5rem 4rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.2rem;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s;
}

.btn-glow:hover {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

footer {
    padding: 3rem;
    border-top: 1px solid #111;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* FINAL COMPREHENSIVE MOBILE REFINEMENT */
@media (max-width: 768px) {
    /* 1. Reset Global Layout */
    .container {
        padding: 0 1.5rem;
    }

    /* 2. Hero & Typography Refinement */
    .cinematic-title {
        font-size: 2.8rem;
        letter-spacing: -0.01em;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 0.3rem;
        margin-bottom: 2rem;
    }

    .btn-primary {
        padding: 1rem 2.5rem;
        font-size: 0.7rem;
    }

    /* 3. Philosophy Section (Triple-Act) */
    .panel-section {
        height: auto;
        padding: 6rem 0;
    }

    .editorial-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .editorial-mask {
        width: 100%;
        height: 200px;
        clip-path: none; /* Remove slanted mask for cleaner mobile look */
        border-radius: 4px;
    }

    .editorial-summary {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* 4. Journey Section (Sticky Scroll) */
    .sticky-scroll-container {
        height: auto;
    }

    .journey-progress {
        display: none; /* Hide side indicator on mobile */
    }

    .sticky-wrapper {
        position: relative;
    }

    .journey-stage {
        height: auto;
        padding: 4rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .stage-content h3 {
        font-size: 2rem;
    }

    /* 5. Artistry Gallery (Horizontal to Vertical) */
    .horizontal-scroll-section {
        padding: 5rem 0;
    }

    .horizontal-track {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1.5rem;
        width: 100%;
    }

    .card-large {
        width: 100%;
        height: auto;
        min-height: 400px;
    }

    .card-video-bg {
        height: 250px;
    }

    /* 6. Grid & Contact */
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .grid-item {
        aspect-ratio: 2/1;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .info-blocks {
        gap: 2rem;
    }

    .map-wrapper {
        height: 300px;
    }

    /* 7. Footer & Extras */
    footer {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 4rem 1.5rem;
    }

    .modal-layout {
        flex-direction: column;
    }

    .modal-img-container {
        width: 100%;
        height: 200px;
    }
}