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

INTRODUCTION PAGE

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(--ivory);
    color: var(--ink);

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

    -webkit-font-smoothing: antialiased;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font: inherit;
}


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

.section-shell {

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

    margin: 0 auto;

}


.eyebrow {

    display: block;

    margin-bottom: 18px;

    color: var(--gold);

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

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.22em;

    text-transform: uppercase;

}


/* =========================================================
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;

    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;

}


.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;

    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:focus-visible::after {

    transform: scaleX(1);

}


.header-button {

    padding: 13px 22px;

    background: var(--gold);

    color: #ffffff;

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

    font-size: 0.7rem;

    font-weight: 700;

    transition:
        background 0.25s ease,
        transform 0.25s ease;

}


.header-button:hover {

    background: #936b2d;

    transform: translateY(-1px);

}


/* =========================================================
MOBILE MENU BUTTON
========================================================= */

.mobile-menu-button {

    display: none;

    width: 44px;

    height: 44px;

    margin-left: auto;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;

}


.mobile-menu-button span {

    display: block;

    width: 24px;

    height: 2px;

    margin: 5px auto;

    background: var(--navy);

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;

}


.mobile-menu-button[aria-expanded="true"]
span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);

}


.mobile-menu-button[aria-expanded="true"]
span:nth-child(2) {

    opacity: 0;

}


.mobile-menu-button[aria-expanded="true"]
span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);

}


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

.reading-header {

    padding:
        70px 24px 90px;

    background:
        linear-gradient(
            135deg,
            #f5eee1,
            #fffdf8,
            #eee4d4
        );

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

}


.reading-header-inner {

    width:
        min(1000px, 100%);

    margin: 0 auto;

}


.back-link {

    display: inline-block;

    margin-bottom: 70px;

    color: var(--gold);

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

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    transition:
        color 0.2s ease,
        transform 0.2s ease;

}


.back-link:hover {

    color: var(--navy);

    transform: translateX(-2px);

}


.reading-label {

    display: block;

    margin-bottom: 18px;

    color: var(--muted);

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

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 0.2em;

    text-align: center;

    text-transform: uppercase;

}


.reading-header-title {

    text-align: center;

}


.reading-header-title h1 {

    margin: 0;

    color: var(--navy);

    font-size:
        clamp(3.8rem, 8vw, 7rem);

    font-weight: 500;

    line-height: 0.88;

}


.reading-header-title p {

    margin: 0;

    color: var(--muted);

    font-size: 1.4rem;

    font-style: italic;

    line-height: 1.3;

}


/* =========================================================
ORNAMENT
========================================================= */

.ornament {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin: 30px 0;

}


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

    width: 80px;

    height: 1px;

    background: var(--gold);

    content: "";

}


.ornament span {

    width: 9px;

    height: 9px;

    background: var(--gold);

    transform: rotate(45deg);

}


/* =========================================================
READING PROGRESS
========================================================= */

.reading-progress {

    padding: 20px 24px;

    background: var(--navy);

    color: #ffffff;

}


.reading-progress-inner {

    width:
        min(900px, 100%);

    margin: 0 auto;

    display: flex;

    align-items: center;

    gap: 20px;

}


.reading-progress-inner > span {

    flex-shrink: 0;

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

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

    font-size: 0.6rem;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;

}


.progress-line {

    position: relative;

    flex: 1;

    height: 1px;

    background:
        rgba(255, 255, 255, 0.2);

}


.progress-line span {

    position: absolute;

    top: 0;

    left: 0;

    width: 18%;

    height: 1px;

    background: var(--gold-light);

}


/* =========================================================
READING CONTENT
========================================================= */

.reading-section {

    padding:
        105px 24px 120px;

    background: var(--ivory);

}


.reading-content {

    width:
        min(760px, 100%);

    margin: 0 auto;

}


.reading-content p {

    margin:
        0 0 30px;

    color: var(--ink);

    font-size:
        clamp(1.35rem, 2vw, 1.65rem);

    line-height: 1.65;

}


.reading-content .opening-paragraph {

    margin-bottom: 38px;

}


.reading-content .opening-paragraph::first-letter {

    float: left;

    margin:
        8px 12px 0 0;

    color: var(--gold);

    font-family:
        "Playfair Display",
        serif;

    font-size: 5.5rem;

    font-weight: 600;

    line-height: 0.7;

}


.reading-content strong {

    color: var(--navy);

    font-weight: 600;

}


.reflection-divider {

    display: flex;

    justify-content: center;

    margin:
        55px 0;

}


.reflection-divider span {

    width: 1px;

    height: 70px;

    background: var(--gold);

}


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

.reading-content blockquote {

    margin:
        65px 0;

    padding:
        10px 0;

    color: var(--navy);

    font-size:
        clamp(2rem, 4vw, 3.4rem);

    font-style: italic;

    font-weight: 500;

    line-height: 1.08;

    text-align: center;

}


.reading-content blockquote::before {

    display: block;

    margin-bottom: 20px;

    color: var(--gold);

    content: "✦";

    font-size: 1rem;

    font-style: normal;

}


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

.final-introduction {

    margin-top: 55px !important;

    margin-bottom: 0 !important;

    color: var(--navy) !important;

    font-size:
        clamp(1.8rem, 3vw, 2.5rem) !important;

    font-style: italic;

    line-height: 1.35 !important;

    text-align: center;

}


/* =========================================================
REFLECTION
========================================================= */

.reader-reflection {

    padding:
        100px 24px;

    background: var(--cream);

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

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

}


.reader-reflection-inner {

    width:
        min(760px, 100%);

    margin: 0 auto;

    text-align: center;

}


.reader-reflection-inner p {

    margin: 0;

    color: var(--navy);

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

    font-style: italic;

    line-height: 1.3;

}


/* =========================================================
READING NAVIGATION
========================================================= */

.reading-navigation {

    padding:
        55px 24px;

    background: var(--warm-white);

}


.reading-navigation-inner {

    width:
        min(1100px, 100%);

    margin: 0 auto;

    display: grid;

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

    align-items: center;

    gap: 30px;

}


.reading-navigation-back,
.reading-navigation-next {

    display: flex;

    flex-direction: column;

    gap: 8px;

}


.reading-navigation-next {

    align-items: flex-end;

    text-align: right;

}


.navigation-label {

    color: var(--muted);

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

    font-size: 0.6rem;

    font-weight: 700;

    letter-spacing: 0.15em;

    text-transform: uppercase;

}


.reading-navigation strong {

    color: var(--navy);

    font-size: 1.45rem;

    font-weight: 600;

}


.reading-navigation-center {

    display: flex;

    flex-direction: column;

    gap: 6px;

    text-align: center;

}


.reading-navigation-center span {

    color: var(--navy);

    font-family:
        "Playfair Display",
        serif;

    font-size: 1.1rem;

}


.reading-navigation-center small {

    color: var(--gold);

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

    font-size: 0.55rem;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;

}


.reading-navigation-back:hover strong,
.reading-navigation-next:hover strong {

    color: var(--gold);

}


/* =========================================================
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-size: 1rem;

}


.footer-brand p {

    margin:
        8px 0 0;

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

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

    font-size: 0.58rem;

    letter-spacing: 0.12em;

    text-transform: uppercase;

}


.footer-navigation {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 18px;

}


.footer-navigation a {

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

    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-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);

}


/* =========================================================
FOCUS
========================================================= */

a:focus-visible,
button:focus-visible {

    outline:
        2px solid var(--gold);

    outline-offset: 4px;

}


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

@media (max-width: 800px) {


    .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;

        gap: 0;

        padding: 18px;

        background: var(--ivory);

        box-shadow: var(--shadow);

    }


    .site-navigation.open {

        display: flex;

    }


    .site-navigation a {

        padding: 14px;

    }


    .site-navigation a::after {

        display: none;

    }


    .reading-header {

        padding:
            45px 20px 65px;

    }


    .back-link {

        margin-bottom: 50px;

    }


    .reading-header-title h1 {

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

    }


    .reading-header-title p {

        font-size: 1.2rem;

    }


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

        width: 55px;

    }


    .reading-progress-inner {

        gap: 10px;

    }


    .reading-progress-inner > span {

        font-size: 0.5rem;

    }


    .reading-section {

        padding:
            75px 22px 85px;

    }


    .reading-content p {

        font-size: 1.3rem;

        line-height: 1.6;

    }


    .reading-content .opening-paragraph::first-letter {

        font-size: 4.7rem;

    }


    .reading-content blockquote {

        margin:
            50px 0;

    }


    .reader-reflection {

        padding:
            75px 22px;

    }


    .reading-navigation-inner {

        grid-template-columns: 1fr;

        gap: 28px;

        text-align: center;

    }


    .reading-navigation-back,
    .reading-navigation-next {

        align-items: center;

        text-align: center;

    }


    .reading-navigation-center {

        order: -1;

    }


    .footer-main {

        grid-template-columns: 1fr;

        text-align: center;

    }


    .footer-scripture {

        text-align: center;

    }


    .footer-bottom-inner {

        flex-direction: column;

        justify-content: center;

        padding: 18px 0;

        text-align: center;

    }

}


/* =========================================================
SMALL PHONES
========================================================= */

@media (max-width: 480px) {


    .brand-title {

        font-size: 1.5rem;

    }


    .brand-subtitle {

        max-width: 210px;

        font-size: 0.38rem;

        line-height: 1.35;

    }


    .reading-label {

        font-size: 0.56rem;

    }


    .reading-progress {

        padding:
            16px 18px;

    }


    .reading-progress-inner > span {

        letter-spacing: 0.08em;

    }


    .reading-content p {

        font-size: 1.24rem;

    }


    .reading-content blockquote {

        font-size: 2rem;

    }


    .final-introduction {

        font-size: 1.8rem !important;

    }

}


/* =========================================================
REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }


    *,
    *::before,
    *::after {

        transition-duration:
            0.01ms !important;

    }

}