:root {
    --bg: #030303;     /* Vantablack deep */
    --accent: #c19b6c; /* Rich tarnished gold */
    --text: #e0dcd3;   /* Muted bone */
    --text-dim: #7a7569;
    --border: rgba(224, 220, 211, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Everything uses custom cursor */
}

/* 0. Custom Cinematic Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    background: transparent;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 100px;
    border: 1px solid rgba(3, 3, 3, 0.5); /* Slight edge for contrast */
}
::-webkit-scrollbar-thumb:hover {
    background: #d4ae80; /* Slightly brighter gold */
    width: 8px;
}
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

/* Lenis overrides */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-scroll-container] {
    -webkit-transform: perspective(1px);
    -ms-transform: perspective(1px);
    transform: perspective(1px);
}
.lenis.lenis-stopped { overflow: hidden; }

/* Font utilities */
.text-cinzel { font-family: 'Cinzel', serif; font-weight: 400; text-transform: uppercase; }
.text-playfair { font-family: 'Playfair Display', serif; font-style: italic; }
.text-manrope { font-family: 'Manrope', sans-serif; font-weight: 300; letter-spacing: 0.05em; }

body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* Anamorphic Flare Preloader & Horizontal Gate */
#intro-stage {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
}
.intro-gate {
    position: absolute;
    top: 0;
    width: 50vw;
    height: 100vh;
    background: var(--bg);
    z-index: 1; /* Behind rings and text */
    will-change: transform;
}
.intro-gate-left {
    left: 0;
    transform-origin: left center;
}
.intro-gate-right {
    right: 0;
    transform-origin: right center;
}
#ring-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    z-index: 2;
    will-change: transform;
}
#ring-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.preloader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; 
    height: auto;
    opacity: 0;
    filter: drop-shadow(0 0 10px rgba(193, 155, 108, 0.4));
    will-change: opacity, transform;
}
.gold-ring {
    fill: none;
    stroke: var(--accent);
    stroke-linecap: round;
}
.ring-outer {
    stroke-width: 1px;
    stroke-dasharray: 630;
    stroke-dashoffset: 630;
}
.ring-inner {
    stroke-width: 2px;
    stroke-dasharray: 505;
    stroke-dashoffset: -505;
    opacity: 0.6;
}
#flare-container {
    position: absolute;
    top: calc(50% + 4.5vw);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    z-index: 3;
    will-change: opacity, transform;
}
.flare-core {
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, rgba(193,155,108,0) 0%, rgba(255,255,255,0.9) 50%, rgba(193,155,108,0) 100%);
    box-shadow: 0 0 20px 2px rgba(193, 155, 108, 0.4), 0 0 40px 5px rgba(193, 155, 108, 0.2);
    border-radius: 50%;
}
#text-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform, opacity, filter;
}
.brand-text-preloader {
    font-size: clamp(2.5rem, 8vw, 7rem);
    letter-spacing: 0.3em;
    color: var(--text);
    margin: 0;
    line-height: 0.85; 
    white-space: nowrap;
}
.intro-char {
    display: inline-block;
    will-change: transform, opacity, filter;
}
#skip-intro {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10000;
    background: none;
    border: none;
    color: rgba(224, 220, 211, 0.3);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: color 0.3s;
    text-transform: uppercase;
}
#skip-intro:hover { color: var(--accent); }

/* Custom Cursor */
.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 4px; height: 4px;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10001;
}
.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
}
.cursor-text {
    font-size: 9px;
    opacity: 0;
    letter-spacing: 0.1em;
    color: var(--bg);
    position: absolute;
    white-space: nowrap;
    transition: opacity 0.3s;
}

/* Interactive hover states */
.cursor-ring.active-hover {
    width: 80px; height: 80px;
    background: var(--text);
    border-color: transparent;
    mix-blend-mode: difference;
}
.cursor-ring.active-link {
    width: 60px; height: 60px;
    background: transparent;
    border-color: var(--accent);
}
.cursor-ring.active-hover .cursor-text {
    opacity: 1;
}

/* Dynamic Capsule Navbar */
.nav-elite {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 9000;
    transition: padding 0.6s cubic-bezier(0.2, 1, 0.2, 1), transform 0.6s cubic-bezier(0.2, 1, 0.2, 1);
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.nav-container {
    width: 100%;
    max-width: 100vw;
    padding: 30px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8, 8, 8, 0);
    border-radius: 0px;
    /* Unifying units to pixels removes extreme browser interpolation lag */
    transition: max-width 0.8s cubic-bezier(0.2, 1, 0.2, 1), 
                padding 0.8s cubic-bezier(0.2, 1, 0.2, 1), 
                background-color 0.5s ease, 
                border-radius 0.8s cubic-bezier(0.2, 1, 0.2, 1),
                backdrop-filter 0s; /* Don't stagger the blur, apply it instantly to save GPU */
    will-change: max-width, padding, background-color, border-radius;
    transform: translateZ(0); 
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    pointer-events: auto;
}
.nav-logo {
    height: 60px;
    object-fit: contain;
    transition: height 0.8s cubic-bezier(0.2, 1, 0.2, 1);
}
.nav-link {
    position: relative;
    color: var(--text);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.5rem 0;
}
.nav-hover-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}
.nav-link:hover .nav-hover-line { width: 100%; }
.nav-btn { padding: 0.7rem 2.2rem; }

/* Scrolled Floating Pill State */
.nav-elite.scrolled {
    padding-top: 25px;
}
.nav-elite.scrolled .nav-container {
    max-width: 850px; /* Compress the nav width smoothly via max-width */
    padding: 10px 25px;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 100px;
}
.nav-elite.scrolled .nav-logo {
    height: 35px; /* Elegantly shrinks the logo inside the capsule */
}
.nav-elite.hidden-up {
    transform: translateY(-150%);
}

.hidden-desktop { display: none !important; }

/* Massive Cinematic Overlay Menu */
.elite-overlay-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 8999;
    pointer-events: none;
    display: flex;
    visibility: hidden;
    overflow: hidden;
}
.menu-bg-images {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.menu-bg-img {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.8s ease, transform 1.5s ease;
}
.menu-bg-img.active {
    opacity: 0.6;
    transform: scale(1);
}
.menu-overlay-glass {
    position: absolute;
    inset: 0;
    background: rgba(3,3,3,0.95);
    backdrop-filter: blur(40px);
    z-index: 2;
    transform: translateY(-100%); /* start offscreen top */
}
.menu-content-grid {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10vw;
}
.menu-links-huge {
    display: flex;
    flex-direction: column;
}
.menu-link-wrapper {
    overflow: hidden;
}
.huge-link {
    display: block;
    font-size: 8vw;
    line-height: 1.1;
    color: var(--text);
    text-decoration: none;
    transform: translateY(110%);
    opacity: 0;
    transition: color 0.4s;
    -webkit-text-stroke: 1px transparent;
}
.huge-link:hover {
    color: transparent;
    -webkit-text-stroke: 1px var(--accent);
}
.menu-overlay-info {
    position: absolute;
    bottom: 8vh;
    right: 10vw;
    text-align: right;
    font-size: 0.85rem;
    opacity: 0;
}
@media (max-width: 900px) {
    .hidden-mobile { display: none; }
    .huge-link { font-size: 15vw; }
    .menu-overlay-info { position: static; text-align: left; margin-top: 4rem; opacity: 1; }
    .menu-content-grid { flex-direction: column; justify-content: center; align-items: flex-start; }
}

.magnetic-btn {
    position: relative;
    display: inline-flex;
    padding: 1rem 2.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: transparent;
}
.magnetic-btn span {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}
.btn-fill {
    position: absolute;
    top: 100%; left: 0;
    width: 100%; height: 100%;
    background: var(--text);
    border-radius: 50%;
    transition: top 0.5s cubic-bezier(0.19, 1, 0.22, 1), border-radius 0.5s;
    z-index: 1;
}
.magnetic-btn:hover .btn-fill {
    top: 0;
    border-radius: 0;
}
.magnetic-btn:hover span {
    color: #030303 !important;
}

/* Hero Section 100% Hardware Accelerated */
.hero-elite {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.hero-portal {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 35vw;
    height: 65vh;
    border-radius: 300px 300px 0 0;
    overflow: hidden;
    z-index: 1;
    background: var(--bg);
    will-change: width, height, border-radius;
    /* TranslateZ to keep it locked strictly to the GPU */
    -webkit-transform: translate(-50%, -50%) translateZ(0);
}
.hero-portal img {
    position: absolute;
    top: -10%; left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    pointer-events: none;
}
.hero-title-wrapper { padding-bottom: 1vw; overflow: visible;}
.hero-subtitle-wrapper { overflow: hidden; margin-top: 2vw;}

.hero-main-title {
    font-size: 9.5vw;
    line-height: 0.85;
    color: var(--text);
    text-shadow: 0 15px 40px rgba(0,0,0,0.8);
    letter-spacing: 0.02em;
}
.hero-sub {
    display: block;
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    color: var(--accent);
    text-transform: uppercase;
}

.hero-scroll-prompt {
    position: absolute;
    bottom: 5vh;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px;
    height: 50px;
    background: var(--accent);
    transform-origin: top;
}

/* Global Container */
.container-elite {
    padding: 0 5vw;
}
.section-heading {
    font-size: 6vw;
    line-height: 1;
    margin-bottom: 2rem;
}
.chapter-marker {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

/* Chapter I: Vision */
.chapter-vision {
    padding: 15vh 0;
    position: relative;
}
.vision-grid {
    display: grid;
    grid-template-columns: 5fr 5fr;
    gap: 10vw;
    align-items: center;
}
.vision-desc {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dim);
    max-width: 450px;
    margin-left: 5vw;
}

.img-reveal {
    width: 100%;
    height: 120%; /* for parallax */
    position: relative;
    overflow: hidden;
    will-change: transform, opacity;
}
.magnetic-img-wrapper {
    height: 80vh;
    width: 100%;
    overflow: hidden;
}
.magnetic-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Chapter II: Menu (Grid Layout) */
.chapter-menu {
    padding-top: 15vh;
    padding-bottom: 10vh;
    background: #050505;
}
.chapter-menu-header {
    padding: 0 5vw;
    margin-bottom: 8vh;
}
.menu-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4vw;
    padding: 0 5vw;
}
.menu-item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.menu-figure {
    height: 55vh;
    width: 100%;
    border-radius: 4px; /* Slight elegance */
}
.menu-details h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.menu-details p {
    color: var(--text-dim);
    font-size: 0.9rem;
}
.menu-action-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 6rem;
}

/* Chapter III: Elegant Timings */
.chapter-timings {
    padding: 15vh 0;
    position: relative;
    background: #030303;
}
.elegant-hours-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8vw;
}
.eh-left {
    flex: 1;
}
.eh-right {
    flex: 1.2;
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(193, 155, 108, 0.2);
    border-radius: 8px; /* Sensible classic luxury */
    padding: 4rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}
.elegant-schedule-table {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.schedule-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
}
.schedule-day {
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    color: var(--text);
    white-space: nowrap;
}
.schedule-dots {
    flex-grow: 1;
    margin: 0 1.5rem;
    border-bottom: 2px dotted rgba(224, 220, 211, 0.15);
}
.schedule-time {
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    color: var(--text);
    white-space: nowrap;
}
.schedule-info-box {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(224, 220, 211, 0.1);
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}
.schedule-info-box span {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Chapter IV: Guest Book */
.chapter-reviews {
    padding: 15vh 0;
    background: var(--bg);
}
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4vw;
}
.review-card {
    padding: 3.5rem;
    border: 1px solid rgba(193, 155, 108, 0.15);
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.3);
    transition: border-color 0.4s ease;
}
.review-card:hover {
    border-color: rgba(193, 155, 108, 0.5);
}
.review-text {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--text-dim);
    margin-bottom: 2rem;
    font-style: italic;
}
.review-author {
    color: var(--accent);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Chapter V: Reservation */
.chapter-reserve {
    position: relative;
    padding: 20vh 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.reserve-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}
.reserve-bg-wrapper img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    filter: grayscale(1);
    opacity: 0.3;
}
.reserve-glass {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3,3,3,0.9), rgba(3,3,3,1));
}
.reserve-front {
    position: relative;
    z-index: 2;
    width: 100%;
}
.reserve-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
}

/* High-Conversion Reservation Widget */
.reservation-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(193, 155, 108, 0.2);
    border-radius: 12px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    width: 100%;
    max-width: 600px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    margin-top: 2rem;
}
.rc-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.rc-header h3 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.rc-header p {
    color: var(--text-dim);
    font-size: 0.9rem;
}
.rc-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.rc-row {
    display: flex;
    gap: 1.5rem;
}
.rc-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}
.rc-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}
.rc-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    padding: 1rem 1.25rem;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}
.rc-input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
}
.rc-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}
select.rc-input {
    appearance: none;
    cursor: none;
}
select.rc-input option {
    background: #111;
    color: var(--text);
}
.rc-submit {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    border-color: var(--accent);
}
@media (max-width: 900px) {
    .rc-row { flex-direction: column; }
    .reservation-card { padding: 2rem; }
}

/* Ultra-Luxury Footer */
.elite-footer {
    background: #000;
    padding: 15vh 5vw 5vh;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5vw;
    margin-bottom: 15vh;
}
.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-dim);
    font-size: 1rem;
}
.footer-label {
    color: var(--text);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}
.footer-info a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-info a:hover {
    color: var(--accent);
}
.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-giant-brand-wrapper {
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
}
.footer-giant-brand {
    font-size: 12vw;
    line-height: 0.8;
    color: var(--text);
    white-space: nowrap;
    text-align: center;
    opacity: 0.9;
}

/* Utilities for Splitting Text Animations */
.char, .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}
.char-inner, .word-inner {
    display: inline-block;
    transform: translateY(110%);
}

/* Responsiveness */
@media (max-width: 900px) {
    .nav-container { padding: 20px 25px; }
    .nav-elite.scrolled .nav-container { padding: 15px 20px; border-radius: 40px; }
    
    .vision-grid, .reserve-grid, .menu-grid-wrapper, .reviews-grid { grid-template-columns: 1fr; }
    .menu-figure { height: 40vh; }
    .menu-details h3 { font-size: 2.5rem; }
    .hero-portal { width: 85vw; height: 50vh; }
    .elegant-hours-layout { flex-direction: column; gap: 4rem; }
    .eh-right { padding: 3rem 1.5rem; width: 100%; }
    .schedule-row { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
    .schedule-dots { display: none; }
    .hero-main-title { font-size: 18vw; }
    .hero-sub { font-size: 0.8rem; letter-spacing: 0.2em; }
    .vision-desc { margin-left: 0; max-width: 100%; margin-top: 2rem; }
    .menu-track { padding: 0 5vw; }
    .menu-item { width: 80vw; }
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .cursor-dot, .cursor-ring { display: none; }
    .nav-links { display: none !important; }
    * { cursor: auto; }
}
