/* =========================================================
   CROWN THEORY
   Story Page Styles
   ========================================================= */


/* =========================================================
   1. ACTIVE NAVIGATION
   ========================================================= */

.active-nav-link {
    color: #6B7F63 !important;
}


/* =========================================================
   2. STORY HERO
   ========================================================= */

.story-page-hero {
    padding: 64px 0 88px;

    background-color: #F7F4EB;
}

.story-page-hero-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 64px;
}

.story-page-hero-content {
    max-width: 570px;
}

.story-page-hero-content h1 {
    margin-bottom: 24px;

    color: #3D2314;

    font-size: 58px;
    line-height: 1.08;
}

.story-page-hero-content p {
    margin-bottom: 32px;

    color: #6C625B;

    font-size: 18px;
    line-height: 1.75;
}


/* =========================================================
   3. STORY HERO IMAGE
   ========================================================= */

.story-page-hero-image {
    height: 650px;

    border-radius: 24px;

    overflow: hidden;
}

.story-page-hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* =========================================================
   4. OUR BEGINNING
   ========================================================= */

.story-beginning-section {
    padding: 96px 0;

    background-color: #FCFAF5;
}

.story-beginning-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 72px;
}

.story-beginning-image {
    height: 620px;

    border-radius: 24px;

    overflow: hidden;
}

.story-beginning-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.story-beginning-content {
    max-width: 560px;
}

.story-beginning-content h2 {
    margin-bottom: 24px;

    color: #3D2314;

    font-size: 44px;
    line-height: 1.15;
}

.story-beginning-content p {
    margin-bottom: 18px;

    color: #6C625B;

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   5. BRAND STATEMENT
   ========================================================= */

.story-statement-section {
    padding: 88px 0;

    background-color: #6B7F63;

    text-align: center;
}

.story-statement-content {
    max-width: 900px;
}

.story-statement-section .eyebrow {
    color: #F3E3CC;
}

.story-statement-section blockquote {
    margin-bottom: 20px;

    color: #FFFFFF;

    font-family: "Cooper Black", Georgia, serif;
    font-size: 44px;
    line-height: 1.3;
}

.story-statement-section p {
    color: #F7F4EB;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
}


/* =========================================================
   6. SECTION HEADINGS
   ========================================================= */

.story-section-heading {
    max-width: 700px;

    margin-bottom: 48px;
}

.story-section-heading h2 {
    margin-bottom: 16px;

    color: #3D2314;

    font-size: 44px;
}

.story-section-heading p {
    max-width: 600px;

    color: #6C625B;

    font-size: 16px;
    line-height: 1.7;
}

.centered-story-heading {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.centered-story-heading p {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   7. VALUES SECTION
   ========================================================= */

.story-values-section {
    background-color: #F7F4EB;
}

.story-values-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.story-value-card {
    padding: 28px;

    background-color: #FFFFFF;

    border: 1px solid #DDD6C8;
    border-radius: 16px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.story-value-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 8px 22px rgba(61, 35, 20, 0.08);
}

.story-value-number {
    display: block;

    margin-bottom: 28px;

    color: #D9A05B;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.story-value-card h3 {
    margin-bottom: 14px;

    color: #3D2314;

    font-size: 24px;
}

.story-value-card p {
    color: #6C625B;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   8. TEXTURE STORY
   ========================================================= */

.texture-story-section {
    padding: 96px 0;

    background-color: #E7ECE3;
}

.texture-story-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 64px;
}

.texture-story-content {
    max-width: 540px;
}

.texture-story-content h2 {
    margin-bottom: 22px;

    color: #3D2314;

    font-size: 44px;
}

.texture-story-content p {
    margin-bottom: 18px;

    color: #5F665A;

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   9. TEXTURE BUTTONS
   ========================================================= */

.texture-type-row {
    margin: 28px 0;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.texture-type-row a {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    background-color: #F7F4EB;

    color: #3D2314;

    border: 1px solid #CAD4C5;
    border-radius: 50%;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.texture-type-row a:hover {
    background-color: #3D2314;

    color: #FFFFFF;
}


/* =========================================================
   10. TEXTURE PHOTO GRID
   ========================================================= */

.texture-photo-grid {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    grid-template-rows: 1fr 1fr;

    gap: 16px;

    height: 600px;
}

.texture-photo {
    border-radius: 18px;

    overflow: hidden;
}

.texture-photo-large {
    grid-row: 1 / 3;
}

.texture-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   11. STORY ROUTINE
   ========================================================= */

.story-routine-section {
    background-color: #FCFAF5;
}

.story-routine-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.story-routine-card {
    padding: 32px;

    background-color: #F7F4EB;

    border: 1px solid #DDD6C8;
    border-radius: 16px;
}

.story-step {
    display: inline-block;

    margin-bottom: 24px;

    padding: 7px 12px;

    background-color: #D9A05B;

    color: #3D2314;

    border-radius: 20px;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
}

.story-routine-card h3 {
    margin-bottom: 12px;

    color: #3D2314;

    font-size: 28px;
}

.story-routine-card p {
    margin-bottom: 24px;

    color: #6C625B;

    font-size: 14px;
    line-height: 1.7;
}

.story-routine-action {
    margin-top: 40px;

    text-align: center;
}


/* =========================================================
   12. COMMUNITY
   ========================================================= */

.story-community-section {
    padding: 96px 0;

    background-color: #F7F4EB;
}

.story-community-grid {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: 72px;
}

.story-community-image {
    height: 560px;

    border-radius: 24px;

    overflow: hidden;
}

.story-community-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.story-community-content {
    max-width: 530px;
}

.story-community-content h2 {
    margin-bottom: 22px;

    color: #3D2314;

    font-size: 44px;
}

.story-community-content p {
    margin-bottom: 18px;

    color: #6C625B;

    font-size: 16px;
    line-height: 1.75;
}

.story-community-content .button {
    margin-top: 12px;
}


/* =========================================================
   13. FINAL CTA
   ========================================================= */

.story-final-cta {
    padding: 88px 0;

    background-color: #3D2314;
}

.story-final-cta-content {
    max-width: 760px;

    text-align: center;
}

.story-final-cta .eyebrow {
    color: #D9A05B;
}

.story-final-cta h2 {
    margin-bottom: 18px;

    color: #F7F4EB;

    font-size: 48px;
}

.story-final-cta p {
    max-width: 600px;

    margin: 0 auto 30px;

    color: #D8CCC3;

    font-size: 16px;
    line-height: 1.7;
}

.story-final-actions {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 24px;
}

.story-light-link {
    padding-bottom: 4px;

    color: #F7F4EB;

    border-bottom: 2px solid #D9A05B;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.story-light-link:hover {
    color: #D9A05B;
}


/* =========================================================
   14. TABLET
   ========================================================= */

@media screen and (max-width: 1100px) {

    .story-page-hero-grid,
    .story-beginning-grid,
    .texture-story-grid,
    .story-community-grid {
        gap: 40px;
    }

    .story-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-page-hero-content h1 {
        font-size: 50px;
    }

    .texture-photo-grid {
        height: 520px;
    }

}


/* =========================================================
   15. SMALL TABLET
   ========================================================= */

@media screen and (max-width: 850px) {

    .story-page-hero-grid,
    .story-beginning-grid,
    .texture-story-grid,
    .story-community-grid {
        grid-template-columns: 1fr;
    }

    .story-page-hero-content,
    .story-beginning-content,
    .texture-story-content,
    .story-community-content {
        max-width: 100%;
    }

    .story-page-hero-image {
        height: 560px;
    }

    .story-beginning-image {
        height: 540px;
    }

    .texture-photo-grid {
        height: 560px;
    }

    .story-routine-grid {
        grid-template-columns: 1fr;
    }

    .story-community-image {
        height: 500px;
    }

}


/* =========================================================
   16. MOBILE
   ========================================================= */

@media screen and (max-width: 650px) {

    .story-page-hero {
        padding: 48px 0 64px;
    }

    .story-page-hero-content h1 {
        font-size: 40px;
    }

    .story-page-hero-content p {
        font-size: 16px;
    }

    .story-page-hero-image {
        height: 460px;
    }

    .story-beginning-section,
    .texture-story-section,
    .story-community-section {
        padding: 72px 0;
    }

    .story-beginning-image {
        height: 450px;
    }

    .story-beginning-content h2,
    .texture-story-content h2,
    .story-community-content h2,
    .story-section-heading h2 {
        font-size: 36px;
    }

    .story-statement-section {
        padding: 64px 0;
    }

    .story-statement-section blockquote {
        font-size: 34px;
    }

    .story-values-grid {
        grid-template-columns: 1fr;
    }

    .texture-photo-grid {
        grid-template-columns: 1fr 1fr;

        height: 460px;
    }

    .story-final-cta {
        padding: 64px 0;
    }

    .story-final-cta h2 {
        font-size: 38px;
    }

    .story-final-actions {
        flex-direction: column;
    }

}


/* =========================================================
   17. SMALL MOBILE
   ========================================================= */

@media screen and (max-width: 420px) {

    .story-page-hero-content h1 {
        font-size: 35px;
    }

    .story-page-hero-image {
        height: 390px;
    }

    .story-beginning-image {
        height: 390px;
    }

    .story-value-card,
    .story-routine-card {
        padding: 24px;
    }

    .texture-photo-grid {
        display: block;

        height: auto;
    }

    .texture-photo {
        height: 320px;

        margin-bottom: 16px;
    }

    .story-community-image {
        height: 380px;
    }

    .story-final-cta h2 {
        font-size: 34px;
    }

}