/* =========================================
   SIX STRINGS HIGHER
   SCENE 03 — THE PATH
========================================= */


/* =========================================
   LESSON SECTION
========================================= */

.lessons-section {

    position: relative;

    width: 100%;
    min-height: 100vh;

    padding: 140px 10vw 120px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(100, 67, 40, 0.14),
            transparent 45%
        ),
        #0b0908;
}


/* =========================================
   SCENE INDICATOR
========================================= */

.lessons-section .scene-indicator {

    position: absolute;

    top: 50%;
    left: 5vw;

    transform:
        translateY(-50%)
        rotate(-90deg);

    transform-origin: center;

    display: flex;
    align-items: center;

    gap: 14px;

    z-index: 10;

    font-family: var(--sans);

    font-size: 9px;

    letter-spacing: 0.2em;

    text-transform: uppercase;

    color: var(--cream-muted);
}


.lessons-section .indicator-line {

    width: 42px;
    height: 1px;

    background: var(--line-strong);
}


/* =========================================
   INTRO
========================================= */

.lessons-intro {

    position: relative;

    z-index: 5;

    max-width: 620px;

    margin:
        0 auto
        90px;

    text-align: center;
}


.lessons-intro .eyebrow {

    margin-bottom: 20px;
}


.lessons-intro h2 {

    margin: 0 0 24px;

    font-family: var(--serif);

    font-size:
        clamp(
            52px,
            6vw,
            86px
        );

    font-weight: 400;

    line-height: 0.9;

    letter-spacing: -0.05em;

    color: var(--cream);
}


.lessons-intro p {

    max-width: 520px;

    margin: 0 auto;

    font-family: var(--serif);

    font-size: 18px;

    line-height: 1.55;

    color: var(--cream-muted);
}


/* =========================================
   SIX STRING NAVIGATION
========================================= */

.string-navigation {

    position: relative;

    z-index: 5;

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 0;
}


/* =========================================
   INDIVIDUAL STRING
========================================= */

.lesson-string {

    position: relative;

    display: grid;

    grid-template-columns:
        70px
        1fr
        150px;

    align-items: center;

    width: 100%;

    min-height: 72px;

    padding: 0;

    border: 0;

    border-top:
        1px solid var(--line);

    background: transparent;

    color: var(--cream);

    font-family: var(--sans);

    text-align: left;

    cursor: pointer;

    transition:
        padding 0.45s ease,
        background 0.45s ease;
}


.lesson-string:last-child {

    border-bottom:
        1px solid var(--line);
}


/* =========================================
   STRING NUMBER
========================================= */

.string-number {

    font-size: 9px;

    letter-spacing: 0.16em;

    color: var(--cream-muted);

    transition:
        color 0.35s ease;
}


/* =========================================
   STRING / LINE
========================================= */

.string-line {

    position: relative;

    height: 1px;

    margin-right: 30px;

    background:
        linear-gradient(
            to right,
            var(--line-strong),
            rgba(238, 231, 220, 0.06)
        );

    transition:
        height 0.35s ease,
        background 0.35s ease;
}


/* =========================================
   LESSON NAME
========================================= */

.string-name {

    position: absolute;

    left: 70px;

    top: 50%;

    transform:
        translateY(-50%);

    padding-right: 20px;

    font-family: var(--serif);

    font-size:
        clamp(
            24px,
            2.4vw,
            36px
        );

    font-weight: 400;

    letter-spacing: -0.02em;

    white-space: nowrap;

    color: var(--cream);

    pointer-events: none;

    background: #0b0908;

    transition:
        transform 0.45s ease,
        color 0.35s ease;
}


/* =========================================
   PRICE
========================================= */

.string-price {

    min-width: 150px;

    padding-left: 20px;

    font-size: 9px;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    text-align: right;

    color: var(--cream-muted);

    transition:
        color 0.35s ease;
}


/* =========================================
   HOVER
========================================= */

.lesson-string:hover {

    padding-left: 18px;

    background:
        rgba(238, 231, 220, 0.025);
}


.lesson-string:hover .string-line {

    height: 2px;

    background:
        linear-gradient(
            to right,
            var(--cream),
            rgba(238, 231, 220, 0.08)
        );
}


.lesson-string:hover .string-name {

    transform:
        translateY(-50%)
        translateX(18px);
}


.lesson-string:hover .string-number {

    color: var(--cream);
}


.lesson-string:hover .string-price {

    color: var(--cream);
}


/* =========================================
   ACTIVE
========================================= */

.lesson-string.active {

    padding-left: 18px;

    background:
        rgba(238, 231, 220, 0.035);
}


.lesson-string.active .string-line {

    height: 2px;

    background:
        var(--cream);
}


.lesson-string.active .string-name {

    transform:
        translateY(-50%)
        translateX(18px);

    color: var(--cream);
}


.lesson-string.active .string-number {

    color: var(--cream);
}


.lesson-string.active .string-price {

    color: var(--cream);
}


/* =========================================
   LESSON DETAILS
========================================= */

.lesson-details {

    position: relative;

    z-index: 5;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 60px;

    max-width: 900px;

    margin:
        80px auto
        0;

    padding-top: 50px;

    border-top:
        1px solid var(--line);
}


/* =========================================
   DETAIL LABEL
========================================= */

.detail-label {

    margin: 0 0 16px;

    font-family: var(--sans);

    font-size: 9px;

    letter-spacing: 0.2em;

    text-transform: uppercase;

    color: var(--cream-muted);
}


/* =========================================
   LESSON TITLE
========================================= */

#lesson-title {

    margin: 0 0 16px;

    font-family: var(--serif);

    font-size: 34px;

    font-weight: 400;

    color: var(--cream);
}


/* =========================================
   LESSON DESCRIPTION
========================================= */

#lesson-description {

    margin: 0;

    font-family: var(--serif);

    font-size: 17px;

    line-height: 1.55;

    color: var(--cream-muted);
}


/* =========================================
   LESSON META
========================================= */

.lesson-meta {

    display: flex;

    flex-direction: column;

    gap: 12px;

    align-self: center;
}


.lesson-meta-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-bottom: 12px;

    border-bottom:
        1px solid var(--line);
}


.lesson-meta-label {

    font-family: var(--sans);

    font-size: 8px;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    color: var(--cream-muted);
}


.lesson-meta-value {

    font-family: var(--sans);

    font-size: 9px;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    color: var(--cream);
}


/* =========================================
   BOOK BUTTON
========================================= */

#book-lesson-button {

    justify-self: start;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 28px;

    margin-top: 25px;

    padding: 17px 24px;

    border:
        1px solid var(--cream);

    background: var(--cream);

    color: var(--background);

    font-family: var(--sans);

    font-size: 9px;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.35s ease,
        color 0.35s ease,
        gap 0.35s ease;
}


#book-lesson-button span {

    font-size: 15px;

    transition:
        transform 0.35s ease;
}


#book-lesson-button:hover {

    background: transparent;

    color: var(--cream);

    gap: 34px;
}


#book-lesson-button:hover span {

    transform:
        translateX(4px);
}


/* =========================================
   LARGE DESKTOP
========================================= */

@media (min-width: 1400px) {

    .lessons-section {

        padding-left: 12vw;
        padding-right: 12vw;

    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .lessons-section {

        padding:
            130px
            10vw
            100px;

    }


    .lesson-string {

        grid-template-columns:
            55px
            1fr
            130px;

    }


    .string-name {

        left: 55px;

    }


    .string-price {

        min-width: 130px;

    }


    .lesson-details {

        gap: 35px;

    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 800px) {

    .lessons-section {

        padding:
            120px
            10vw
            80px;

    }


    .lessons-section .scene-indicator {

        position: relative;

        top: auto;
        left: auto;

        transform: none;

        margin-bottom: 70px;

    }


    .lessons-intro {

        margin-bottom: 60px;

        text-align: left;

    }


    .lessons-intro h2 {

        font-size:
            clamp(
                48px,
                13vw,
                72px
            );

    }


    .lessons-intro p {

        margin: 0;

        font-size: 17px;

    }


    .lesson-string {

        grid-template-columns:
            40px
            1fr;

        min-height: 68px;

    }


    .string-price {

        display: none;

    }


    .string-line {

        margin-right: 0;

    }


    .string-name {

        left: 40px;

        font-size: 24px;

    }


    .lesson-details {

        grid-template-columns: 1fr;

        gap: 35px;

        margin-top: 60px;

        padding-top: 40px;

    }


    #book-lesson-button {

        justify-self: start;

    }

}