/* =====================================================
   LUMORA WELLNESS — WORKBOOK LIBRARY
===================================================== */


/* =====================================================
   ROOT
===================================================== */

:root {

    --cream: #f7f3ec;
    --white: #fffdf9;

    --sage: #a8b7a2;
    --sage-dark: #627262;

    --text: #303731;
    --muted: #777d75;

    --border: rgba(48,55,49,.12);

}


/* =====================================================
   RESET
===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(168,183,162,.12),
            transparent 28%
        ),

        var(--cream);

    color: var(--text);

    font-family: "Montserrat", sans-serif;

    -webkit-font-smoothing: antialiased;
}


a {
    color: inherit;
    text-decoration: none;
}
/* =====================================================
   LUMORA WELLNESS — MAIN SITE NAVIGATION
===================================================== */

.site-header {

    width: 100%;

    background: #f7f3ec;

    border-bottom: none;

    position: relative;

    z-index: 100;
}


.container {

    width: 84%;

    max-width: 1250px;

    margin: 0 auto;
}


.nav-container {

    min-height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* =========================================
   LOGO
========================================= */

.logo {

    color: #303731;

    font-family: "Cormorant Garamond", serif;

    font-size: 22px;

    font-weight: 500;

    letter-spacing: .2px;

    white-space: nowrap;
}


.logo span {

    color: #71806f;

    font-family: "Montserrat", sans-serif;

    font-size: 15px;

    font-weight: 400;

    margin-left: 3px;
}


/* =========================================
   NAVIGATION
========================================= */

.main-nav {

    display: flex;

    align-items: center;

    gap: 30px;

    margin-left: auto;

    margin-right: 30px;
}


.main-nav a {

    position: relative;

    color: #303731;

    font-family: "Montserrat", sans-serif;

    font-size: 15px;

    font-weight: 400;

    white-space: nowrap;

    transition: color .25s ease;
}


.main-nav a:hover {

    color: #71806f;
}


.main-nav a.active {

    color: #627262;

    font-weight: 500;
}


.main-nav a.active::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: -9px;

    height: 1px;

    background: #627262;
}


/* =========================================
   BEGIN YOUR JOURNEY
========================================= */

.nav-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 158px;

    height: 36px;

    padding: 0 18px;

    background: #a8b7a2;

    border: none;

    border-radius: 0;

    color: #ffffff;

    font-family: "Montserrat", sans-serif;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: .4px;

    white-space: nowrap;

    transition:
        background .25s ease,
        transform .25s ease;
}


.nav-button:hover {

    background: #71806f;

    color: #ffffff;

    transform: translateY(-1px);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 620px) {

    .site-header {

        position: relative;
    }


    .nav-container {

        gap: 16px;
    }


    .main-nav {

        gap: 15px;
    }


    .main-nav a {

        font-size: 10px;
    }


    .nav-button {

        display: none;
    }

}
/* =====================================================
   LIBRARY HERO
===================================================== */

.library-hero {

    position: relative;

    width: 100%;

    height: 520px;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #71806f;
}


/* HERO IMAGE */

.library-hero-image {

    position: absolute;

    inset: 0;

    z-index: 1;
}


.library-hero-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;
}


/* SOFT OVERLAY */

.library-hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            to bottom,
            rgba(30,40,33,.22),
            rgba(30,40,33,.48)
        );
}


/* HERO CONTENT */

.library-hero-content {

    position: relative;

    z-index: 3;

    width: min(700px, 90%);

    text-align: center;

    color: white;

    padding: 30px;
}


.hero-eyebrow {

    display: block;

    margin-bottom: 18px;

    font-family: "Montserrat", sans-serif;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 3.5px;

    text-transform: uppercase;

    opacity: .9;
}


.library-hero-content h1 {

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(58px, 7vw, 88px);

    line-height: .88;

    font-weight: 500;

    letter-spacing: -1.5px;
}


.library-hero-content h1 em {

    font-weight: 400;

    font-style: italic;
}


.library-hero-content p {

    max-width: 510px;

    margin: 25px auto 0;

    font-size: 12px;

    line-height: 1.9;

    letter-spacing: .2px;

    color: rgba(255,255,255,.9);
}



/* =====================================================
   HERO MOBILE
===================================================== */

@media (max-width: 950px) {

    .nav-container {

        flex-wrap: wrap;

        justify-content: center;

        padding: 17px 0;
    }


    .logo {

        width: 100%;

        text-align: center;
    }


    .main-nav {

        gap: 18px;

        flex-wrap: wrap;
    }


    .nav-button {

        display: none;
    }


    .library-hero {

        height: 460px;
    }

}


@media (max-width: 620px) {

    .site-header {

        position: relative;
    }


    .nav-container {

        gap: 15px;
    }


    .main-nav {

        gap: 13px;
    }


    .main-nav a {

        font-size: 9px;
    }


    .library-hero {

        height: 430px;
    }


    .library-hero-content {

        padding: 20px;
    }


    .hero-eyebrow {

        font-size: 7px;

        letter-spacing: 2.5px;
    }


    .library-hero-content h1 {

        font-size: 55px;
    }


    .library-hero-content p {

        font-size: 10px;

        line-height: 1.7;
    }

}

/* =====================================================
   HEADER
===================================================== */

.library-header {

    position: sticky;

    top: 0;

    z-index: 100;

    padding: 20px 6%;

    background: rgba(255,253,249,.92);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(14px);
}


.header-inner {

    max-width: 1250px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}


/* BRAND */

.brand {

    display: flex;

    align-items: center;

    gap: 11px;

    flex-shrink: 0;
}


.brand-mark {

    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--sage);

    color: white;

    font-family: "Cormorant Garamond", serif;

    font-size: 25px;

    font-weight: 600;
}


.brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1;
}


.brand-name {

    font-family: "Cormorant Garamond", serif;

    font-size: 25px;

    font-weight: 600;
}


.brand-subtitle {

    margin-top: 4px;

    color: var(--sage-dark);

    font-size: 8px;

    letter-spacing: 3px;

    text-transform: uppercase;
}



/* NAVIGATION */

.main-navigation {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 30px;
}


.main-navigation a {

    position: relative;

    color: #6c716b;

    font-size: 11px;

    transition: color .25s ease;
}


.main-navigation a:hover,
.main-navigation a.active {

    color: var(--text);
}


.main-navigation a.active::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -8px;

    height: 1px;

    background: var(--sage-dark);
}



/* =====================================================
   INTRO
===================================================== */

.library-intro {

    max-width: 720px;

    margin: auto;

    padding: 90px 25px 55px;

    text-align: center;
}


.eyebrow {

    margin-bottom: 17px;

    color: var(--sage-dark);

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 3px;
}


.library-intro h1 {

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(50px, 6vw, 70px);

    line-height: .92;

    font-weight: 500;

    letter-spacing: -1px;
}


.library-intro h1 em {

    color: var(--sage-dark);

    font-weight: 400;
}


.intro-text {

    max-width: 530px;

    margin: 28px auto 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.9;
}



/* =====================================================
   WORKBOOK GRID
===================================================== */

.workbook-section {

    width: 100%;

    padding: 20px 5% 90px;
}


.workbook-grid {

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    column-gap: 55px;

    row-gap: 90px;
}



/* =====================================================
   WORKBOOK CARD
===================================================== */

.workbook-card {

    width: 100%;

    min-width: 0;

    text-align: center;
}


.workbook-link {

    display: block;

    width: 100%;

    cursor: pointer;
}



/* =====================================================
   BOOK STAGE
===================================================== */

.book-stage {

    width: 100%;

    height: 320px;

    display: flex;

    align-items: center;

    justify-content: center;

    perspective: 1400px;
}



/* =====================================================
   ACTUAL BOOK

   EXACT SAME SIZE FOR ALL SIX BOOKS
===================================================== */

.book-cover {

    position: relative;

    width: 210px;

    height: 275px;

    flex: 0 0 210px;

    overflow: visible;

    border-radius: 2px 6px 6px 2px;

    transform:
        rotateY(-28deg)
        rotateX(3deg)
        rotateZ(-1deg);

    transform-style: preserve-3d;

    box-shadow:
        18px 30px 40px rgba(30,25,20,.28),
        6px 10px 16px rgba(30,25,20,.16);

    transition:
        transform .45s cubic-bezier(.2,.8,.2,1),
        box-shadow .45s ease;
}


.workbook-link:hover .book-cover {

    transform:
        translateY(-9px)
        rotateY(-22deg)
        rotateX(2deg)
        rotateZ(-.5deg)
        scale(1.02);

    box-shadow:
        22px 38px 48px rgba(30,25,20,.32),
        8px 14px 20px rgba(30,25,20,.18);
}



/* =====================================================
   SPINE
===================================================== */

.book-spine {

    position: absolute;

    left: -11px;
    top: 3px;
    bottom: 3px;

    width: 11px;

    background: linear-gradient(
        to right,
        rgba(0,0,0,.35),
        rgba(0,0,0,.12) 60%,
        rgba(255,255,255,.08)
    );

    border-radius: 3px 0 0 3px;

    transform: rotateY(-90deg);
    transform-origin: right center;

    pointer-events: none;
}



/* =====================================================
   PAGE EDGE
===================================================== */

.book-cover::after {

    content: "";

    position: absolute;

    right: -13px;

    top: 4px;
    bottom: 4px;

    width: 13px;

    border-radius: 0 3px 3px 0;

    background:
        repeating-linear-gradient(
            to bottom,
            #f7f3ea 0,
            #f7f3ea 2px,
            #d8d2c2 2px,
            #d8d2c2 3px
        );

    box-shadow: inset -2px 0 4px rgba(0,0,0,.15);

    transform: rotateY(90deg);
    transform-origin: left center;

    pointer-events: none;
}



/* =====================================================
   INNER BOOK
===================================================== */

.book-inner {

    position: relative;

    width: 100%;
    height: 100%;

    padding: 25px 23px;

    z-index: 2;

    display: flex;

    flex-direction: column;

    pointer-events: none;

    box-shadow: inset 3px 0 8px rgba(0,0,0,.18);
}


.book-inner::before {

    content: "";

    position: absolute;

    inset: 10px;

    border: 1px solid rgba(255,255,255,.22);

    pointer-events: none;
}



/* =====================================================
   BOOK BRAND
===================================================== */

.book-brand {

    text-align: center;

    font-size: 7px;

    font-weight: 600;

    letter-spacing: 2.5px;

    opacity: .75;
}



/* =====================================================
   BOOK ART
===================================================== */

.book-art {

    height: 95px;

    margin-top: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: .78;
}


.book-art svg {

    width: 175px;

    height: 100%;

    overflow: visible;
}



/* =====================================================
   BOOK TITLE
===================================================== */

.book-title {

    margin-top: auto;

    text-align: center;
}


.book-title span {

    display: block;

    margin-bottom: 8px;

    font-size: 7px;

    letter-spacing: 2px;

    opacity: .6;
}


.book-title h2 {

    font-family: "Cormorant Garamond", serif;

    font-size: 37px;

    line-height: .82;

    font-weight: 500;

    letter-spacing: -.7px;
}


.book-title p {

    margin-top: 13px;

    font-size: 7px;

    line-height: 1.65;

    letter-spacing: .8px;

    text-transform: uppercase;

    opacity: .68;
}



/* =====================================================
   BOOK 01 — GENTLE RESET
===================================================== */

.book-one {

    color: #4d5e4f;

    background:
        linear-gradient(
            145deg,
            #c7d2c0,
            #a9baa2
        );
}



/* =====================================================
   BOOK 02 — BECOMING ME
===================================================== */

.book-two {

    color: #f5f1ed;

    background:
        linear-gradient(
            145deg,
            #819096,
            #607a7c
        );
}



/* =====================================================
   BOOK 03 — BOUNDARIES
===================================================== */

.book-three {

    color: #f7eee8;

    background:
        linear-gradient(
            145deg,
            #77434b,
            #582f37
        );
}



/* =====================================================
   BOOK 04 — QUIETING THE NOISE
===================================================== */

.book-four {

    color: #f2f4ef;

    background:
        linear-gradient(
            145deg,
            #74898d,
            #526c70
        );
}



/* =====================================================
   BOOK 05 — AFTER THE GOODBYE
   HAPPY PINK
===================================================== */

.book-five {

    color: #713f59;

    background:
        linear-gradient(
            145deg,
            #ffdbea,
            #f7b5d2
        );

    box-shadow:
        0 20px 34px rgba(154,78,117,.18),
        0 5px 10px rgba(154,78,117,.08);
}


.book-five .book-inner::before {

    border-color: rgba(113,63,89,.2);
}


.book-five .book-art {

    opacity: .85;
}

/* =====================================================
   BOOK 06 — BECOMING YOUR OWN SAFE PLACE
   HAPPY LAVENDER
===================================================== */

.book-six {

    color: #55456e;

    background:
        linear-gradient(
            145deg,
            #eadfff,
            #cbb8f1
        );

    box-shadow:
        0 20px 34px rgba(103,82,151,.18),
        0 5px 10px rgba(103,82,151,.08);
}


/* COVER BORDER */

.book-six .book-inner::before {

    border-color: rgba(85,69,110,.2);
}


/* BOOK BRAND */

.book-six .book-brand {

    font-size: 6px;

    letter-spacing: 2px;

    opacity: .7;
}


/* BOOK ART */

.book-six .book-art {

    height: 92px;

    margin-top: 10px;

    opacity: .82;
}


/* TITLE AREA */

.book-six .book-title {

    margin-top: auto;

    text-align: center;
}


/* BOOK NUMBER */

.book-six .book-title span {

    margin-bottom: 6px;

    font-size: 6px;

    letter-spacing: 1.8px;

    opacity: .58;
}


/* MAIN TITLE */

.book-six .book-title h2 {

    font-family: "Cormorant Garamond", serif;

    font-size: 25px !important;

    line-height: .95 !important;

    font-weight: 500;

    letter-spacing: -.3px;

    margin: 0;
}


/* SUBTITLE */

.book-six .book-title p {

    margin-top: 9px;

    font-family: "Montserrat", sans-serif;

    font-size: 6px !important;

    line-height: 1.45 !important;

    letter-spacing: .7px;

    text-transform: uppercase;

    opacity: .62;
}/* =====================================================
   WORKBOOK INFORMATION
===================================================== */

.workbook-info {

    max-width: 300px;

    margin: 18px auto 0;

    text-align: center;
}


/* DECORATIVE LINE */

.workbook-info::before {

    content: "";

    display: block;

    width: 24px;

    height: 1px;

    margin: 0 auto 10px;

    background: var(--sage);

    opacity: .65;

    transition: width .3s ease;
}


/* BOOK TITLE */

.workbook-info h3 {

    font-family: "Cormorant Garamond", serif;

    color: var(--sage-dark);

    font-size: 24px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: -.2px;
}


/* DESCRIPTION */

.workbook-info p {

    max-width: 270px;

    margin: 9px auto 0;

    color: #858b84;

    font-size: 9px;

    line-height: 1.7;

    letter-spacing: .25px;
}


/* PRICE + FREE */

.workbook-meta {

    margin-top: 11px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;
}


.price {

    color: var(--sage-dark);

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 1px;
}


/* FREE BADGE */

.free {

    flex-shrink: 0;

    padding: 5px 10px;

    border-radius: 30px;

    background: #dff0df;

    color: #55725a;

    font-size: 7px;

    font-weight: 600;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


/* OPEN WORKBOOK */

.workbook-info .open-workbook {

    display: inline-block;

    margin-top: 12px;

    color: var(--sage-dark);

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    transition:
        color .25s ease,
        letter-spacing .25s ease;
}


/* HOVER */

.workbook-link:hover .workbook-info h3 {

    color: var(--sage-dark);
}


.workbook-link:hover .workbook-info::before {

    width: 34px;
}


.workbook-link:hover .workbook-info .open-workbook {

    color: #506451;

    letter-spacing: 1.7px;
}

/* =====================================================
   CLOSING NOTE
===================================================== */

.library-note {

    max-width: 600px;

    margin: 0 auto 85px;

    padding: 0 25px;

    text-align: center;
}


.note-line {

    width: 45px;

    height: 1px;

    margin: 0 auto 22px;

    background: var(--sage);
}


.library-note p {

    font-family: "Cormorant Garamond", serif;

    color: #606860;

    font-size: 22px;

    line-height: 1.4;
}


.library-note span {

    display: block;

    margin-top: 12px;

    color: var(--sage-dark);

    font-size: 8px;

    letter-spacing: 2px;

    text-transform: uppercase;
}



/* =====================================================
   SAGE FOOTER
===================================================== */

.library-footer {

    width: 100%;

    padding: 38px 20px;

    background:
        linear-gradient(
            135deg,
            #687a6a,
            #596d5c
        );

    color: rgba(255,255,255,.85);

    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 7px;
}


.library-footer p {

    margin: 0;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: 1.6px;

    text-transform: uppercase;
}


.library-footer span {

    color: rgba(255,255,255,.72);

    font-family: "Cormorant Garamond", serif;

    font-size: 15px;

    font-style: italic;
}



/* =====================================================
   TABLET
===================================================== */

@media (max-width: 950px) {

    .workbook-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 35px;

        row-gap: 75px;
    }


    .header-inner {

        flex-direction: column;

        gap: 18px;
    }

}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 620px) {

    .library-header {

        padding: 18px 5%;
    }


    .main-navigation {

        gap: 14px;

        flex-wrap: wrap;
    }


    .main-navigation a {

        font-size: 9px;
    }


    .library-intro {

        padding: 65px 20px 40px;
    }


    .library-intro h1 {

        font-size: 50px;
    }


    .intro-text {

        font-size: 11px;
    }


    .workbook-section {

        padding: 10px 20px 65px;
    }


    .workbook-grid {

        grid-template-columns: 1fr;

        row-gap: 70px;
    }


    .book-stage {

        height: 315px;
    }


    .workbook-info {

        max-width: 330px;
    }


    .library-note {

        margin-bottom: 65px;
    }

}
/* =========================================
   LUMORA WORKBOOKS — MOBILE NAVIGATION
========================================= */

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 900px) {

    .site-header {
        position: relative;
        z-index: 1000;
    }

    .site-header .nav-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 12px;
        padding: 14px 20px;
    }

    .site-header .logo {
        flex-shrink: 0;
        margin: 0;
    }

    .site-header .nav-button {
        display: none;
    }

    .site-header .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        padding: 0;
        border: 1px solid #A8BFA3;
        border-radius: 10px;
        background: transparent;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: #7F9B78;
        border-radius: 2px;
    }

    .site-header .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        margin: 0;
        padding: 15px 22px;
        background: #FAF5EC;
        box-shadow: 0 12px 24px rgba(0,0,0,0.1);
        z-index: 1001;
    }

    .site-header .main-nav.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-header .main-nav a {
        display: block;
        padding: 13px 8px;
        border-bottom: 1px solid rgba(168,191,163,0.3);
        text-align: left;
    }
}