:root{
    --bg0: #030a16;
    --bg1: #071a33;
    --panel: rgba(255,255,255,.06);
    --text: rgba(243, 240, 234, .92);
    --muted: rgba(243, 240, 234, .76);
    --border: rgba(243, 240, 234, .14);
    --line: rgba(243, 240, 234, .16);

    --paper: #e8e0d6;
    --paper-ink: #2c221a;
    --paper-muted: rgba(44, 34, 26, .72);
    --accent: #e8e6df; /* pearl */
    --accent2: #ffffff; /* highlight */
    --accent-glow: rgba(170, 200, 255, .35);
    --accent-shadow: rgba(0, 20, 60, .6);

    --shadow: 0 18px 60px rgba(0,0,0,.55);


    /* Background assets (recommend filenames without spaces) */
    --bg-water: url("/img/water-background.png");
    --bg-paper: url("/img/cream-card-background.png");
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
    margin:0;
    font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    /* Use provided water texture as the site backdrop */
    background: linear-gradient(180deg, rgba(3, 10, 22, .88) 0%, rgba(7, 26, 51, .78) 45%, rgba(3, 10, 22, .92) 100%),
    var(--bg-water);
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    color: var(--text);
}

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

a:hover {
    text-decoration: none;
}

.container{
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.topbar{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 0;
}
.topbar__inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 18px 0;
}
.brand{
    font-size: 15px;
    text-transform: uppercase;
    opacity: .92;
}
.nav{
    display:flex;
    gap: 18px;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 13px;
    opacity: .95;
}
.nav a{
    padding: 4px 2px;
    border-radius: 0;
    border-bottom: 1px solid transparent;
}
.nav a.is-active{
    background: transparent;
    border: 0;
    border-bottom-color: rgba(243, 240, 234, .45);
}

.nav .sep {
    opacity: .35;
    padding: 0 4px;
}

.page {
    min-height: 100vh;
}

/* HERO */
.hero{
    position: relative;
    overflow: hidden;
    border-bottom: 0;
    padding-top: 70px; /* room for absolute nav */
    background: transparent;
    isolation: isolate;
}
.hero__bg{
    position:absolute;
    inset:0;
    background: radial-gradient(900px 420px at 62% 10%, rgba(185, 220, 255, .18), transparent 58%),
    radial-gradient(1200px 560px at 30% 18%, rgba(255, 255, 255, .10), transparent 62%),
    linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .56)),
    var(--bg-water);
    background-size: cover;
    background-position: center top;
    filter: none;
    transform: none;
    opacity: 1;
    z-index: 0;
}

.hero::after {
    /* darker “horizon” fade near bottom of hero */
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -2px;
    height: 220px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .58));
    pointer-events: none;
    z-index: 0;
}
.hero__inner{
    position: relative;
    display:grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    padding: 54px 0 44px;
    z-index: 1;
}

.hero__copy{
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 18px 0 10px;
    box-shadow: none;
}
.hero h1{
    font-size: 54px;
    line-height: 1.03;
    margin: 0 0 16px;
    font-weight: 500;
    letter-spacing: .01em;
}
.hero .muted{
    color: rgba(243, 240, 234, .82);
    font-weight: 400;
}
.hero p{
    margin: 0 0 14px;          /* match about spacing */
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--muted);
    max-width: 54ch;
    line-height: 1.55;         /* <-- this is the key change */
}

.hero__media{
    display:flex;
    align-items:center;
    justify-content:center;
    z-index: 1;
}
.bookcover{
    width: min(380px, 100%);
    border-radius: 10px;
    display: block;
    box-shadow: 0 20px 70px rgba(0,0,0,.65);
    border: 1px solid rgba(243, 240, 234, .12);
}

/* CTA */
.cta{
    display:flex;
    align-items:center;
    gap: 12px;
    margin-top: 18px;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.cta__or{
    opacity: .7;
    font-size: 13px;
}
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding: 10px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 13px;
    cursor:pointer;
    text-decoration:none !important;
}
.btn--primary{
    background: linear-gradient(
            180deg,
            var(--accent2) 0%,
            var(--accent) 45%,
            #d6d3ca 100%
    );
    color: #1b2233; /* deep navy text */
    border: 1px solid rgba(255, 255, 255, .45);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35),
    0 0 18px var(--accent-glow);
}

.btn--primary:hover {
    background: linear-gradient(
            180deg,
            #ffffff 0%,
            #f3f1ea 45%,
            #e2dfd7 100%
    );
    box-shadow: 0 14px 40px rgba(0, 0, 0, .45),
    0 0 26px rgba(170, 200, 255, .55);
}
.btn--ghost{
    background: transparent;
    border-color: transparent;
    color: rgba(243, 240, 234, .86);
    padding-inline: 0;
    text-decoration: underline !important;
    text-underline-offset: 4px;
    opacity: .9;
}

/* ABOUT BAND */
.aboutband{
    padding: 56px 0 62px;
    /* use provided cream card texture */
    background: radial-gradient(1200px 520px at 50% 35%, rgba(0, 0, 0, .06), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .60), rgba(255, 255, 255, .60)),
    var(--bg-paper);
    background-size: cover;
    background-position: center;
    color: var(--paper-ink);
    border-top: 1px solid rgba(0, 0, 0, .12);
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.aboutband__inner{
    max-width: 760px;
    margin: 0 auto;
    text-align: center;

}
.aboutband h2{
    font-size: 22px;
    margin: 0 0 18px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.aboutband p{
    margin: 0 0 14px;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--paper-muted);
    line-height: 1.7;
    font-size: 15px;
}

.aboutband em {
    font-style: italic;
}

.contactline a {
    color: var(--paper-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.links{
    display:flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 12px;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    justify-content: center;
}
.links a{
    color: var(--paper-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: .85;
}

/* SIMPLE PAGES */
.simple{
    padding: 52px 0 70px;
}
.simple h1{
    font-size: 46px;
    margin: 0 0 12px;
    font-weight: 500;
}
.simple p{
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--muted);
}

.bookrow{
    display:flex;
    gap: 18px;
    align-items:center;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    border-radius: 16px;
}
.bookcover--small{ width: 140px; }

.contactform{
    display:grid;
    gap: 14px;
    margin-top: 18px;
    max-width: 520px;
}
label{
    display:grid;
    gap: 6px;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: rgba(255,255,255,.85);
    font-size: 13px;
}
input,textarea{
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.25);
    color: var(--text);
    outline: none;
}
input:focus, textarea:focus{
    border-color: rgba(122,76,255,.55);
    box-shadow: 0 0 0 3px rgba(122,76,255,.18);
}

.section {
    padding: 58px 0 70px;
}

/* Series section (water) */
.series {
    padding: 64px 0 78px;
    background: linear-gradient(180deg, rgba(3, 10, 22, .55), rgba(3, 10, 22, .80)),
    var(--bg-water);
    background-size: cover;
    background-position: center bottom;
    border-top: 1px solid rgba(243, 240, 234, .08);
    border-bottom: 1px solid rgba(243, 240, 234, .08);
}

.series h2 {
    margin: 0 0 26px;
    text-align: center;
    font-size: 42px;
    font-weight: 500;
    letter-spacing: .01em;
}

.series__list {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
    font-size: 18px;
}

.series__item {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: rgba(243, 240, 234, .85);
}

.series__item strong {
    font-weight: 500;
    color: rgba(243, 240, 234, .92);
}

.series__item .dash {
    opacity: .7;
}

/* Newsletter section (cream card on water) */
.newsletter {
    padding: 54px 0 64px;
    background: linear-gradient(180deg, rgba(3, 10, 22, .55), rgba(3, 10, 22, .78)),
    var(--bg-water);
    background-size: cover;
    background-position: center bottom;
}

.newsletter__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 0 22px;
    font-size: 30px;
    font-weight: 500;
}

.newsletter__title::before,
.newsletter__title::after {
    content: "";
    height: 1px;
    width: min(220px, 25vw);
    background: rgba(243, 240, 234, .22);
}

.newsletter__card {
    margin: 0 auto;
    max-width: 760px;
    padding: 34px 34px 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .62)),
    var(--bg-paper);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0, 0, 0, .10);
    box-shadow: 0 16px 50px rgba(0, 0, 0, .35);
    color: var(--paper-ink);
    border-radius: 4px;
}

.newsletter__bullets {
    margin: 0 0 20px;
    padding-left: 18px;
    color: var(--paper-muted);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.7;
}

.newsletter__bullets li {
    margin: 6px 0;
}

.newsletter__form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.newsletter input[type="email"] {
    flex: 1;
    padding: 12px 12px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, .18);
    background: rgba(255, 255, 255, .65);
    color: var(--paper-ink);
}

.newsletter input[type="email"]::placeholder {
    color: rgba(44, 34, 26, .55);
}

.newsletter .btn--primary {
    border-radius: 4px;
}

/* Footer (dark bar on water) */
.footer {
    padding: 16px 0 26px;
    background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .60)),
    var(--bg-water);
    background-size: cover;
    background-position: center bottom;
    border-top: 1px solid rgba(243, 240, 234, .10);
    color: rgba(243, 240, 234, .78);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 13px;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer a {
    color: rgba(243, 240, 234, .82);
}

/* =========================
   Book page (Beyond the Bloom)
   ========================= */
.bookpage__grid{
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: start;
}

.bookpage__details{
    max-width: 62ch;                 /* readable line length */
    color: var(--paper-ink);
}

.bookpage__details p{
    margin: 0 0 16px;
    line-height: 1.65;
    font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
    color: var(--paper-ink);
}

.bookpage__details strong{
    font-weight: 600;
}

.bookpage__details em{
    font-style: italic;
}

/* Subtitle */
.bookpage__subtitle{
    margin: 0 0 18px;
    font-style: italic;
    color: var(--paper-muted);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* CTA spacing refinement */
.bookpage__cta{
    margin-top: 26px;
}

/* Meta section */
.bookpage__meta{
    font-size: 14px;
    opacity: .8;
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--paper-muted);
}

.bookpage__title{
    margin-top: 0;
}

.bookpage__subtitle{
    margin: 0 0 18px;
    font-style: italic;
}

.bookpage__cta{
    margin-top: 24px;
}

.bookpage__rule{
    margin: 28px 0;
    opacity: .15;
}

.bookpage__meta{
    font-size: 14px;
    opacity: .75;
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Reviews carousel */
.reviews { text-align: center; padding: 3rem 0 2.5rem; }
.reviews h2 { margin-bottom: 1.5rem; }

.reviews__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem;
    padding: 0 1rem 1rem;
    scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }

.reviews__card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .62)),
    var(--bg-paper);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 4px;
    padding: 2rem 1.75rem;
    margin: 0;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .35);
    color: var(--paper-ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}

.reviews__stars {
    font-size: 1.35rem;
    color: #d4a83a;
    letter-spacing: 2px;
}

.reviews__quote {
    font-style: italic;
    line-height: 1.65;
    max-width: 38rem;
    margin: 0;
    color: var(--paper-muted);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 15px;
}

.reviews__cite {
    font-style: normal;
    font-size: .9rem;
    color: var(--paper-muted);
    opacity: .8;
    margin-top: .25rem;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.reviews__dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: .75rem;
}
.reviews__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(243, 240, 234, .25);
    cursor: pointer;
    padding: 0;
    transition: background .25s;
}
.reviews__dot.is-active { background: rgba(243, 240, 234, .7); }

@media (min-width: 768px) {
    .reviews__track {
        overflow-x: auto;
    }

    .reviews__card {
        flex: 0 0 100%;
    }

    .reviews__dots {
        display: flex;
    }
}

/* Reviews carousel */
.reviews { text-align: center; padding: 3rem 0 2.5rem; }
.reviews h2 { margin-bottom: 1.5rem; }

.reviews__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem;
    padding: 0 1rem 1rem;
    scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }

.reviews__card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .62)),
    var(--bg-paper);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 4px;
    padding: 2rem 1.75rem;
    margin: 0;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .35);
    color: var(--paper-ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}

.reviews__stars {
    font-size: 1.35rem;
    color: #d4a83a;
    letter-spacing: 2px;
}

.reviews__quote {
    font-style: italic;
    line-height: 1.65;
    max-width: 38rem;
    margin: 0;
    color: var(--paper-muted);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 15px;
}

.reviews__cite {
    font-style: normal;
    font-size: .9rem;
    color: var(--paper-muted);
    opacity: .8;
    margin-top: .25rem;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.reviews__dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: .75rem;
}
.reviews__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(243, 240, 234, .25);
    cursor: pointer;
    padding: 0;
    transition: background .25s;
}
.reviews__dot.is-active { background: rgba(243, 240, 234, .7); }


/* RESPONSIVE */
@media (max-width: 920px){
    .hero__inner{ grid-template-columns: 1fr; }
    .hero h1{ font-size: 44px; }
    .hero__media{ justify-content:flex-start; }

    .series h2 {
        font-size: 34px;
    }

    .newsletter__form {
        flex-direction: column;
        align-items: stretch;
    }

    .bookpage__grid{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bookcover--small{
        width: min(260px, 100%);
    }
}