:root {
    --sb-merlot: #4a0e17;
    --sb-merlot-dark: #350a10;
    --sb-olive: #3d4a3e;
    --sb-gold: #d4af37;
    --sb-cream: #faf7f2;
    --sb-espresso: #1f1a17;

    --sb-radius-sm: 8px;
    --sb-radius-md: 14px;
    --sb-radius-lg: 20px;
    --sb-radius-pill: 999px;

    --bs-primary: var(--sb-merlot);
    --bs-primary-rgb: 74, 14, 23;
    --bs-body-font-family: 'Inter', sans-serif;
    --bs-body-color: var(--sb-espresso);
    --bs-body-bg: var(--sb-cream);
    --bs-link-color: var(--sb-merlot);
    --bs-link-hover-color: var(--sb-merlot-dark);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--sb-cream);
    color: var(--sb-espresso);
}

h1, h2, h3, h4, h5, h6,
.font-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--sb-espresso);
}

.navbar {
    background-color: var(--sb-cream) !important;
    border-bottom: 1px solid rgba(74, 14, 23, 0.1) !important;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--sb-merlot) !important;
}

.text-gold, .navbar-brand .text-primary {
    color: var(--sb-gold) !important;
}

/* Header/nav lockup — subtle dot texture, rounded-square badge + stacked wordmark */
.sb-navbar {
    background-color: var(--sb-cream) !important;
    background-image: radial-gradient(rgba(74, 14, 23, 0.07) 1px, transparent 1px);
    background-size: 15px 15px;
}

.sb-header-wordmark {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sb-merlot);
    line-height: 1.15;
    letter-spacing: 0.01em;
    font-size: 0.95rem;
}

.sb-nav-link {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: var(--sb-espresso) !important;
}

.sb-nav-link:hover {
    color: var(--sb-merlot) !important;
}

.btn {
    --bs-btn-border-radius: 30px;
}

.btn-primary {
    --bs-btn-bg: var(--sb-merlot);
    --bs-btn-border-color: var(--sb-merlot);
    --bs-btn-hover-bg: var(--sb-merlot-dark);
    --bs-btn-hover-border-color: var(--sb-merlot-dark);
    --bs-btn-active-bg: var(--sb-merlot-dark);
    --bs-btn-active-border-color: var(--sb-merlot-dark);
    --bs-btn-color: var(--sb-cream);
    --bs-btn-hover-color: var(--sb-cream);
    --bs-btn-active-color: var(--sb-cream);
}

.btn-outline-primary {
    --bs-btn-color: var(--sb-merlot);
    --bs-btn-border-color: var(--sb-merlot);
    --bs-btn-hover-bg: var(--sb-merlot);
    --bs-btn-hover-border-color: var(--sb-merlot);
    --bs-btn-active-bg: var(--sb-merlot);
    --bs-btn-active-border-color: var(--sb-merlot);
}

.btn-success {
    --bs-btn-bg: var(--sb-olive);
    --bs-btn-border-color: var(--sb-olive);
    --bs-btn-hover-bg: #2e382f;
    --bs-btn-hover-border-color: #2e382f;
}

.btn-warning {
    --bs-btn-bg: var(--sb-gold);
    --bs-btn-border-color: var(--sb-gold);
    --bs-btn-color: var(--sb-espresso);
    --bs-btn-hover-bg: #b8952b;
    --bs-btn-hover-border-color: #b8952b;
    --bs-btn-hover-color: var(--sb-espresso);
}

.text-primary {
    color: var(--sb-merlot) !important;
}

/* Sub-heading label — replaces pill badges as category/meta tags */
.sb-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sb-merlot);
    background: none;
    border: none;
    border-left: 2px solid var(--sb-gold);
    border-radius: 0;
    padding: 0.1rem 0 0.1rem 0.6rem;
}

.sb-tag--muted {
    color: var(--sb-olive);
}

.card {
    border-color: rgba(74, 14, 23, 0.12);
    --bs-card-border-radius: var(--sb-radius-md);
    --bs-card-inner-border-radius: calc(var(--sb-radius-md) - 1px);
}

.rounded {
    border-radius: var(--sb-radius-md) !important;
}

.form-control,
.form-select {
    border-radius: var(--sb-radius-sm);
    background-color: rgba(31, 26, 23, 0.035);
    border-color: rgba(74, 14, 23, 0.18);
}

.form-control:focus,
.form-select:focus {
    background-color: #ffffff;
    border-color: var(--sb-merlot);
    box-shadow: 0 0 0 0.2rem rgba(74, 14, 23, 0.12);
}

footer.bg-dark {
    background-color: var(--sb-merlot) !important;
}

/* Site-wide footer */
.site-footer-cta {
    background: var(--sb-merlot);
    background-image: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.12), transparent 60%);
    color: var(--sb-cream);
    position: relative;
    overflow: hidden;
}

.site-footer-cta h2 {
    color: var(--sb-cream);
}

.footer-signup-card {
    display: flex;
    align-items: stretch;
    background: rgba(250, 247, 242, 0.08);
    border: 1px solid rgba(250, 247, 242, 0.25);
    border-radius: 999px;
    padding: 6px;
    max-width: 520px;
    margin: 0 auto;
}

.footer-signup-field {
    flex: 1 1 0;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

.footer-signup-field + .footer-signup-field::before {
    content: '';
    position: absolute;
    left: 0;
    top: 24%;
    bottom: 24%;
    width: 1px;
    background: rgba(250, 247, 242, 0.25);
}

.footer-signup-input {
    width: 100%;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 14px 18px;
    font-size: 0.95rem;
    color: var(--sb-cream);
    outline: none;
}

.footer-signup-input::placeholder {
    color: rgba(250, 247, 242, 0.6);
}

.footer-signup-submit {
    flex-shrink: 0;
    border: none;
    border-radius: 999px;
    background: var(--sb-gold);
    color: var(--sb-espresso);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0 24px;
    white-space: nowrap;
}

.footer-signup-submit:hover {
    background: #b8952b;
}

@media (max-width: 575.98px) {
    .footer-signup-card {
        flex-direction: column;
        border-radius: 20px;
    }

    .footer-signup-field + .footer-signup-field::before {
        left: 16px;
        right: 16px;
        top: 0;
        bottom: auto;
        width: auto;
        height: 1px;
    }

    .footer-signup-submit {
        padding: 14px;
        margin-top: 4px;
        border-radius: 14px;
    }
}

.site-footer-main {
    background: var(--sb-cream);
}

.site-footer-main a {
    color: var(--sb-espresso);
    text-decoration: none;
}

.site-footer-main a:hover {
    color: var(--sb-merlot);
    text-decoration: underline;
}

.site-footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a89e94;
}

.site-footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(74, 14, 23, 0.15);
    border-radius: 50%;
    color: var(--sb-merlot) !important;
    font-size: 0.9rem;
}

.site-footer-social:hover {
    background: var(--sb-merlot);
    color: var(--sb-cream) !important;
}

/* Cookie consent banner */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    padding: 1rem;
}

.cookie-consent-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--sb-cream);
    border: 1px solid rgba(74, 14, 23, 0.15);
    border-radius: var(--sb-radius-md);
    box-shadow: 0 -8px 32px rgba(31, 26, 23, 0.18), 0 2px 10px rgba(31, 26, 23, 0.08);
    padding: 1.25rem 1.5rem;
}

.cookie-consent-text {
    font-size: 0.9rem;
    color: var(--sb-espresso);
    margin-bottom: 1rem;
}

.cookie-consent-text a {
    color: var(--sb-merlot);
    font-weight: 600;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.cookie-consent-details {
    margin-top: 1rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(74, 14, 23, 0.1);
}

.cookie-toggle-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(74, 14, 23, 0.08);
}

.cookie-toggle-row:last-of-type {
    border-bottom: none;
}

.cookie-toggle-title {
    font-weight: 600;
    margin-bottom: 0.15rem;
    font-size: 0.9rem;
    color: var(--sb-espresso);
}

.cookie-toggle-desc {
    font-size: 0.8rem;
    color: #7a7168;
    margin-bottom: 0;
}

.cookie-consent .form-check-input {
    width: 2.25em;
    cursor: pointer;
}

.cookie-consent .form-check-input:checked {
    background-color: var(--sb-merlot);
    border-color: var(--sb-merlot);
}

.cookie-consent .form-check-input:focus {
    border-color: var(--sb-merlot);
    box-shadow: 0 0 0 0.25rem rgba(74, 14, 23, 0.15);
}

@media (max-width: 575.98px) {
    .cookie-consent-actions {
        justify-content: stretch;
    }

    .cookie-consent-actions .btn {
        flex: 1 1 auto;
    }
}

/* Shared newsletter hero + signup card (home page and landing page) */
.sb-hero {
    background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.12), transparent 60%),
                linear-gradient(180deg, rgba(74, 14, 23, 0.06), rgba(74, 14, 23, 0) 70%);
}

.sb-eyebrow {
    display: inline-block;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sb-merlot);
    background: none;
    border: none;
    border-bottom: 2px solid var(--sb-gold);
    border-radius: 0;
    padding: 0 0 0.4rem;
}

.sb-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(74, 14, 23, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--sb-merlot);
    margin-bottom: 1rem;
}

/* Large decorative quote mark — replaces emoji/icon accents in testimonials */
.sb-quote-mark {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 4.5rem;
    line-height: 1;
    color: var(--sb-gold);
    margin-bottom: 0.5rem;
}

/* List item with a gold rule marker instead of an icon/emoji bullet */
.sb-check-list {
    list-style: none;
    padding-left: 0;
}

.sb-check-list li {
    padding-left: 1rem;
    border-left: 2px solid var(--sb-gold);
}

.sb-signup-card {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 24px 48px -18px rgba(74, 14, 23, 0.28), 0 2px 10px rgba(31, 26, 23, 0.06);
    padding: 6px;
    max-width: 620px;
    margin: 0 auto;
}

.sb-signup-field {
    flex: 1 1 0;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

.sb-signup-field + .sb-signup-field::before {
    content: '';
    position: absolute;
    left: 0;
    top: 24%;
    bottom: 24%;
    width: 1px;
    background: rgba(31, 26, 23, 0.1);
}

.sb-signup-input {
    width: 100%;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 16px 20px;
    font-size: 1rem;
    color: var(--sb-espresso);
    outline: none;
}

.sb-signup-input::placeholder {
    color: #a89e94;
}

.sb-signup-submit {
    flex-shrink: 0;
    border: none;
    border-radius: 999px;
    background: var(--sb-merlot);
    color: var(--sb-cream);
    font-weight: 600;
    padding: 0 28px;
    white-space: nowrap;
}

.sb-signup-submit:hover {
    background: var(--sb-merlot-dark);
}

.sb-signup-meta {
    max-width: 620px;
    margin: 1rem auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.sb-avatar-stack {
    display: inline-flex;
}

.sb-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sb-olive), var(--sb-merlot));
    border: 2px solid var(--sb-cream);
    margin-left: -8px;
}

.sb-avatar:first-child {
    margin-left: 0;
}

@media (max-width: 575.98px) {
    .sb-signup-card {
        flex-direction: column;
        border-radius: 20px;
    }

    .sb-signup-field + .sb-signup-field::before {
        left: 16px;
        right: 16px;
        top: 0;
        bottom: auto;
        width: auto;
        height: 1px;
    }

    .sb-signup-submit {
        padding: 16px;
        margin-top: 4px;
        border-radius: 14px;
    }
}

.sb-cta-band {
    background: var(--sb-merlot);
    color: var(--sb-cream);
}

.sb-cta-band h2 {
    color: var(--sb-cream);
}

.sb-modal-content {
    background: var(--sb-cream);
    border: none;
    border-radius: var(--sb-radius-lg);
    box-shadow: 0 24px 60px -20px rgba(31, 26, 23, 0.4);
}
