/* ================================================================
   1. DESIGN TOKENS & PAGE TRANSITIONS
   ================================================================ */
:root {
    --bg-color: #FAFAF9;
    --text-color: #1C1917;
    --accent-color: #C2410C;
    --surface-color: #FFFFFF;
    --muted-text: #57534E;
    --border-color: #E5E5E5;
    --nav-bg: rgba(255, 255, 255, 0.98);
    --footer-bg: #111111;
    
    --latte-foam: #F5EBE0;
    --latte-crema: #8b5a2b;
    --liquid-espresso: #2A1107; 
    --liquid-milk: #EBE1D5; 
    --liquid-foam: #F7EFE5; 
    --liquid-water: #9CBED4; 
    --liquid-matcha: #77A863;
    
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --nav-underline-height: 2px;
    --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
    --anim-speed: 2.8s;
}

[data-theme="dark"] {
    --bg-color: #0C0A09;
    --text-color: #FAFAF9;
    --accent-color: #FB923C;
    --surface-color: #1C1917;
    --muted-text: #A8A29E;
    --border-color: #292524;
    --nav-bg: rgba(12, 10, 9, 0.98);
    --footer-bg: #000000;
    
    --latte-foam: #f3e9dc;
    --latte-crema: #5d3a1a;
    --liquid-espresso: #3E2723;
    --liquid-milk: #DCDCCB;
    --liquid-foam: #F5F5F0;
    --liquid-water: #4A6FA5;
    --liquid-matcha: #729668;
    
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

/* View transitions moved to section 38 */

/* ================================================================
   2. GLOBAL RESET & TYPOGRAPHY
   ================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body.has-custom-cursor * { cursor: none !important; }

html {
    background-color: var(--bg-color);
    transition: background-color 0.3s ease;
    scroll-behavior: auto !important;
}

html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

html.loading-active, body.loading-active {
    overflow: hidden !important;
    height: 100svh !important;
    height: 100vh !important;
    height: calc(var(--vh, 1vh) * 100) !important;
    width: 100% !important;
    position: fixed !important;
    inset: 0 !important;
}

body {
    font-family: 'Source Serif 4', serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100svh;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

::selection {
    background: var(--accent-color);
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
    border-radius: 4px;
}

h1, h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-wrap: balance;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-block;
    position: relative;
    z-index: 10002;
    transition: color 0.3s;
}

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

h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.section-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

p {
    margin-bottom: 1.5rem;
}

/* ================================================================
   3. UI COMPONENTS & GPU-ACCELERATED SCROLL BAR
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after { animation-play-state: paused !important; }
    .grain-overlay, .scroll-indicator { display: none !important; }
}

html.low-power-mode * { cursor: auto !important; }
html.low-power-mode .custom-cursor { display: none !important; }
html.low-power-mode .grain-overlay { display: none !important; }
html.low-power-mode .btn-primary::after { animation: none !important; display: none !important; }
html.low-power-mode .btn-primary { animation: none !important; box-shadow: none !important; border: 2px solid var(--accent-color); }
html.low-power-mode .marker-pulse { animation: none !important; display: none !important; }
html.low-power-mode .lightbox { backdrop-filter: none !important; background-color: #000 !important; }

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(2px); 
    -webkit-backdrop-filter: blur(2px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate3d(-50%, -50%, 0);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s, opacity 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2); 
    will-change: transform, opacity;
}

.custom-cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: rgba(194, 65, 12, 0.15);
    border-color: transparent;
    box-shadow: none;
}

[data-theme="dark"] .custom-cursor.hovered {
    background-color: rgba(251, 146, 60, 0.15);
}

@media (hover: none) and (pointer: coarse) {
    .custom-cursor { display: none !important; }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-color);
    z-index: 100000;
    width: 100%;
    transform-origin: left;
    transform: scaleX(0);
    will-change: transform;
}

.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    cursor: pointer;
    animation: bounce 2s infinite;
    display: flex;
}

.scroll-indicator.glass-pill {
    background: color-mix(in srgb, var(--text-color) 10%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid color-mix(in srgb, var(--text-color) 15%, transparent);
    color: var(--text-color);
    padding: 10px 24px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: background 0.3s;
    text-decoration: none;
}

.scroll-indicator.glass-pill:hover {
    background: color-mix(in srgb, var(--text-color) 20%, transparent);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -15px); }
    60% { transform: translate(-50%, -7px); }
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.04;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/7/76/Noise_overlay.png");
    background-repeat: repeat;
    animation: grain-move 8s steps(10) infinite;
    will-change: transform;
}

@keyframes grain-move {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    100% { transform: translate(0, 0); }
}

@media (max-width: 768px) {
    .grain-overlay { display: none !important; }
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background: var(--bg-color);
    z-index: 2147483647;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.9s var(--ease-luxury), visibility 0.9s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.preloader-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 8px;
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--text-color);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    display: flex;
    overflow: hidden;
}

.pl {
    display: inline-block;
    opacity: 0;
    transform: translateY(60%);
    animation: plLetterIn 0.7s var(--ease-luxury) forwards;
    animation-delay: calc(var(--i) * 0.07s + 0.1s);
}

@keyframes plLetterIn {
    to { opacity: 1; transform: translateY(0); }
}

.preloader-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--muted-text);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: plFadeIn 0.6s ease forwards 0.8s;
}

@keyframes plFadeIn {
    to { opacity: 1; }
}

.loader-bar {
    width: 150px;
    height: 2px;
    background: rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .loader-bar {
    background: rgba(255,255,255,0.1);
}

.loader-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--accent-color);
    animation: load 2s ease-in-out forwards;
}

@keyframes load {
    0% { width: 0%; }
    50% { width: 40%; }
    100% { width: 100%; }
}

.reveal-mask {
    display: block;
    line-height: 1.15;
    padding-bottom: 5px;
    /* No overflow:hidden needed — clip-path handles masking */
}

/* ── Vertical slit expand ──
   opacity snaps in at 0.25s so the thin strip is visible, then the
   slit opens over 1.6s — making the shutter effect clearly noticeable. */
.reveal-text {
    display: block;
    clip-path: inset(50% 0 50% 0);
    opacity: 0;
    transition:
        clip-path 1.6s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.25s ease;
    will-change: clip-path, opacity;
}

.reveal-text.active {
    clip-path: inset(0% 0% 0% 0%);
    opacity: 1;
}

.curtain-reveal {
    position: relative;
    overflow: hidden;
}

.curtain-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--surface-color);
    z-index: 5;
    transition: transform 1.8s var(--ease-luxury);
    transform: translateY(0%);
}

.curtain-reveal.active::after {
    transform: translateY(-100%);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.5s; }

.fade-up-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease-out, transform 1.5s var(--ease-luxury);
}

.fade-up-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── Split reveal (Our Story) ── */
.split-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1.2s var(--ease-luxury), transform 1.2s var(--ease-luxury);
    will-change: opacity, transform;
}
.split-reveal-left.active { opacity: 1; transform: translateX(0); }

.split-reveal-right {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s var(--ease-luxury) 0.2s, transform 1.2s var(--ease-luxury) 0.2s;
    will-change: opacity, transform;
}
.split-reveal-right.active { opacity: 1; transform: translateY(0); }

/* ================================================================
   4. NAVIGATION
   ================================================================ */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background: var(--nav-bg);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    border-bottom: 1px solid var(--border-color);
    transition: padding 0.4s var(--ease-luxury), opacity 0.5s ease, background-color 0.4s ease;
    opacity: 0;
}

nav.nav-visible { opacity: 1; }
nav.scrolled { padding: 0.6rem 5%; box-shadow: var(--shadow); }

.nav-right-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-color);
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: var(--nav-underline-height);
    background: var(--accent-color);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Active link always visible regardless of hover support */
.nav-links a.active-link { color: var(--accent-color); }

@media (hover: hover) {
    .nav-links a.active-link, .nav-links a:hover { color: var(--accent-color); }
    .nav-links a.active-link::after, .nav-links a:hover::after { width: 100%; }
}

.mobile-latte-container {
    display: none;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    opacity: 0;
    transition: opacity 0.8s ease 0.4s;
    text-align: center;
    z-index: 1000;
    pointer-events: none;
}

.nav-links.active .mobile-latte-container {
    display: block;
    opacity: 1;
}

.cup-wrapper { position: relative; width: 90px; height: 90px; margin: 0 auto; }
.cup-body {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #dcdcdc 100%);
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    position: relative;
    box-shadow: 5px 8px 15px rgba(0,0,0,0.1), inset -5px -5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.cup-handle {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 35px;
    border: 6px solid #f0f0f0;
    border-radius: 50%;
    z-index: 1;
}
.liquid-surface {
    width: 88%;
    height: 88%;
    background: var(--latte-crema);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 3px 8px rgba(0,0,0,0.35);
    border: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cup-logo-vertical {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.4rem;
    letter-spacing: 2px;
    color: rgba(0,0,0,0.18);
    pointer-events: none;
    text-transform: uppercase;
}
.latte-art-svg {
    width: 90%;
    height: 50%;
    overflow: visible;
}
.latte-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    fill: none;
    stroke: var(--latte-foam);
    stroke-width: 0.8;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
}
.nav-links.active .latte-text {
    animation: write-text 2.5s cubic-bezier(0.5, 0, 0.5, 1) forwards 0.5s;
}
@keyframes write-text {
    0% { stroke-dashoffset: 200; }
    100% { stroke-dashoffset: 0; }
}

.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 10002;
    min-width: 44px;
    min-height: 44px;
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
}

.sun-icon { display: block; }
.moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    position: relative;
    z-index: 10002;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -5px); }

/* ================================================================
   5. HERO & SECTIONS
   ================================================================ */
/* ── Hero: Video-Through-Text Knockout ── */
.hero {
    position: relative;
    height: 100svh;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    min-height: 100svh;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin-top: 0;
    isolation: isolate;
    background: var(--bg-color);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    transform: scale(1.1);
    will-change: transform;
    pointer-events: none;
}

.hero-video::-webkit-media-controls { display: none !important; }

/* Knockout mask */
.hero-knockout-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0.35;
}
[data-theme="dark"] .hero-knockout-mask {
    mix-blend-mode: multiply;
}
.knockout-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #000;
    user-select: none;
}
[data-theme="dark"] .knockout-text {
    color: #fff;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    padding: 8vh 1.5rem 6.5rem;
    width: 100%;
    max-width: 100%;
    will-change: transform;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-color) 85%);
}

.hero p {
    font-size: 1.1rem;
    font-weight: 300;
    margin: 0 auto 1.5rem auto;
    opacity: 0.95;
}

.hero-subtitle {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-size: clamp(0.85rem, 2vw, 1.15rem) !important;
    font-weight: 300;
    letter-spacing: 0.02em;
    opacity: 0.85;
    white-space: nowrap;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
}

/* ── Hero subtitle: blur-focus materialisation ── */
.hero-content p.reveal-text {
    clip-path: none;
    opacity: 0;
    filter: blur(14px);
    transform: translateY(18px);
    transition:
        opacity 1.7s cubic-bezier(0.16, 1, 0.3, 1),
        filter  1.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity, filter;
    transition-delay: 0s;
}

.hero-content p.reveal-text.active {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
}

.hero-content .fade-up-reveal {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-booking-text {
    margin-top: 1.5rem;
    color: var(--muted-text);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-booking-highlight {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-color);
}

.hero-booking-sub {
    font-size: 0.65rem;
    opacity: 0.8;
    font-weight: 400;
}

.btn-primary {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 1.1rem 2.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    border: 2px solid var(--text-color);
    border-radius: 50px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s, border-color 0.4s, box-shadow 0.4s, color 0.3s;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), 0 1px 4px rgba(0,0,0,0.1);
    will-change: transform;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(194, 65, 12, 0.4), 0 4px 12px rgba(0,0,0,0.2);
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    animation: shimmer-sweep 4s infinite;
}

@keyframes pulse-glow-vibrant {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

@keyframes shimmer-sweep {
    0% { left: -150%; }
    30% { left: 150%; }
    100% { left: 150%; }
}

section {
    padding: 9rem 5%;
    scroll-margin-top: 80px;
}

.section-title-wrapper {
    margin-bottom: 5rem;
    display: flex;
    justify-content: center;
}

.section-title {
    text-align: center;
    font-size: clamp(1.4rem, 5vw, 2.4rem);
    font-style: italic;
    text-wrap: balance;
    margin: 0;
}

.container-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6rem;
    align-items: center;
}

.text-content {
    width: 100%;
    min-width: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

/* ================================================================
   6. IMAGES, GALLERY & SMART MAP
   ================================================================ */
.image-box, .menu-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 0;
    border-radius: 8px;
    will-change: transform;
    background-color: var(--border-color);
    aspect-ratio: 3/4;
    min-height: 450px;
}

.img-clipper {
    position: absolute !important;
    inset: 3px !important;
    z-index: 2;
    border-radius: 5px;
    overflow: hidden;
    background: var(--bg-color);
}

.image-box img, .image-box iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1s ease-out, transform 0.8s ease;
    border: none;
}

.image-box iframe { opacity: 1; }
.cart-img-fix { object-position: bottom center !important; }
.image-box img.loaded { opacity: 1; }

@media (hover: hover) {
    .image-box:not(#about-gallery):hover .img-clipper img { transform: scale(1.05); }
    .menu-card:hover::before, .image-box:hover::before { opacity: 1; animation-play-state: running; }
}

.image-box::before, .menu-card::before {
    content: '';
    position: absolute;
    z-index: -2;
    left: 50%;
    top: 50%;
    width: 150vmax;
    height: 150vmax;
    transform: translate(-50%, -50%);
    background-image: conic-gradient(from 0deg, transparent 0deg, var(--accent-color) 45deg, transparent 90deg);
    animation: rotate-border 4s linear infinite;
    animation-play-state: paused;
    transition: opacity 0.5s ease;
    opacity: 0;
    pointer-events: none;
}

.image-box.loaded::before, .menu-card.interacting::before { opacity: 1; animation-play-state: running; }

@keyframes rotate-border {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.image-box { animation: liquid-float 7s ease-in-out infinite; }
.image-box.no-float { animation: none; }

@keyframes liquid-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: 0 0 100%; width: 100%; min-width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }

.gallery-scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface-color);
    color: var(--text-color);
    padding: 10px 24px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    pointer-events: none;
    z-index: 20;
    opacity: 0;
    animation: hintFadeIn 1s ease-in-out 1.5s forwards;
    display: flex;
    align-items: center;
    gap: 8px;
}
@keyframes hintFadeIn { 
    0% { opacity: 0; transform: translate(-50%, 10px); } 
    100% { opacity: 0.9; transform: translate(-50%, 0); } 
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--text-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

[data-theme="dark"] .gallery-arrow {
    background: rgba(28, 25, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

@media (hover: hover) {
    #about-gallery:hover .gallery-arrow { opacity: 1; }
    .gallery-arrow:hover { background: var(--accent-color); color: #fff; border-color: var(--accent-color); transform: translateY(-50%) scale(1.05); }
}

@media (max-width: 1024px) {
    .gallery-arrow { display: none !important; }
}

.prev-arrow { left: 15px; }
.next-arrow { right: 15px; }

.smart-map-iframe {
    filter: grayscale(100%) invert(0%) contrast(1.2);
    transition: filter 0.5s ease;
}
[data-theme="dark"] .smart-map-iframe {
    filter: grayscale(100%) invert(90%) hue-rotate(180deg) contrast(1.2);
}

.custom-map-marker {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    display: flex; justify-content: center; align-items: center; z-index: 10;
}
.marker-dot { width: 20px; height: 20px; background-color: var(--accent-color); border-radius: 50%; border: 3px solid var(--surface-color); position: relative; z-index: 2; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.marker-pulse { position: absolute; width: 60px; height: 60px; background-color: var(--accent-color); border-radius: 50%; z-index: 1; opacity: 0; animation: mapPulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite; }
@keyframes mapPulse { 0% { transform: scale(0.3); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }


/* ================================================================
   7. VALUE PROPS MARQUEE
   ================================================================ */
.value-props-marquee {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 5px;
    border-top: 1px solid var(--border-color);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-group {
    display: flex;
    flex: 0 0 200%;
    min-width: 200%;
    animation: trustMarqueeScroll 12s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}

.value-props-marquee:hover .marquee-group { animation-play-state: paused; }

.value-prop-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    padding: 0 2px;
}

.value-prop-item svg {
    width: 26px;
    height: 26px;
    stroke: var(--text-color);
    opacity: 0.8;
    transition: 0.3s ease;
    overflow: visible;
}

.value-prop-item:hover svg {
    stroke: var(--accent-color);
    transform: translateY(-4px);
}

.value-prop-item span {
    font-family: 'Source Serif 4', serif;
    font-size: 0.8rem;
    line-height: 1.3;
    color: var(--text-color);
    opacity: 0.9;
    word-wrap: break-word;
}

@keyframes trustMarqueeScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* ================================================================
   8. MENU, CUP BLUEPRINT & MOBILE TOGGLE
   ================================================================ */
.mobile-menu-pill { display: none; }
.mobile-scroll-hint { display: none; } 

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.menu-card {
    background: var(--surface-color);
    padding: 3rem;
    text-align: left;
    box-shadow: var(--shadow);
    min-height: auto;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    border-radius: 8px;
}

.menu-card::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: 2px;
    top: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: var(--surface-color);
    border-radius: 7px;
}

.menu-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.interactive-badge {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    pointer-events: none;
    white-space: nowrap;
    transition: 0.3s ease;
}

[data-theme="dark"] .interactive-badge { background: rgba(28, 25, 23, 0.85); border: 1px solid rgba(255,255,255,0.05); }

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    animation: pulse-dot-anim 2s infinite;
}

@keyframes pulse-dot-anim {
    0% { box-shadow: 0 0 0 0 rgba(194, 65, 12, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(194, 65, 12, 0); }
    100% { box-shadow: 0 0 0 0 rgba(194, 65, 12, 0); }
}

.menu-bg-cup-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-bg-cup {
    position: relative;
    transform: scale(2.2);
    transition: opacity 0.5s ease;
    z-index: 1;
}

.menu-bg-cup::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,0,0,0.06) 0%, transparent 70%);
}

[data-theme="dark"] .menu-bg-cup::before { background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%); }

.cup-blueprint { 
    width: 110px;
    height: 140px;
    position: relative; 
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 15% 100%);
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 15% 100%); 
    display: flex;
    flex-direction: column-reverse; 
    background: rgba(0,0,0,0.05);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1), inset 0 -10px 20px rgba(0,0,0,0.05); 
    transition: transform 0.4s var(--ease-luxury); 
}

[data-theme="dark"] .cup-blueprint { background: rgba(255,255,255,0.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), inset 0 -10px 20px rgba(255,255,255,0.05); }

.menu-card.interacting .cup-blueprint { transform: scale(1.05); }

.liquid { 
    width: 100%;
    height: 0%;
    transition: height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.5s ease; 
    will-change: height, background-color;
    position: relative; 
    box-shadow: inset 0 4px 4px -2px rgba(255,255,255,0.4), inset 0 -4px 6px rgba(0,0,0,0.1);
}

[data-theme="dark"] .liquid { box-shadow: inset 0 4px 4px -2px rgba(255,255,255,0.1), inset 0 -4px 6px rgba(0,0,0,0.3); }

.liquid.espresso { background-color: var(--liquid-espresso); }
.liquid.milk { background-color: var(--liquid-milk); }
.liquid.foam { background-color: var(--liquid-foam); }
.liquid.water { background-color: var(--liquid-water); opacity: 0.6; }
.liquid.matcha { background-color: var(--liquid-matcha); }

/* Pour stream animation */
.cup-blueprint::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    width: 4px;
    height: 0;
    background: var(--pour-color, var(--liquid-espresso));
    border-radius: 2px;
    transform: translateX(-50%);
    transition: height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 10;
}
.cup-blueprint.pouring::before { height: 35px; opacity: 1; }
@keyframes liquidSplash { 0% { transform: scaleY(1); } 50% { transform: scaleY(1.1); } 100% { transform: scaleY(1); } }
.cup-blueprint.pouring .liquid { animation: liquidSplash 0.4s ease 0.35s; }

.menu-subtitle {
    color: var(--accent-color);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 2rem;
    display: block;
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
}

.menu-item-row {
    width: 100%;
    margin-bottom: 1.5rem;
    transition: 0.4s var(--ease-luxury), transform 0.4s;
    cursor: pointer;
    position: relative;
    z-index: 2;
    border-radius: 8px;
}

.menu-item-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.3rem;
    transition: color 0.3s;
}

.menu-item-desc { font-size: 0.8rem; opacity: 0.8; }

.menu-item-row.active-option { transform: translateX(12px); }
.menu-item-row.active-option .menu-item-title { color: var(--accent-color); }
.menu-item-row.active-option::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 10%;
    height: 80%;
    width: 4px;
    background-color: var(--accent-color);
    border-radius: 4px;
}

.modifier-link {
    cursor: pointer;
    transition: all 0.3s var(--ease-luxury);
    display: inline-block;
    transform-origin: left center;
    width: fit-content;
    padding: 4px 12px;
    margin-left: -12px;
    border-radius: 20px;
}

@media (hover: hover) {
    .menu-item-row:hover .menu-item-title { color: var(--accent-color); outline: none; }
    .modifier-link:hover { transform: translateX(5px); color: var(--accent-color); outline: none; }
    .footer-links-row a:hover { opacity: 1; color: var(--accent-color); }
}

.modifier-link.active-option {
    background-color: var(--accent-color);
    color: #ffffff !important;
    font-weight: 600;
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(194, 65, 12, 0.3);
}

[data-theme="dark"] .modifier-link.active-option {
    color: #000000 !important;
    box-shadow: 0 4px 10px rgba(251, 146, 60, 0.2);
}

/* ================================================================
   9. FAQ
   ================================================================ */
/* FAQ container with progress bar */
.faq-container { max-width: 1100px; margin: 0 auto; }
.faq-wrapper { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border-color); margin-bottom: 0; position: relative; }
.faq-item::before { display: none !important; }
.faq-item.active::before { display: none !important; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; background: none; border: none; cursor: pointer; text-align: left; color: var(--text-color); }
.faq-question h4 { font-family: 'Montserrat', sans-serif; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; margin: 0; }
.faq-icon { font-size: 1.2rem; transition: transform 0.3s ease; color: var(--accent-color); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.55s cubic-bezier(0.16, 1, 0.3, 1); padding-right: 2rem; }
.faq-answer p { margin-bottom: 1.5rem; font-size: 1rem; filter: blur(4px); opacity: 0; transition: filter 0.6s ease, opacity 0.6s ease; }
.faq-item.active .faq-answer { max-height: 250px; }
.faq-item.active .faq-answer p { filter: blur(0); opacity: 0.9; transition-delay: 0.15s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* ================================================================
   10. FORMS & MARQUEE
   ================================================================ */
#contact { position: relative; overflow: hidden; z-index: 1; padding: 4rem 5%; }
.contact-bg-marquee { position: absolute; top: 50%; left: 50%; width: 150vw; transform: translate(-50%, -50%) rotate(-4deg); z-index: 0; pointer-events: none; display: flex; flex-direction: column; gap: 4rem; opacity: 0.35; user-select: none; }
[data-theme="dark"] .contact-bg-marquee { opacity: 0.25; }
.bg-marquee-track { display: flex; width: max-content; will-change: transform; }
.track-left { animation: bgMarqueeLeft 60s linear infinite; }
.track-right { animation: bgMarqueeRight 60s linear infinite; }
.bg-marquee-group { flex-shrink: 0; gap: 5rem; padding-right: 5rem; display: flex; }
.bg-marquee-text { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(3rem, 6vw, 5rem); text-transform: uppercase; white-space: nowrap; line-height: 1; }

.bg-marquee-text:nth-child(3n+1) { color: var(--accent-color); }
.bg-marquee-text:nth-child(3n+2) { color: var(--text-color); opacity: 0.8; }
.bg-marquee-text:nth-child(3n+3) { color: var(--muted-text); opacity: 0.4; }

@keyframes bgMarqueeLeft { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }
@keyframes bgMarqueeRight { 0% { transform: translate3d(-50%, 0, 0); } 100% { transform: translate3d(0, 0, 0); } }

.form-container { max-width: 800px; margin: 0 auto; background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.5); padding: 4rem 5rem; box-shadow: var(--shadow); border-radius: 12px; min-height: 450px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
[data-theme="dark"] .form-container { background: rgba(28, 25, 23, 0.75); border: 1px solid rgba(255, 255, 255, 0.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.form-group { margin-bottom: 2rem; }
.form-group label { display: block; margin-bottom: 0.8rem; font-family: 'Montserrat'; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--muted-text); transition: color 0.3s ease; }
.form-group label .required-asterisk { color: var(--accent-color); margin-left: 2px; font-size: 0.9rem;}
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 1rem 1.2rem; border: 1px solid var(--border-color); background: var(--bg-color); color: var(--text-color); border-radius: 8px; font-size: 1rem; transition: border-color 0.3s ease; line-height: 1.5; }
.form-group input, .form-group select { min-height: 56px; }

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }
input[type="date"] { line-height: normal; align-items: center; display: flex; }
.form-group textarea { overflow-y: hidden; resize: none; }

.form-group select { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%24%2024%22%20fill%3D%22none%22%20stroke%3D%22%2357534E%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E'); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1rem; padding-right: 2.5rem !important; }
[data-theme="dark"] .form-group select { background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%24%2024%22%20fill%3D%22none%22%20stroke%3D%22%23A8A29E%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E'); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent-color); }

.submit-btn { width: 100%; background: var(--text-color); color: var(--bg-color); padding: 1.3rem 0; border: none; font-family: 'Montserrat'; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: 0.4s; border-radius: 50px; letter-spacing: 2px; display: flex; justify-content: center; align-items: center; min-height: 60px; }
.submit-btn:hover { background: var(--accent-color); transform: translateY(-3px); }

.form-group input.error, .form-group textarea.error, .form-group select.error { border-color: #ef4444 !important; animation: shakeError 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }
.form-group label.error-text { color: #ef4444; }
.field-error { display: block; color: #ef4444; font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 500; margin-top: 0.4rem; letter-spacing: 0.02em; }
@keyframes shakeError { 10%, 90% { transform: translate3d(-1px, 0, 0); } 20%, 80% { transform: translate3d(2px, 0, 0); } 30%, 50%, 70% { transform: translate3d(-4px, 0, 0); } 40%, 60% { transform: translate3d(4px, 0, 0); } }
.btn-spinner { width: 22px; height: 22px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 0.8s ease-in-out infinite; display: inline-block; }
[data-theme="light"] .btn-spinner { border: 2px solid rgba(0,0,0,0.2); border-top-color: #000; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================================
   11. FOOTER & COOKIES
   ================================================================ */
footer {
    background-color: var(--footer-bg);
    color: #EEEEEE;
    padding: 6rem 5% 3rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto 5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {}
.footer-logo { font-size: 1.3rem; letter-spacing: 0.35em; display: block; margin-bottom: 1.2rem; color: #fff; }
.footer-tagline { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.45); font-family: 'Source Serif 4', serif; margin: 0; }

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 0.5rem;
}

.footer-nav-col a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
    display: block;
}

.footer-nav-col a:hover { color: #fff; }

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.25);
    margin: 0;
}

.footer-credit {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.2);
    margin: 0;
    text-transform: uppercase;
}

.marquee-container { display: flex; overflow: hidden; white-space: nowrap; padding: 0.6rem 0; background: var(--text-color); color: var(--bg-color); border-top: 1px solid var(--muted-text); border-bottom: 1px solid var(--muted-text); position: relative; z-index: 2; }
.footer-marquee-group { display: flex; flex-shrink: 0; animation: footerMarqueeScroll 15s linear infinite; will-change: transform; transform: translateZ(0); }
.marquee-text { font-family: 'Montserrat', sans-serif; text-transform: uppercase; font-weight: 700; letter-spacing: 3px; padding-right: 4rem; font-size: 0.85rem; flex-shrink: 0; }
@keyframes footerMarqueeScroll { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-100%, 0, 0); } }

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s var(--ease-luxury), background 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.cookie-banner { position: fixed; bottom: 2rem; left: 2rem; max-width: 400px; background: var(--surface-color); border: 1px solid var(--border-color); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); padding: 1.5rem; border-radius: 12px; z-index: 2147483647; transform: translateY(150%); opacity: 0; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease; display: flex; flex-direction: column; gap: 1rem; }
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-text { font-size: 0.85rem; line-height: 1.5; color: var(--text-color); margin: 0; }
.cookie-buttons { display: flex; gap: 1rem; align-items: center; }
.cookie-btn { font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: 0.3s; border: none; background: none; }
.cookie-btn-accept { background-color: var(--text-color); color: var(--bg-color); padding: 0.8rem 1.5rem; border-radius: 6px; }
.cookie-btn-accept:hover { background-color: var(--accent-color); transform: translateY(-2px); }
.cookie-btn-decline { color: var(--muted-text); padding: 0.8rem 0; text-decoration: underline; text-underline-offset: 4px; }
.cookie-btn-decline:hover { color: var(--text-color); }

/* ================================================================
   12. RESPONSIVE & MOBILE APP-STYLE MENU
   ================================================================ */
.map-iframe-container { height: 600px !important; }

@media (max-width: 1024px) {
    .map-iframe-container { height: 400px !important; min-height: 0 !important; }
    section { padding: 5rem 6%; }
    .nav-toggle { display: flex; }
    
    /* ── Full-screen cinematic nav overlay ── */
    .nav-links {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100svh;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 0 10%;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        gap: 0;
        counter-reset: nav-count;
        overflow: hidden;
        will-change: opacity;
    }
    /* Large watermark text in background */
    .nav-links::after {
        content: 'ALONGSIDE';
        position: absolute;
        bottom: -4%;
        right: -3%;
        font-family: 'Montserrat', sans-serif;
        font-size: clamp(4rem, 20vw, 11rem);
        font-weight: 900;
        letter-spacing: -0.04em;
        text-transform: uppercase;
        color: var(--text-color);
        opacity: 0.04;
        pointer-events: none;
        user-select: none;
        line-height: 1;
        white-space: nowrap;
        transform: rotate(-6deg);
    }
    .nav-links.active { opacity: 1; pointer-events: all; }

    /* Big numbered links */
    .nav-links a {
        font-size: clamp(2rem, 7.5vw, 4rem);
        font-weight: 900;
        letter-spacing: -0.02em;
        text-transform: uppercase;
        opacity: 0;
        transform: translateY(48px);
        padding: 0.22rem 0;
        line-height: 1.2;
        counter-increment: nav-count;
        position: relative;
        transition: color 0.2s ease;
    }
    /* Numbered prefix */
    .nav-links a::before {
        content: counter(nav-count, decimal-leading-zero) '.';
        font-size: 0.55rem;
        font-weight: 700;
        letter-spacing: 0.15em;
        color: var(--accent-color);
        vertical-align: 0.65em;
        margin-right: 0.55rem;
        font-family: 'Montserrat', sans-serif;
    }
    /* Remove desktop underline in overlay */
    .nav-links a::after { display: none; }
    /* Active link in overlay */
    .nav-links a.active-link { color: var(--accent-color); }

    /* Staggered entrance */
    .nav-links.active a { animation: navSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
    .nav-links.active a:nth-child(1) { animation-delay: 0.06s; }
    .nav-links.active a:nth-child(2) { animation-delay: 0.13s; }
    .nav-links.active a:nth-child(3) { animation-delay: 0.20s; }
    .nav-links.active a:nth-child(4) { animation-delay: 0.27s; }
    .nav-links.active a:nth-child(5) { animation-delay: 0.34s; }
    .nav-links.active a:nth-child(6) { animation-delay: 0.41s; }
    @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
    @keyframes navSlideUp { to { opacity: 1; transform: translateY(0); } }

    .mobile-latte-container { display: block; bottom: 25px; }
    .container-grid { display: flex; flex-direction: column; text-align: left; gap: 4rem; max-width: 100%; }
    .text-content { order: 1; align-items: flex-start; max-width: 650px; margin: 0 auto; width: 100%; }
    .image-box { order: 2; width: 100%; max-width: 600px; margin: 0 auto; min-height: 0; height: 460px; aspect-ratio: unset; }
    .section-title, .text-content h3, .text-content h2 { text-align: center; width: 100%; }
    
    .mobile-menu-pill {
        display: flex; justify-content: center; gap: 5px; margin-bottom: 1.5rem;
        background: var(--surface-color); padding: 5px; border-radius: 50px; box-shadow: var(--shadow); 
        width: fit-content; margin-left: auto; margin-right: auto; position: relative; z-index: 10;
        border: 1px solid var(--border-color);
    }
    .pill-btn {
        padding: 12px 24px; border-radius: 40px; border: none; background: transparent; 
        font-family: 'Montserrat'; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; 
        letter-spacing: 1px; color: var(--muted-text); cursor: pointer; transition: 0.3s;
    }
    .pill-btn.active { background: var(--text-color); color: var(--bg-color); }

    .menu-grid {
        background: var(--surface-color); border-radius: 12px; box-shadow: var(--shadow);
        display: flex; flex-direction: column; gap: 0; overflow: hidden; border: 1px solid var(--border-color);
        height: 75vh; min-height: 620px; max-height: 850px; position: relative;
    }
    
    .menu-grid::after {
        content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 80px;
        background: linear-gradient(to top, var(--surface-color) 20%, transparent);
        pointer-events: none; z-index: 10; opacity: 1; transition: opacity 0.4s ease;
    }
    .menu-grid.is-scrolled-bottom::after { opacity: 0; }
    
    .mobile-scroll-hint {
        display: flex; position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%);
        background: var(--text-color); color: var(--bg-color); padding: 6px 16px; border-radius: 20px;
        font-family: 'Montserrat', sans-serif; font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
        letter-spacing: 2px; z-index: 15; pointer-events: none;
        align-items: center; gap: 6px; box-shadow: var(--shadow);
        animation: hint-bounce 2s infinite; opacity: 1; transition: opacity 0.4s ease;
    }
    .menu-grid.is-scrolled .mobile-scroll-hint { opacity: 0; }
    @keyframes hint-bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 5px); } }

    .menu-card { background: transparent; box-shadow: none; border-radius: 0; padding: 0; min-height: auto; }
    .interactive-badge { top: 15px; }
    
    .menu-bg-cup-container { 
        position: relative; height: 260px; inset: auto; width: 100%; 
        border-radius: 0; border-bottom: 1px solid var(--border-color); 
        background: var(--surface-color); z-index: 10; flex-shrink: 0;
    }
    
    .menu-card-content { 
        padding: 1.2rem 1.5rem 4rem 1.5rem !important; 
        overflow-y: auto; overscroll-behavior: contain; 
        -webkit-overflow-scrolling: touch; flex: 1; min-height: 0;
    }
    .menu-card-content::-webkit-scrollbar { display: none; }
    .menu-card-content { -ms-overflow-style: none; scrollbar-width: none; }
    
    #card-essentials { display: flex; flex-direction: column; height: 100%; flex: 1; min-height: 0; }
    #card-customize { display: none; flex-direction: column; height: 100%; flex: 1; min-height: 0; }
    
    .menu-grid.show-customize #card-customize { display: flex; animation: fade-in-tab 0.4s var(--ease-luxury) forwards; }
    .menu-grid.show-customize #card-essentials { height: auto; flex: none; } 
    .menu-grid.show-customize #card-essentials .menu-card-content { display: none !important; }
    
    .menu-grid:not(.show-customize) #card-essentials .menu-card-content { display: flex; flex: 1; animation: fade-in-tab 0.4s var(--ease-luxury) forwards; }

    /* Tablet layout polish */
    .container-grid { gap: 3.5rem; }
    .form-container { padding: 3rem 3.5rem; }
    .faq-wrapper { column-gap: 2.5rem; }
    .section-title-wrapper { margin-bottom: 4rem; }
}

/* ── Tablet-only (between mobile menu and full desktop) ── */
@media (min-width: 769px) and (max-width: 1024px) {
    section { padding: 7rem 6%; }
    .container-grid { gap: 4rem; }
    .container-grid h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem) !important; }
    .stat-item { padding: 3rem 2rem; }
    .form-container { padding: 3.5rem 4rem; }
}

@media (max-width: 768px) {
    .hero-content { padding-top: 5vh; background: linear-gradient(to bottom, transparent 0%, var(--bg-color) 80%); }
    .hero-booking-text { margin-top: 1rem; }
.value-props-marquee { margin-top: 1.5rem; padding-top: 1.5rem; mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent); }
    .value-prop-item { gap: 0.4rem; }
    .value-prop-item svg { width: 20px; height: 20px; }
    .value-prop-item span { font-size: 0.65rem; white-space: normal; }
    .menu-bg-cup { transform: scale(1.6); margin-left: 0; }
    /* Reduce compositing cost on mobile — turn off expensive backdrop-filters */
    .form-container { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: var(--surface-color) !important; }
    .glass-pill, .nav-toggle, nav { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
    .faq-progress { display: none; }
    .faq-item::before { display: none; }
    .faq-item { margin-bottom: 1rem; }
    .faq-question { padding: 1rem 0; }
    #contact { padding: 2rem 1rem !important; }
    .section-title-wrapper { margin-bottom: 2rem !important; }
    /* Scale inline-styled headings on small screens */
    .container-grid h2 { font-size: clamp(1.4rem, 5.5vw, 1.9rem) !important; }
    .image-box { height: 500px; }
}

@media (max-width: 480px) {
    .menu-card-content { max-height: 40svh; }
    .image-box { aspect-ratio: 3/4; height: auto; }
    .form-container { padding: 2.5rem 1.5rem !important; min-height: auto !important; min-width: 100%; margin-top: 0; }
    .form-row { grid-template-columns: 1fr 1fr !important; gap: 1rem !important; }
    .form-group { margin-bottom: 1.2rem !important; }
    .form-group label { margin-bottom: 0.4rem !important; font-size: 0.75rem !important; }
    .form-group input, .form-group select { min-height: 50px !important; padding: 0.5rem 0.8rem !important; font-size: 1rem !important; }
    .form-group textarea { min-height: 100px !important; padding: 0.8rem !important; font-size: 1rem !important; }
    .submit-btn { padding: 1.2rem 0 !important; font-size: 0.9rem !important; margin-top: 0.5rem; }
    footer { padding: 3.5rem 5% 2rem !important; }
    .footer-top { margin-bottom: 2rem !important; padding-bottom: 2rem !important; }
    .cookie-banner { bottom: 0; left: 0; right: 0; max-width: 100%; border-radius: 12px 12px 0 0; border-bottom: none; border-left: none; border-right: none; }
}

/* ================================================================
   13. LIGHTBOX
   ================================================================ */
.lightbox { position: fixed; inset: 0; z-index: 2147483647; background: rgba(12, 10, 9, 0.95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease-luxury); display: flex; justify-content: center; align-items: center; }
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-img { max-width: 90vw; max-height: 90vh; max-height: calc(var(--vh, 1vh) * 90); object-fit: contain; transform: scale(0.95); transition: transform 0.4s var(--ease-luxury); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
.lightbox.active .lightbox-img { transform: scale(1); }
.lightbox-close { position: absolute; top: 2rem; right: 2rem; background: none; border: none; color: #fff; font-size: 3rem; font-weight: 300; cursor: pointer; transition: transform 0.3s; z-index: 2; line-height: 1; }
.lightbox-close:hover { transform: scale(1.1); color: var(--accent-color); }
.gallery-track img, .cart-img-fix { cursor: pointer; }

/* ================================================================
   14. ALONGSIDE AI CHAT WIDGET
   ================================================================ */
.ai-widget-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2147483646; 
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* FAB — premium pill */
.ai-fab {
    height: 48px;
    width: auto;
    padding: 0 20px 0 16px;
    border-radius: 28px;
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.12);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, opacity 0.4s ease;
    position: relative;
}
.ai-fab:hover { transform: translateY(-2px) scale(1.02) !important; box-shadow: 0 14px 36px rgba(0,0,0,0.28), 0 3px 10px rgba(0,0,0,0.15); }
[data-theme="dark"] .ai-fab { background: #FAFAF9; color: #1C1917; box-shadow: 0 8px 28px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06); }

.ai-fab-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ai-fab-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 11px;
    height: 11px;
    background-color: var(--accent-color);
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    z-index: 2;
    animation: pulse-fab-dot 2.5s infinite;
    transition: opacity 0.3s;
}
@keyframes pulse-fab-dot {
    0% { box-shadow: 0 0 0 0 rgba(194, 65, 12, 0.5); }
    70% { box-shadow: 0 0 0 7px rgba(194, 65, 12, 0); }
    100% { box-shadow: 0 0 0 0 rgba(194, 65, 12, 0); }
}

/* Chat window */
.ai-chat-window {
    width: 380px;
    max-width: calc(100vw - 2.5rem);
    height: 520px;
    max-height: calc(var(--vh, 1vh) * 75);
    background: rgba(252, 251, 250, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 20px;
    box-shadow: 0 32px 64px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.03);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.96);
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ai-chat-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
[data-theme="dark"] .ai-chat-window {
    background: rgba(20, 17, 15, 0.97);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 32px 64px rgba(0,0,0,0.6), 0 8px 24px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
}

.ai-chat-window, .ai-chat-window * { cursor: auto !important; }

/* Header */
.ai-chat-header {
    padding: 1.2rem 1.4rem;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
[data-theme="dark"] .ai-chat-header {
    background: #0f0d0c;
    border-bottom-color: rgba(255,255,255,0.06);
}
.ai-header-info { display: flex; align-items: center; gap: 12px; }
.ai-avatar {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, #C2410C 0%, #EA580C 100%);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}
.ai-header-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-color);
    margin: 0 0 3px 0;
}
.ai-header-sub {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-size: 0.68rem;
    color: var(--muted-text);
    display: flex;
    align-items: center;
    gap: 4px;
}
.ai-online-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}
.ai-close-btn {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-text);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.ai-close-btn:hover { background: var(--text-color); color: var(--bg-color); border-color: var(--text-color); }

/* Messages */
.ai-chat-messages {
    flex: 1 1 auto;
    padding: 1.3rem 1.2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 0;
}
.ai-chat-messages::-webkit-scrollbar { width: 3px; }
.ai-chat-messages::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }

.ai-message {
    max-width: 85%;
    padding: 0.85rem 1.05rem;
    border-radius: 14px;
    font-size: 0.84rem;
    line-height: 1.5;
    font-family: 'Source Serif 4', serif;
    overflow-wrap: break-word;
    word-break: break-word;
}
.ai-message-bot {
    background: var(--surface-color);
    color: var(--text-color);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.ai-message-user {
    background: var(--text-color);
    color: var(--bg-color);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
[data-theme="dark"] .ai-message-bot { background: #1e1b19; }

/* Quick replies */
.ai-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 0.6rem;
    transition: opacity 0.3s;
}
.quick-reply-btn {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.quick-reply-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
    transform: translateY(-1px);
}

/* Typing */
.ai-typing { display: flex; gap: 4px; padding: 0.5rem 1rem; align-items: center; width: fit-content; }
.ai-typing span { width: 5px; height: 5px; background-color: var(--muted-text); border-radius: 50%; animation: typing 1.4s infinite ease-in-out both; }
.ai-typing span:nth-child(1) { animation-delay: -0.32s; }
.ai-typing span:nth-child(2) { animation-delay: -0.16s; }
@keyframes typing { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

/* Input area */
.ai-chat-input-area {
    padding: 1rem 1.2rem 1.1rem;
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}
[data-theme="dark"] .ai-chat-input-area { background: #0f0d0c; border-top-color: rgba(255,255,255,0.06); }
#ai-chat-form { display: flex; gap: 8px; align-items: center; }
#ai-chat-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--surface-color);
    color: var(--text-color);
    font-family: 'Source Serif 4', serif;
    font-size: 0.84rem;
    transition: border-color 0.2s;
}
#ai-chat-input:focus { outline: none; border-color: var(--accent-color); }
.ai-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.ai-send-btn:hover { transform: scale(1.05); background: var(--accent-color); }
.ai-disclaimer { font-family: 'Montserrat', sans-serif; font-size: 0.48rem; color: var(--muted-text); text-align: center; opacity: 0.55; line-height: 1.4; letter-spacing: 0.02em; }

@media (max-width: 600px) {
    .ai-widget-container { bottom: 1rem; right: 1rem; z-index: 2147483647; }
    .ai-fab {
        width: 48px;
        height: 48px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }
    .ai-fab-label { display: none; }
    .ai-chat-window {
        position: fixed; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
        width: 100vw !important; max-width: 100vw !important;
        height: 100dvh !important; max-height: none !important;
        border-radius: 0; margin: 0; border: none; box-shadow: none;
        transform: translateY(100%); z-index: 2147483647;
    }
    .ai-chat-window.active { transform: translateY(0); }
    .ai-chat-input-area { padding-bottom: env(safe-area-inset-bottom, 1rem); }
}

/* ================================================================
   15. STATS STRIP
   ================================================================ */
.stats-strip {
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0 5%;
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
}

.stat-item {
    padding: 4rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background: var(--border-color);
    flex-shrink: 0;
}

.stat-number-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.1em;
    line-height: 1;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    letter-spacing: -0.03em;
    color: var(--text-color);
    display: inline-block;
    line-height: 1;
}

.stat-sup {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    color: var(--accent-color);
    margin-left: 0.1em;
    line-height: 1;
    vertical-align: super;
}

.stat-text-wrap {
    min-height: clamp(2.2rem, 4.5vw, 3.8rem);
    align-items: flex-end;
}

.stat-word {
    font-family: 'Sacramento', cursive;
    font-size: clamp(1.5rem, 2.4vw, 2.4rem);
    color: var(--text-color);
    line-height: 1.1;
    display: inline-block;
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted-text);
    display: block;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .stat-divider { display: none; }
    .stat-item {
        padding: 2.5rem 2rem;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        align-items: flex-start;
    }
    /* Col-1 items (positions 1, 5, 9 with hidden dividers) get right divider */
    .stat-item:nth-child(4n+1) { border-right: 1px solid var(--border-color); }
    /* Last two items (bottom row) — no bottom border */
    .stat-item:nth-child(9),
    .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-item { padding: 2rem 1.5rem; }
}

/* ================================================================
   16. SPEC LIST REDESIGN
   ================================================================ */
.spec-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.spec-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: opacity 0.3s ease;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-color);
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.spec-key {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted-text);
}

.spec-val {
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1.4;
}

/* Ken Burns on cart photo */
@keyframes kenBurns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.06) translate(-1%, -1%); }
}
.cart-img-fix { animation: kenBurns 20s ease-in-out infinite alternate; }

/* ================================================================
   17. FEATURED TESTIMONIAL
   ================================================================ */
.featured-testimonial {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.testimonial-quote-mark {
    width: 32px;
    height: auto;
    color: var(--accent-color);
    opacity: 0.5;
    margin: 0 auto 1rem;
    display: block;
}

.featured-testimonial blockquote {
    font-family: 'Source Serif 4', serif;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-color);
    margin: 0 0 1rem;
    letter-spacing: 0.01em;
    opacity: 0.88;
}

.featured-testimonial cite {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted-text);
    font-style: normal;
}

/* ================================================================
   18. FOOTER MOBILE & RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        margin-bottom: 3rem;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    footer { padding: 4rem 5% 2.5rem; }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 2rem;
        margin-bottom: 2.5rem;
        padding-bottom: 2.5rem;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ================================================================
   19. SECTION TITLE ENHANCEMENT
   ================================================================ */
.section-title-wrapper {
    position: relative;
}

/* ================================================================
   20. GENERAL POLISH
   ================================================================ */

/* Smoother nav underline */
.nav-links a::after {
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* FAQ transition refinement */
.faq-answer {
    transition: max-height 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Form focus glow */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.12);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus,
[data-theme="dark"] .form-group select:focus {
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.12);
}

/* Submit button refinement */
.submit-btn {
    letter-spacing: 3px;
    font-size: 0.75rem;
}

.submit-btn:hover {
    box-shadow: 0 8px 24px rgba(194, 65, 12, 0.35);
}

/* Section transitions between bg-color and surface-color */
#about, #the-cart {
    transition: background-color 0.3s ease;
}

/* Hero content max width */
.hero-content {
    max-width: 100%;
}

/* Marquee container refinement */
.marquee-container {
    padding: 0.8rem 0;
}

/* Image box border-radius refinement */
.image-box, .menu-card {
    border-radius: 10px;
}

.img-clipper {
    border-radius: 7px;
}

/* ================================================================
   21. INSTAGRAM WIDGET
   ================================================================ */
.lightwidget-widget {
    display: block;
    min-height: 360px;
}

/* ================================================================
   22. IMAGE SKELETON SHIMMER
   ================================================================ */
.image-box::after {
    content: '';
    position: absolute;
    inset: 3px;
    z-index: 1;
    border-radius: 7px;
    background: linear-gradient(110deg, var(--border-color) 8%, color-mix(in srgb, var(--border-color) 50%, var(--surface-color)) 18%, var(--border-color) 33%);
    background-size: 200% 100%;
    animation: shimmer-load 1.5s linear infinite;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.image-box.loaded::after {
    opacity: 0;
}
@keyframes shimmer-load {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ================================================================
   24. ENHANCED NAV SCROLLED STATE
   ================================================================ */
nav.scrolled {
    background: color-mix(in srgb, var(--nav-bg) 85%, transparent);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom-color: color-mix(in srgb, var(--border-color) 50%, transparent);
}

/* ================================================================
   25. ENHANCED FORM INTERACTIONS
   ================================================================ */
.form-group {
    position: relative;
}
.form-group label {
    transition: color 0.3s ease, transform 0.3s ease;
}
.form-group:focus-within label {
    color: var(--accent-color);
    transform: translateX(2px);
}
.form-group input,
.form-group textarea,
.form-group select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    background-color: color-mix(in srgb, var(--accent-color) 2%, var(--bg-color));
}

/* ================================================================
   26. ENHANCED STAT ITEM HOVER
   ================================================================ */
@media (hover: hover) {
    .stat-item {
        transition: background-color 0.4s ease;
        position: relative;
    }
    .stat-item:hover {
        background-color: color-mix(in srgb, var(--accent-color) 4%, var(--bg-color));
    }
    .stat-item:hover .stat-number {
        color: var(--accent-color);
        transition: color 0.4s ease;
    }
    .stat-item:hover .stat-word {
        color: var(--accent-color);
        transition: color 0.4s ease;
    }
}

/* ================================================================
   27. FOOTER LINK HOVER ENHANCEMENTS
   ================================================================ */
.footer-nav-col a {
    position: relative;
    padding-left: 0;
    transition: color 0.3s ease, padding-left 0.3s var(--ease-luxury);
}
@media (hover: hover) {
    .footer-nav-col a:hover {
        padding-left: 8px;
    }
    .footer-nav-col a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%) scaleX(0);
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--accent-color);
        transition: transform 0.3s var(--ease-luxury);
        transform-origin: left center;
    }
    .footer-nav-col a:hover::before {
        transform: translateY(-50%) scaleX(1);
    }
}

/* ================================================================
   28. ENHANCED TESTIMONIAL SECTION
   ================================================================ */
.featured-testimonial {
    padding: 2.5rem 3rem;
    background: color-mix(in srgb, var(--surface-color) 50%, transparent);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
@media (max-width: 768px) {
    .featured-testimonial {
        padding: 2rem 1.5rem;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--surface-color);
    }
}


/* ================================================================
   31. SCROLL PROGRESS GRADIENT
   ================================================================ */
.scroll-progress {
    background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color) 60%, #F59E0B));
}

/* ================================================================
   32. ENHANCED BACK-TO-TOP BUTTON
   ================================================================ */
.back-to-top {
    transition: opacity 0.4s ease, transform 0.4s var(--ease-luxury), background 0.3s ease, box-shadow 0.3s ease;
}
.back-to-top:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

/* ================================================================
   33. GLOBAL PERFORMANCE & POLISH
   ================================================================ */

/* GPU layer hints for animated elements */
.marquee-group,
.footer-marquee-group,
.bg-marquee-track {
    backface-visibility: hidden;
}

/* Prevent animation jank on scroll reveal */
.reveal,
.fade-up-reveal,
.curtain-reveal::after {
    backface-visibility: hidden;
}

/* Smooth focus transitions */
a, button {
    transition-property: color, background-color, border-color, box-shadow, opacity, transform;
}

/* ================================================================
   34. @PROPERTY FOR DYNAMIC ACCENT THEMING
   ================================================================ */
@property --accent-color {
    syntax: '<color>';
    inherits: true;
    initial-value: #C2410C;
}
html {
    transition: --accent-color 0.8s ease;
}

/* Section accent colors — light mode */
#about    { --section-accent: #92400E; }
#menu     { --section-accent: #C2410C; }
#the-cart { --section-accent: #78350F; }
#location { --section-accent: #475569; }
#faq      { --section-accent: #57534E; }
#contact  { --section-accent: #C2410C; }

/* Section accent colors — dark mode */
[data-theme="dark"] #about    { --section-accent: #D97706; }
[data-theme="dark"] #menu     { --section-accent: #FB923C; }
[data-theme="dark"] #the-cart { --section-accent: #B45309; }
[data-theme="dark"] #location { --section-accent: #94A3B8; }
[data-theme="dark"] #faq      { --section-accent: #A8A29E; }
[data-theme="dark"] #contact  { --section-accent: #FB923C; }

/* ================================================================
   35. MICRO-ANIMATIONS
   ================================================================ */
/* Stat number bounce on counter complete */
@keyframes stat-bounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.18); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); }
}
.stat-number.counter-done {
    animation: stat-bounce 0.5s var(--ease-luxury);
}

/* FAQ icon morph: + to x via pseudo-elements */
.faq-icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    font-size: 0;
    color: transparent;
}
.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background: var(--accent-color);
    border-radius: 2px;
    transition: transform 0.4s var(--ease-luxury);
}
.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.faq-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}
.faq-item.active .faq-icon::before {
    transform: translateY(-50%) rotate(45deg);
}
.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(-45deg);
}

/* Logo letter-spacing expand on hover */
@media (hover: hover) {
    .logo {
        transition: color 0.3s, letter-spacing 0.5s var(--ease-luxury);
    }
    .logo:hover {
        letter-spacing: 0.5em;
    }
}

/* Value prop icon gentle float on hover */
@media (hover: hover) {
    .value-prop-item:hover svg {
        animation: gentle-float 2s ease-in-out infinite;
    }
}
@keyframes gentle-float {
    0%, 100% { transform: translateY(-4px); }
    50% { transform: translateY(-12px); }
}

/* ================================================================
   36. VIEW TRANSITION UPGRADE (Curtain Wipe)
   ================================================================ */
@view-transition { navigation: auto; }
::view-transition-old(root) {
    animation: vt-slide-out 0.4s var(--ease-luxury) forwards;
}
::view-transition-new(root) {
    animation: vt-slide-in 0.4s var(--ease-luxury) 0.15s forwards;
    opacity: 0;
}
@keyframes vt-slide-out {
    0% { opacity: 1; clip-path: inset(0); }
    100% { opacity: 0; clip-path: inset(0 0 0 100%); }
}
@keyframes vt-slide-in {
    0% { opacity: 0; clip-path: inset(0 100% 0 0); }
    100% { opacity: 1; clip-path: inset(0); }
}

/* ================================================================
   39. AI CHAT STREAMING CURSOR
   ================================================================ */
.ai-message-bot.streaming::after {
    content: '|';
    display: inline;
    animation: cursor-blink 0.7s step-end infinite;
    color: var(--accent-color);
    font-weight: 300;
    margin-left: 1px;
}
@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
.ai-follow-ups {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 0.6rem;
    animation: follow-up-appear 0.5s var(--ease-luxury);
}
@keyframes follow-up-appear {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   40. REDUCED MOTION & NARROW SCREENS
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    .image-box::after { animation: none; }
    .scroll-progress { transition: none; }
    .stat-number.counter-done { animation: none; }
    .ai-message-bot.streaming::after { animation: none; }
    html { transition: none !important; }
    ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.01s !important; }
}

@media (max-width: 360px) {
    section { padding: 4rem 4%; }
    .form-container { padding: 2rem 1.2rem !important; }
    nav { padding: 1rem 4%; }
}
