/* =========================================================
ALONE AT THE ALTAR

LANDING PAGE STYLESHEET

Author: Bradley Hobbs

========================================================= */


/* =========================================================
ROOT
========================================================= */

:root {

    --navy:
        #102033;

    --navy-deep:
        #081421;

    --gold:
        #a97932;

    --gold-light:
        #d0a966;

    --cream:
        #f7f3ea;

    --ivory:
        #fffdf8;

    --warm-white:
        #fdfaf4;

    --ink:
        #243344;

    --muted:
        #6e6b66;

    --line:
        rgba(16, 32, 51, 0.15);

    --shadow:
        0 20px 60px
        rgba(16, 32, 51, 0.12);

}


/* =========================================================
RESET
========================================================= */

* {

    box-sizing:
        border-box;

}


html {

    scroll-behavior:
        smooth;

}


body {

    margin:
        0;

    background:
        var(--cream);

    color:
        var(--ink);

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

}


img {

    display:
        block;

    max-width:
        100%;

}


a {

    color:
        inherit;

    text-decoration:
        none;

}


button {

    font:
        inherit;

}


/* =========================================================
GLOBAL
========================================================= */

.section {

    padding:
        90px 0;

}


.section-shell {

    width:
        min(1400px, calc(100% - 48px));

    margin:
        0 auto;

}


.eyebrow {

    display:
        block;

    margin-bottom:
        14px;

    color:
        var(--gold);

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        0.72rem;

    font-weight:
        700;

    letter-spacing:
        0.24em;

    text-transform:
        uppercase;

}


.section-heading {

    margin-bottom:
        42px;

    text-align:
        center;

}


.section-heading h2 {

    margin:
        0;

    font-size:
        clamp(2.5rem, 5vw, 4.5rem);

    font-weight:
        500;

    line-height:
        0.95;

}


.center-button {

    display:
        flex;

    justify-content:
        center;

    margin-top:
        36px;

}


/* =========================================================
BUTTONS
========================================================= */

.button {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        52px;

    padding:
        0 30px;

    border:
        1px solid transparent;

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        0.85rem;

    font-weight:
        600;

    letter-spacing:
        0.03em;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;

}


.button:hover {

    transform:
        translateY(-2px);

}


.button-gold {

    background:
        var(--gold);

    color:
        #ffffff;

}


.button-gold:hover {

    background:
        #8f6226;

}


.button-outline {

    border-color:
        rgba(255, 255, 255, 0.7);

    color:
        #ffffff;

}


.button-outline:hover {

    background:
        #ffffff;

    color:
        var(--navy);

}


/* =========================================================
HEADER
========================================================= */

.site-header {

    position:
        sticky;

    top:
        0;

    z-index:
        1000;

    background:
        rgba(253, 250, 244, 0.97);

    border-bottom:
        1px solid
        rgba(16, 32, 51, 0.08);

    backdrop-filter:
        blur(12px);

}


.header-inner {

    width:
        min(1500px, calc(100% - 48px));

    min-height:
        88px;

    margin:
        0 auto;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        28px;

}


.site-brand {

    display:
        flex;

    flex-direction:
        column;

    flex-shrink:
        0;

}


.brand-title {

    color:
        var(--navy);

    font-family:
        "Playfair Display",
        serif;

    font-size:
        1.75rem;

    font-weight:
        600;

    line-height:
        1;

}


.brand-title small {

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        0.9rem;

    font-weight:
        500;

}


.brand-title strong {

    color:
        var(--gold);

    font-weight:
        600;

}


.brand-subtitle {

    margin-top:
        5px;

    color:
        var(--muted);

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        0.45rem;

    font-weight:
        700;

    letter-spacing:
        0.14em;

    text-transform:
        uppercase;

}


.site-navigation {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        24px;

    margin-left:
        auto;

}


.site-navigation a {

    position:
        relative;

    padding:
        8px 0;

    color:
        var(--ink);

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        0.78rem;

    font-weight:
        500;

}


.site-navigation a::after {

    position:
        absolute;

    right:
        0;

    bottom:
        0;

    left:
        0;

    height:
        1px;

    background:
        var(--gold);

    content:
        "";

    transform:
        scaleX(0);

    transform-origin:
        center;

    transition:
        transform 0.25s ease;

}


.site-navigation a:hover::after,
.site-navigation a.active::after {

    transform:
        scaleX(1);

}


.header-button {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        42px;

    padding:
        0 22px;

    background:
        var(--gold);

    color:
        #ffffff;

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        0.72rem;

    font-weight:
        700;

    transition:
        background 0.25s ease;

}


.header-button:hover {

    background:
        var(--navy);

}


.mobile-menu-button {

    display:
        none;

    width:
        44px;

    height:
        44px;

    padding:
        0;

    border:
        0;

    background:
        transparent;

    cursor:
        pointer;

}


.mobile-menu-button span {

    display:
        block;

    width:
        24px;

    height:
        2px;

    margin:
        5px auto;

    background:
        var(--navy);

}


/* =========================================================
BANNER
========================================================= */

.banner {

    width:
        100%;

    background:
        var(--navy-deep);

}


.banner img {

    width:
        100%;

    height:
        auto;

    object-fit:
        cover;

}


/* =========================================================
INTRODUCTION
========================================================= */

.introduction {

    position:
        relative;

    overflow:
        hidden;

    background:
        linear-gradient(
            90deg,
            #f3ede2 0%,
            var(--ivory) 45%,
            #f4eee4 100%
        );

}


.introduction-grid {

    display:
        grid;

    grid-template-columns:
        150px
        minmax(0, 1fr)
        220px;

    align-items:
        center;

    gap:
        40px;

}


.introduction-side {

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    gap:
        14px;

    padding:
        30px 0;

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

}


.introduction-side span {

    color:
        var(--muted);

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        0.68rem;

    font-weight:
        700;

    letter-spacing:
        0.2em;

    text-transform:
        uppercase;

}


.introduction-content {

    max-width:
        780px;

    margin:
        0 auto;

    text-align:
        center;

}


.introduction-content h1 {

    margin:
        0;

    font-size:
        clamp(2.4rem, 5vw, 4.7rem);

    font-weight:
        500;

    line-height:
        0.98;

}


.introduction-content p {

    max-width:
        680px;

    margin:
        22px auto 28px;

    color:
        var(--ink);

    font-size:
        1.3rem;

    line-height:
        1.45;

}


.ornament {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        12px;

    margin:
        22px 0;

}


.ornament::before,
.ornament::after {

    width:
        70px;

    height:
        1px;

    background:
        var(--gold);

    content:
        "";

}


.ornament span {

    width:
        9px;

    height:
        9px;

    background:
        var(--gold);

    transform:
        rotate(45deg);

}


.introduction-quote {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        250px;

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

}


.introduction-quote p {

    margin:
        0;

    color:
        var(--navy);

    font-size:
        2rem;

    font-style:
        italic;

    line-height:
        1.1;

    text-align:
        center;

}


/* =========================================================
BOOK FEATURE
========================================================= */

.book-feature {

    background:
        var(--warm-white);

}


.book-grid {

    display:
        grid;

    grid-template-columns:
        minmax(260px, 0.9fr)
        minmax(360px, 1.1fr)
        minmax(180px, 0.45fr);

    align-items:
        center;

    gap:
        70px;

}


.book-cover-wrap {

    display:
        flex;

    justify-content:
        center;

}


.book-cover {

    width:
        min(100%, 420px);

    box-shadow:
        var(--shadow);

}


.book-content h2 {

    margin:
        0 0 24px;

    font-size:
        clamp(2.8rem, 5vw, 5rem);

    font-weight:
        500;

    line-height:
        0.95;

}


.book-content p {

    max-width:
        560px;

    margin:
        0 0 18px;

    font-size:
        1.3rem;

    line-height:
        1.4;

}


.book-content .button {

    margin-top:
        14px;

}


.book-quote {

    padding-left:
        26px;

    border-left:
        1px solid var(--gold);

}


.book-quote p {

    margin:
        0;

    color:
        var(--navy);

    font-size:
        1.35rem;

    font-style:
        italic;

    line-height:
        1.4;

}


/* =========================================================
JOURNEY
========================================================= */

.journey {

    background:
        var(--cream);

}


.journey-grid {

    display:
        grid;

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

    gap:
        14px;

}


.journey-card {

    overflow:
        hidden;

    background:
        var(--ivory);

    border:
        1px solid
        rgba(16, 32, 51, 0.1);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.journey-card:hover {

    transform:
        translateY(-6px);

    box-shadow:
        var(--shadow);

}


.journey-card img {

    width:
        100%;

    aspect-ratio:
        16 / 10;

    object-fit:
        cover;

}


.journey-card-content {

    padding:
        24px 22px 28px;

    text-align:
        center;

}


.journey-card h3 {

    margin:
        0 0 12px;

    color:
        var(--navy);

    font-family:
        "Playfair Display",
        serif;

    font-size:
        1.5rem;

    text-transform:
        uppercase;

}


.journey-card p {

    margin:
        0;

    font-size:
        1.1rem;

    line-height:
        1.35;

}


/* =========================================================
FEATURED QUOTE
========================================================= */

.featured-quote {

    position:
        relative;

    min-height:
        420px;

    display:
        flex;

    align-items:
        center;

    background:
        linear-gradient(
            rgba(8, 20, 33, 0.78),
            rgba(8, 20, 33, 0.9)
        ),
        url("images/god-who-did.jpg")
        center / cover
        no-repeat;

}


.featured-quote-overlay {

    width:
        100%;

    padding:
        70px 0;

    text-align:
        center;

}


.featured-quote blockquote {

    margin:
        0;

    color:
        #ffffff;

    font-size:
        clamp(3rem, 6vw, 6rem);

    font-style:
        italic;

    font-weight:
        400;

    line-height:
        0.95;

}


.quote-divider {

    width:
        130px;

    height:
        1px;

    margin:
        28px auto;

    background:
        var(--gold-light);

}


.featured-quote p {

    margin:
        0;

    color:
        rgba(255, 255, 255, 0.85);

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        0.72rem;

    font-weight:
        700;

    letter-spacing:
        0.24em;

    text-transform:
        uppercase;

}


/* =========================================================
CHAPTERS
========================================================= */

.chapters-preview {

    background:
        var(--ivory);

}


.chapters-grid {

    display:
        grid;

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

    gap:
        16px;

}


.chapter-card {

    overflow:
        hidden;

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

    background:
        #ffffff;

}


.chapter-card img {

    width:
        100%;

    aspect-ratio:
        16 / 10;

    object-fit:
        cover;

}


.chapter-content {

    padding:
        24px;

    text-align:
        center;

}


.chapter-content span {

    display:
        block;

    margin-bottom:
        10px;

    color:
        var(--gold);

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        0.65rem;

    font-weight:
        700;

    letter-spacing:
        0.16em;

    text-transform:
        uppercase;

}


.chapter-content h3 {

    min-height:
        68px;

    margin:
        0 0 18px;

    font-size:
        1.45rem;

    font-weight:
        500;

    line-height:
        1.05;

}


.chapter-content a {

    color:
        var(--gold);

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        0.75rem;

    font-weight:
        700;

}


/* =========================================================
FINAL CTA
========================================================= */

.final-cta {

    position:
        relative;

    min-height:
        430px;

    display:
        flex;

    align-items:
        center;

    background:
        linear-gradient(
            rgba(35, 20, 10, 0.62),
            rgba(8, 20, 33, 0.8)
        ),
        url("images/banner.jpg")
        center / cover
        no-repeat;

}


.final-cta-overlay {

    width:
        100%;

    padding:
        80px 0;

    text-align:
        center;

}


.final-cta h2 {

    max-width:
        800px;

    margin:
        0 auto 10px;

    color:
        #ffffff;

    font-size:
        clamp(2.3rem, 5vw, 4.5rem);

    font-weight:
        500;

    line-height:
        1;

}


.final-cta p {

    margin:
        0;

    color:
        rgba(255, 255, 255, 0.88);

    font-size:
        1.35rem;

}


.cta-buttons {

    display:
        flex;

    justify-content:
        center;

    gap:
        14px;

    margin-top:
        30px;

}


/* =========================================================
FOOTER
========================================================= */

.site-footer {

    background:
        var(--navy-deep);

    color:
        #ffffff;

}


.footer-main {

    display:
        grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items:
        center;

    gap:
        40px;

    padding-top:
        52px;

    padding-bottom:
        52px;

}


.footer-title {

    display:
        block;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        2rem;

}


.footer-title small {

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        1rem;

}


.footer-brand p {

    margin:
        8px 0 0;

    color:
        rgba(255, 255, 255, 0.65);

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        0.58rem;

    font-weight:
        700;

    letter-spacing:
        0.13em;

    text-transform:
        uppercase;

}


.footer-navigation {

    display:
        flex;

    flex-wrap:
        wrap;

    justify-content:
        center;

    gap:
        18px;

}


.footer-navigation a {

    color:
        rgba(255, 255, 255, 0.8);

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        0.72rem;

}


.footer-navigation a:hover {

    color:
        var(--gold-light);

}


.footer-scripture {

    text-align:
        right;

}


.footer-scripture p {

    margin:
        0;

    color:
        rgba(255, 255, 255, 0.8);

    font-size:
        1rem;

    font-style:
        italic;

}


.footer-scripture span {

    color:
        var(--gold-light);

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        0.65rem;

}


.footer-bottom {

    border-top:
        1px solid
        rgba(255, 255, 255, 0.1);

}


.footer-bottom-inner {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    min-height:
        68px;

}


.footer-bottom p {

    margin:
        0;

    color:
        rgba(255, 255, 255, 0.55);

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        0.65rem;

}


.legal-links {

    display:
        flex;

    gap:
        18px;

}


.legal-links a {

    color:
        rgba(255, 255, 255, 0.65);

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        0.65rem;

}


.legal-links a:hover {

    color:
        var(--gold-light);

}


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

@media
(max-width: 1100px) {


    .site-navigation {

        gap:
            16px;

    }


    .book-grid {

        grid-template-columns:
            0.8fr
            1.2fr;

    }


    .book-quote {

        grid-column:
            1 / -1;

        max-width:
            700px;

        margin:
            0 auto;

    }


    .journey-grid,
    .chapters-grid {

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

    }


    .footer-main {

        grid-template-columns:
            1fr;

        text-align:
            center;

    }


    .footer-scripture {

        text-align:
            center;

    }

}


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

@media
(max-width: 800px) {


    .section {

        padding:
            65px 0;

    }


    .section-shell {

        width:
            min(100% - 30px, 1400px);

    }


    .header-inner {

        width:
            min(100% - 30px, 1500px);

        min-height:
            74px;

    }


    .header-button {

        display:
            none;

    }


    .mobile-menu-button {

        display:
            block;

    }


    .site-navigation {

        position:
            absolute;

        top:
            100%;

        right:
            0;

        left:
            0;

        display:
            none;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            0;

        padding:
            18px;

        background:
            var(--ivory);

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

        box-shadow:
            var(--shadow);

    }


    .site-navigation.open {

        display:
            flex;

    }


    .site-navigation a {

        padding:
            14px;

    }


    .site-navigation a::after {

        display:
            none;

    }


    .brand-title {

        font-size:
            1.45rem;

    }


    .banner img {

        min-height:
            230px;

        object-fit:
            cover;

    }


    .introduction-grid {

        grid-template-columns:
            1fr;

        gap:
            28px;

    }


    .introduction-side {

        flex-direction:
            row;

        justify-content:
            center;

        flex-wrap:
            wrap;

        border:
            0;

    }


    .introduction-quote {

        min-height:
            auto;

        border:
            0;

    }


    .introduction-content p {

        font-size:
            1.2rem;

    }


    .book-grid {

        grid-template-columns:
            1fr;

        gap:
            38px;

    }


    .book-content {

        text-align:
            center;

    }


    .book-content p {

        margin-right:
            auto;

        margin-left:
            auto;

    }


    .book-quote {

        text-align:
            center;

    }


    .journey-grid,
    .chapters-grid {

        grid-template-columns:
            1fr;

    }


    .featured-quote {

        min-height:
            340px;

    }


    .cta-buttons {

        flex-direction:
            column;

        align-items:
            center;

    }


    .cta-buttons .button {

        width:
            min(100%, 300px);

    }


    .footer-bottom-inner {

        flex-direction:
            column;

        justify-content:
            center;

        padding:
            18px 0;

        text-align:
            center;

    }

}


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

@media
(max-width: 500px) {


    .brand-subtitle {

        max-width:
            190px;

        line-height:
            1.4;

    }


    .introduction-content h1 {

        font-size:
            2.7rem;

    }


    .book-content h2 {

        font-size:
            3.2rem;

    }


    .featured-quote blockquote {

        font-size:
            3rem;

    }


    .footer-navigation {

        gap:
            12px;

    }

}