:root {
    --black: #030304;
    --white: #ffffff;
    --bg-light: #f4f2eb; /* Cream / Alabaster */
    --text-dark: #121214;
    --text-muted: rgba(18, 18, 20, 0.4);
    
    --gold: #c9a24b;
    --gold-bright: #e6c878;
    --gold-dark: #a3781f;
    --cream: #efe9dd;
    --grey: #8a8a8f;
    --green: #1f6b34;
    --green-bright: #4fbf6c;
    --line-light: rgba(18, 18, 20, 0.1);
    --line-dark: rgba(255, 255, 255, 0.1);
    
    --serif: 'Cormorant Garamond', serif;
    --display: 'Cinzel', serif;
    --sans: 'Jost', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; cursor: none; }

body {
    background: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--serif);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background 0.5s, color 0.5s;
}
body.locked { overflow: hidden; height: 100vh; background: #020203; }
a, button { cursor: none; text-decoration: none; color: inherit; background: none; border: none; outline: none; }

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
.cursor-dot {
    position: fixed; top: 0; left: 0;
    width: 6px; height: 6px;
    background: #ffffff;
    border-radius: 50%; pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
    mix-blend-mode: difference;
}
.cursor-ring {
    position: fixed; top: 0; left: 0;
    width: 40px; height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%; pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
    mix-blend-mode: difference;
}

.cursor-hover .cursor-dot { width: 0; height: 0; }
.cursor-hover .cursor-ring { width: 60px; height: 60px; background: rgba(255, 255, 255, 0.1); border-color: #ffffff; }
.cursor-view .cursor-dot { width: 0; height: 0; }
.cursor-view .cursor-ring { width: 80px; height: 80px; background: rgba(255, 255, 255, 0.1); border-color: #ffffff; }
.cursor-view .cursor-ring::after {
    content: 'VIEW'; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em; color: var(--gold-dark);
}

/* =========================================================
   AMBIENT LIGHTING (Background glows)
   ========================================================= */
.ambient-light {
    position: fixed; border-radius: 50%; filter: blur(120px); z-index: -1; pointer-events: none; opacity: 0.6;
}
.light-1 { width: 40vw; height: 40vw; background: rgba(201, 162, 75, 0.15); top: -10vw; left: -10vw; }
.light-2 { width: 60vw; height: 60vw; background: rgba(255, 255, 255, 0.8); bottom: -20vw; right: -20vw; }

/* =========================================================
   SPLASH (Always Dark for fluid pop)
   ========================================================= */
#splash {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #020203; overflow: hidden; touch-action: none;
    transition: opacity .9s ease, visibility .9s ease;
}
#splash.hide { opacity: 0; visibility: hidden; pointer-events: none; }
#fluid { position: absolute; inset: 0; width: 100%; height: 100%; display: block; mix-blend-mode: screen; }
.splash-content { position: relative; z-index: 2; text-align: center; padding: 0 24px; pointer-events: none; }
.splash-content .enter-btn { pointer-events: auto; }
.splash-mark { width: 120px; height: auto; margin: 0 auto 8px; filter: drop-shadow(0 0 18px rgba(230,190,90,0.35)); }
.splash-title {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(2.7rem, 12vw, 4.6rem);
    letter-spacing: 0.1em;
    background: linear-gradient(180deg, #fbe9b6 0%, #e8c164 35%, #a97a2c 70%, #f5d989 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    text-shadow: 0 0 30px rgba(230,190,90,0.25);
    line-height: 1;
}
.splash-sub {
    margin-top: 4px;
    font-family: var(--display); font-weight: 500;
    letter-spacing: 0.35em; font-size: clamp(1.1rem, 4vw, 1.5rem);
    color: #3fbf6a;
    text-shadow: 0 0 16px rgba(63,191,106,0.4);
}
.splash-rule { width: 120px; height: 1px; background: var(--gold); opacity: .6; margin: 14px auto; }
.splash-tag {
    margin-top: 8px; font-family: var(--sans); font-weight: 300; font-size: clamp(1rem, 4vw, 1.25rem);
    color: rgba(255,255,255,0.88); letter-spacing: 0.02em;
}
.splash-diamond { width: 9px; height: 9px; border: 1px solid var(--gold); transform: rotate(45deg); margin: 20px auto; }
.enter-btn {
    margin-top: 6px; display: inline-flex; align-items: center; gap: 16px;
    padding: 17px 34px; border-radius: 50px;
    border: 1.5px solid transparent;
    background:
      linear-gradient(#050506,#050506) padding-box,
      linear-gradient(90deg,#3ad16b,#4fd1e0,#8a5be0,#c85be0) border-box;
    color: #fff; font-family: var(--sans); letter-spacing: 0.15em; font-size: 0.85rem; font-weight: 500;
    cursor: pointer;
    box-shadow: 0 0 26px rgba(120,120,255,0.28), 0 0 50px rgba(180,90,230,0.15);
    transition: transform .3s ease, box-shadow .3s ease;
}
.enter-btn:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(120,120,255,0.45); }
.enter-btn .leaf { color: #3ad16b; }
.enter-btn svg { width: 17px; height: 17px; }
.scroll-hint {
    margin-top: 24px; font-family: var(--sans); letter-spacing: 0.25em; font-size: 0.68rem; font-weight: 500;
    color: #3fbf6a; display: flex; flex-direction: column; align-items: center; gap: 8px;
    text-shadow: 0 0 10px rgba(63,191,106,0.5);
}
.chev { animation: bob 1.8s ease-in-out infinite; color: #7fa8ff; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* =========================================================
   HEADER & MENU (Mix Theme aware)
   ========================================================= */
header.site { position: fixed; top: 0; left: 0; right: 0; z-index: 500; display: flex; align-items: center; justify-content: space-between; padding: 30px 5vw; transition: 0.4s; mix-blend-mode: difference; }
.brand { display: flex; flex-direction: column; line-height: 1; z-index: 501; }
.brand .name { font-family: var(--display); font-size: 1.5rem; letter-spacing: 0.28em; color: #fff; }
.brand .sub { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.4em; color: #fff; margin-top: 6px; opacity: 0.7; }

.burger { width: 40px; height: 20px; position: relative; z-index: 501; }
.burger span { position: absolute; left: 0; width: 100%; height: 1px; background: #fff; transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1); }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; width: 70%; }
.burger span:nth-child(3) { top: 18px; }
.burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--gold); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); width: 100%; background: var(--gold); }

#menu { position: fixed; inset: 0; z-index: 400; background: var(--bg-light); transform: translateY(-100%); transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1); display: flex; flex-direction: column; justify-content: center; align-items: center; }
#menu.open { transform: translateY(0); }
.menu-inner { width: 100%; max-width: 800px; padding: 0 5vw; }
.menu-item { display: flex; align-items: baseline; gap: 40px; padding: 2vh 0; border-bottom: 1px solid var(--line-light); position: relative; overflow: hidden; }
.menu-item .num { font-family: var(--sans); color: var(--gold-dark); font-size: 1rem; letter-spacing: 0.15em; }
.menu-item .label { font-family: var(--display); font-size: clamp(3rem, 7vw, 5rem); color: var(--text-dark); transition: color 0.4s; }
.menu-item:hover .label { color: var(--gold-dark); font-style: italic; font-family: var(--serif); }
.menu-footer { margin-top: 6vh; display: flex; justify-content: space-between; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.15em; color: rgba(18,18,20,0.6); }

/* =========================================================
   COMMON
   ========================================================= */
.container { max-width: 1400px; margin: 0 auto; padding: 0 5vw; }
section { padding: 15vh 0; position: relative; }
.eyebrow { font-family: var(--sans); letter-spacing: 0.4em; font-size: 0.8rem; color: var(--gold-dark); margin-bottom: 30px; display: block; }
.eyebrow.green { color: var(--green); }
h2.display { font-family: var(--display); font-weight: 500; line-height: 1.1; font-size: clamp(3rem, 7vw, 5rem); letter-spacing: 0.02em; }
h2.display em { font-style: italic; font-family: var(--serif); color: var(--gold-dark); }

/* =========================================================
   HERO (Light Theme Background)
   ========================================================= */
#hero { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 0; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
/* Using a brighter rice image for light theme */
.hero-bg img { width: 100%; height: 120%; object-fit: cover; object-position: center; filter: brightness(1.2) contrast(0.9); opacity: 0.5; mix-blend-mode: multiply; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(244,242,235,0.4) 0%, var(--bg-light) 100%); }
.hero-content { text-align: center; position: relative; z-index: 2; padding: 0 5vw; margin-top: 5vh; }
.hero-est { font-family: var(--sans); letter-spacing: 0.4em; font-size: 0.9rem; color: var(--gold-dark); margin-bottom: 40px; display: inline-flex; align-items: center; gap: 20px; }
.hero-est::before, .hero-est::after { content: ''; width: 40px; height: 1px; background: var(--gold-dark); }
.hero-title { font-family: var(--display); font-weight: 600; line-height: 1; font-size: clamp(4rem, 12vw, 9rem); letter-spacing: 0.02em; color: var(--text-dark); }
.hero-title .accent { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold-dark); }
.hero-lede { font-family: var(--serif); font-size: 1.6rem; color: rgba(18,18,20,0.7); margin-top: 40px; max-width: 600px; margin-left: auto; margin-right: auto;}

.scroll-down { margin: 80px auto 0; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; color: var(--text-dark); }
.scroll-circle { width: 60px; height: 60px; border: 1px solid rgba(18,18,20,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.scroll-down:hover .scroll-circle { border-color: var(--gold-dark); background: rgba(18,18,20,0.03); }

.spinning-seal { position: absolute; right: 5vw; bottom: 5vw; width: 160px; height: 160px; z-index: 2; animation: spin 20s linear infinite; }
.spinning-seal svg { width: 100%; height: 100%; }
.spinning-seal text { font-family: var(--sans); font-size: 11px; letter-spacing: 0.3em; fill: var(--gold-dark); }
.seal-inner-diamond { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(45deg); width: 20px; height: 20px; border: 1px solid var(--gold-dark); }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* =========================================================
   STORY
   ========================================================= */
#story { padding: 25vh 0; }
.story-text { font-family: var(--serif); font-size: clamp(2rem, 5vw, 4rem); line-height: 1.3; color: var(--text-muted); max-width: 1200px; }
.story-text .word { display: inline-block; }
.story-text .char { display: inline-block; transition: color 0.1s ease; }
/* Modified for light theme: lights up to Dark text instead of white */
.story-text .char.lit { color: var(--text-dark); text-shadow: 0 0 10px rgba(18,18,20,0.1); }
.signature { margin-top: 80px; font-family: var(--sans); letter-spacing: 0.3em; font-size: 0.9rem; color: var(--gold-dark); }

/* =========================================================
   VAULT (LUXURY ASYMMETRICAL GRID)
   ========================================================= */
.luxury-grid { margin-top: 100px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 4vw; }
.grid-item { display: flex; flex-direction: column; }
.grid-item.large { grid-column: 1 / 8; }
.grid-item.medium { grid-column: 8 / 13; }
.grid-item.wide { grid-column: 2 / 10; margin-top: 10vh; }

.item-img-wrap { width: 100%; overflow: hidden; position: relative; }
.grid-item.large .item-img-wrap { aspect-ratio: 4/5; }
.grid-item.medium .item-img-wrap { aspect-ratio: 3/4; }
.grid-item.wide .item-img-wrap { aspect-ratio: 16/9; }

.item-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1); filter: brightness(0.9); }
.grid-item:hover .item-img-wrap img { transform: scale(1.05); filter: brightness(1); }

.item-content { margin-top: 30px; }
.tag { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.25em; color: var(--gold-dark); border: 1px solid rgba(201,162,75,0.4); padding: 8px 16px; border-radius: 30px; display: inline-block; margin-bottom: 20px; }
.item-content h3 { font-family: var(--display); font-size: 2.5rem; line-height: 1.1; margin-bottom: 15px; color: var(--text-dark); }
.item-content p { font-family: var(--serif); font-size: 1.3rem; color: rgba(18,18,20,0.7); max-width: 400px; }

.view-all-wrapper { text-align: center; margin-top: 100px; }
.outline-btn { border: 1px solid var(--text-dark); color: var(--text-dark); padding: 20px 50px; border-radius: 50px; font-family: var(--sans); letter-spacing: 0.2em; font-size: 0.9rem; transition: 0.4s; display: inline-block; }
.outline-btn:hover { background: var(--text-dark); color: var(--bg-light); }

/* =========================================================
   PROCESS (MIXED THEME - DARK)
   ========================================================= */
#process-wrap { height: 100vh; position: relative; } 
#process { height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; position: relative; background: var(--black); color: var(--cream); }
.process-header { padding: 0 5vw; position: absolute; top: 15vh; left: 0; width: 100%; }
.process-header .eyebrow { color: var(--gold); }
.process-header .display { color: var(--cream); }
.process-header .display em { color: var(--gold-bright); }

.process-container { display: flex; width: max-content; padding-left: 5vw; padding-right: 5vw; align-items: center; margin-top: 10vh; }
.process-panel { width: 50vw; min-width: 400px; padding-right: 5vw; flex-shrink: 0; border-left: 1px solid var(--line-dark); padding-left: 40px; height: 300px; display: flex; flex-direction: column; justify-content: center; }
.panel-num { font-family: var(--display); font-size: 6rem; color: rgba(201,162,75,0.15); line-height: 1; margin-bottom: 20px; }
.process-panel h3 { font-family: var(--display); font-size: 2.5rem; margin-bottom: 20px; color: var(--cream); }
.process-panel p { font-family: var(--serif); font-size: 1.4rem; color: rgba(255,255,255,0.7); max-width: 400px; }

/* =========================================================
   STATS (MIXED THEME - DARK)
   ========================================================= */
.dark-section { background: var(--black); padding: 10vh 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); color: var(--cream); }
.stat-grid { display: flex; justify-content: space-between; }
.stat { text-align: center; flex: 1; border-right: 1px solid var(--line-dark); padding: 40px 20px; }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--display); font-size: clamp(3rem, 5vw, 4.5rem); color: var(--gold-bright); margin-bottom: 10px; }
.stat .label { font-family: var(--sans); letter-spacing: 0.2em; font-size: 0.8rem; color: rgba(255,255,255,0.5); text-transform: uppercase; }

/* =========================================================
   CONTACT (BACK TO LIGHT THEME)
   ========================================================= */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center; }
.contact-details { margin-top: 60px; font-family: var(--sans); font-size: 0.9rem; letter-spacing: 0.1em; color: rgba(18,18,20,0.7); line-height: 2; }
.contact-details p { margin-bottom: 30px; }
.contact-details strong { color: var(--gold-dark); letter-spacing: 0.2em; }

.form-container { background: #ffffff; padding: 60px; border-radius: 4px; border: 1px solid rgba(18,18,20,0.05); box-shadow: 0 20px 40px rgba(0,0,0,0.03); }
.form-group { margin-bottom: 40px; position: relative; }
.form-group input, .form-group textarea { width: 100%; background: transparent; border: none; padding: 10px 0; color: var(--text-dark); font-family: var(--sans); font-size: 1.1rem; outline: none; }
.form-line { position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: rgba(18,18,20,0.1); }
.form-line::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 1px; background: var(--gold-dark); transition: 0.4s ease; }
.form-group input:focus ~ .form-line::after, .form-group textarea:focus ~ .form-line::after { width: 100%; }
.form-group label { position: absolute; top: 10px; left: 0; font-family: var(--sans); color: rgba(18,18,20,0.4); font-size: 0.8rem; letter-spacing: 0.2em; pointer-events: none; transition: 0.3s; }
.form-group input:focus ~ label, .form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label, .form-group textarea:not(:placeholder-shown) ~ label { top: -15px; font-size: 0.65rem; color: var(--gold-dark); }

.submit-btn { background: var(--gold-dark); color: #fff; padding: 20px 40px; font-family: var(--sans); letter-spacing: 0.2em; font-size: 0.9rem; font-weight: 600; border-radius: 50px; width: 100%; overflow: hidden; position: relative; }
.submit-btn span { position: relative; z-index: 2; }
.submit-btn::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--black); transform: translateY(100%); transition: 0.4s ease; }
.submit-btn:hover::before { transform: translateY(0); }

/* =========================================================
   FOOTER (MIXED THEME - DARK)
   ========================================================= */
footer { padding: 80px 0 40px; background: #020202; border-top: 1px solid var(--line-dark); color: var(--cream); }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.foot-logo { font-family: var(--display); font-size: 3rem; color: var(--gold-bright); letter-spacing: 0.2em; }
.foot-tag { font-size: 1.2rem; color: rgba(255,255,255,0.5); max-width: 300px; text-align: right; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); }
.foot-links { display: flex; gap: 30px; }
.foot-links a:hover { color: var(--gold-bright); }

/* =========================================================
   WHATSAPP
   ========================================================= */
.whatsapp-float { position: fixed; bottom: 40px; right: 40px; width: 60px; height: 60px; background: #25d366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 100; box-shadow: 0 10px 30px rgba(37,211,102,0.3); transition: 0.3s; }
.whatsapp-float:hover { background: #1ebd5a; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media(max-width: 1024px) {
    .luxury-grid { grid-template-columns: 1fr; gap: 40px; }
    .legacy-grid { grid-template-columns: 1fr !important; }
    .grid-item.large, .grid-item.medium, .grid-item.wide { grid-column: 1 / -1; margin-top: 0 !important; }
    
    .contact-split { grid-template-columns: 1fr; gap: 40px; }
    .foot-top { flex-direction: column; align-items: flex-start; gap: 30px; }
    .foot-tag { text-align: left; }
    .foot-bottom { flex-direction: column; gap: 30px; align-items: flex-start; }
    .foot-links { flex-direction: column; gap: 15px; }
    
    .process-panel { width: 85vw; min-width: 0; padding-left: 20px; }
    .spinning-seal { width: 100px; height: 100px; right: 20px; bottom: 20px; }
    
    h2.display { font-size: 2.5rem; }
    .story-text { font-size: 1.8rem; }
    .menu-item { gap: 15px; padding: 1.5vh 0; flex-direction: column; }
    .menu-item .label { font-size: 2.2rem; }
    .stat-grid { flex-direction: column; }
    .stat { border-right: none; border-bottom: 1px solid var(--line-dark); }
    .stat:last-child { border-bottom: none; }
    
    /* Disable custom cursor on mobile to avoid layout bugs */
    .cursor-dot, .cursor-ring { display: none !important; }
}

@media(max-width: 768px) {
    .hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }
    .hero-lede { font-size: 1.1rem; }
    .story-text { font-size: 1.2rem; }
    h2.display { font-size: 2rem; }
    .item-content h3 { font-size: 1.8rem; }
    .item-content p { font-size: 1rem; }
    .process-panel { padding-left: 0; border-left: none; width: 90vw; }
    .process-panel h3 { font-size: 1.8rem; }
    .process-panel p { font-size: 1rem; }
    .panel-num { font-size: 4rem; }
    .stat .num { font-size: 2.5rem; }
    .foot-logo { font-size: 2rem; }
    .foot-tag { font-size: 1rem; }
    section { padding: 8vh 0; }
    #story { padding: 15vh 0; }
    .menu-item .label { font-size: 1.8rem; }
}
