/* ============================================
   ACCEPT DOMINION — acceptdominion.com
   The Dominion Series by Winston Johnson
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: #0a0a0a;
    color: #e8e0d4;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: #c9a84c; text-decoration: none; transition: color 0.3s; }
a:hover { color: #e6c565; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-family: 'Georgia', serif;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }
.text-gold { color: #c9a84c; }
.text-muted { color: #8a8070; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; letter-spacing: 0.12em; }
.small-caps { font-variant: small-caps; letter-spacing: 0.08em; }

/* --- Layout --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-dark { background: #0a0a0a; }
.section-darker { background: #060606; }
.section-accent { background: #0f0d09; border-top: 1px solid #1a1710; border-bottom: 1px solid #1a1710; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* --- Navigation --- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    padding: 0 2rem;
    transition: background 0.3s;
}
.nav-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    height: 70px;
}
.nav-brand {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #c9a84c;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: #c9a84c; }
.nav-toggle { display: none; background: none; border: none; color: #c9a84c; font-size: 1.5rem; cursor: pointer; }

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 8rem 2rem 5rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center top, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-tagline {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    color: #c9a84c;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 span { color: #c9a84c; }
.hero-sub {
    font-size: 1.2rem;
    color: #8a8070;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}
.hero-scripture {
    font-style: italic;
    color: #6a6050;
    font-size: 0.95rem;
    max-width: 650px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}
.hero-scripture cite { display: block; color: #c9a84c; font-style: normal; margin-top: 0.5rem; font-size: 0.85rem; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 1rem 2.5rem;
    border-radius: 3px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: #c9a84c;
    color: #0a0a0a;
}
.btn-primary:hover { background: #e6c565; color: #0a0a0a; transform: translateY(-1px); }
.btn-outline {
    background: transparent;
    color: #c9a84c;
    border: 1px solid #c9a84c;
}
.btn-outline:hover { background: rgba(201, 168, 76, 0.1); color: #e6c565; }
.btn-lg { padding: 1.15rem 3rem; font-size: 1rem; }
.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Divider --- */
.divider {
    width: 60px;
    height: 2px;
    background: #c9a84c;
    margin: 2rem auto;
}
.divider-left { margin: 2rem 0; }

/* --- The Creed --- */
.creed {
    padding: 5rem 2rem;
    text-align: center;
    background: #060606;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
.creed-text {
    max-width: 650px;
    margin: 0 auto;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 2;
    color: #c9a84c;
}
.creed-text strong { color: #e6c565; font-style: normal; }

/* --- Book Showcase --- */
.book-card {
    background: #111;
    border: 1px solid #1a1710;
    border-radius: 4px;
    padding: 2.5rem;
    transition: border-color 0.3s, transform 0.3s;
}
.book-card:hover { border-color: rgba(201, 168, 76, 0.3); transform: translateY(-2px); }
.book-card .book-number {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    color: #c9a84c;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}
.book-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.book-card .subtitle { color: #c9a84c; font-style: italic; margin-bottom: 1rem; font-size: 0.95rem; }
.book-card p { color: #8a8070; font-size: 0.95rem; }
.book-card.featured {
    border-color: #c9a84c;
    background: linear-gradient(180deg, #151208 0%, #111 100%);
}
.book-card.featured .badge {
    display: inline-block;
    background: #c9a84c;
    color: #0a0a0a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
    margin-bottom: 1rem;
}

/* --- Author Section --- */
.author-section { padding: 5rem 0; }
.author-stats {
    display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap;
}
.stat {
    text-align: center;
    flex: 1;
    min-width: 120px;
}
.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #c9a84c;
    display: block;
}
.stat-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    color: #8a8070;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- Email Capture / Funnel --- */
.capture {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, #0f0d09 0%, #0a0a0a 100%);
    border-top: 1px solid rgba(201, 168, 76, 0.12);
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}
.capture h2 { margin-bottom: 0.75rem; }
.capture-sub { color: #8a8070; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.capture-form {
    display: flex; gap: 0.75rem;
    max-width: 500px; margin: 0 auto;
    flex-wrap: wrap; justify-content: center;
}
.capture-form input[type="email"] {
    flex: 1; min-width: 250px;
    padding: 1rem 1.25rem;
    background: #111;
    border: 1px solid #2a2520;
    border-radius: 3px;
    color: #e8e0d4;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}
.capture-form input[type="email"]:focus { border-color: #c9a84c; }
.capture-form input[type="email"]::placeholder { color: #555; }
.capture-privacy {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    color: #555;
    margin-top: 1rem;
}

/* --- Testimonials / Social Proof --- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial {
    background: #111;
    border: 1px solid #1a1710;
    border-radius: 4px;
    padding: 2rem;
}
.testimonial blockquote {
    font-style: italic;
    color: #c9a84c;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
}
.testimonial .attribution {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    color: #666;
}

/* --- FAQ / Features --- */
.feature-list { list-style: none; }
.feature-list li {
    padding: 1.5rem 0;
    border-bottom: 1px solid #1a1710;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.feature-list li:last-child { border-bottom: none; }
.feature-icon {
    color: #c9a84c;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.feature-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.feature-text p {
    color: #8a8070;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- Page Header (inner pages) --- */
.page-header {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: #060606;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
.page-header h1 { margin-bottom: 1rem; }
.page-header p { color: #8a8070; max-width: 600px; margin: 0 auto; }

/* --- Content Blocks (inner pages) --- */
.content-block { padding: 4rem 0; }
.content-block + .content-block { border-top: 1px solid #1a1710; }
.prose { max-width: 700px; }
.prose p { font-size: 1.05rem; line-height: 1.8; color: #c9bfb0; }
.prose h2 { margin-top: 2rem; margin-bottom: 1rem; }
.prose blockquote {
    border-left: 3px solid #c9a84c;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #c9a84c;
    background: rgba(201, 168, 76, 0.03);
}

/* --- Series Grid (books page) --- */
.series-grid { display: grid; gap: 2rem; }
.series-book {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding: 2.5rem;
    background: #111;
    border: 1px solid #1a1710;
    border-radius: 4px;
    align-items: start;
}
.series-book-number {
    font-size: 3rem;
    font-weight: 700;
    color: #c9a84c;
    line-height: 1;
    min-width: 60px;
}
.series-book h3 { margin-bottom: 0.25rem; }
.series-book .subtitle { color: #c9a84c; font-style: italic; margin-bottom: 0.75rem; }
.series-book p { color: #8a8070; font-size: 0.95rem; margin-bottom: 0; }
.series-book.available { border-color: #c9a84c; background: linear-gradient(180deg, #151208 0%, #111 100%); }
.series-book .status-badge {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.7rem;
    border-radius: 2px;
    margin-bottom: 0.75rem;
}
.status-available { background: #c9a84c; color: #0a0a0a; }
.status-coming { background: #222; color: #666; }

/* --- Chapter Preview List --- */
.chapter-list { list-style: none; counter-reset: chapters; }
.chapter-list li {
    counter-increment: chapters;
    padding: 1.25rem 0;
    border-bottom: 1px solid #1a1710;
    display: flex;
    gap: 1.5rem;
    align-items: baseline;
}
.chapter-list li::before {
    content: counter(chapters);
    font-size: 1.5rem;
    font-weight: 700;
    color: #c9a84c;
    min-width: 30px;
}
.chapter-list li:last-child { border-bottom: none; }
.chapter-title { font-weight: 700; color: #fff; }
.chapter-desc { color: #8a8070; font-size: 0.9rem; display: block; margin-top: 0.25rem; }

/* --- Purchase / CTA Block --- */
.purchase-block {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #0f0d09 50%, #0a0a0a 100%);
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}
.purchase-block h2 { margin-bottom: 0.75rem; }
.purchase-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #c9a84c;
    margin: 1.5rem 0;
}
.purchase-price .currency { font-size: 1.2rem; vertical-align: super; }
.purchase-includes {
    list-style: none;
    max-width: 400px;
    margin: 0 auto 2rem;
}
.purchase-includes li {
    padding: 0.5rem 0;
    color: #8a8070;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
}
.purchase-includes li::before { content: '✓ '; color: #c9a84c; }

/* --- Contact Form --- */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    color: #8a8070;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: #111;
    border: 1px solid #2a2520;
    border-radius: 3px;
    color: #e8e0d4;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    outline: none;
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: #c9a84c; }
.form-group textarea { min-height: 150px; resize: vertical; }

/* --- Footer --- */
.footer {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid #1a1710;
    background: #060606;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}
.footer-brand {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #c9a84c;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.footer-brand-sub { color: #555; font-size: 0.9rem; line-height: 1.6; }
.footer-heading {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    color: #666;
}
.footer-links a:hover { color: #c9a84c; }
.footer-bottom {
    max-width: 1100px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #1a1710;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    color: #444;
    margin-bottom: 0;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0; right: 0;
        background: rgba(10, 10, 10, 0.98);
        padding: 1.5rem 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    }
    .nav-toggle { display: block; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .hero { padding: 7rem 1.5rem 4rem; min-height: 90vh; }
    .section { padding: 3.5rem 0; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .author-stats { flex-direction: column; gap: 1.5rem; }
    .series-book { grid-template-columns: 1fr; }
    .series-book-number { font-size: 2rem; }
    .capture-form { flex-direction: column; }
    .capture-form input[type="email"] { min-width: unset; }
    .btn-group { flex-direction: column; align-items: center; }
}

/* --- Book Cover Displays --- */
.book-cover-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}
.book-cover-hero img { width: 100%; height: auto; }
.book-cover-single {
    max-width: 300px;
    margin: 0 auto;
}
.book-cover-single img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 2px 8px rgba(201,168,76,0.1);
}
.book-cover-float {
    max-width: 260px;
    float: right;
    margin: 0 0 2rem 2rem;
}
.book-cover-float img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}
@media (max-width: 768px) {
    .book-cover-float {
        float: none;
        max-width: 220px;
        margin: 0 auto 2rem;
    }
}

/* --- Utility --- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* --- Success/Error States --- */
.form-success {
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: #c9a84c;
    padding: 1rem 1.5rem;
    border-radius: 3px;
    text-align: center;
    display: none;
}
.form-error {
    background: rgba(180, 60, 60, 0.1);
    border: 1px solid rgba(180, 60, 60, 0.3);
    color: #c97070;
    padding: 1rem 1.5rem;
    border-radius: 3px;
    text-align: center;
    display: none;
}
