/* =========================================================
   BRANDI ELISE SZEKER — HOMEPAGE CUSTOM STYLES (v5 — FONTS)
   Updated: LHFEncore Regular for headlines; LHFEncore Inset for accent moments
   Cormorant Garamond kept as fallback + for body italics
   ========================================================= */

/* ---------- 1. GLOBAL TOKENS ---------- */
:root {
    --brandi-blood: #961b1e;
    --brandi-blood-deep: #6b1214;
    --brandi-gold: #c0894c;
    --brandi-gold-soft: #d9a872;
    --brandi-ink: #2a2a2a;
    --brandi-ink-dark: #0d0a0a;
    --brandi-bone: #d8c8b4;
    --brandi-whisper: rgba(216, 200, 180, 0.7);
    --brandi-line: rgba(192, 137, 76, 0.18);
}

/* ---------- 2. SITE-WIDE EFFECTS ---------- */

html { scroll-behavior: smooth; }

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 3. REUSABLE TYPOGRAPHY ---------- */

.brandi-eyebrow .elementor-heading-title {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--brandi-gold);
}

.brandi-section-title .elementor-heading-title {
    font-family: 'LHFEncore Regular', 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 400;
    font-style: normal;
    line-height: 1.15;
    color: var(--brandi-bone);
}
.brandi-section-title .elementor-heading-title em,
.brandi-section-title .elementor-heading-title .accent {
    color: var(--brandi-gold);
    font-style: normal;
}

.brandi-ornament .elementor-heading-title {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 0.3em;
    color: var(--brandi-gold);
    opacity: 0.7;
    margin: 16px 0;
}

.brandi-lede,
.brandi-lede p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--brandi-whisper);
    font-style: italic;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- 4. NAVIGATION ---------- */

.brandi-nav {
    backdrop-filter: blur(2px);
    transition: background 0.3s ease, padding 0.3s ease;
}

.brandi-nav-link .elementor-nav-menu li a {
    position: relative;
    transition: color 0.3s ease;
}
.brandi-nav-link .elementor-nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--brandi-gold);
    transition: width 0.3s ease, left 0.3s ease;
}
.brandi-nav-link .elementor-nav-menu li a:hover::after {
    width: 100%;
    left: 0;
}

/* ---------- 5. HERO SECTION ---------- */

.brandi-hero-eyebrow {
    text-align: center;
}
.brandi-hero-eyebrow .elementor-heading-title {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--brandi-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.brandi-hero-eyebrow .elementor-heading-title::before,
.brandi-hero-eyebrow .elementor-heading-title::after {
    content: '✦';
    color: var(--brandi-gold-soft);
    opacity: 0.7;
    font-size: 0.9em;
    line-height: 1;
}

.brandi-hero-headline .elementor-heading-title {
    font-family: 'LHFEncore Regular', 'Cormorant Garamond', Georgia, serif;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}
.brandi-hero-headline .elementor-heading-title em,
.brandi-hero-headline .elementor-heading-title .accent {
    color: var(--brandi-gold);
    font-style: normal;
}

.brandi-hero-sub,
.brandi-hero-sub p {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
}

.brandi-scroll-cue {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: brandi-bob 2.5s ease-in-out infinite;
}
@keyframes brandi-bob {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
    50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* ---------- 6. BUTTONS ---------- */

.brandi-btn .elementor-button {
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    z-index: 1;
}
.brandi-btn .elementor-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--brandi-gold);
    transition: left 0.4s ease;
    z-index: -1;
}
.brandi-btn .elementor-button:hover::before {
    left: 0;
}
.brandi-btn .elementor-button:hover {
    color: var(--brandi-ink-dark) !important;
}
.brandi-btn .elementor-button-content-wrapper,
.brandi-btn .elementor-button-text,
.brandi-btn .elementor-button-icon {
    position: relative;
    z-index: 2;
}

.brandi-btn-primary .elementor-button::before {
    background: var(--brandi-blood-deep);
}
.brandi-btn-primary .elementor-button:hover {
    color: var(--brandi-bone) !important;
}

/* ---------- 7. FEATURED SERIES — book cards ---------- */

.brandi-book-cover {
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    display: block;
}

.brandi-book-cover .elementor-widget-container,
.brandi-book-cover .elementor-image,
.brandi-book-cover a,
.brandi-book-cover img {
    border: 1px solid var(--brandi-line) !important;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(192, 137, 76, 0.05) !important;
    transition: box-shadow 0.5s ease, transform 0.5s ease !important;
}

.brandi-book-cover:hover {
    transform: translateY(-8px) !important;
}

.brandi-book-cover:hover .elementor-widget-container,
.brandi-book-cover:hover .elementor-image,
.brandi-book-cover:hover a,
.brandi-book-cover:hover img {
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.85),
        0 0 50px rgba(150, 27, 30, 0.6) !important;
}

.brandi-book-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.brandi-book-tag .elementor-heading-title {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--brandi-gold);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.brandi-book-title .elementor-heading-title {
    font-family: 'LHFEncore Inset', 'LHFEncore Regular', 'Cormorant Garamond', Georgia, serif;
    font-style: normal;
    font-size: 26px;
    color: var(--brandi-bone);
    line-height: 1.2;
    margin-bottom: 12px;
}

.brandi-book-tagline,
.brandi-book-tagline p {
    font-size: 14px;
    color: var(--brandi-whisper);
    font-style: italic;
    margin-bottom: 20px;
}

.brandi-buy-btn .elementor-button {
    border: 1px solid var(--brandi-line) !important;
    color: var(--brandi-whisper) !important;
    background: transparent !important;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 10px 16px;
}
.brandi-buy-btn .elementor-button:hover {
    border-color: var(--brandi-gold) !important;
    color: var(--brandi-gold) !important;
}

/* ---------- 8. ABOUT SECTION ---------- */

.brandi-about-images {
    position: relative;
    aspect-ratio: 4 / 5;
    max-width: 480px;
}

.brandi-author-main {
    position: absolute !important;
    inset: 0 25% 15% 0;
    z-index: 1;
}
.brandi-author-main .elementor-widget-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--brandi-line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
}
.brandi-author-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brandi-author-secondary {
    position: absolute !important;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    z-index: 2;
}
.brandi-author-secondary .elementor-widget-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 4px solid var(--brandi-ink-dark);
    box-shadow:
        0 0 0 1px var(--brandi-line),
        0 30px 60px rgba(0, 0, 0, 0.8);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
}
.brandi-author-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brandi-about-images:hover .brandi-author-main .elementor-widget-container,
.brandi-author-main:hover .elementor-widget-container {
    transform: translate(-10px, -10px);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.85),
        0 0 30px rgba(150, 27, 30, 0.3);
}
.brandi-about-images:hover .brandi-author-secondary .elementor-widget-container,
.brandi-author-secondary:hover .elementor-widget-container {
    transform: translate(10px, 10px);
    box-shadow:
        0 0 0 1px var(--brandi-line),
        0 40px 80px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(150, 27, 30, 0.3);
}

.brandi-about-content .brandi-eyebrow .elementor-heading-title {
    text-align: left;
}

.brandi-about-headline .elementor-heading-title {
    font-family: 'LHFEncore Regular', 'Cormorant Garamond', Georgia, serif;
    font-style: normal;
    font-size: clamp(32px, 3.5vw, 44px);
    line-height: 1.2;
    color: var(--brandi-bone);
    margin-bottom: 32px;
}
.brandi-about-headline .elementor-heading-title em,
.brandi-about-headline .elementor-heading-title .accent {
    color: var(--brandi-gold);
}

.brandi-about-bio,
.brandi-about-bio p {
    color: var(--brandi-whisper);
    font-size: 17px;
    line-height: 1.7;
}
.brandi-about-bio p {
    margin-bottom: 18px;
}

.brandi-about-sig .elementor-heading-title {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--brandi-gold);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    margin-top: 32px;
}
.brandi-about-sig .elementor-heading-title::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--brandi-gold);
    flex-shrink: 0;
}

/* ---------- 9. REVIEWS SECTION ---------- */

.brandi-reviews-section {
    position: relative;
}
.brandi-reviews-section::before,
.brandi-reviews-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brandi-gold), transparent);
    opacity: 0.3;
}
.brandi-reviews-section::before { top: 0; }
.brandi-reviews-section::after { bottom: 0; }

.brandi-review-card {
    position: relative;
    padding: 40px 32px;
    border: 1px solid var(--brandi-line);
    background: rgba(20, 10, 11, 0.4);
    transition: all 0.4s ease;
}
.brandi-review-card::before {
    content: '"';
    position: absolute;
    top: 8px;
    left: 16px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 80px;
    color: var(--brandi-gold);
    opacity: 0.25;
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}
.brandi-review-card:hover {
    border-color: rgba(192, 137, 76, 0.4) !important;
    transform: translateY(-4px);
}
.brandi-review-card > .elementor-widget-wrap,
.brandi-review-card > .e-con-inner {
    position: relative;
    z-index: 2;
}

.brandi-review-text,
.brandi-review-text p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.7;
    color: var(--brandi-bone);
    margin-bottom: 24px;
}

.brandi-review-author .elementor-heading-title {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--brandi-gold);
    text-transform: uppercase;
}

.brandi-review-source .elementor-heading-title {
    font-family: 'Cinzel', serif;
    font-size: 9px;
    letter-spacing: 0.25em;
    color: var(--brandi-whisper);
    text-transform: uppercase;
}

.brandi-review-meta-row {
    padding-top: 20px;
    border-top: 1px solid var(--brandi-line);
}

/* ---------- 10. NEWSLETTER FORM ---------- */

.brandi-newsletter-form form,
.brandi-newsletter-form .mc4wp-form-fields {
    max-width: 500px;
    margin: 40px auto 16px;
    border: 1px solid var(--brandi-line);
    background: rgba(20, 10, 11, 0.5);
    display: flex;
}
.brandi-newsletter-form input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 18px 24px;
    color: var(--brandi-bone);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 16px;
    outline: none;
}
.brandi-newsletter-form input[type="email"]::placeholder {
    color: rgba(216, 200, 180, 0.4);
    font-style: italic;
}
.brandi-newsletter-form input[type="submit"],
.brandi-newsletter-form button[type="submit"] {
    background: var(--brandi-blood);
    color: var(--brandi-bone);
    border: none;
    padding: 18px 32px;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}
.brandi-newsletter-form input[type="submit"]:hover,
.brandi-newsletter-form button[type="submit"]:hover {
    background: var(--brandi-blood-deep);
}

.brandi-fineprint,
.brandi-fineprint p {
    font-size: 13px;
    color: var(--brandi-whisper);
    font-style: italic;
    opacity: 0.7;
    margin-top: 8px;
    text-align: center;
}

/* ---------- 11. SOCIAL CARDS ---------- */

.brandi-social-card {
    border: 1px solid var(--brandi-line);
    transition: all 0.4s ease;
    cursor: pointer;
}
.brandi-social-card:hover {
    border-color: var(--brandi-gold) !important;
    background: rgba(192, 137, 76, 0.05);
    transform: translateY(-4px);
}
.brandi-social-card .elementor-icon-box-title,
.brandi-social-card .elementor-icon-box-title a {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 20px;
    color: var(--brandi-bone);
}
.brandi-social-card .elementor-icon-box-description {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brandi-whisper);
}
.brandi-social-card .elementor-icon {
    color: var(--brandi-gold) !important;
    fill: var(--brandi-gold) !important;
}

/* ---------- 12. FOOTER ---------- */

.brandi-footer {
    border-top: 1px solid var(--brandi-line);
}

.brandi-footer-heading .elementor-heading-title {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brandi-gold);
    margin-bottom: 20px;
}

.brandi-footer-link a {
    color: var(--brandi-whisper) !important;
    font-size: 15px;
    transition: color 0.3s ease;
}
.brandi-footer-link a:hover {
    color: var(--brandi-gold) !important;
}

.brandi-footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--brandi-line);
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--brandi-whisper);
}

/* ---------- 13. SECTION BACKGROUND VARIATIONS ---------- */

.brandi-section-gradient-1 {
    background: linear-gradient(180deg, #0d0a0a 0%, #140a0b 50%, #0d0a0a 100%) !important;
    position: relative;
}
.brandi-section-gradient-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brandi-gold), transparent);
    opacity: 0.3;
}

.brandi-section-gradient-2 {
    background: linear-gradient(180deg, #0d0a0a 0%, #150909 50%, #0d0a0a 100%) !important;
}

.brandi-section-gradient-3 {
    background: linear-gradient(180deg, #0d0a0a 0%, #140a0b 100%) !important;
}

/* ---------- 14. RESPONSIVE TWEAKS ---------- */

@media (max-width: 900px) {
    .brandi-about-images {
        max-width: 360px;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .brandi-newsletter-form form,
    .brandi-newsletter-form .mc4wp-form-fields {
        flex-direction: column;
    }
}

/* ---------- 15. MARQUEE CALLOUT ---------- */

.brandi-marquee {
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--brandi-line);
    border-bottom: 1px solid var(--brandi-line);
}

.brandi-marquee::before,
.brandi-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.brandi-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--brandi-ink-dark), transparent);
}
.brandi-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, var(--brandi-ink-dark), transparent);
}

.brandi-marquee .brandi-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 48px;
    white-space: nowrap;
    animation: brandi-scroll 35s linear infinite;
    will-change: transform;
}

.brandi-marquee .brandi-marquee-track > span {
    font-family: 'LHFEncore Regular', 'Cormorant Garamond', Georgia, serif;
    font-style: normal;
    font-size: clamp(28px, 3.2vw, 42px);
    color: var(--brandi-bone);
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.brandi-marquee .brandi-marquee-track > span:nth-child(even) {
    color: var(--brandi-gold);
    font-size: 0.6em;
    opacity: 0.7;
    font-family: 'Cinzel', serif;
}

.brandi-marquee:hover .brandi-marquee-track {
    animation-play-state: paused;
}

@keyframes brandi-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .brandi-marquee .brandi-marquee-track {
        animation-duration: 25s;
    }
}
/* ---------- 10b. NEWSLETTER FORM — SUCCESS/ERROR MESSAGES ---------- */

/* MC4WP wraps response messages in .mc4wp-response */
.brandi-newsletter-form .mc4wp-response {
    margin-top: 16px;
    text-align: center;
}

/* Success message styling */
.brandi-newsletter-form .mc4wp-response .mc4wp-alert,
.brandi-newsletter-form .mc4wp-alert.mc4wp-success,
.brandi-newsletter-form .mc4wp-success {
    background: rgba(150, 27, 30, 0.15) !important;
    border: 1px solid var(--brandi-gold) !important;
    color: var(--brandi-bone) !important;
    padding: 16px 24px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.5;
    margin-top: 20px;
}

.brandi-newsletter-form .mc4wp-success p,
.brandi-newsletter-form .mc4wp-alert.mc4wp-success p {
    color: var(--brandi-bone) !important;
    margin: 0;
}

/* Error/notice message styling */
.brandi-newsletter-form .mc4wp-error,
.brandi-newsletter-form .mc4wp-notice,
.brandi-newsletter-form .mc4wp-alert.mc4wp-error {
    background: rgba(150, 27, 30, 0.2) !important;
    border: 1px solid var(--brandi-blood) !important;
    color: var(--brandi-bone) !important;
    padding: 14px 20px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 16px;
    margin-top: 20px;
}

.brandi-newsletter-form .mc4wp-error p,
.brandi-newsletter-form .mc4wp-notice p {
    color: var(--brandi-bone) !important;
    margin: 0;
}

/* Hide the form after successful submission to clean up the layout */
.brandi-newsletter-form form.mc4wp-form-success .mc4wp-form-fields {
    display: none;
}

/* Make sure success message appears in place where form was */
.brandi-newsletter-form form.mc4wp-form-success .mc4wp-response {
    margin-top: 0;
}

/* Fix input width — make sure email field stretches full width */
.brandi-newsletter-form input[type="email"] {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
}