/*
Theme Name: Bernice Bisson
Theme URI: https://bernicebisson.com
Description: Custom single-page theme for Bernice Bisson - psychic medium, astrologer, and spiritual guide.
Version: 1.0.44
Author: Logan
Text Domain: bernice-bisson
*/
/* ==========================================================================
           EASY EDIT COLOR PALETTE
           ========================================================================== */
        :root {
            /* Dark Theme Colors */
            --bg-dark: #0f0c1b;        
            --bg-card: #1a1528;        
            --text-main: #fcfbf9;      
            --text-muted: #a7a2b9;     
            
            /* Light Theme Colors */
            --bg-light: #ffffff;
            --text-purple-dark: #2a1b42; 
            --text-purple-muted: #53456b; 

            /* Shared Accents */
            --accent-gold: #d4af37;    
            --accent-hover: #f3e5ab;   
            --border: rgba(212, 175, 55, 0.15); 
            
            /* Fonts */
            --font-mystic: 'Cinzel', serif;
            --font-body: 'Lora', serif;
            --booking-panel-width: min(36rem, 100vw);
            --booking-ease: cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; scroll-padding-top: 90px; }
        
        /* CRITICAL MOBILE FIX: Locks viewport width to prevent side-to-side wobble */
        html, body {
            width: 100%;
            position: relative;
        }
        
        body { font-family: var(--font-body); background-color: var(--bg-dark); color: var(--text-main); line-height: 1.7; }

        section.scroll-spy-section:not(#home) {
            content-visibility: auto;
            contain-intrinsic-size: auto 720px;
        }

        @media (prefers-reduced-motion: reduce) {
            .hero,
            .footer-cta {
                background-attachment: scroll;
            }
        }

        h1, h2, h3, h4, .logo { font-family: var(--font-mystic); font-weight: 500; letter-spacing: 0.05em; line-height: 1.2; text-transform: uppercase; }
        h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 1.5rem; color: var(--text-main); text-shadow: 0 2px 15px rgba(0,0,0,0.5); }
        h3 { font-size: 1.35rem; margin-bottom: 1rem; color: var(--accent-gold); font-weight: 600; }
        p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 1.5rem; }

        .container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 2; }
        section { padding: 5rem 0; }
        #testimonials { padding: 4rem 0; }

        /* Media banner */
        .media-banner {
            padding: 1.5rem 0;
            background: linear-gradient(to bottom, #06040a, #0d0a17, #06040a);
            border-top: 3px solid rgba(212, 175, 55, 0.3);
            border-bottom: 3px solid rgba(212, 175, 55, 0.15);
            box-shadow: inset 0 15px 25px rgba(0,0,0,0.6), 0 10px 20px rgba(0,0,0,0.4);
            position: relative;
            z-index: 10;
        }
        .media-banner-inner { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
        .media-title { font-family: var(--font-mystic); font-size: 0.85rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent-gold); margin: 0; opacity: 0.8; }
        .media-logos { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; }
        .media-logos img { width: 75px; height: 75px; object-fit: contain; filter: grayscale(100%) opacity(0.6); transition: all 0.4s ease; border-radius: 16px; background: #ffffff; padding: 8px; border: 2px solid rgba(255, 255, 255, 0.85); box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
        .media-logos img:hover { filter: grayscale(0%) opacity(1); transform: scale(1.05); border-color: var(--accent-gold); box-shadow: 0 5px 15px rgba(212,175,55,0.35), 0 0 0 1px var(--accent-gold); }

        /* --- THEME SECTIONS (Dark vs Light) --- */
        .dark-section { background-color: var(--bg-dark); color: var(--text-main); border-bottom: 1px solid var(--border); }
        .light-section { background-color: var(--bg-light); color: var(--text-purple-muted); border-bottom: 1px solid var(--border); border-top: 1px solid var(--border); }
        .light-section h2 { color: var(--text-purple-dark); text-shadow: none; }
        .light-section p { color: var(--text-purple-muted); }
        
        .light-section .image-card, 
        .light-section .video-wrapper,
        .light-section .podcast-wrapper { 
            box-shadow: 0 15px 40px rgba(42, 27, 66, 0.15), 0 0 20px rgba(212,175,55,0.1); 
        }

        /* Navigation */
        .site-nav { position: fixed; width: 100%; top: 0; left: 0; background: rgba(15, 12, 27, 0.97); border-bottom: 1px solid rgba(212, 175, 55, 0.1); z-index: 10000; overflow: visible; }
        .site-nav .nav-container { display: flex; justify-content: space-between; align-items: center; height: 90px; position: relative; }
        .logo-wrapper { display: flex; align-items: center; text-decoration: none; height: 100%; position: relative; z-index: 2; }
        .logo-wrapper img { height: 65px; width: auto; object-fit: contain; transition: transform 0.4s ease; }
        .logo-wrapper img:hover { transform: scale(1.05) rotate(-2deg); }
        .nav-links { display: flex; gap: 1.75rem; align-items: center; position: absolute; left: 50%; top: 0; height: 100%; transform: translateX(-50%); z-index: 1; }
        .nav-links a { font-family: var(--font-mystic); color: var(--text-main); text-decoration: none; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; transition: color 0.3s ease, text-shadow 0.3s ease; position: relative; white-space: nowrap; }
        .nav-links a:hover { color: var(--accent-gold); text-shadow: 0 0 10px rgba(212,175,55,0.3); }
        .nav-links a.active { color: var(--accent-gold); }
        .nav-links a.nav-book { color: var(--accent-gold); }
        .nav-book-bar { display: none; }
        .nav-indicator { position: absolute; bottom: 28px; left: 0; height: 2px; width: var(--nav-w, 0px); background-color: var(--accent-gold); border-radius: 2px; box-shadow: 0 0 8px rgba(212,175,55,0.6); pointer-events: none; opacity: 0; transform: translateX(var(--nav-x, 0px)); transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), width 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease; will-change: transform, width; }
        .nav-indicator.is-visible { opacity: 1; }
        .site-nav .hamburger { display: none; position: relative; z-index: 3; width: 48px; height: 48px; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 6px; background: transparent; border: 0; cursor: pointer; }
        .site-nav .hamburger span { display: block; width: 22px; height: 2px; background: var(--accent-gold); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
        .site-nav .hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
        .site-nav .hamburger.is-open span:nth-child(2) { opacity: 0; }
        .site-nav .hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

        /* Buttons */
        .btn-group { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; margin: 0 auto; }
        .btn { display: inline-flex; align-items: center; justify-content: center; padding: 1.15rem 2.5rem; font-family: var(--font-mystic); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.15em; text-decoration: none; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; border-radius: 50px; }
        .btn-primary { background-color: var(--accent-gold); color: #000; border: 1px solid var(--accent-gold); box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2); }
        .btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4); }
        .btn-outline { background-color: rgba(0,0,0,0.3); backdrop-filter: blur(8px); color: var(--accent-gold); border: 1px solid var(--accent-gold); }
        .btn-outline:hover { background-color: rgba(212, 175, 55, 0.15); transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2); }
        
        .light-section .btn-outline { background-color: transparent; color: var(--text-purple-dark); border-color: var(--accent-gold); }
        .light-section .btn-outline:hover { background-color: rgba(212, 175, 55, 0.1); }

        /* Premium Frosted Glass Sticky FAB */
        .sticky-book-btn { 
            position: fixed; 
            bottom: 30px; 
            right: 30px; 
            z-index: 9999; 
            background-color: rgba(212, 175, 55, 0.98); 
            box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(212,175,55,0.3); 
            animation: gentlePulse 3s infinite alternate; 
            
            /* Visibility toggled via JS based on scroll position */
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }
        
        .sticky-book-btn.show-sticky {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        .sticky-book-btn:hover { background-color: var(--accent-gold); }
        @keyframes gentlePulse { 0% { transform: scale(1); box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 10px rgba(212,175,55,0.2); } 100% { transform: scale(1.03); box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 25px rgba(212,175,55,0.6); } }
        @keyframes bookBtnGlow {
            0% {
                box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
                text-shadow: 0 0 4px rgba(255, 255, 255, 0.55), 0 0 10px rgba(212, 175, 55, 0.45);
            }
            100% {
                box-shadow: 0 0 16px rgba(212, 175, 55, 0.9), 0 0 28px rgba(212, 175, 55, 0.45);
                text-shadow: 0 0 8px #ffffff, 0 0 16px rgba(212, 175, 55, 0.85);
            }
        }

        /* 1. Hero Section (DARK) */
        .hero { position: relative; text-align: center; padding: 14rem 0 10rem; min-height: 100vh; display: flex; align-items: center; justify-content: center; background-image: url('assets/images/hero.jpg'); background-size: cover; background-position: center; background-attachment: fixed; border-bottom: none; }
        .hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(15,12,27,0.1) 0%, rgba(15,12,27,0.85) 100%); z-index: 1; }

        .glow-text { color: #ffffff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 30px rgba(212, 175, 55, 0.9), 0 0 50px rgba(212, 175, 55, 0.8), 0 0 80px rgba(212, 175, 55, 0.5); }
        .hero-title { font-size: clamp(2.5rem, 10vw, 5.5rem); margin: 0 0 1.5rem; letter-spacing: 0.1em; line-height: 1.1; padding: 0; border: 0; }
        .seo-pre-heading { display: block; font-size: 1.2rem; letter-spacing: 0.15em; margin-bottom: 1rem; }
        .hero-lede { margin: 0 auto 3rem; max-width: 700px; font-size: 1.15rem; color: var(--text-muted); }

        .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
        .grid-2-reverse { direction: rtl; }
        .grid-2-reverse > * { direction: ltr; }

        .video-wrapper, .image-card, .podcast-wrapper { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(212,175,55,0.05); border: 1px solid var(--border); transition: all 0.4s ease; }
        .video-wrapper { padding-bottom: 56.25%; height: 0; }
        .image-card { display: block; width: 100%; height: 100%; }
        .podcast-wrapper { height: 200px; }
        .video-wrapper:hover, .image-card:hover, .podcast-wrapper:hover { transform: translateY(-4px); }
        .video-wrapper iframe, .podcast-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
        .image-card img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.9); transition: all 0.6s ease; }
        .image-card:hover img { filter: brightness(1.05); transform: scale(1.03); }
        .section-header { text-align: center; max-width: 800px; margin: 0 auto 3rem; }
        .section-header-split h3 { margin-bottom: 1rem; }
        #testimonials .section-header { margin-bottom: 2rem; }

        /* --- ENDLESS LOOPING TESTIMONIALS --- */
        .testimonials-container-relative {
            overflow: hidden; 
            position: relative;
            max-width: 100%;
            margin: 0 auto;
            padding: 1rem 0;
            cursor: grab;
            touch-action: pan-y;
            user-select: none;
            -webkit-user-select: none;
            mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        }

        .testimonials-container-relative.is-dragging {
            cursor: grabbing;
        }

        .testimonials-wrapper {
            display: flex;
            align-items: stretch;
            gap: 2rem;
            width: max-content;
            will-change: transform;
            backface-visibility: hidden;
        }

        .testimonial-card {
            width: 380px; 
            background: var(--bg-card); 
            border: 1px solid var(--border);
            border-top: 4px solid var(--accent-gold);
            border-radius: 20px;
            padding: 1.5rem; 
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
        }

        .light-section .testimonial-card { box-shadow: 0 15px 35px rgba(42, 27, 66, 0.2); }
        .light-section .testimonial-card p { color: #ffffff !important; }
        .testimonial-card p { font-style: italic; font-size: 1.05rem; color: var(--text-main); margin-bottom: 1.5rem; line-height: 1.6; }
        
        .testimonial-footer {
            margin-top: auto; 
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid rgba(255,255,255,0.1); 
            padding-top: 1rem;
        }
        .testimonial-card h4 { color: var(--accent-gold); font-size: 1rem; margin: 0; }
        .stars { color: var(--accent-gold); font-size: 1.4rem; letter-spacing: 2px; }

        /* --- INTERACTIVE FLIP CARDS (SERVICES GRID) --- */
        .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
        .service-item { background: transparent; perspective: 1000px; height: 320px; cursor: pointer; }
        .service-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-style: preserve-3d; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
        
        .light-section .service-inner { box-shadow: 0 15px 35px rgba(42, 27, 66, 0.2); }
        .light-section .service-item:hover .service-inner { box-shadow: 0 20px 40px rgba(42, 27, 66, 0.3), 0 0 20px rgba(212, 175, 55, 0.3); }
        .dark-section .service-item:hover .service-inner { box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(212, 175, 55, 0.15); }
        
        .service-item:hover .service-inner { transform: translateY(-8px); }
        .service-item.flipped .service-inner { transform: translateY(0) rotateY(180deg); }
        .service-item.flipped:hover .service-inner { transform: translateY(-8px) rotateY(180deg); }

        .service-front, .service-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 24px; overflow: hidden; }
        
        .service-front { background: var(--bg-card); border: 1px solid var(--border); display: flex; flex-direction: column; }
        .service-front img { width: 100%; height: 180px; object-fit: cover; border-bottom: 1px solid var(--border); transition: transform 0.5s ease; }
        .service-item:hover .service-front img { transform: scale(1.05); }
        
        .service-front h4 { padding: 1.5rem; color: #ffffff; font-size: 1.3rem; letter-spacing: 0.1em; flex-grow: 1; display: flex; align-items: center; justify-content: center; margin: 0; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
        .flip-hint { position: absolute; bottom: 12px; left: 0; right: 0; width: 100%; text-align: center; font-family: var(--font-body); font-size: 0.75rem; color: rgba(255,255,255,0.5); opacity: 0.7; font-style: italic; }

        .service-back { background-color: var(--bg-card); border: 2px solid var(--accent-gold); color: var(--text-main); transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2.5rem; }
        .service-back h4 { color: var(--accent-gold); font-size: 1.4rem; margin-bottom: 1rem; }
        .service-back p { font-family: var(--font-body); font-size: 1.1rem; line-height: 1.6; margin: 0; color: #ffffff; }
        .service-back .flip-hint { color: rgba(255,255,255,0.5); opacity: 0.5; }

        /* Pricing Box */
        .pricing-box { margin: 2.5rem 0; padding: 2rem; border-radius: 24px; border-left: 4px solid var(--accent-gold); border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
        .dark-section .pricing-box { background: rgba(26, 21, 40, 0.6); backdrop-filter: blur(10px); }
        .light-section .pricing-box { background: var(--bg-card); box-shadow: 0 15px 35px rgba(42, 27, 66, 0.2); border-color: rgba(26, 21, 40, 0.3); }
        .light-section .pricing-box p { color: var(--text-main); }

        /* --- FANNED ORACLE CARDS --- */
        .fanned-cards-container { position: relative; height: 500px; width: 100%; display: flex; justify-content: center; align-items: center; perspective: 1200px; }
        @keyframes magicalFloat { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
        .fanned-cards-container:not(.gallery-mode) { animation: magicalFloat 6s ease-in-out infinite; }
        #oracle.oracle-paused .fanned-cards-container:not(.gallery-mode) { animation-play-state: paused; }

        .deck-card { position: absolute; width: 245px; height: 350px; cursor: pointer; transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); transform: rotate(var(--rot)) translateX(var(--tx)) translateY(var(--ty)) scale(var(--s)); z-index: var(--z); opacity: var(--op, 1); }
        .deck-card-inner { position: relative; width: 100%; height: 100%; transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-style: preserve-3d; border-radius: 12px; box-shadow: 0 15px 35px rgba(0,0,0,0.5); }
        .deck-card.flipped .deck-card-inner { transform: rotateY(180deg); }
        
        .deck-card-front, .deck-card-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 12px; background-size: cover; background-repeat: no-repeat; background-position: center; border: 2px solid var(--accent-gold); background-color: var(--bg-card); }
        .deck-card-back { transform: rotateY(180deg); }

        .fan-pos-0 { --rot: -15deg; --tx: -140px; --ty: 30px; --s: 1; --z: 1; }
        .fan-pos-1 { --rot: -5deg; --tx: -50px; --ty: 5px; --s: 1; --z: 2; }
        .fan-pos-2 { --rot: 5deg; --tx: 50px; --ty: 5px; --s: 1; --z: 3; }
        .fan-pos-3 { --rot: 15deg; --tx: 140px; --ty: 30px; --s: 1; --z: 4; }

        .fanned-cards-container:not(.gallery-mode) .deck-card:hover { --ty: -15px; }
        .gallery-active { --rot: 0deg; --tx: 0px; --ty: 0px; --s: 1.25; --z: 10; --op: 1; }
        .gallery-active .deck-card-inner { box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 30px rgba(212, 175, 55, 0.4); }
        .gallery-prev { --rot: -5deg; --tx: -180px; --ty: 20px; --s: 0.8; --z: 5; --op: 0.5; }
        .gallery-next { --rot: 5deg; --tx: 180px; --ty: 20px; --s: 0.8; --z: 5; --op: 0.5; }
        .gallery-hidden { --rot: 0deg; --tx: 0px; --ty: 0px; --s: 0.5; --z: 1; --op: 0; pointer-events: none; }
        .gallery-prev:hover, .gallery-next:hover { --op: 0.8; --s: 0.85; }

        .deck-controls { position: absolute; bottom: -30px; display: flex; gap: 15px; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; z-index: 20; }
        .gallery-mode .deck-controls { opacity: 1; pointer-events: auto; }
        .deck-btn { background: var(--bg-card); color: var(--accent-gold); border: 1px solid var(--accent-gold); border-radius: 50%; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
        .deck-btn:hover { background: var(--accent-gold); color: #000; transform: scale(1.1); }
        .deck-close { position: absolute; top: -20px; right: 0; width: 35px; height: 35px; font-size: 1rem; opacity: 0; pointer-events: none; z-index: 20; }
        .gallery-mode .deck-close { opacity: 1; pointer-events: auto; }

        /* Soul Medicine Oracle Deck */
        #oracle .oracle-text-intro > h2 { margin-bottom: 0.5rem; }
        #oracle .oracle-price {
            margin-bottom: 0;
            font-family: var(--font-mystic);
            font-weight: 600;
            font-size: 1.5rem;
            color: var(--accent-gold);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        /* FAQ SECTION */
        .faq-grid { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
        
        .faq-item { background: var(--bg-light); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
        .faq-item:hover { border-color: var(--accent-gold); }
        
        .faq-item summary { padding: 1.5rem; font-family: var(--font-mystic); font-weight: 600; font-size: 1.1rem; color: var(--text-purple-dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--accent-gold); transition: transform 0.3s ease; }
        .faq-item[open] summary::after { transform: rotate(45deg); }
        .faq-item p { padding: 0 1.5rem 1.5rem; margin: 0; font-size: 1.05rem; color: var(--text-purple-muted); }

        /* Footer CTA */
        .footer-cta { text-align: center; border-bottom: none; padding: 10rem 0; position: relative; background-image: url('assets/images/footer.jpg'); background-size: cover; background-position: center; background-attachment: fixed; }
        .footer-cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, rgba(15,12,27,0.7) 0%, rgba(15,12,27,0.15) 50%, rgba(15,12,27,0.5) 100%); z-index: 1; }
        
        form.subscribe { display: flex; max-width: 650px; margin: 3rem auto 0; gap: 0; box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(212, 175, 55, 0.1); border-radius: 50px; transition: all 0.3s ease; border: 1px solid transparent; }
        form.subscribe:focus-within { box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 30px rgba(212, 175, 55, 0.4); border-color: rgba(212, 175, 55, 0.5); }
        
        form.subscribe input[type="email"] { flex: 1; padding: 1.25rem 2rem; background: rgba(26, 21, 40, 0.85); backdrop-filter: blur(10px); border: 1px solid var(--border); border-right: none; color: var(--text-main); font-family: var(--font-body); font-size: 1.1rem; border-radius: 50px 0 0 50px; transition: border-color 0.3s ease; }
        form.subscribe input[type="email"]:focus { outline: none; border-color: var(--accent-gold); background: rgba(26, 21, 40, 0.95); }
        .subscribe .btn { border-radius: 0 50px 50px 0; border-left: none; padding: 1.25rem 3rem; box-shadow: none; }
        .site-colophon {
            text-align: center;
            padding: 3.5rem 1.5rem 3rem;
            background: linear-gradient(180deg, #0a0814 0%, #08060e 100%);
            border-top: 1px solid rgba(212, 175, 55, 0.12);
        }
        .colophon-mark {
            display: block;
            width: 48px;
            height: 1px;
            margin: 0 auto 1.5rem;
            background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
        }
        .colophon-name {
            font-family: var(--font-mystic);
            font-size: 1.05rem;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: var(--text-main);
            margin: 0 0 0.45rem;
        }
        .colophon-tag {
            font-family: var(--font-body);
            font-size: 0.95rem;
            font-style: italic;
            color: var(--text-muted);
            margin: 0 0 1.15rem;
        }
        .colophon-copy {
            font-family: var(--font-body);
            font-size: 0.8rem;
            letter-spacing: 0.08em;
            color: rgba(167, 162, 185, 0.65);
            margin: 0;
        }

        /* MOBILE RESPONSIVENESS */
        @media (max-width: 1100px) {
            .site-nav {
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
                background: rgba(15, 12, 27, 0.97);
            }
            .sticky-book-btn { display: none !important; }

            .container { padding: 0 1.25rem; }
            
            .site-nav .nav-container {
                display: grid;
                grid-template-columns: 48px 1fr auto;
                align-items: center;
                height: 90px;
            }
            .site-nav .hamburger { display: flex; grid-column: 1; justify-self: start; }
            .logo-wrapper { grid-column: 2; justify-self: center; }
            .logo-wrapper img { height: 50px; }
            .nav-book-bar {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                grid-column: 3;
                justify-self: end;
                font-family: var(--font-mystic);
                color: #000;
                background: var(--accent-gold);
                text-decoration: none;
                font-size: 0.78rem;
                text-transform: uppercase;
                letter-spacing: 0.12em;
                padding: 0.55rem 1rem;
                border-radius: 50px;
                z-index: 3;
                transition: color 1s ease;
            }
            .nav-book-bar.is-glowing {
                color: #ffffff;
                animation: bookBtnGlow 1.25s ease-in-out infinite alternate;
            }
            .nav-links { position: absolute; top: 90px; left: 0; right: 0; transform: none; width: 100%; height: auto; background: rgba(15, 12, 27, 0.98); flex-direction: column; justify-content: flex-start; gap: 0; border-bottom: 1px solid var(--border); max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
            .nav-links.active-menu { max-height: 520px; }
            .nav-links a { padding: 1.5rem; width: 100%; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); }
            .nav-links .nav-book { display: none; }
            .nav-indicator { display: none; }
            
            section { padding: 3.5rem 0; }
            #testimonials { padding: 3rem 0; }
            .media-logos { gap: 1.25rem; }
            .media-logos img { width: 60px; height: 60px; padding: 6px; border-radius: 12px; }
            .media-banner { padding: 1rem 0; }
            .hero { padding: 9rem 0 5rem; background-position: 70% center; }
            .footer-cta { padding: 6rem 0; }
            .grid-2 { grid-template-columns: 1fr; gap: 3rem; }

            .oracle-grid {
                display: flex;
                flex-direction: column;
                gap: 1rem;
                direction: ltr;
            }
            .oracle-grid.grid-2-reverse { direction: ltr; }
            .oracle-text-col { display: contents; }
            .oracle-text-intro { order: 1; }
            #deck-instructions { order: 2; margin-bottom: 0.25rem; }
            .oracle-deck-col { order: 3; }
            .oracle-text-cta { order: 4; }
            #oracle .oracle-text-intro > p:last-child { margin-bottom: 0; }
            #oracle .oracle-text-cta .pricing-box { margin-top: 1.5rem; }
            
            form.subscribe { flex-direction: column; gap: 1rem; box-shadow: none; background: transparent; border: none; }
            form.subscribe:focus-within { box-shadow: none; border-color: transparent; }
            form.subscribe input[type="email"] { border-radius: 50px; border-right: 1px solid var(--border); text-align: center; }
            .subscribe .btn { border-radius: 50px; border: 1px solid var(--accent-gold); width: 100%; }
            
            .testimonial-card { width: 300px; }
            
            .fanned-cards-container { height: 350px; }
            .deck-card { width: 175px; height: 250px; }
            .fan-pos-0 { --rot: -12deg; --tx: -80px; --ty: 15px; }
            .fan-pos-1 { --rot: -4deg; --tx: -25px; --ty: 5px; }
            .fan-pos-2 { --rot: 4deg; --tx: 25px; --ty: 5px; }
            .fan-pos-3 { --rot: 12deg; --tx: 80px; --ty: 15px; }
            .gallery-active { --s: 1.15; }
            .gallery-prev { --tx: -110px; --s: 0.75; }
            .gallery-next { --tx: 110px; --s: 0.75; }
        }

        @media (prefers-reduced-motion: reduce) {
            .nav-indicator { transition: opacity 0.25s ease; }
            .testimonials-wrapper { transform: none !important; }
            .nav-book-bar.is-glowing {
                animation: none;
                box-shadow: 0 0 12px rgba(212, 175, 55, 0.55);
                text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
            }
        }

/* ==========================================================================
   Booking slide-over panel
   ========================================================================== */
.site-wrap {
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    transition: transform 0.5s var(--booking-ease);
}

.site-nav {
    transition: transform 0.5s var(--booking-ease);
}

.booking-backdrop {
    position: fixed;
    inset: 0;
    z-index: 11000;
    background: rgba(8, 6, 14, 0.72);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s var(--booking-ease), visibility 0.5s var(--booking-ease);
}

.booking-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 11010;
    width: var(--booking-panel-width);
    height: 100%;
    height: 100dvh;
    background: var(--bg-dark);
    color: var(--text-main);
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
    transform: translateX(100%);
    transition: transform 0.5s var(--booking-ease);
    overflow: hidden;
}

.booking-panel-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.booking-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.75rem;
    border-bottom: 1px solid var(--border);
    background: rgba(15, 12, 27, 0.95);
    backdrop-filter: blur(16px);
    flex-shrink: 0;
}

.booking-title {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    color: var(--text-main);
    text-shadow: none;
}

.booking-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--accent-gold);
    background: transparent;
    color: var(--accent-gold);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.booking-close:hover,
.booking-close:focus-visible {
    background: var(--accent-gold);
    color: #000;
    transform: scale(1.05);
    outline: none;
}

.booking-panel-body {
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--bg-dark);
}

.booking-light {
    background: transparent;
    color: var(--text-muted);
    padding: 1.75rem 1.75rem 1.5rem;
}

.booking-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.booking-card {
    margin: 0;
    background: rgba(26, 21, 40, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.booking-card h3 {
    margin-bottom: 0.75rem;
}

.booking-card p {
    margin-bottom: 0.65rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.booking-card a {
    color: var(--accent-gold);
}

.booking-includes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 1rem;
    margin: 0 0 1.15rem;
    padding: 0 0 0 1.15rem;
    color: var(--text-main);
    font-size: 1.02rem;
}

.booking-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.booking-contact li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border);
    font-size: 1.05rem;
}

.booking-contact span {
    font-family: var(--font-mystic);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.booking-prices {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.booking-prices li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    color: var(--text-main);
    font-size: 1.05rem;
}

.booking-prices strong {
    color: var(--accent-gold);
    font-family: var(--font-mystic);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.booking-policies,
.booking-hours {
    margin: 1.25rem 0 0;
    padding: 0;
}

.booking-hours {
    margin-top: 1rem;
}

.booking-policies h3,
.booking-hours h3 {
    margin-bottom: 0.45rem;
    color: var(--accent-gold);
    text-shadow: none;
}

.booking-policies ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-muted);
}

.booking-policies li {
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.booking-policies li:last-child {
    margin-bottom: 0;
}

.booking-hours p {
    margin-bottom: 0;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.booking-facts {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.booking-facts > div {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 0.75rem;
    align-items: baseline;
}

.booking-facts dt {
    font-family: var(--font-mystic);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.booking-facts dd {
    margin: 0;
    color: var(--text-main);
    font-size: 1.05rem;
}

.booking-form-wrap {
    margin-top: 0;
    padding: 2rem 1.75rem 3rem;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.booking-form-title {
    margin: 0 0 0.45rem;
    text-shadow: none;
}

.booking-form-lede {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.booking-form-wrap.is-sent .booking-form-title,
.booking-form-wrap.is-sent .booking-form-lede {
    display: none;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.booking-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.booking-field span {
    font-family: var(--font-mystic);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.booking-field em {
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(26, 21, 40, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background: rgba(26, 21, 40, 0.95);
}

.booking-form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--accent-gold) 50%), linear-gradient(135deg, var(--accent-gold) 50%, transparent 50%);
    background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.booking-form textarea {
    min-height: 8rem;
    resize: vertical;
}

.booking-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.booking-form .btn[disabled] {
    opacity: 0.7;
    pointer-events: none;
}

.booking-form-status {
    margin: 0;
    font-size: 1rem;
    color: #f3b4b4;
}

.booking-form[hidden],
.booking-form-wrap.is-sent .booking-form {
    display: none !important;
}

.booking-thanks {
    padding: 2rem;
    border-radius: 24px;
    border-left: 4px solid var(--accent-gold);
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(26, 21, 40, 0.85);
    backdrop-filter: blur(10px);
}

.booking-thanks[hidden] {
    display: none !important;
}

.booking-thanks h3 {
    margin: 0 0 0.85rem;
}

.booking-thanks p {
    margin: 0 0 0.75rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.booking-thanks p:last-child {
    margin-bottom: 0;
}

html.booking-open,
body.booking-open {
    overflow: hidden;
}

body.booking-open .site-wrap,
body.booking-open .site-nav {
    transform: translateX(calc(-1 * var(--booking-panel-width)));
}

body.booking-open .booking-backdrop {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.booking-open .booking-panel {
    transform: translateX(0);
}

body.booking-open .sticky-book-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.admin-bar .booking-panel {
    top: 32px;
    height: calc(100% - 32px);
    height: calc(100dvh - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .booking-panel {
        top: 46px;
        height: calc(100% - 46px);
        height: calc(100dvh - 46px);
    }
}

@media (max-width: 700px) {
    :root {
        --booking-panel-width: 100vw;
    }

    .booking-panel {
        border-left: none;
    }

    .booking-panel-header,
    .booking-light,
    .booking-form-wrap {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .booking-prices li {
        flex-direction: column;
        gap: 0.2rem;
    }

    .booking-facts > div {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }
}

/* ==========================================================================
   WordPress compatibility
   ========================================================================== */
body.admin-bar .site-nav {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-nav {
        top: 46px;
    }
}

body.admin-bar {
    scroll-padding-top: 122px;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        scroll-padding-top: 136px;
    }
}

/* Prevent WP global styles from overriding layout */
.site-main,
.entry-content {
    margin: 0;
    padding: 0;
    max-width: none;
}

