/* ─── ABOUT RITUAL SECTION ─── */

.about-ritual {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #0a0604;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

/* Background elements */
.about-ritual__bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.about-ritual__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 70% 50% at 40% 55%,
        rgba(255, 100, 20, 0.12) 0%,
        rgba(255, 60, 0, 0.05) 30%,
        transparent 65%
    );
}

.about-ritual__grain {
    position: absolute;
    inset: 0;
    background-image: 
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" result="noise" seed="3"/></filter><rect width="100" height="100" fill="rgba(0,0,0,0.1)" filter="url(%23noise)"/></svg>');
    opacity: 0.3;
}

.about-ritual__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 75%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

/* Canvas for particles */
.about-ritual__canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

#aboutCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Particles container */
.about-ritual__particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
    pointer-events: none;
}

/* Main content layout */
.about-ritual__content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 100vh;
}

/* LEFT SIDE - TEXT */
.about-ritual__left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
}

.about-ritual__text-wrapper {
    animation: textFadeInUp 1s ease-out 0.2s backwards;
}

@keyframes textFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-ritual__headline {
    font-family: var(--font-condensed);
    font-size: clamp(3.5rem, 10vw, 90px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 100, 20, 0.3);
}

.about-ritual__headline-line {
    display: block;
    animation: headlineLineSlide 0.9s ease-out backwards;
}

.about-ritual__headline-line:nth-child(1) {
    animation-delay: 0.3s;
}

.about-ritual__headline-line:nth-child(2) {
    animation-delay: 0.5s;
    background: linear-gradient(135deg, rgba(255, 150, 50, 0.2), rgba(255, 100, 20, 0.1));
    padding: 10px 0;
}

@keyframes headlineLineSlide {
    0% {
        opacity: 0;
        transform: translateX(-60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-ritual__divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 120, 40, 0.8), transparent);
    margin: 25px 0 35px 0;
    animation: dividerExpand 0.8s ease-out 0.7s backwards;
}

@keyframes dividerExpand {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 80px;
        opacity: 1;
    }
}

.about-ritual__body {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    animation: textFadeInUp 1s ease-out 0.9s backwards;
}

.about-ritual__body--secondary {
    font-weight: 500;
    color: rgba(255, 150, 80, 0.9);
    margin-bottom: 35px;
    animation: textFadeInUp 1s ease-out 1.1s backwards;
}

.about-ritual__tagline {
    font-family: var(--font-display);
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 120, 40, 0.7);
    animation: textFadeInUp 1s ease-out 1.3s backwards;
}

/* RIGHT SIDE - VISUAL */
.about-ritual__right {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about-ritual__visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-ritual__floating-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    animation: floatingBreathe 6s ease-in-out infinite;
}

@keyframes floatingBreathe {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-25px) scale(1.03);
    }
}

.about-ritual__food-glow {
    position: absolute;
    inset: -50%;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        rgba(255, 100, 20, 0.35) 0%,
        rgba(255, 60, 0, 0.15) 35%,
        transparent 70%
    );
    filter: blur(60px);
    animation: foodGlowPulse 5s ease-in-out infinite;
    z-index: 0;
}

@keyframes foodGlowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.2);
    }
}

.about-ritual__food-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 30px 80px rgba(255, 100, 20, 0.25));
    animation: foodFloat 8s ease-in-out infinite;
    z-index: 2;
}

@keyframes foodFloat {
    0%, 100% {
        transform: translateY(0) rotateZ(0deg);
    }
    25% {
        transform: translateY(-20px) rotateZ(1.5deg);
    }
    50% {
        transform: translateY(0) rotateZ(0deg);
    }
    75% {
        transform: translateY(-15px) rotateZ(-1.5deg);
    }
}

.about-ritual__food-shadow {
    position: absolute;
    bottom: 15%;
    left: 50%;
    width: 65%;
    height: 12%;
    transform: translateX(-50%) scaleY(0.35);
    background: radial-gradient(
        ellipse 100% 100% at 50% 0%,
        rgba(0, 0, 0, 0.55) 0%,
        transparent 75%
    );
    filter: blur(18px);
    z-index: 1;
}

/* Steam container */
.about-ritual__steam-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.steam-puff {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    filter: blur(12px);
}

/* Ambient glow */
.about-ritual__ambient-glow {
    position: absolute;
    inset: -30%;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        rgba(255, 120, 40, 0.15) 0%,
        rgba(255, 80, 20, 0.05) 40%,
        transparent 70%
    );
    filter: blur(80px);
    animation: ambientGlowPulse 7s ease-in-out infinite;
}

@keyframes ambientGlowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Cursor glow */
.about-ritual__cursor-glow {
    position: fixed;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        rgba(255, 120, 40, 0.25) 0%,
        rgba(255, 80, 20, 0.12) 40%,
        transparent 70%
    );
    filter: blur(25px);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Scroll-driven animations */
.about-ritual.scroll-active .about-ritual__floating-container {
    animation: floatingRotateOnScroll linear forwards;
}

@keyframes floatingRotateOnScroll {
    0% {
        transform: rotateY(0deg) translateY(0);
    }
    100% {
        transform: rotateY(360deg) translateY(-20px);
    }
}

/* Responsive design */
@media (max-width: 1024px) {
    .about-ritual__content {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 50px 30px;
    }

    .about-ritual__right {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-ritual {
        overflow: visible;
    }

    .about-ritual__content {
        gap: 40px;
        padding: 40px 20px;
        min-height: auto;
    }

    .about-ritual__headline {
        font-size: clamp(2.2rem, 8vw, 60px);
        margin-bottom: 20px;
    }

    .about-ritual__divider {
        margin: 20px 0 25px 0;
    }

    .about-ritual__body {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .about-ritual__visual-wrapper {
        max-width: 300px;
    }

    /* Reduce heavy effects on small screens for performance */
    .about-ritual__food-glow,
    .about-ritual__ambient-glow {
        filter: blur(30px);
        opacity: 0.6;
    }

    .about-ritual__floating-container {
        animation: none;
        transform: translateY(0) scale(1);
    }

    .about-ritual__food-image {
        filter: drop-shadow(0 12px 28px rgba(255, 100, 20, 0.18));
        animation: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-ritual__floating-container,
    .about-ritual__food-image,
    .about-ritual__food-glow,
    .about-ritual__ambient-glow,
    .about-ritual__text-wrapper,
    .about-ritual__headline-line,
    .about-ritual__divider,
    .about-ritual__body {
        animation: none !important;
    }
}
