/* ============================================================
   NORBURN DESIGN - testimonials.css
   Page-specific styles for testimonials.html
   Requires: ../css/style.css (base variables & components)
   ============================================================ */


/* ── Page Hero ─────────────────────────────────────────────── */
.page-hero {
    min-height: 52vh;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: calc(var(--nav-height) + 60px) 32px 0;
    position: relative;
    overflow: hidden;
}

/* Subtle animated background texture */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 110%, rgba(199,50,0,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 85% 0%,   rgba(199,50,0,0.10) 0%, transparent 55%);
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.page-hero__title {
    /* override global h1 colour - already white, but let's be explicit */
    color: var(--white);
    margin-bottom: 20px;
}

.page-hero__sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    max-width: 640px;
    margin: 0 auto;
}

.page-hero__scroll-hint {
    margin-top: 48px;
    font-size: 1.4rem;
    color: var(--brand);
    animation: bounce 2s ease infinite;
    padding-bottom: 28px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0);    opacity: 0.6; }
    50%       { transform: translateY(8px); opacity: 1;   }
}



/* ── Discipline intro strip (below hero) ───────────────────── */
.discipline-intro {
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 60px 40px 70px;
}

.discipline-intro__inner {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    gap: 72px;
    align-items: flex-start;
}

.discipline-intro__text {
    /*lex: 1 1 500px;*/
}

    .discipline-intro__text p {
        font-size: 1.05rem;
        color: rgba(255,255,255,0.70);
        line-height: 1.82;
        margin-bottom: 16px;
    }

        .discipline-intro__text p:last-child {
            margin-bottom: 0;
        }

.discipline-intro__tags {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-self: center;
    border-left: 2px solid rgba(199,50,0,0.30);
    padding-left: 28px;
}

    .discipline-intro__tags li {
        list-style: none;
        font-size: 0.82rem;
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: rgba(255,255,255,0.45);
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        transition: color 0.2s ease;
    }

        .discipline-intro__tags li:last-child {
            border-bottom: none;
        }

        .discipline-intro__tags li::before {
            content: '◆ ';
            color: var(--brand);
            font-size: 0.5rem;
            vertical-align: middle;
            margin-right: 4px;
        }



/* ── testimonials Main Layout ───────────────────────────────────── */
.testimonial-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 32px 60px;
}






/* ── Individual Step ───────────────────────────────────────── */
/*
   Layout: three explicit columns - number | body | spacer
   Right steps: swap via   number-col → col 3, body → col 2, spacer → col 1
   No direction:rtl hacks. Every column has a real, stable width.
*/
.testimonials-step {
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    grid-template-areas: "num body spacer";
    gap: 0 36px;
    align-items: start;
    opacity: 0;
    transform: translateY(28px);
    animation: stepReveal 0.55s ease forwards;
    animation-timeline: view();
    animation-range: 60px 40%;
}

/* Right-offset variant: body stays centred, number moves to right column */
.testimonials-step--right {
    grid-template-areas: "spacer body num";
}

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

/* Step number */
.testimonials-step__number {
    grid-area: num;
    font-family: "Castoro Titling", Georgia, "Times New Roman", serif;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--brand);
    opacity: 0.22;
    text-align: right;
    padding-top: 6px;
    letter-spacing: -2px;
    user-select: none;
}

.testimonials-step--right .testimonials-step__number {
    text-align: left;
}
/* Step number */
.testimonials-step__image {
    grid-area: num;
    padding-top: 6px;
    display: flex;
    user-select: none;
    background-color: var(--brand);
    height: 100%;
}

    .testimonials-step__image img {
        object-fit: cover;
        max-width: 200px;
        width: 100%;
        height: 100%;
    }

.testimonials-step--right .testimonials-step__image {
    text-align: left;
}


    /* Step body - always the centre column */
    .testimonials-step__body {
        grid-area: body;
        padding: 4px 0 52px;
        border-left: 2px solid rgba(199,50,0,0.18);
        padding-left: 36px;
        position: relative;
    }

    .testimonials-step--right .testimonials-step__body {
        border-left: none;
        border-right: 2px solid rgba(199,50,0,0.18);
        padding-left: 0;
        padding-right: 36px;
        text-align: right;
    }
    /* Diamond accent on the rule */
    .testimonials-step__icon {
        position: absolute;
        left: -7px;
        top: 6px;
        font-size: 0.6rem;
        color: var(--brand);
        line-height: 1;
        background-color: var(--bg);
        padding: 1px 0;
    }

.testimonials-step__mark {
    color: var(--brand);
    font-size: 2em;
    line-height: 0;
    vertical-align: -0.25em;
    margin-right: 4px;
}

    .testimonials-step--right .testimonials-step__body .testimonials-step__icon {
        left: auto;
        right: -7px;
    }

    .testimonials-step__body h2 {
        font-size: clamp(1.3rem, 2.2vw, 1.75rem);
        color: var(--ink);
        margin-bottom: 16px;
    }



.testimonials-step__body p {
    font-size: 1rem;
    /* color: var(--ink-soft);
        margin-bottom: 14px;
    */
    line-height: 1.75;
}
.text-ink-soft {
    color: var(--ink-soft);
    margin-bottom: 14px;
}


.testimonials-step-block {
    padding-bottom: 10px;
    padding-top: 5px;
    border-bottom: 1px dotted #ccc;
    border-top: 1px dotted #ccc;
}

    .testimonials-step-block:first-child {
        padding-top: 0;
    }

.testimonials-step-block__main {
    font-family: "Castoro Titling", Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    color: var(--brand);
    line-height: 1.3;
    margin: 8px 0 10px;
}

.testimonials-step-block__sub {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 5px;
}

.testimonials-step-block__sub_link {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.65;
    margin-top: 30px;
}





.testimonials-step-block-link {
    /* display: flex;
    align-items: center;*/
    gap: 8px;
    font-size: 0.9rem;
    color: var(--ink-soft);
    padding-top: 0px;
    padding-bottom: 0px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

        .testimonials-step-block-link:hover {
            color: var(--brand);
            border-bottom-color: var(--brand);
        }

    .testimonials-step-block-link__icon {
        font-size: 0.75rem;
        color: var(--brand);
    }





    /* ── Connector between steps ───────────────────────────────── */
    .testimonials-connector {
        display: flex;
        justify-content: center;
        align-items: center;
        /* height: 32px; */
        margin-bottom: 20px;
        position: relative;
        z-index: 1;
    }

        .testimonials-connector span {
            display: block;
            /* width: 2px; 
                
            background: linear-gradient(to bottom, rgba(199,50,0,0.35), rgba(199,50,0,0.06));
            */
            height: 100%;
        }











    /* ── testimonials Summary Strip ─────────────────────────────────── */
    .testimonials-summary {
        background-color: var(--ink);
        padding: 40px 32px;
        overflow-x: auto;
    }

    .testimonials-summary__inner {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        max-width: 1000px;
        margin: 0 auto;
        min-width: 560px; /* allow horizontal scroll on small screens */
    }

    .summary-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        flex: 1;
    }

    .summary-step__num {
        font-family: "Castoro Titling", Georgia, "Times New Roman", serif;
        font-size: 1.6rem;
        color: var(--brand);
        line-height: 1;
    }

    .summary-step__label {
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: rgba(255,255,255,0.55);
        text-align: center;
    }

    .summary-arrow {
        font-size: 1rem;
        color: rgba(199,50,0,0.45);
        padding: 0 4px;
        flex-shrink: 0;
        padding-bottom: 18px; /* align with numbers */
    }





/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .discipline-intro__inner {
        flex-direction: column;
        gap: 40px;
    }

    .discipline-intro__tags {
        border-left: none;
        border-top: 2px solid rgba(199,50,0,0.30);
        padding-left: 0;
        padding-top: 24px;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 0 32px;
    }


        .discipline-intro__tags li {
            border-bottom: none;
            padding: 6px 0;
        }
}

@media (max-width: 720px) {

    .discipline-intro {
        padding: 48px 24px 56px;
    }

        .page-hero {
            min-height: 56vh;
            padding-top: calc(var(--nav-height) + 40px);
        }

        .page-hero__title {
            font-size: 2.2rem;
        }

        .page-hero__sub {
            font-size: 0.95rem;
        }

        .testimonials-main {
            padding: 60px 20px 40px;
        }
        /* Collapse zigzag - all steps left-aligned on mobile */
        .testimonials-step,
        .testimonials-step--right {
            grid-template-columns: 60px 1fr;
            grid-template-areas: "num body";
            gap: 0 20px;
        }

            .testimonials-step--right .testimonials-step__number {
                text-align: right;
            }

            .testimonials-step--right .testimonials-step__body {
                text-align: left;
                border-left: 2px solid rgba(199,50,0,0.18);
                border-right: none;
                padding-left: 24px;
                padding-right: 0;
            }

                .testimonials-step--right .testimonials-step__body .testimonials-step__icon {
                    left: -7px;
                    right: auto;
                }

            .testimonials-step--right .testimonials-step__tags {
                justify-content: flex-start;
            }

        .testimonials-step__number {
            font-size: 2.4rem;
            text-align: right;
        }

        .testimonials-step__body {
            padding-left: 24px;
            padding-bottom: 36px;
        }

        .testimonials-summary__inner {
            gap: 0;
        }

        .summary-step__label {
            font-size: 0.6rem;
        }
    }

    @media (max-width: 480px) {

        .testimonials-step,
        .testimonials-step--right {
            grid-template-columns: 44px 1fr;
            grid-template-areas: "num body";
            gap: 0 14px;
        }

        .testimonials-step__number {
            font-size: 1.8rem;
        }
    }
