/* =========================================================
ALONE AT THE ALTAR
SHARED SITE NAVIGATION
========================================================= */

:root {
    --navy: #102033;
    --navy-deep: #081421;
    --gold: #a97932;
    --ivory: #fffdf8;
    --ink: #243344;
    --muted: #6e6b66;
    --shadow: 0 20px 60px rgba(16, 32, 51, 0.12);
}

.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);
    -webkit-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;
    white-space: nowrap;
}

.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.active::after,
.site-navigation a:hover::after,
.site-navigation a:focus-visible::after {
    transform: scaleX(1);
}

.header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 54px;
    padding: 0 28px;
    background: var(--gold);
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.header-button:hover,
.header-button:focus-visible {
    background: #936b2d;
    transform: translateY(-1px);
}

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

/* Phones and small screens only */
@media (max-width: 1100px) {
    .header-inner {
        width: min(100% - 30px, 1500px);
        min-height: 78px;
    }

    .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;
        margin-left: 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;
    }
}

@media (max-width: 1100px) {
    .brand-title {
        font-size: 1.55rem;
    }

    .brand-subtitle {
        font-size: 0.4rem;
        letter-spacing: 0.12em;
    }
}


/* SHARED BOOK READING NAVIGATION */
.reading-navigation{padding:55px 24px;background:#fffdf8;border-top:1px solid rgba(16,32,51,.10);border-bottom:1px solid rgba(16,32,51,.10)}
.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;transition:color .25s ease}
.reading-navigation-next{align-items:flex-end;text-align:right}
.reading-navigation .navigation-label{margin:0;color:#6e6b66;font-family:"DM Sans",sans-serif;font-size:.6rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase}
.reading-navigation strong{color:#102033;font-family:"Cormorant Garamond",Georgia,serif;font-size:1.45rem;font-weight:600;line-height:1.15}
.reading-navigation-center{display:flex;flex-direction:column;gap:6px;text-align:center}
.reading-navigation-center span{color:#102033;font-family:"Playfair Display",serif;font-size:1.1rem}
.reading-navigation-center small{color:#a97932;font-family:"DM Sans",sans-serif;font-size:.55rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.reading-navigation-back:hover strong,.reading-navigation-next:hover strong{color:#a97932}
@media (max-width:700px){.reading-navigation{padding:42px 20px}.reading-navigation-inner{grid-template-columns:1fr;gap:26px;text-align:center}.reading-navigation-back,.reading-navigation-next{align-items:center;text-align:center}.reading-navigation-center{order:-1}}

/* =========================================================
   SITE-WIDE FOOTER
   Approved Alone at the Altar footer design
   ========================================================= */
.site-footer{background:#061624;color:#fff;width:100%}
.site-footer .footer-main{width:min(100% - 60px,1500px);margin:0 auto;padding:92px 0 108px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:0}
.site-footer .footer-brand{display:flex;flex-direction:column;align-items:center;margin:0}
.site-footer .footer-title{display:inline-flex;align-items:baseline;justify-content:center;gap:10px;margin:0;color:#fff;font-family:"Playfair Display",Georgia,serif;font-size:clamp(2.8rem,5vw,4.05rem);font-weight:500;line-height:1;letter-spacing:-.02em}
.site-footer .footer-title small{color:#fff;font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(1rem,1.5vw,1.45rem);font-style:normal;font-weight:400;line-height:1}
.site-footer .footer-brand p{max-width:none;margin:30px 0 0;color:rgba(255,255,255,.68);font-family:"DM Sans",Arial,sans-serif;font-size:.88rem;font-weight:700;letter-spacing:.18em;line-height:1.5;text-transform:uppercase}
.site-footer .footer-navigation{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:34px;margin:78px 0 0;padding:0}
.site-footer .footer-navigation a{color:rgba(255,255,255,.78);font-family:"DM Sans",Arial,sans-serif;font-size:1.05rem;font-weight:400;line-height:1;text-decoration:none;transition:color .2s ease}
.site-footer .footer-navigation a:hover,.site-footer .footer-navigation a:focus-visible{color:#c69a52}
.site-footer .footer-scripture{margin:86px 0 0;text-align:center}
.site-footer .footer-scripture p{margin:0;color:rgba(255,255,255,.82);font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(1.35rem,2vw,1.75rem);font-style:italic;font-weight:400;line-height:1.25}
.site-footer .footer-scripture span{display:block;margin-top:18px;color:#c69a52;font-family:"DM Sans",Arial,sans-serif;font-size:.95rem;font-weight:500;letter-spacing:0;text-transform:none}
.site-footer .footer-bottom{width:100%;border-top:1px solid rgba(255,255,255,.13)}
.site-footer .footer-bottom-inner{width:min(100% - 96px,1520px);min-height:138px;margin:0 auto;padding:0;display:flex;align-items:center;justify-content:space-between;gap:30px}
.site-footer .footer-bottom p{margin:0;color:rgba(255,255,255,.55);font-family:"DM Sans",Arial,sans-serif;font-size:.92rem;font-weight:400}
.site-footer .legal-links{display:flex;align-items:center;gap:38px}
.site-footer .legal-links a{color:rgba(255,255,255,.62);font-family:"DM Sans",Arial,sans-serif;font-size:.92rem;font-weight:400;text-decoration:none;transition:color .2s ease}
.site-footer .legal-links a:hover,.site-footer .legal-links a:focus-visible{color:#c69a52}
@media(max-width:900px){.site-footer .footer-main{width:min(100% - 40px,700px);padding:72px 0 82px}.site-footer .footer-navigation{gap:22px 28px;margin-top:58px}.site-footer .footer-scripture{margin-top:62px}.site-footer .footer-bottom-inner{width:min(100% - 40px,700px);min-height:110px}}
@media(max-width:600px){.site-footer .footer-main{padding:62px 0 72px}.site-footer .footer-title{flex-wrap:wrap;gap:7px}.site-footer .footer-brand p{max-width:310px;font-size:.68rem;letter-spacing:.13em}.site-footer .footer-navigation{gap:20px 24px;margin-top:48px}.site-footer .footer-navigation a{font-size:.92rem}.site-footer .footer-scripture{margin-top:54px}.site-footer .footer-bottom-inner{min-height:auto;padding:24px 0;flex-direction:column;justify-content:center;text-align:center}.site-footer .legal-links{gap:22px}}
