/* B. L. Rose — Midnight Cipher static HTML site */
:root {
    --bg-midnight: #07111c;
    --bg-deep: #0d1b2a;
    --card-navy: #111f31;
    --card-navy-soft: #15273d;
    --gold-champagne: #d4af37;
    --gold-soft: #ead28a;
    --quartz-pale: #f4dcd6;
    --text-light: #eef3f8;
    --text-muted: #9aa8bb;
    --border-gold: rgba(212, 175, 55, 0.35);
    --shadow: rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top, #13243a 0%, var(--bg-midnight) 45%, #03070c 100%);
    color: var(--text-light);
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
}

a { color: var(--gold-soft); }
a:hover { color: var(--quartz-pale); }

.site-header {
    text-align: center;
    padding: 28px 20px 56px;
    border-bottom: 1px solid var(--border-gold);
    background:
        linear-gradient(180deg, rgba(17, 31, 49, 0.96), rgba(7, 17, 28, 0.94)),
        radial-gradient(circle at center, rgba(212, 175, 55, 0.14), transparent 50%);
}

.nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    padding: 8px 12px;
    border: 1px solid transparent;
}

.nav a:hover,
.nav a.active {
    color: var(--gold-soft);
    border-color: var(--border-gold);
    background: rgba(212, 175, 55, 0.06);
}

.logo {
    width: min(200px, 52vw);
    max-height: 210px;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
    filter: drop-shadow(0 10px 24px var(--shadow));
}

.kicker,
.file-label,
.badge {
    color: var(--gold-champagne);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: bold;
}

.hero-title {
    color: var(--gold-champagne);
    font-size: clamp(2.45rem, 7vw, 5.25rem);
    line-height: 1;
    margin: 10px 0 14px;
    letter-spacing: 0.08em;
    font-weight: normal;
}

.hero-tagline {
    color: var(--quartz-pale);
    font-style: italic;
    font-size: clamp(1.05rem, 2.6vw, 1.35rem);
    max-width: 760px;
    margin: 0 auto 12px;
}

.hero-intro {
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.04rem;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 44px 20px 56px;
}

.dual-file-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.file-card,
.book-card,
.panel-card,
.contact-card {
    background: linear-gradient(145deg, rgba(17, 31, 49, 0.98), rgba(13, 27, 42, 0.98));
    border: 1px solid var(--border-gold);
    box-shadow: 0 18px 50px var(--shadow);
    border-radius: 10px;
    padding: clamp(24px, 4vw, 38px);
}

.file-card h2,
.transmission-zone h2,
.book-title,
.panel-card h2,
.contact-card h2 {
    color: var(--gold-champagne);
    font-weight: normal;
}

.file-card h2 {
    font-size: 2rem;
    margin: 6px 0 4px;
}

.file-subtitle,
.book-tag {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 16px;
}

.warning {
    color: var(--quartz-pale);
    border-left: 3px solid var(--gold-champagne);
    padding-left: 14px;
}

.btn,
.btn-submit {
    display: inline-block;
    background: var(--gold-champagne);
    color: #07111c;
    border: none;
    border-radius: 999px;
    padding: 12px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    cursor: pointer;
}

.btn:hover,
.btn-submit:hover {
    background: var(--quartz-pale);
    color: #07111c;
}

.transmission-zone {
    margin-top: 32px;
    padding: clamp(24px, 4vw, 36px);
    text-align: center;
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(21, 39, 61, 0.97), rgba(7, 17, 28, 0.98)),
        radial-gradient(circle at top right, rgba(244, 220, 214, 0.1), transparent 45%);
}

.kit-form-wrapper {
    margin: 22px auto 0;
    max-width: 720px;
    min-height: 64px;
}

/* Attempts to style inline Kit fields when the embed allows page CSS to influence them. */
.kit-form-wrapper a,
.kit-form-wrapper button,
.kit-form-wrapper input[type="submit"] {
    color: #07111c !important;
}

.book-layout {
    display: grid;
    grid-template-columns: minmax(210px, 280px) 1fr;
    gap: 34px;
    align-items: start;
}

.cover-frame {
    min-height: 420px;
    border: 1px solid var(--border-gold);
    background: linear-gradient(160deg, rgba(212, 175, 55, 0.14), rgba(244, 220, 214, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-align: center;
    padding: 18px;
}

.cover-frame img {
    width: 100%;
    height: 100%;
    max-height: 470px;
    object-fit: contain;
    display: block;
}

.book-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 12px 0 0;
}

.coming-soon {
    margin-top: 28px;
    padding: 22px;
    border-left: 3px solid var(--gold-champagne);
    background: rgba(255, 255, 255, 0.04);
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 7px;
    color: var(--quartz-pale);
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(154, 168, 187, 0.55);
    border-radius: 6px;
    background: rgba(3, 7, 12, 0.75);
    color: var(--text-light);
    padding: 12px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

footer {
    text-align: center;
    padding: 28px 20px 42px;
    color: var(--text-muted);
    border-top: 1px solid rgba(212, 175, 55, 0.22);
    font-size: 0.92rem;
}

@media (max-width: 780px) {
    .dual-file-grid,
    .book-layout {
        grid-template-columns: 1fr;
    }

    .cover-frame {
        min-height: 320px;
    }

    .site-header {
        padding-top: 22px;
    }
}


/* ===== Polish pass 2026-10-04 ===== */
.file-card h2, .transmission-zone h2, .book-title { font-weight: bold; }
.transmission-zone h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); letter-spacing: 0.04em; margin: 0 0 12px; }
.transmission-zone > p { max-width: 640px; margin: 0 auto; text-wrap: balance; }
.file-card > p:first-of-type { color: var(--gold-soft); font-style: italic; font-size: 1.05rem; }
.file-card p strong { color: var(--gold-champagne); font-size: 1.3rem; letter-spacing: 0.02em; }
.file-card .btn, .book-card .btn { margin-top: 8px; }
.book-layout { align-items: start; }
.coming-soon h3 { color: var(--gold-soft); }
/* Kit signup forms: match the midnight + gold theme */
.kit-form-wrapper .formkit-form { background: var(--card-navy) !important; border: 1px solid var(--border-gold) !important; border-radius: 10px !important; box-shadow: none !important; max-width: 640px !important; margin: 0 auto !important; }
.kit-form-wrapper .formkit-form [style*="background-color"], .kit-form-wrapper .formkit-form .formkit-column { background-color: transparent !important; }
.kit-form-wrapper .formkit-form .formkit-background { display: none !important; }
.kit-form-wrapper .formkit-form h1, .kit-form-wrapper .formkit-form h2, .kit-form-wrapper .formkit-form .formkit-header, .kit-form-wrapper .formkit-form .formkit-header * { color: var(--gold-champagne) !important; font-family: Georgia, 'Times New Roman', serif !important; }
.kit-form-wrapper .formkit-form p, .kit-form-wrapper .formkit-form .formkit-subheader, .kit-form-wrapper .formkit-form .formkit-subheader *, .kit-form-wrapper .formkit-form .formkit-guarantee, .kit-form-wrapper .formkit-form .formkit-guarantee * { color: var(--text-muted) !important; }
.kit-form-wrapper .formkit-form .formkit-input { background: var(--bg-midnight) !important; color: var(--text-light) !important; border: 1px solid var(--border-gold) !important; border-radius: 999px !important; }
.kit-form-wrapper .formkit-form .formkit-submit { background: var(--gold-champagne) !important; color: #07111c !important; border-radius: 999px !important; }
.kit-form-wrapper .formkit-form .formkit-submit > span { background: transparent !important; color: #07111c !important; font-weight: bold !important; text-transform: uppercase; letter-spacing: 0.08em; }
.kit-form-wrapper .formkit-form .formkit-submit:hover { background: var(--quartz-pale) !important; }
.kit-form-wrapper .formkit-powered-by-convertkit-container { opacity: 0.55; filter: invert(1); }
.book-card .kit-form-wrapper { min-height: 0; margin: 0; }

/* ===== Header banner + spacing 2026-10-04 ===== */
.logo-banner { position: relative; margin: -28px -20px 26px; height: clamp(170px, 24vw, 300px); overflow: hidden; border-bottom: 1px solid var(--border-gold); background: #0b1622; }
.logo-banner::before { content: ""; position: absolute; inset: -30px; background: url("https://linewayrosepress.com/blrose-logo.png") center / cover no-repeat; filter: blur(16px) brightness(0.65); }
.logo-banner .logo { position: relative; display: block; height: 100%; width: auto; max-width: 100%; max-height: none; margin: 0 auto; object-fit: contain; filter: none; border: none; }
.site-header .nav { margin-bottom: 34px; }
.site-header .kicker { margin: 0 0 18px; }
.site-header .hero-title { margin: 0 0 22px; line-height: 1.1; }
.site-header .hero-tagline { margin: 0 auto 16px; }
/* Inner pages: label bigger, page title smaller */
.site-header .kicker:has(+ .page-title) { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: 0.22em; }
.site-header .page-title { font-size: clamp(1.6rem, 3.2vw, 2.1rem); letter-spacing: 0.08em; color: var(--quartz-pale); }
.logo-banner .logo { height: 108%; top: -4%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%); }
