/* =============================================
   recycle.reviews — Styles
   Colors: #c4785a #2a231e #4a8c7e #8fa88a #6b6560 #2e2a25 #f0ece4 #ddd8cf
   Fonts: Space Mono, Work Sans
   ============================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: #f0ece4;
    color: #2a231e;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---- Sticky Panel Stack ---- */
.panel {
    min-height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -4px 20px rgba(46, 42, 37, 0.15);
    overflow: hidden;
}

.panel-1 { z-index: 1; background: #f0ece4; }
.panel-2 { z-index: 2; background: #ddd8cf; }
.panel-3 { z-index: 3; background: #f0ece4; }
.panel-4 { z-index: 4; background: #ddd8cf; }
.panel-5 { z-index: 5; background: #f0ece4; }

.panel-inner {
    max-width: 900px;
    width: 90%;
    padding: 4rem 0;
    text-align: center;
}

/* ---- Section Number ---- */
.section-number {
    font-family: 'Space Mono', monospace;
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 700;
    color: #6b6560;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* ---- Headings ---- */
.heading-primary {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-color: #4a8c7e;
    text-underline-offset: 0.15em;
    text-decoration-thickness: 2px;
    color: #2a231e;
    margin-bottom: 1.5rem;
}

.panel-2 .heading-primary { text-decoration-color: #c4785a; }
.panel-4 .heading-primary { text-decoration-color: #8fa88a; }

/* ---- Body Text ---- */
.body-text {
    font-family: 'Work Sans', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 400;
    line-height: 1.75;
    color: #2e2a25;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

/* ---- Icon Row ---- */
.icon-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.pictogram {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.pictogram.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Border Animate Box ---- */
.border-animate-box {
    width: 120px;
    height: 120px;
    margin: 1rem auto 0;
    border: 2px solid transparent;
    position: relative;
}

.border-animate-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px dashed #4a8c7e;
    animation: borderDash 12s linear infinite;
}

.panel-2 .border-animate-box::before { border-color: #c4785a; }
.panel-3 .border-animate-box::before { border-color: #4a8c7e; }
.panel-4 .border-animate-box::before { border-color: #8fa88a; }
.panel-5 .border-animate-box::before { border-color: #6b6560; }

@keyframes borderDash {
    0% { stroke-dashoffset: 0; border-spacing: 0; transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ---- Conveyor Ribbon ---- */
.conveyor-ribbon {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: #2e2a25;
    overflow: hidden;
    height: 48px;
    display: flex;
    align-items: center;
}

.conveyor-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: conveyorScroll 20s linear infinite;
}

.conveyor-item {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #f0ece4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    flex-shrink: 0;
}

@keyframes conveyorScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---- CTA ---- */
.cta-group {
    margin: 2rem 0;
}

.cta-button {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f0ece4;
    background: #4a8c7e;
    border: 2px solid #4a8c7e;
    padding: 1rem 2.5rem;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background: transparent;
    color: #4a8c7e;
}

/* ---- Stamp Mark ---- */
.stamp-mark {
    margin-top: 2rem;
    opacity: 0.7;
}

/* ---- Reveal animation for panels ---- */
.panel-inner {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.panel.in-view .panel-inner {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
    .icon-row {
        gap: 1rem;
    }
    .pictogram {
        width: 48px;
        height: 48px;
    }
    .conveyor-ribbon {
        height: 40px;
    }
    .conveyor-item {
        font-size: 0.75rem;
    }
    .panel-inner {
        padding: 3rem 0 5rem;
    }
}
