[x-cloak] { display: none !important; }
html { scroll-behavior: smooth; }

/* ========================================
   GLOBAL DESIGN BLUEPRINT RADII
   ======================================== */
.rounded-container { border-radius: 15px; }
.rounded-pill { border-radius: 12px; }
.rounded-btn { border-radius: 8px; }

/* ========================================
   FRAMER/WEBFLOW SCROLL REVEAL
   ======================================== */
.reveal {
    opacity: 0;
    filter: blur(16px);
    transform: translateY(40px);
    transition: opacity 1.6s cubic-bezier(0.215, 0.61, 0.355, 1), 
                filter 1.6s cubic-bezier(0.215, 0.61, 0.355, 1), 
                transform 1.6s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: transform, opacity, filter;
}
.reveal-active {
    opacity: 1 !important;
    filter: blur(0px) !important;
    transform: translateY(0) !important;
}

.crisp-text {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translateZ(0);
}

/* ========================================
   HEADER GLASSMORPHISM
   ======================================== */
.glass-nav {
    background: rgba(255, 244, 232, 0.45);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border: 1px solid rgba(44, 9, 1, 0.08);
}

/* ========================================
   SLOW-MOTION STRAWBERRY STROBE EFFECT
   ======================================== */
.btn-strobe {
    position: relative;
    overflow: hidden;
}
.btn-strobe::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0px;
    height: 0px;
    background: radial-gradient(circle, rgba(212, 93, 67, 0.6) 0%, rgba(212, 93, 67, 0) 70%);
    filter: blur(12px);
    transform: translate(-50%, -50%);
    transition: width 0.8s ease, height 0.8s ease;
    pointer-events: none;
    z-index: 5;
}
.btn-strobe:hover::after {
    width: 320px;
    height: 320px;
}

/* ========================================
   HERO SECTION: GLASS FLOOR WALK MOTION
   ======================================== */
.frosted-pane {
    backdrop-filter: blur(45px) saturate(140%);
    -webkit-backdrop-filter: blur(45px) saturate(140%);
    background: rgba(255, 244, 232, 0.45);
}
.silhouette {
    position: absolute;
    background: #2C0901;
    filter: blur(70px);
    opacity: 0.12;
    border-radius: 50%;
    z-index: 1;
}
.walker-1 { width: 450px; height: 650px; animation: walk 30s infinite linear; }
.walker-2 { width: 350px; height: 550px; animation: walk 22s infinite linear reverse; }
@keyframes walk {
    0% { transform: translate(-100%, 15%); }
    100% { transform: translate(300%, 15%); }
}
.walker-track {
    position: absolute;
    width: 100vw;
    height: 0;
    top: 60%;
    left: 0;
    pointer-events: none;
    z-index: 20; 
    mix-blend-mode: multiply;
}
.body-shadow {
    position: absolute;
    top: -175px;
    width: 350px;
    height: 350px;
    background: #2C0901;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.1;
    animation: glide-across 12s linear infinite;
}
@keyframes glide-across {
    0% { transform: translateX(-20vw); }
    100% { transform: translateX(120vw); }
}
.foot-wrapper {
    position: absolute;
    top: -60px;
    left: 0;
    width: 80px;
    height: 120px;
}
.foot-l { margin-top: -35px; animation: walk-l 12s linear infinite; }
.foot-r { margin-top: 35px; animation: walk-r 12s linear infinite; }
@keyframes walk-l {
    0%, 10% { transform: translateX(-10vw) scale(1); filter: blur(6px); opacity: 0.35; }
    15% { transform: translateX(15vw) scale(0.9); filter: blur(35px); opacity: 0.05; }
    20%, 30% { transform: translateX(15vw) scale(1); filter: blur(6px); opacity: 0.35; }
    35% { transform: translateX(40vw) scale(0.9); filter: blur(35px); opacity: 0.05; }
    40%, 50% { transform: translateX(40vw) scale(1); filter: blur(6px); opacity: 0.35; }
    55% { transform: translateX(65vw) scale(0.9); filter: blur(35px); opacity: 0.05; }
    60%, 70% { transform: translateX(65vw) scale(1); filter: blur(6px); opacity: 0.35; }
    75% { transform: translateX(90vw) scale(0.9); filter: blur(35px); opacity: 0.05; }
    80%, 90% { transform: translateX(90vw) scale(1); filter: blur(6px); opacity: 0.35; }
    95% { transform: translateX(115vw) scale(0.9); filter: blur(35px); opacity: 0.05; }
    100% { transform: translateX(115vw) scale(1); filter: blur(6px); opacity: 0.35; }
}
@keyframes walk-r {
    0% { transform: translateX(-22.5vw) scale(1); filter: blur(6px); opacity: 0.35; }
    5% { transform: translateX(2.5vw) scale(0.9); filter: blur(35px); opacity: 0.05; }
    10%, 20% { transform: translateX(2.5vw) scale(1); filter: blur(6px); opacity: 0.35; }
    25% { transform: translateX(27.5vw) scale(0.9); filter: blur(35px); opacity: 0.05; }
    30%, 40% { transform: translateX(27.5vw) scale(1); filter: blur(6px); opacity: 0.35; }
    45% { transform: translateX(52.5vw) scale(0.9); filter: blur(35px); opacity: 0.05; }
    50%, 60% { transform: translateX(52.5vw) scale(1); filter: blur(6px); opacity: 0.35; }
    65% { transform: translateX(77.5vw) scale(0.9); filter: blur(35px); opacity: 0.05; }
    70%, 80% { transform: translateX(77.5vw) scale(1); filter: blur(6px); opacity: 0.35; }
    85% { transform: translateX(102.5vw) scale(0.9); filter: blur(35px); opacity: 0.05; }
    90%, 100% { transform: translateX(102.5vw) scale(1); filter: blur(6px); opacity: 0.35; }
}

/* ========================================
   PROBLEM SECTION: CLOUDY GRADIENT MASK
   ======================================== */
.cloudy-mask {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

/* ========================================
   SERVICES: FEY MULTI-EXPANSION ROTATOR
   ======================================== */
@media (min-width: 1024px) {
    .service-panel {
        transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        min-width: 95px;
    }
    .service-panel:hover {
        flex-grow: 12 !important;
        min-width: 380px;
    }
    .vertical-title {
        position: absolute;
        bottom: 2rem;
        right: 1.75rem; 
        transform: rotate(180deg);
        writing-mode: vertical-rl;
        white-space: nowrap;
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        opacity: 0.8;
    }
    .service-panel:hover .vertical-title {
        opacity: 0;
        transform: translateY(25px) rotate(180deg); 
    }
    .panel-content {
        position: absolute;
        bottom: 2rem;
        left: 2rem;
        right: 2rem;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
    }
    .service-panel:hover .panel-content {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 1023px) {
    .service-panel {
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        height: 90px;
    }
    .service-panel.active {
        height: 240px;
    }
    /* Making title visible on mobile horizontally */
    .vertical-title {
        position: absolute;
        top: 50%;
        left: 1.5rem;
        right: 1.5rem;
        transform: translateY(-50%);
        writing-mode: horizontal-tb;
        white-space: normal;
        transition: all 0.4s ease;
        z-index: 10;
        line-height: 1.1;
    }
    .service-panel.active .vertical-title {
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
    }
    .panel-content {
        opacity: 0;
        height: 0;
        overflow: hidden;
        transition: all 0.4s ease;
    }
    .service-panel.active .panel-content {
        opacity: 1;
        height: auto;
        margin-top: 12px;
    }
}

/* ========================================
   PROCESS: SEQUENCE MARCHING CONNECTORS
   ======================================== */
@keyframes march-forward {
    to { stroke-dashoffset: -12; }
}
.active-connector {
    stroke: #2C0901 !important;
    stroke-dasharray: 6, 6;
    animation: march-forward 0.8s linear infinite;
}
.inactive-connector {
    stroke: rgba(44, 9, 1, 0.1) !important;
    stroke-dasharray: 6, 6;
}

/* ========================================
   PRICING: AGGRESSIVE JABBING INDICATOR
   ======================================== */
@keyframes pop-dot {
    0%, 5% { opacity: 0; transform: scale(0.4); }
    8% { opacity: 1; transform: scale(1.2); }
    12%, 80% { opacity: 1; transform: scale(1); }
    90%, 100% { opacity: 0; transform: scale(0.4); }
}
@keyframes pop-head {
    0%, 15% { opacity: 0; transform: scale(0.4); }
    18% { opacity: 1; transform: scale(1.2); }
    22%, 80% { opacity: 1; transform: scale(1); }
    90%, 100% { opacity: 0; transform: scale(0.4); }
}
@keyframes agg-jab {
    0%, 30% { transform: translateX(0); }
    34% { transform: translateX(8px) scaleX(1.15); }
    38% { transform: translateX(0) scaleX(1); }
    42% { transform: translateX(8px) scaleX(1.15); }
    46% { transform: translateX(0) scaleX(1); }
    100% { transform: translateX(0); }
}
.anim-dot-1 { animation: pop-dot 2.8s infinite; transform-origin: 10px 12px; }
.anim-dot-2 { animation: pop-dot 2.8s infinite 0.15s; transform-origin: 26px 12px; }
.anim-dot-3 { animation: pop-dot 2.8s infinite 0.3s; transform-origin: 42px 12px; }
.anim-head  { animation: pop-head 2.8s infinite 0.45s; transform-origin: 54px 12px; }
.anim-container { animation: agg-jab 2.8s infinite; transform-origin: left center; }

/* ========================================
   BOOKING: MAIDEN OVERLAY TRANSIT TRACKS
   ======================================== */
.route-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.travel-path {
    stroke-dasharray: 6, 8;
    animation: travel-dots 20s linear infinite;
}
@keyframes travel-dots { to { stroke-dashoffset: -120; } }
.pin-a {
    position: absolute;
    offset-path: path("M -100,150 C 600,50 1200,350 2200,150");
    animation: travel-pin-a 14s linear infinite;
}
@keyframes travel-pin-a {
    0% { offset-distance: 0%; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
}
.pin-b {
    position: absolute;
    offset-path: path("M -100,320 C 500,380 900,100 2200,280");
    animation: travel-pin-b 20s linear infinite;
}
@keyframes travel-pin-b {
    0% { offset-distance: 0%; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
}

/* ========================================
   FAQ: CONCENTRIC RADAR RIPPLES
   ======================================== */
@keyframes radar-pulse {
    0% { transform: scale(0.95); opacity: 0.15; }
    50% { transform: scale(1.1); opacity: 0.45; }
    100% { transform: scale(0.95); opacity: 0.15; }
}
.animate-radar {
    animation: radar-pulse 5s ease-in-out infinite;
    transform-origin: center;
}

/* ========================================
   FOOTER: GHOST WATERMARK SCALE
   ======================================== */
.fading-logo-container {
    position: absolute;
    bottom: -2vw;
    left: 0;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    display: flex;
    justify-content: center;
}
.giant-logo {
    font-size: 15.6vw;
    font-family: 'Libre Bodoni', serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.8;
    background: linear-gradient(to bottom, rgba(255, 244, 232, 0.08) 20%, rgba(255, 244, 232, 0) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    text-align: center;
    width: 100%;
}
