@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Montserrat:wght@300;400;500&display=swap');

:root {
    --coal: #15120e;
    --deep: #211811;
    --bronze: #7b4b21;
    --gold: #c78a3b;
    --light: #e7bb70;
    --paper: #f1d6a0;
    --ink: #071522;
    --cream: #f8ead0
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--coal);
    color: var(--cream);
    font-family:
        Montserrat, Arial, sans-serif;
    font-weight: 300
}

.topbar {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 5vw;
    background: linear-gradient(#0d0b08e8, transparent);
    transition: .3s
}

.topbar.scrolled {
    background: #0d0b08ee;
    backdrop-filter: blur(12px);
    padding-block: 14px
}

.brand {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: .12em;
    color: var(--paper);
    text-decoration: none;
    font-size: 1.05rem
}

.topbar nav {
    display: flex;
    gap: 28px
}

.topbar nav a {
    color: #eee1ca;
    text-decoration: none;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .12em
}

.menu {
    display: none;
    background: none;
    border: 0;
    color: var(--paper);
    font-size: 1.4rem
}

.hero {
    min-height: 100vh;
    position: relative;
    display: grid;
    place-items: center;
    text-align: center;
    overflow: hidden;
    background: #17110c
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/hero-jerusalem.png');
    background-size: cover;
    background-position: center 54%;
    transform: scale(1.035);
    opacity: 0;
    filter: saturate(.92) brightness(.66) contrast(1.04);
    animation: heroScene 5.5s cubic-bezier(.22, .61, .36, 1) forwards
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, #080604c9 0%, #120c0766 18%, #130d0740 50%, #120c0766 82%, #080604c9 100%), linear-gradient(180deg, #0907048f 0%, #100b0640 25%, #160e0738 55%, #080604d9 100%);
    pointer-events: none
}

.hero:after {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    background: radial-gradient(ellipse at 50% 39%, transparent 0 23%, #07050320 55%, #0504037a 100%);
    pointer-events: none
}

.glow {
    position: absolute;
    z-index: 1;
    width: 44vw;
    height: 34vw;
    border-radius: 50%;
    background: #ffd58a28;
    filter: blur(55px);
    left: 28vw;
    top: 14vh;
    animation: pulse 7s ease-in-out infinite
}

.hero-copy {
    z-index: 2;
    padding: 100px 20px 80px
}

.eyebrow {
    font-size: .7rem;
    letter-spacing: .32em;
    color: var(--light);
    font-weight: 500
}

.hero h1,
.section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500
}

.hero h1 {
    font-size: clamp(4rem, 10vw, 9rem);
    line-height: .67;
    margin: .3em 0 .25em;
    text-shadow: 0 3px 18px #0008
}

.hero h1 span {
    font-size: .72em
}

.orn {
    color: var(--light);
    letter-spacing: .6em
}

.subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    letter-spacing: .08em
}

.lead {
    opacity: .8
}

.actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 25px;
    border: 1px solid var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .7rem;
    transition: .25s
}

.primary {
    background: var(--gold);
    color: #17100b
}

.primary:hover {
    background: var(--light)
}

.ghost {
    color: var(--paper);
    background: #0002
}

.ghost:hover {
    background: #ffffff10
}

.scroll {
    position: absolute;
    z-index: 3;
    bottom: 25px;
    color: #d9bb88;
    text-decoration: none;
    font-size: .58rem;
    letter-spacing: .3em
}

.section {
    padding: 130px 8vw
}

.narrow {
    max-width: 850px;
    margin: auto;
    text-align: center
}

.section h2 {
    font-size: clamp(2.7rem, 6vw, 5.5rem);
    line-height: .95;
    margin: .25em 0 .45em
}

.story {
    background: linear-gradient(#0e0c09, #20160f)
}

.story .narrow>p:last-child,
.authors p {
    line-height: 1.9;
    color: #d6c6ad
}

.journey {
    max-width: 1200px;
    margin: 90px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #c78a3b55
}

.journey article {
    padding: 35px 25px;
    border-right: 1px solid #c78a3b33
}

.journey article:last-child {
    border: 0
}

.journey b {
    font-family: 'Cormorant Garamond';
    font-size: 2rem;
    color: var(--gold)
}

.journey h3 {
    font-family: 'Cormorant Garamond';
    font-size: 2rem;
    margin: .5em 0
}

.journey p {
    font-size: .86rem;
    line-height: 1.8;
    color: #b9aa93
}

.book {
    background: radial-gradient(circle at 25% 50%, #8b542b2e, transparent 40%), #18120e
}

.book-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: .8fr 1fr;
    gap: 9vw;
    align-items: center
}

.cover-wrap {
    position: relative;
    perspective: 900px
}

.cover-wrap img {
    width: 100%;
    max-width: 430px;
    display: block;
    margin: auto;
    box-shadow: 20px 25px 45px #000b;
    transform: rotateY(5deg);
    transition: .5s
}

.cover-wrap:hover img {
    transform: rotateY(0) translateY(-6px)
}

.book-copy h2 {
    margin-bottom: .3em
}

.book-copy>p {
    line-height: 1.8;
    color: #d6c6ad
}

.book-copy .quote {
    font-family: 'Cormorant Garamond';
    font-size: 1.7rem;
    color: var(--paper);
    font-style: italic
}

.facts {
    display: flex;
    gap: 45px;
    margin: 35px 0
}

.facts span {
    font-family: 'Cormorant Garamond';
    font-size: 1.2rem
}

.facts small {
    display: block;
    font-family: Montserrat;
    font-size: .55rem;
    letter-spacing: .2em;
    color: var(--gold);
    margin-bottom: 7px
}

.text-link {
    color: var(--light);
    text-decoration: none;
    border-bottom: 1px solid var(--bronze);
    padding-bottom: 5px
}

.excerpt {
    background: linear-gradient(#1b130e, #342218);
    min-height: 70vh;
    display: grid;
    place-items: center
}

.excerpt blockquote {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-size: clamp(2rem, 4vw, 3.8rem);
    color: var(--paper);
    margin: 50px 0
}

.muted {
    color: #b9aa93;
    line-height: 1.8
}

.authors {
    background: radial-gradient(circle at center, #6b43241c, transparent 45%), #100e0b;
    min-height: 70vh;
    display: grid;
    place-items: center
}

.buy {
    background: linear-gradient(#100e0b, #25170e);
    text-align: center
}

.buy-card {
    max-width: 800px;
    margin: auto;
    border: 1px solid #c78a3b66;
    padding: 70px 30px;
    background: #0d0b0888;
    box-shadow: 0 30px 80px #0008
}

.buy-card p {
    color: #c7b69d
}

.buy-card button {
    margin: 20px 0;
    cursor: not-allowed
}

.micro {
    font-family: 'Cormorant Garamond';
    font-style: italic
}

footer {
    text-align: center;
    padding: 60px 20px;
    background: #090806;
    border-top: 1px solid #c78a3b22;
    color: #8f806b
}

footer div {
    font-family: 'Cormorant Garamond';
    font-size: 1.4rem;
    color: var(--paper);
    letter-spacing: .1em
}

footer p {
    font-size: .65rem;
    letter-spacing: .08em
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1s ease, transform 1s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

@keyframes pulse {
    50% {
        transform: scale(1.12);
        opacity: .7
    }
}

@keyframes heroScene {
    0% {
        opacity: 0;
        transform: scale(1.075);
        filter: saturate(.75) brightness(.38) contrast(1.05)
    }

    45% {
        opacity: .58
    }

    100% {
        opacity: 1;
        transform: scale(1.035);
        filter: saturate(.92) brightness(.66) contrast(1.04)
    }
}


@media(max-width:760px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden
    }

    .topbar {
        padding: 16px 5vw;
        background: linear-gradient(#0d0b08f2, #0d0b0870, transparent)
    }

    .topbar.scrolled {
        padding-block: 12px
    }

    .brand {
        max-width: 72vw;
        font-size: .86rem;
        line-height: 1.15;
        letter-spacing: .09em
    }

    .menu {
        display: block;
        padding: 8px 4px;
        min-width: 44px;
        min-height: 44px;
        cursor: pointer
    }

    .topbar nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 5vw;
        right: 5vw;
        gap: 0;
        padding: 10px 18px;
        flex-direction: column;
        background: #100e0bf7;
        border: 1px solid #c78a3b44;
        box-shadow: 0 18px 45px #0009;
        backdrop-filter: blur(14px)
    }

    .topbar nav.open {
        display: flex
    }

    .topbar nav a {
        display: block;
        padding: 16px 6px;
        border-bottom: 1px solid #c78a3b22;
        font-size: .72rem
    }

    .topbar nav a:last-child {
        border-bottom: 0
    }

    .hero {
        min-height: 100vh;
        min-height: 100svh;
        align-items: center
    }

    .hero-bg {
        background-position: 62% center;
        transform: scale(1.02)
    }

    .hero-shade {
        background:
            linear-gradient(180deg, #090704c7 0%, #100b0652 22%, #160e0730 48%, #080604e8 100%),
            linear-gradient(90deg, #08060475 0%, #120c0738 50%, #08060475 100%)
    }

    .glow {
        width: 82vw;
        height: 62vw;
        left: 9vw;
        top: 18vh;
        filter: blur(42px)
    }

    .hero-copy {
        width: min(100%, 560px);
        padding: 92px 18px 110px;
        position: relative;
        z-index: 2
    }

    .hero .eyebrow {
        font-size: .48rem;
        letter-spacing: .16em;
        white-space: nowrap;
    }

    .hero h1 {
        font-size: clamp(2.6rem, 12vw, 3.8rem);
        line-height: .78;
        margin: .38em 0 .32em;
    }

    .hero h1 span {
        font-size: .76em;
    }

    .orn {
        letter-spacing: .35em;
        padding-left: .35em
    }

    .subtitle {
        font-size: clamp(.9rem, 4.3vw, 1.15rem);
        line-height: 1.2;
        letter-spacing: .035em;
    }

    .lead {
        max-width: 290px;
        margin-left: auto;
        margin-right: auto;
        font-size: .76rem;
        line-height: 1.55;
        text-align: center;
    }

    .actions {
        width: 100%;
        max-width: 300px;
        margin: 28px auto 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .actions .btn {
        width: 100%;
        font-size: .58rem;
        letter-spacing: .08em;
        padding: 13px 10px;
        text-align: center;
    }

    .scroll {
        bottom: 18px;
        font-size: .52rem;
        letter-spacing: .22em
    }

    .section {
        padding: 82px 7vw
    }

    .section h2 {
        font-size: clamp(2.45rem, 12vw, 4rem);
        line-height: .98
    }

    .narrow {
        width: 100%
    }

    .story .narrow > p:last-child,
    .authors p,
    .book-copy > p,
    .muted {
        font-size: .94rem;
        line-height: 1.8
    }

    .journey {
        grid-template-columns: 1fr;
        margin-top: 55px
    }

    .journey article {
        padding: 30px 8px;
        border-right: 0;
        border-bottom: 1px solid #c78a3b33
    }

    .journey article:last-child {
        border-bottom: 0
    }

    .book-grid {
        grid-template-columns: 1fr;
        gap: 55px
    }

    .cover-wrap img {
        width: min(82vw, 360px);
        transform: none;
        box-shadow: 12px 18px 35px #000a
    }

    .cover-wrap:hover img {
        transform: translateY(-4px)
    }

    .book-copy {
        text-align: center
    }

    .book-copy .quote {
        font-size: 1.45rem;
        line-height: 1.35
    }

    .facts {
        flex-direction: column;
        align-items: center;
        gap: 22px;
        margin: 30px 0
    }

    .excerpt,
    .authors {
        min-height: auto
    }

    .excerpt blockquote {
        font-size: clamp(1.9rem, 9vw, 3rem);
        line-height: 1.12;
        margin: 38px 0
    }

    .buy-card {
        padding: 50px 20px
    }

    .buy-card .btn {
        width: 100%;
        max-width: 320px
    }

    footer {
        padding: 48px 20px
    }

    footer div {
        font-size: 1.15rem;
        line-height: 1.25
    }

    footer p {
        line-height: 1.7
    }
}

@media(max-width:390px) {
    .brand {
        max-width: 68vw;
        font-size: .78rem
    }

    .hero-copy {
        padding-inline: 14px
    }

    .hero h1 {
        font-size: 11.5vw;
    }

    .hero .eyebrow {
        font-size: .44rem;
        letter-spacing: .13em;
    }

    .subtitle {
        font-size: .88rem;
    }

    .lead {
        font-size: .73rem;
    }

    .section {
        padding-inline: 6vw
    }

    .buy-card {
        padding-inline: 16px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }
}

