/* ===========================
   CLIENTS PAGE — HERO
=========================== */
.cl-hero {
    padding: 8rem 0 7rem;
    background: #faf9f7;
    position: relative;
    overflow: hidden;
}

.cl-mandala-wrap {
    position: absolute;
    right: -100px;
    top: 58%;
    transform: translateY(-50%);
    width: 580px;
    height: 580px;
    pointer-events: none;
    transition: transform 1.2s ease;
}

/* Hover — mandala gently grows as you enter the hero */
.cl-hero:hover .cl-mandala-wrap {
    transform: translateY(-50%) scale(1.06);
}

.cl-mandala {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.13;
    animation: clMandalaSpin 35s linear infinite;
    transition: opacity 0.9s ease;
}

.cl-hero:hover .cl-mandala {
    opacity: 0.2;
}

@keyframes clMandalaSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.cl-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(3.2rem, 6vw, 5.8rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #1c1c1e;
    margin: 1.4rem 0 2.2rem;
}

.cl-hero-title em {
    font-style: italic;
    font-weight: 300;
}

.cl-hero-sub {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    color: #8a8480;
    line-height: 1.85;
    max-width: 500px;
}

/* ===========================
   BRAND NAMES MARQUEE STRIP
=========================== */
.cl-brand-strip {
    background: #111110;
    padding: 2.8rem 0;
    overflow: hidden;
}

.cl-brand-track-wrap {
    overflow: hidden;
    /* Fade edges */
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.cl-brand-track {
    display: flex;
    align-items: baseline;
    gap: 0;
    width: max-content;
    animation: clBrandScroll 45s linear infinite;
}

.cl-brand-track:hover {
    animation-play-state: paused;
}

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

.cl-brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.01em;
    white-space: nowrap;
    padding: 0 0.4rem;
    transition: color 0.3s ease;
}

.cl-brand-track:hover .cl-brand-name:hover {
    color: rgba(255, 255, 255, 0.9);
}

.cl-brand-dot {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: #b01c0a;
    padding: 0 1.4rem;
    line-height: 1;
}

/* ===========================
   LOGO GRID
=========================== */
.cl-logos {
    background: #ffffff;
    padding: 9rem 0;
}

.cl-logos .section-label { color: #B0A090; }
.cl-logos .section-title { color: #1C1A16; }

.cl-logos-intro {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: #9e9890;
    letter-spacing: 0.02em;
    margin-top: -2rem;
    margin-bottom: 3.5rem;
    max-width: 500px;
}

.cl-logos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid #EDEAE4;
    border-left: 1px solid #EDEAE4;
}

.cl-logo-item {
    border-right: 1px solid #EDEAE4;
    border-bottom: 1px solid #EDEAE4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.2rem 1.5rem;
    transition: background 0.25s ease, border-color 0.25s ease;
    /* hidden until revealed */
    opacity: 0;
    transform: translateY(14px);
}

.cl-logo-item:hover {
    background: #faf9f7;
    border-color: #D4C9B8;
}

/* Staggered scroll reveal */
.cl-logo-item.cl-logo-revealed {
    animation: clLogoIn 0.55s ease forwards;
    animation-delay: calc(var(--i) * 50ms);
}

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

.cl-logo-item img {
    max-width: 120px;
    max-height: 60px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
    transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.cl-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15);
}

/* ===========================
   TRUST STRIP
=========================== */
.cl-trust {
    background: #EDE6D8;
    padding: 6rem 0;
}

.cl-trust-row {
    display: flex;
    align-items: center;
    gap: 0;
}

.cl-trust-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cl-trust-num {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 3.8rem;
    color: #1C1A16;
    line-height: 1;
    letter-spacing: -0.02em;
}

.cl-trust-lbl {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #B0A090;
    max-width: 160px;
    line-height: 1.6;
}

.cl-trust-divider {
    width: 1px;
    height: 56px;
    background: #D4C9B8;
    margin: 0 3.5rem;
    flex-shrink: 0;
}

.cl-trust-quote {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    color: #6A6058;
    line-height: 1.55;
    letter-spacing: -0.01em;
    border: none;
    padding: 0;
    margin: 0;
    max-width: 480px;
    flex: 1;
}

/* ===========================
   CTA SECTION
=========================== */
.cl-cta {
    background: #faf9f7;
    padding: 9rem 0;
}

.cl-cta-tagline {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    color: #b0a898;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-top: -2rem;
}

/* ===========================
   MOBILE — max-width: 768px
=========================== */
@media (max-width: 768px) {

    /* Hero */
    .cl-hero {
        padding: 5rem 0 3.5rem;
    }
    .cl-mandala-wrap {
        width: 260px;
        height: 260px;
        right: -60px;
        top: 50%;
    }

    /* Brand strip — smaller text */
    .cl-brand-name {
        font-size: 1.1rem;
    }
    .cl-brand-dot {
        padding: 0 0.8rem;
    }

    /* Logo grid — 3 columns */
    .cl-logos {
        padding: 4.5rem 0;
    }
    .cl-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .cl-logo-item {
        padding: 1.5rem 1rem;
    }
    .cl-logo-item img {
        max-width: 80px;
        max-height: 44px;
    }

    /* Trust strip — stack vertically */
    .cl-trust {
        padding: 4rem 0;
    }
    .cl-trust-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .cl-trust-divider {
        display: none;
    }
    .cl-trust-num {
        font-size: 2.8rem;
    }
    .cl-trust-quote {
        max-width: 100%;
        font-size: clamp(1.1rem, 4.5vw, 1.4rem);
    }

    /* CTA */
    .cl-cta {
        padding: 4.5rem 0;
        padding-bottom: calc(4.5rem + 90px + env(safe-area-inset-bottom, 0px));
    }

    /* Footer */
    footer {
        padding-bottom: calc(3rem + 90px + env(safe-area-inset-bottom, 0px));
    }
}
