/* =========================================================
   ALONE AT THE ALTAR
   THE STORY PAGE
   Bradley Hobbs
   ========================================================= */


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

:root {

    --navy: #102033;
    --navy-deep: #081421;

    --gold: #a97932;
    --gold-light: #d0a966;

    --cream: #f7f3ea;
    --ivory: #fffdf8;

    --ink: #243344;
    --muted: #6e6b66;

    --line: rgba(16, 32, 51, 0.14);
    --white-line: rgba(255, 255, 255, 0.16);

    --shadow: 0 18px 50px rgba(8, 20, 33, 0.12);

}


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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    background: var(--ivory);

    color: var(--ink);

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

    line-height: 1.75;

    overflow-x: hidden;

}

img {

    max-width: 100%;

    display: block;

}

a {

    color: inherit;

    text-decoration: none;

}

button {

    font: inherit;

}


/* =========================================================
   GENERAL
   ========================================================= */

.section-shell {

    width: min(1180px, calc(100% - 80px));

    margin: 0 auto;

}

.eyebrow {

    display: inline-block;

    margin-bottom: 20px;

    color: var(--gold);

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

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.22em;

    line-height: 1.4;

    text-transform: uppercase;

}

.story-section-number {

    display: block;

    margin-bottom: 15px;

    color: var(--gold-light);

    font-family: "Playfair Display", serif;

    font-size: 1rem;

    letter-spacing: 0.15em;

}

p {

    margin-top: 0;

    margin-bottom: 24px;

}

p:last-child {

    margin-bottom: 0;

}

.story-emphasis {

    color: var(--gold);

    font-family: "Cormorant Garamond", serif;

    font-size: 1.75rem;

    font-style: italic;

    font-weight: 600;

    line-height: 1.35;

}


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

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(255, 253, 248, 0.97);

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

    backdrop-filter: blur(14px);

}

.header-inner {

    width: min(1320px, calc(100% - 60px));

    min-height: 92px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    gap: 30px;

}

.site-brand {

    display: flex;

    flex-direction: column;

    margin-right: auto;

}

.brand-title {

    display: flex;

    align-items: baseline;

    gap: 6px;

    color: var(--navy);

    font-family: "Cormorant Garamond", serif;

    font-size: 1.8rem;

    font-weight: 600;

    line-height: 0.9;

}

.brand-title small {

    color: var(--gold);

    font-size: 0.72rem;

    font-style: italic;

    font-weight: 500;

}

.brand-title strong {

    font-weight: 700;

}

.brand-subtitle {

    margin-top: 8px;

    color: var(--muted);

    font-size: 0.62rem;

    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: uppercase;

}

.site-navigation {

    display: flex;

    align-items: center;

    gap: 28px;

}

.site-navigation a {

    position: relative;

    padding: 8px 0;

    color: var(--ink);

    font-size: 0.8rem;

    font-weight: 600;

    letter-spacing: 0.04em;

    transition:
        color 0.25s ease;

}

.site-navigation a::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 2px;

    background: var(--gold);

    transform: scaleX(0);

    transform-origin: center;

    transition:
        transform 0.25s ease;

}

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

    color: var(--gold);

}

.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: 46px;

    padding: 0 20px;

    background: var(--navy);

    color: white;

    font-size: 0.76rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;

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

}

.header-button:hover {

    background: var(--gold);

    transform: translateY(-2px);

}


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

.mobile-menu-button {

    display: none;

    width: 44px;

    height: 44px;

    padding: 9px;

    border: 0;

    background: transparent;

    cursor: pointer;

}

.mobile-menu-button span {

    display: block;

    width: 100%;

    height: 2px;

    margin: 5px 0;

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

}


/* =========================================================
   STORY HERO
   ========================================================= */

.story-hero {

    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 110px 30px;

    background:
        linear-gradient(
            135deg,
            var(--navy-deep),
            var(--navy)
        );

    color: white;

    text-align: center;

    overflow: hidden;

}

.story-hero::before {

    content: "";

    position: absolute;

    width: 600px;

    height: 600px;

    top: -300px;

    right: -180px;

    border: 1px solid rgba(208, 169, 102, 0.18);

    border-radius: 50%;

}

.story-hero::after {

    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    bottom: -300px;

    left: -160px;

    border: 1px solid rgba(208, 169, 102, 0.12);

    border-radius: 50%;

}

.story-hero-inner {

    position: relative;

    z-index: 2;

    width: min(850px, 100%);

}

.story-hero .eyebrow {

    color: var(--gold-light);

}

.story-hero h1 {

    margin: 0;

    color: white;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(4.5rem, 9vw, 8rem);

    font-weight: 500;

    line-height: 0.82;

    letter-spacing: -0.035em;

}

.hero-divider {

    width: 100px;

    margin: 45px auto 35px;

}

.hero-divider span {

    display: block;

    width: 100%;

    height: 1px;

    background: var(--gold-light);

}

.hero-subtitle {

    margin-bottom: 14px;

    color: #fff;

    font-family: "Cormorant Garamond", serif;

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

    font-style: italic;

}

.hero-description {

    max-width: 620px;

    margin: 0 auto;

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

    font-size: 0.98rem;

}


/* =========================================================
   BEGINNING
   ========================================================= */

.story-beginning {

    padding: 120px 0;

    background: var(--ivory);

}

.story-beginning-grid {

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 100px;

    align-items: start;

}

.story-beginning-title h2 {

    margin: 0;

    color: var(--navy);

    font-family: "Cormorant Garamond", serif;

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

    font-weight: 500;

    line-height: 0.95;

    letter-spacing: -0.025em;

}

.story-beginning-content {

    padding-top: 12px;

    max-width: 700px;

}

.story-beginning-content p {

    color: var(--muted);

    font-size: 1.03rem;

}


/* =========================================================
   YEARS
   ========================================================= */

.story-years {

    padding: 120px 0;

    background: var(--cream);

}

.story-years-grid {

    display: grid;

    grid-template-columns: 220px 1fr;

    gap: 80px;

}

.story-years-number {

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.story-years-number span {

    color: var(--gold);

    font-family: "Playfair Display", serif;

    font-size: 1rem;

    letter-spacing: 0.15em;

}

.story-years-number strong {

    color: var(--navy);

    font-family: "Cormorant Garamond", serif;

    font-size: 1.8rem;

    font-weight: 600;

}

.story-years-content {

    max-width: 760px;

}

.story-years-content h2 {

    margin: 0 0 32px;

    color: var(--navy);

    font-family: "Cormorant Garamond", serif;

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

    font-weight: 500;

    line-height: 0.98;

}

.story-years-content p {

    color: var(--muted);

    font-size: 1.02rem;

}


/* =========================================================
   PRAYERS
   ========================================================= */

.story-prayers {

    padding: 150px 30px;

    background: var(--navy);

    color: white;

    text-align: center;

}

.story-prayers-inner {

    width: min(850px, 100%);

    margin: 0 auto;

}

.story-prayers .eyebrow {

    color: var(--gold-light);

}

.story-prayers h2 {

    margin: 0 0 45px;

    color: white;

    font-family: "Cormorant Garamond", serif;

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

    font-weight: 500;

    line-height: 0.9;

}

.story-prayers p {

    max-width: 720px;

    margin-left: auto;

    margin-right: auto;

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

    font-size: 1rem;

}


/* =========================================================
   SONGS
   ========================================================= */

.story-songs {

    padding: 125px 0;

    background: var(--ivory);

}

.story-songs-grid {

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 90px;

    align-items: start;

}

.story-songs-title h2 {

    margin: 0;

    color: var(--navy);

    font-family: "Cormorant Garamond", serif;

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

    font-weight: 500;

    line-height: 0.96;

}

.story-songs-content {

    max-width: 700px;

}

.story-songs-content p {

    color: var(--muted);

    font-size: 1.02rem;

}

.story-songs-content .story-emphasis {

    color: var(--gold);

}


/* =========================================================
   FATHERHOOD
   ========================================================= */

.story-fatherhood {

    padding: 125px 0;

    background: var(--cream);

}

.story-fatherhood-grid {

    display: grid;

    grid-template-columns: 220px 1fr;

    gap: 80px;

}

.story-fatherhood-number {

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.story-fatherhood-number span {

    color: var(--gold);

    font-family: "Playfair Display", serif;

    font-size: 1rem;

    letter-spacing: 0.15em;

}

.story-fatherhood-number strong {

    color: var(--navy);

    font-family: "Cormorant Garamond", serif;

    font-size: 1.8rem;

    font-weight: 600;

}

.story-fatherhood-content {

    max-width: 760px;

}

.story-fatherhood-content h2 {

    margin: 0 0 35px;

    color: var(--navy);

    font-family: "Cormorant Garamond", serif;

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

    font-weight: 500;

    line-height: 0.88;

}

.story-fatherhood-content p {

    color: var(--muted);

    font-size: 1.02rem;

}


/* =========================================================
   LOSS
   ========================================================= */

.story-loss {

    padding: 130px 0;

    background: var(--ivory);

}

.story-loss-inner {

    max-width: 900px;

}

.story-loss h2 {

    margin: 0 0 40px;

    color: var(--navy);

    font-family: "Cormorant Garamond", serif;

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

    font-weight: 500;

    line-height: 0.88;

}

.story-loss p {

    max-width: 760px;

    color: var(--muted);

    font-size: 1.02rem;

}


/* =========================================================
   ALTAR
   ========================================================= */

.story-altar {

    padding: 150px 30px;

    background:
        linear-gradient(
            135deg,
            #0a1725,
            #14283d
        );

    color: white;

    text-align: center;

}

.story-altar-inner {

    width: min(850px, 100%);

    margin: 0 auto;

}

.story-altar .eyebrow {

    color: var(--gold-light);

}

.story-altar h2 {

    margin: 0;

    color: white;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(3.5rem, 7vw, 6.5rem);

    font-weight: 500;

    line-height: 0.88;

}

.altar-divider {

    width: 100px;

    margin: 45px auto;

}

.altar-divider span {

    display: block;

    height: 1px;

    background: var(--gold-light);

}

.story-altar p {

    max-width: 720px;

    margin-left: auto;

    margin-right: auto;

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

    font-size: 1rem;

}

.story-altar .story-emphasis {

    color: var(--gold-light);

}


/* =========================================================
   GOD
   ========================================================= */

.story-god {

    padding: 130px 0;

    background: var(--cream);

}

.story-god-grid {

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 100px;

}

.story-god-title h2 {

    margin: 20px 0 0;

    color: var(--navy);

    font-family: "Cormorant Garamond", serif;

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

    font-weight: 500;

    line-height: 0.9;

}

.story-god-content {

    max-width: 720px;

    padding-top: 45px;

}

.story-god-content p {

    color: var(--muted);

    font-size: 1.02rem;

}

.story-god-content .story-emphasis {

    color: var(--gold);

}


/* =========================================================
   QUESTIONS
   ========================================================= */

.story-questions {

    padding: 125px 0;

    background: var(--ivory);

}

.story-questions-grid {

    display: grid;

    grid-template-columns: 220px 1fr;

    gap: 80px;

}

.story-questions-number {

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.story-questions-number span {

    color: var(--gold);

    font-family: "Playfair Display", serif;

    font-size: 1rem;

    letter-spacing: 0.15em;

}

.story-questions-number strong {

    color: var(--navy);

    font-family: "Cormorant Garamond", serif;

    font-size: 1.8rem;

    font-weight: 600;

}

.story-questions-content {

    max-width: 760px;

}

.story-questions-content h2 {

    margin: 0 0 35px;

    color: var(--navy);

    font-family: "Cormorant Garamond", serif;

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

    font-weight: 500;

    line-height: 0.95;

}

.story-questions-content p {

    color: var(--muted);

    font-size: 1.02rem;

}


/* =========================================================
   CONTINUING
   ========================================================= */

.story-continuing {

    padding: 150px 30px;

    background: var(--navy);

    color: white;

    text-align: center;

}

.story-continuing-inner {

    width: min(850px, 100%);

    margin: 0 auto;

}

.story-continuing .eyebrow {

    color: var(--gold-light);

}

.story-continuing h2 {

    margin: 0 0 45px;

    color: white;

    font-family: "Cormorant Garamond", serif;

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

    font-weight: 500;

    line-height: 0.88;

}

.story-continuing p {

    max-width: 720px;

    margin-left: auto;

    margin-right: auto;

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

    font-size: 1rem;

}


/* =========================================================
   CLOSING
   ========================================================= */

.story-closing {

    padding: 145px 30px;

    background: var(--cream);

    text-align: center;

}

.story-closing-inner {

    width: min(850px, 100%);

    margin: 0 auto;

}

.story-closing h2 {

    margin: 0 0 45px;

    color: var(--navy);

    font-family: "Cormorant Garamond", serif;

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

    font-weight: 500;

    line-height: 0.88;

}

.story-closing p {

    max-width: 700px;

    margin-left: auto;

    margin-right: auto;

    color: var(--muted);

    font-size: 1rem;

}

.story-closing-emphasis {

    color: var(--gold) !important;

    font-family: "Cormorant Garamond", serif;

    font-size: 2rem !important;

    font-style: italic;

    font-weight: 600;

}

.story-closing-actions {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 45px;

}


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

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 52px;

    padding: 0 27px;

    border: 1px solid transparent;

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 0.09em;

    text-transform: uppercase;

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

}

.button:hover {

    transform: translateY(-2px);

}

.button-gold {

    background: var(--gold);

    color: white;

}

.button-gold:hover {

    background: var(--navy);

}

.button-outline {

    border-color: var(--navy);

    color: var(--navy);

}

.button-outline:hover {

    background: var(--navy);

    color: white;

}


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

.site-footer {

    background: var(--navy-deep);

    color: white;

}

.footer-main {

    display: grid;

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

    gap: 60px;

    padding-top: 70px;

    padding-bottom: 70px;

}

.footer-title {

    display: flex;

    align-items: baseline;

    gap: 6px;

    color: white;

    font-family: "Cormorant Garamond", serif;

    font-size: 2rem;

    font-weight: 600;

}

.footer-title small {

    color: var(--gold-light);

    font-size: 0.75rem;

    font-style: italic;

}

.footer-brand p {

    max-width: 280px;

    margin-top: 15px;

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

    font-size: 0.82rem;

}

.footer-navigation {

    display: grid;

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

    gap: 10px 25px;

    align-content: start;

}

.footer-navigation a,
.legal-links a {

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

    font-size: 0.78rem;

    transition: color 0.2s ease;

}

.footer-navigation a:hover,
.legal-links a:hover {

    color: var(--gold-light);

}

.footer-scripture {

    text-align: right;

}

.footer-scripture p {

    margin-bottom: 8px;

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

    font-family: "Cormorant Garamond", serif;

    font-size: 1.3rem;

    font-style: italic;

}

.footer-scripture span {

    color: var(--gold-light);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;

}

.footer-bottom {

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

}

.footer-bottom-inner {

    min-height: 70px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

}

.footer-bottom p {

    margin: 0;

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

    font-size: 0.68rem;

}

.legal-links {

    display: flex;

    gap: 20px;

}


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

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

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

    outline-offset: 4px;

}


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

@media (max-width: 1000px) {

    .header-inner {

        width: min(100% - 40px, 900px);

    }

    .site-navigation {

        gap: 18px;

    }

    .header-button {

        display: none;

    }

    .story-beginning-grid,
    .story-songs-grid,
    .story-god-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }

    .story-years-grid,
    .story-fatherhood-grid,
    .story-questions-grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }

    .story-god-content {

        padding-top: 0;

    }

    .footer-main {

        grid-template-columns: 1fr 1fr;

    }

    .footer-scripture {

        text-align: left;

    }

}


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

@media (max-width: 800px) {

    .section-shell {

        width: min(100% - 40px, 600px);

    }

    .header-inner {

        width: calc(100% - 30px);

        min-height: 76px;

        gap: 10px;

    }

    .brand-subtitle {

        display: none;

    }

    .brand-title {

        font-size: 1.55rem;

    }

    .mobile-menu-button {

        display: block;

        margin-left: auto;

    }

    .site-navigation {

        position: absolute;

        top: 100%;

        left: 0;

        right: 0;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 12px 20px 20px;

        background: var(--ivory);

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

        box-shadow: 0 15px 35px rgba(8,20,33,0.08);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-8px);

        transition:
            opacity 0.2s ease,
            visibility 0.2s ease,
            transform 0.2s ease;

    }

    .site-navigation.open {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);

    }

    .site-navigation a {

        padding: 13px 5px;

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

    }

    .site-navigation a:last-child {

        border-bottom: 0;

    }

    .site-navigation a::after {

        display: none;

    }

    .story-hero {

        min-height: 560px;

        padding: 90px 25px;

    }

    .story-hero h1 {

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

    }

    .hero-divider {

        margin-top: 35px;

        margin-bottom: 28px;

    }

    .story-beginning,
    .story-years,
    .story-songs,
    .story-fatherhood,
    .story-loss,
    .story-god,
    .story-questions {

        padding: 85px 0;

    }

    .story-prayers,
    .story-altar,
    .story-continuing,
    .story-closing {

        padding: 100px 20px;

    }

    .story-beginning-title h2,
    .story-years-content h2,
    .story-songs-title h2,
    .story-questions-content h2 {

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

    }

    .story-fatherhood-content h2,
    .story-god-title h2 {

        font-size: clamp(3.2rem, 15vw, 4.8rem);

    }

    .story-loss h2 {

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

    }

    .story-prayers h2,
    .story-altar h2,
    .story-continuing h2,
    .story-closing h2 {

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

    }

    .story-prayers-inner,
    .story-altar-inner,
    .story-continuing-inner,
    .story-closing-inner {

        width: 100%;

    }

    .story-emphasis {

        font-size: 1.5rem;

    }

    .story-closing-actions {

        flex-direction: column;

        align-items: stretch;

    }

    .button {

        width: 100%;

    }

    .footer-main {

        grid-template-columns: 1fr;

        gap: 35px;

        padding-top: 55px;

        padding-bottom: 55px;

    }

    .footer-scripture {

        text-align: left;

    }

    .footer-bottom-inner {

        min-height: auto;

        padding-top: 20px;

        padding-bottom: 20px;

        flex-direction: column;

        align-items: flex-start;

    }

}


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

@media (max-width: 480px) {

    .section-shell {

        width: calc(100% - 30px);

    }

    .header-inner {

        width: calc(100% - 20px);

    }

    .story-hero {

        min-height: 500px;

        padding: 75px 18px;

    }

    .story-hero h1 {

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

    }

    .story-hero .hero-subtitle {

        font-size: 1.35rem;

    }

    .story-hero .hero-description {

        font-size: 0.9rem;

    }

    .story-beginning,
    .story-years,
    .story-songs,
    .story-fatherhood,
    .story-loss,
    .story-god,
    .story-questions {

        padding: 70px 0;

    }

    .story-prayers,
    .story-altar,
    .story-continuing,
    .story-closing {

        padding: 85px 18px;

    }

    .footer-navigation {

        grid-template-columns: 1fr;

    }

    .legal-links {

        flex-wrap: wrap;

    }

}


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

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

    html {

        scroll-behavior: auto;

    }

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

        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

    }

}