/* ============================================================
   Beloved Prayer - Ebook Store
   Liturgical Day Themes - Changes color scheme based on day of week
   Mon: White | Tue: Red | Wed: Green | Thu: Gold
   Fri: Purple | Sat: Blue | Sun: Gold
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
    /* Colors */
    --ink:            #1c2333;   /* deep midnight - primary text on light */
    --ink-soft:       #4a5368;   /* secondary text */
    --cream:          #faf6ee;   /* warm parchment background */
    --cream-deep:     #f3ecdd;   /* deeper parchment for alt sections */
    --card:           #ffffff;
    --gold:           #c9a227;   /* primary gold accent */
    --gold-bright:    #e3bd4b;   /* hover gold */
    --gold-soft:      #f5e7c1;   /* pale gold tint */
    --navy:           #16203a;   /* deep navy for dark sections */
    --navy-deep:      #0f1729;
    --wine:           #7a2e2e;   /* subtle warm accent */
    --line:           #e6ddc9;   /* hairline borders */
    --success:        #2e7d4f;
    --error:          #b3402f;

    /* Type */
    --font-serif: 'Playfair Display', 'Georgia', serif;
    --font-body:  'Lato', 'Helvetica Neue', Arial, sans-serif;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(28,35,51,.08);
    --shadow-md: 0 8px 30px rgba(28,35,51,.12);
    --shadow-lg: 0 20px 50px rgba(28,35,51,.18);
    --radius: 14px;
    --radius-sm: 8px;
    --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ======== MONDAY: WHITE (Purity, Peace) ======== */
.theme-monday { --ink: #1F2937; --ink-soft: #4B5563; --gold: #6B7280; --gold-bright: #9CA3AF; --gold-soft: #F3F4F6; --navy: #374151; --navy-deep: #1F2937; --accent: #D4AF37; --cream: #FAFAFA; --cream-deep: #F9FAFB; }
.theme-monday .hero { background: linear-gradient(160deg, #374151 0%, #1F2937 100%); color: #F9FAFB; }
.theme-monday .hero h1, .theme-monday .hero h1 .accent { color: #F9FAFB; }
.theme-monday .hero p.lead { color: #D1D5DB; }
.theme-monday .hero h1 .accent, .theme-monday .eyebrow { color: #D4AF37; }
.theme-monday .btn--gold { background: linear-gradient(135deg, #D4AF37, #B8860B); color: #fff; }
.theme-monday .btn--gold:hover { background: linear-gradient(135deg, #B8860B, #8B6508); }
.theme-monday .section--dark { background: #374151; }
.theme-monday .section--dark h2, .theme-monday .section--dark h3 { color: #F9FAFB; }
.theme-monday .section--dark p, .theme-monday .testimonial blockquote { color: #D1D5DB; }
.theme-monday .footer-bottom { color: #9CA3AF; }

/* ======== TUESDAY: RED (Strength, Courage) ======== */
.theme-tuesday { --ink: #1F2937; --ink-soft: #4B5563; --gold: #B91C1C; --gold-bright: #DC2626; --gold-soft: #FEE2E2; --navy: #7F1D1D; --navy-deep: #450A0A; --accent: #F59E0B; --cream: #FEF2F2; --cream-deep: #FEE2E2; }
.theme-tuesday .hero { background: linear-gradient(160deg, #7F1D1D 0%, #450A0A 100%); color: #FEF2F2; }
.theme-tuesday .hero h1, .theme-tuesday .hero h1 .accent { color: #FEF2F2; }
.theme-tuesday .hero p.lead { color: #FECACA; }
.theme-tuesday .hero h1 .accent, .theme-tuesday .eyebrow { color: #F59E0B; }
.theme-tuesday .btn--gold { background: linear-gradient(135deg, #DC2626, #B91C1C); color: #fff; }
.theme-tuesday .btn--gold:hover { background: linear-gradient(135deg, #B91C1C, #7F1D1D); }
.theme-tuesday .section--dark { background: #7F1D1D; }
.theme-tuesday .section--dark h2, .theme-tuesday .section--dark h3 { color: #FEF2F2; }
.theme-tuesday .section--dark p, .theme-tuesday .testimonial blockquote { color: #FECACA; }
.theme-tuesday .footer-bottom { color: #FCA5A5; }

/* ======== WEDNESDAY: GREEN (Growth, Hope) ======== */
.theme-wednesday { --ink: #1a3a2a; --ink-soft: #2d5a3f; --gold: #2d6a4f; --gold-bright: #3a7d5c; --gold-soft: #e0f0e8; --navy: #1a3a2a; --navy-deep: #0f2419; --accent: #d4a843; --cream: #f5f7f6; --cream-deep: #e8f5e9; }
.theme-wednesday .hero { background: linear-gradient(160deg, #1a3a2a 0%, #0f2419 100%); color: #f5f7f6; }
.theme-wednesday .hero h1, .theme-wednesday .hero h1 .accent { color: #f5f7f6; }
.theme-wednesday .hero p.lead { color: #d4e8dc; }
.theme-wednesday .hero h1 .accent, .theme-wednesday .eyebrow { color: #3a7d5c; }
.theme-wednesday .btn--gold { background: linear-gradient(135deg, #3a7d5c, #2d6a4f); color: #fff; }
.theme-wednesday .btn--gold:hover { background: linear-gradient(135deg, #2d6a4f, #1a3a2a); }
.theme-wednesday .section--dark { background: #1a3a2a; }
.theme-wednesday .section--dark h2, .theme-wednesday .section--dark h3 { color: #f5f7f6; }
.theme-wednesday .section--dark p, .theme-wednesday .testimonial blockquote { color: #d4e8dc; }
.theme-wednesday .footer-bottom { color: #a7d8b9; }

/* ======== THURSDAY: GOLD (Glory, Thanksgiving) ======== */
.theme-thursday { --ink: #1C1917; --ink-soft: #44403C; --gold: #92400E; --gold-bright: #B45309; --gold-soft: #FEF3C7; --navy: #78350F; --navy-deep: #451A03; --accent: #F59E0B; --cream: #FFFBEB; --cream-deep: #FEF3C7; }
.theme-thursday .hero { background: linear-gradient(160deg, #78350F 0%, #451A03 100%); color: #FFFBEB; }
.theme-thursday .hero h1, .theme-thursday .hero h1 .accent { color: #FFFBEB; }
.theme-thursday .hero p.lead { color: #FDE68A; }
.theme-thursday .hero h1 .accent, .theme-thursday .eyebrow { color: #F59E0B; }
.theme-thursday .btn--gold { background: linear-gradient(135deg, #B45309, #92400E); color: #fff; }
.theme-thursday .btn--gold:hover { background: linear-gradient(135deg, #92400E, #78350F); }
.theme-thursday .section--dark { background: #78350F; }
.theme-thursday .section--dark h2, .theme-thursday .section--dark h3 { color: #FFFBEB; }
.theme-thursday .section--dark p, .theme-thursday .testimonial blockquote { color: #FDE68A; }
.theme-thursday .footer-bottom { color: #F59E0B; }

/* ======== FRIDAY: PURPLE (Repentance, Sacrifice) ======== */
.theme-friday { --ink: #1F2937; --ink-soft: #4B5563; --gold: #6B21A8; --gold-bright: #7C3AED; --gold-soft: #EDE9FE; --navy: #4C1D95; --navy-deep: #2E1065; --accent: #C084FC; --cream: #FAF5FF; --cream-deep: #F5F3FF; }
.theme-friday .hero { background: linear-gradient(160deg, #4C1D95 0%, #2E1065 100%); color: #FAF5FF; }
.theme-friday .hero h1, .theme-friday .hero h1 .accent { color: #FAF5FF; }
.theme-friday .hero p.lead { color: #DDD6FE; }
.theme-friday .hero h1 .accent, .theme-friday .eyebrow { color: #C084FC; }
.theme-friday .btn--gold { background: linear-gradient(135deg, #7C3AED, #6B21A8); color: #fff; }
.theme-friday .btn--gold:hover { background: linear-gradient(135deg, #6B21A8, #4C1D95); }
.theme-friday .section--dark { background: #4C1D95; }
.theme-friday .section--dark h2, .theme-friday .section--dark h3 { color: #FAF5FF; }
.theme-friday .section--dark p, .theme-friday .testimonial blockquote { color: #DDD6FE; }
.theme-friday .footer-bottom { color: #C084FC; }

/* ======== SATURDAY: BLUE (Faithfulness, Hope) ======== */
.theme-saturday { --ink: #1F2937; --ink-soft: #4B5563; --gold: #1E40AF; --gold-bright: #3B82F6; --gold-soft: #DBEAFE; --navy: #1E3A8A; --navy-deep: #172554; --accent: #60A5FA; --cream: #EFF6FF; --cream-deep: #DBEAFE; }
.theme-saturday .hero { background: linear-gradient(160deg, #1E3A8A 0%, #172554 100%); color: #EFF6FF; }
.theme-saturday .hero h1, .theme-saturday .hero h1 .accent { color: #EFF6FF; }
.theme-saturday .hero p.lead { color: #BFDBFE; }
.theme-saturday .hero h1 .accent, .theme-saturday .eyebrow { color: #60A5FA; }
.theme-saturday .btn--gold { background: linear-gradient(135deg, #3B82F6, #1E40AF); color: #fff; }
.theme-saturday .btn--gold:hover { background: linear-gradient(135deg, #1E40AF, #1E3A8A); }
.theme-saturday .section--dark { background: #1E3A8A; }
.theme-saturday .section--dark h2, .theme-saturday .section--dark h3 { color: #EFF6FF; }
.theme-saturday .section--dark p, .theme-saturday .testimonial blockquote { color: #BFDBFE; }
.theme-saturday .footer-bottom { color: #60A5FA; }

/* ======== SUNDAY: GOLD (Resurrection, Victory) ======== */
.theme-sunday { --ink: #2D2D2D; --ink-soft: #555555; --gold: #C5941C; --gold-bright: #E8B93C; --gold-soft: #FFF4CC; --navy: #A67C00; --navy-deep: #7A5C00; --accent: #FFD700; --cream: #FFFEF7; --cream-deep: #FFF9E6; }
.theme-sunday .hero { background: linear-gradient(160deg, #A67C00 0%, #7A5C00 100%); color: #FFFEF7; }
.theme-sunday .hero h1, .theme-sunday .hero h1 .accent { color: #FFFEF7; }
.theme-sunday .hero p.lead { color: #FFE4A0; }
.theme-sunday .hero h1 .accent, .theme-sunday .eyebrow { color: #FFD700; }
.theme-sunday .btn--gold { background: linear-gradient(135deg, #E8B93C, #C5941C); color: #2D2D2D; }
.theme-sunday .btn--gold:hover { background: linear-gradient(135deg, #C5941C, #A67C00); }
.theme-sunday .section--dark { background: #A67C00; }
.theme-sunday .section--dark h2, .theme-sunday .section--dark h3 { color: #FFFEF7; }
.theme-sunday .section--dark p, .theme-sunday .testimonial blockquote { color: #FFE4A0; }
.theme-sunday .footer-bottom { color: #FFD700; }

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 17px;               /* generous base size for readability */
    line-height: 1.7;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; content-visibility: auto; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-bright); }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
}

.container { width: min(1160px, 92%); margin: 0 auto; }

/* Utility */
.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .8rem;
}
.section { padding: 84px 0; }
.section--alt { background: var(--cream-deep); }
.section--dark { background: var(--navy); color: #f1ead9; }
.section--dark h2, .section--dark h3 { color: #f7f1e2; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: .7rem; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section--dark .section-head p { color: #c9c2ae; }

/* Ornamental divider */
.divider {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    margin: 0 auto 18px; max-width: 220px;
}
.divider::before, .divider::after {
    content: ""; flex: 1; height: 1px; background: var(--gold);
}
.divider span { color: var(--gold); font-size: 1rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-body);
    font-size: 1.02rem; font-weight: 700;
    padding: 15px 34px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    letter-spacing: .02em;
}
.btn--gold {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    color: #241c05;
    box-shadow: 0 6px 20px rgba(201,162,39,.35);
}
.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(201,162,39,.5);
    color: #241c05;
}
.btn--outline {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold);
}
.btn--outline:hover {
    background: var(--gold);
    color: #241c05;
}
.btn--outline-light {
    background: transparent;
    border-color: rgba(243,231,195,.7);
    color: #f3e7c3;
}
.btn--outline-light:hover { background: rgba(243,231,195,.15); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 42px; font-size: 1.1rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250,246,238,.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 46px; height: 46px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    display: flex; align-items: center; justify-content: center;
    color: #241c05; font-size: 1.35rem;
    box-shadow: 0 4px 14px rgba(201,162,39,.35);
}
.brand-name {
    font-family: var(--font-serif);
    font-size: 1.4rem; font-weight: 700; color: var(--ink);
    line-height: 1.1;
}
.brand-name small {
    display: block; font-family: var(--font-body);
    font-size: .68rem; font-weight: 600; letter-spacing: .24em;
    text-transform: uppercase; color: var(--gold);
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
    color: var(--ink-soft); font-weight: 600; font-size: 1rem;
    position: relative; padding: 6px 0;
}
.main-nav a::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 0; height: 2px; background: var(--gold);
    transition: width var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav .btn { padding: 10px 24px; font-size: .95rem; }

.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 44px; height: 44px; position: relative;
}
.nav-toggle span {
    display: block; width: 26px; height: 2px; background: var(--ink);
    margin: 6px auto; transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(201,162,39,.16), transparent 60%),
        radial-gradient(900px 500px at 10% 110%, rgba(122,46,46,.10), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: #f3ecd9;
    overflow: hidden;
    padding: 96px 0 110px;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(227,189,75,.14) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: .5; pointer-events: none;
}
.hero-inner {
    position: relative;
    display: grid; grid-template-columns: 1.05fr .95fr;
    gap: 60px; align-items: center;
}
.hero h1 {
    color: #f8f2e2;
    font-size: clamp(2.3rem, 4.6vw, 3.5rem);
    margin-bottom: 1.2rem;
}
.hero h1 .accent { color: var(--gold-bright); font-style: italic; }
.hero p.lead {
    font-size: 1.15rem; color: #d6cdb6; margin-bottom: 2rem; max-width: 520px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust .item { display: flex; align-items: center; gap: 9px; color: #cfc6ad; font-size: .95rem; }
.hero-trust .item b { color: var(--gold-bright); font-size: 1.05rem; }

/* Hero book showcase */
.hero-books { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 420px; }
.hero-book {
    width: 210px; border-radius: 8px; overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}
.hero-book img { width: 100%; height: auto; }
.hero-book--main { width: 250px; z-index: 3; transform: translateY(-14px); }
.hero-book--left { transform: rotate(-8deg) translate(26px, 10px); z-index: 2; opacity: .95; }
.hero-book--right { transform: rotate(8deg) translate(-26px, 10px); z-index: 2; opacity: .95; }
.hero-book:hover { transform: translateY(-22px) scale(1.03); z-index: 5; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.hero-glow {
    position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
    width: 420px; height: 120px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(201,162,39,.35), transparent);
    filter: blur(10px); z-index: 1;
}

/* ---------- Book Cards ---------- */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 34px;
}
.book-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex; flex-direction: column;
}
.book-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.book-cover { position: relative; overflow: hidden; background: var(--cream-deep); }
.book-cover img {
    width: 100%; aspect-ratio: 3/4; object-fit: cover;
    transition: transform .5s ease;
}
.book-card:hover .book-cover img { transform: scale(1.05); }
.book-badge {
    position: absolute; top: 12px; left: 12px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    color: #241c05; font-size: .72rem; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
}
.book-body { padding: 20px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.book-category {
    font-size: .74rem; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.book-title { font-size: 1.18rem; margin-bottom: 8px; line-height: 1.35; }
.book-desc { font-size: .94rem; color: var(--ink-soft); margin-bottom: 16px; flex: 1; }
.book-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.book-price { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 700; color: var(--ink); }
.book-price s { font-size: .95rem; color: #a49b85; font-weight: 400; margin-right: 6px; }
.book-rating { color: var(--gold); font-size: .9rem; letter-spacing: 2px; }
.book-rating small { color: var(--ink-soft); letter-spacing: 0; margin-left: 4px; }

/* ---------- Feature strip ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 26px; }
.feature {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 30px 26px;
    text-align: center; transition: all var(--transition);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.feature-icon {
    width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%;
    background: var(--gold-soft); display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
}
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Testimonial ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 28px; }
.testimonial {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(227,189,75,.25);
    border-radius: var(--radius); padding: 32px 28px;
}
.testimonial .stars { color: var(--gold-bright); letter-spacing: 3px; margin-bottom: 14px; }
.testimonial blockquote { font-size: 1.02rem; line-height: 1.75; color: #e8dfc8; font-style: italic; margin-bottom: 18px; }
.testimonial .author { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
    width: 46px; height: 46px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    display: flex; align-items: center; justify-content: center;
    color: #241c05; font-weight: 800; font-size: 1.05rem;
}
.testimonial .author b { display: block; color: #f3ecd9; }
.testimonial .author span { font-size: .85rem; color: #b3aa92; }

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
    border-radius: 22px; padding: 60px 48px; text-align: center;
    position: relative; overflow: hidden; color: #f3ecd9;
}
.cta-banner::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 50% 0%, rgba(201,162,39,.22), transparent 70%);
}
.cta-banner h2 { position: relative; color: #f8f2e2; font-size: clamp(1.7rem,3vw,2.3rem); margin-bottom: .8rem; }
.cta-banner p { position: relative; color: #cfc6ad; max-width: 560px; margin: 0 auto 1.8rem; }
.cta-banner .btn { position: relative; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background: linear-gradient(160deg, var(--navy), var(--navy-deep));
    color: #f3ecd9; text-align: center; padding: 70px 0 60px;
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(227,189,75,.12) 1px, transparent 1px);
    background-size: 26px 26px;
}
.page-hero h1 { position: relative; color: #f8f2e2; font-size: clamp(2rem,4vw,2.9rem); margin-bottom: .6rem; }
.page-hero p { position: relative; color: #cfc6ad; font-size: 1.08rem; max-width: 620px; margin: 0 auto; }
.breadcrumb { position: relative; font-size: .88rem; color: #b3aa92; margin-bottom: 14px; }
.breadcrumb a { color: var(--gold-bright); }

/* ---------- Content / policy pages ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin: 2.2rem 0 .8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.prose h2:first-child { border-top: none; margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 1.6rem 0 .6rem; }
.prose p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.prose ul, .prose ol { margin: 0 0 1.2rem 1.4rem; color: var(--ink-soft); }
.prose li { margin-bottom: .5rem; }
.prose strong { color: var(--ink); }
.prose .updated { font-size: .9rem; color: var(--gold); font-weight: 700; margin-bottom: 1.6rem; display: block; }
.prose blockquote {
    border-left: 4px solid var(--gold); background: var(--gold-soft);
    padding: 16px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.4rem 0; font-style: italic; color: var(--ink);
}

/* ---------- Forms ---------- */
.form-card {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 40px;
    box-shadow: var(--shadow-sm); max-width: 640px; margin: 0 auto;
}
.form-row { margin-bottom: 22px; }
.form-row label {
    display: block; font-weight: 700; font-size: .98rem; margin-bottom: 8px; color: var(--ink);
}
.form-row .hint { font-size: .85rem; color: var(--ink-soft); font-weight: 400; }
.form-control {
    width: 100%; padding: 14px 16px; font-size: 1.02rem;
    font-family: var(--font-body);
    border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: #fffdf8; color: var(--ink);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
    outline: none; border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201,162,39,.15);
}
textarea.form-control { min-height: 150px; resize: vertical; }
.form-note { text-align: center; font-size: .88rem; color: var(--ink-soft); margin-top: 16px; }
.form-success {
    display: none; text-align: center; padding: 30px;
    background: #eaf5ee; border: 1px solid #bfe0cc; border-radius: var(--radius);
    color: var(--success); font-weight: 600;
}

/* ---------- Library ---------- */
.library-notice {
    background: var(--gold-soft); border: 1px solid var(--gold);
    border-radius: var(--radius); padding: 24px 30px;
    display: flex; gap: 16px; align-items: flex-start;
    max-width: 780px; margin: 0 auto 48px;
}
.library-notice .icon { font-size: 1.6rem; }
.library-notice b { display: block; margin-bottom: 4px; }
.library-notice p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-img img { width: 100%; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 24px; margin-top: 40px; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-serif); font-size: 2.2rem; color: var(--gold); }
.stat span { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b8af98; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 48px; }
.footer-brand .brand-name { color: #f3ecd9; }
.footer-brand p { font-size: .95rem; margin-top: 14px; line-height: 1.7; }
.footer-col h4 {
    color: #f3ecd9; font-size: 1.02rem; margin-bottom: 18px;
    font-family: var(--font-body); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.footer-col a { display: block; color: #b8af98; padding: 5px 0; font-size: .96rem; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
    border-top: 1px solid rgba(227,189,75,.15);
    padding: 22px 0; text-align: center; font-size: .88rem; color: #8d8468;
}
.footer-bottom .verse { font-style: italic; color: #b3aa92; margin-bottom: 6px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero p.lead { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; flex-wrap: wrap; }
    .hero-trust { justify-content: center; flex-wrap: wrap; }
    .hero-books { margin-top: 20px; min-height: 320px; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    body { font-size: 16.5px; }
    .section { padding: 60px 0; }
    .container { width: min(1160px, 90%); }
    .main-nav {
        position: fixed; top: 78px; left: 0; right: 0;
        background: var(--cream); flex-direction: column;
        padding: 26px; gap: 18px; border-bottom: 1px solid var(--line);
        transform: translateY(-130%); transition: transform var(--transition);
        box-shadow: var(--shadow-md); z-index: 99;
    }
    .main-nav.open { transform: translateY(0); }
    .nav-toggle { display: block; }
    
    /* Hero mobile fixes */
    .hero { padding: 40px 0 50px; overflow-x: hidden; }
    .hero h1 { font-size: clamp(1.6rem, 5.5vw, 2.2rem); margin-bottom: 1rem; }
    .hero p.lead { font-size: 1rem; margin-bottom: 1.5rem; }
    .hero-books { 
        margin-top: 25px; 
        min-height: 220px;
        gap: 6px;
    }
    .hero-book { width: 100px; }
    .hero-book--main { width: 130px; transform: translateY(-8px); }
    .hero-book--left { transform: rotate(-5deg) translate(12px, 6px); }
    .hero-book--right { transform: rotate(5deg) translate(-12px, 6px); }
    .hero-glow { width: 220px; height: 60px; bottom: -15px; }
    .hero-cta { 
        gap: 10px; 
        flex-direction: column; 
        align-items: center;
        margin-bottom: 1.5rem;
    }
    .hero-cta .btn { 
        padding: 12px 24px; 
        font-size: .95rem; 
        width: 100%; 
        max-width: 260px;
    }
    .hero-trust { 
        gap: 12px; 
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-trust .item { font-size: .8rem; gap: 6px; }
    
    .footer-grid { grid-template-columns: 1fr; }
    .form-card { padding: 28px 22px; }
}

/* Extra small devices */
@media (max-width: 400px) {
    .hero h1 { font-size: 1.5rem; }
    .hero p.lead { font-size: .95rem; }
    .hero-book { width: 85px; }
    .hero-book--main { width: 110px; }
    .hero-cta .btn { max-width: 240px; font-size: .9rem; padding: 11px 20px; }
    .hero-trust .item { font-size: .75rem; }
}
