:root {
    --ldw-plum: #190D17;
    --ldw-ink: #34212D;
    --ldw-cream: #FAF5EE;
    --ldw-paper: #FFFFFF;
    --ldw-rosewood: #8B5E66;
    --ldw-blush: #F2CFD1;
    --ldw-mauve: #C4A3B7;
    --ldw-gold: #C8A84E;
    --ldw-muted: #75656F;
    --ldw-border: rgba(52, 33, 45, 0.13);
    --ldw-border-dark: rgba(250, 245, 238, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; overflow-x: clip; -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding: 0; }

:where(a, button, input, textarea, select, summary):focus-visible {
    outline: 2px solid var(--ldw-gold);
    outline-offset: 3px;
}

.ldw-site-header {
    z-index: 100;
    box-shadow: 0 8px 30px rgba(25, 13, 23, 0.04);
}
.ldw-header-brand { min-width: max-content; }
.ldw-header-brand .wp-block-site-logo img { display: block; }
.ldw-primary-navigation .wp-block-navigation-item__content { padding: 0.35rem 0; }
.ldw-primary-navigation .current-menu-item > .wp-block-navigation-item__content,
.ldw-primary-navigation .current-menu-ancestor > .wp-block-navigation-item__content {
    color: var(--ldw-rosewood);
}

.is-style-ldw-section-light,
.is-style-ldw-section-dark {
    position: relative;
    margin: 0;
    padding-top: clamp(4.5rem, 8vw, 8rem);
    padding-bottom: clamp(4.5rem, 8vw, 8rem);
}
.is-style-ldw-section-light { color: var(--ldw-ink); background: var(--ldw-cream); }
.is-style-ldw-section-dark {
    overflow: hidden;
    isolation: isolate;
    color: var(--ldw-cream);
    background:
        radial-gradient(circle at 12% 12%, rgba(139, 94, 102, 0.25), transparent 30rem),
        radial-gradient(circle at 90% 20%, rgba(196, 163, 183, 0.18), transparent 30rem),
        linear-gradient(135deg, #190D17, #382031);
}
.is-style-ldw-section-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.32;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(250,245,238,.9) 0 1px, transparent 1.3px),
        radial-gradient(circle, rgba(200,168,78,.8) 0 1px, transparent 1.3px);
    background-position: 0 0, 54px 72px;
    background-size: 150px 150px, 240px 240px;
}
.is-style-ldw-section-dark :where(h1,h2,h3,h4,h5,h6) { color: var(--ldw-cream); }
.is-style-ldw-section-dark :where(p,li) { color: rgba(250,245,238,.76); }

.is-style-ldw-card,
.is-style-ldw-card-dark,
.is-style-ldw-form-surface {
    position: relative;
    border-radius: 8px;
    padding: clamp(1.6rem, 3vw, 2.25rem);
}
.is-style-ldw-card {
    border: 1px solid var(--ldw-border);
    background: var(--ldw-paper);
    box-shadow: 0 24px 70px rgba(52, 33, 45, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.is-style-ldw-card::before,
.is-style-ldw-card-dark::before,
.is-style-ldw-form-surface::before {
    content: "";
    position: absolute;
    top: 0;
    right: 1.8rem;
    left: 1.8rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ldw-gold), transparent);
}
.is-style-ldw-card:hover,
.is-style-ldw-card:focus-within {
    border-color: rgba(200, 168, 78, 0.42);
    box-shadow: 0 32px 88px rgba(52, 33, 45, 0.13);
    transform: translateY(-5px);
}
.is-style-ldw-card-dark {
    border: 1px solid var(--ldw-border-dark);
    color: var(--ldw-cream);
    background: rgba(250, 245, 238, 0.055);
    box-shadow: inset 0 1px rgba(255,255,255,.05);
}
.is-style-ldw-card-dark :where(h1,h2,h3,h4,p) { color: inherit; }
.is-style-ldw-form-surface {
    border: 1px solid var(--ldw-border);
    background: var(--ldw-paper);
    box-shadow: 0 30px 90px rgba(52,33,45,.10);
}
.is-style-ldw-band {
    border-top: 1px solid var(--ldw-border);
    border-bottom: 1px solid var(--ldw-border);
    padding-top: var(--wp--preset--spacing--40);
    padding-bottom: var(--wp--preset--spacing--40);
}

.is-style-ldw-eyebrow {
    margin-bottom: 0.85rem;
    color: var(--ldw-rosewood) !important;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}
.is-style-ldw-section-dark .is-style-ldw-eyebrow { color: #E9CF83 !important; }
.is-style-ldw-lead {
    max-width: 46rem;
    color: var(--ldw-muted);
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.65;
}
.is-style-ldw-section-dark .is-style-ldw-lead { color: rgba(250,245,238,.74); }
.is-style-ldw-display { max-width: 14ch; font-size: clamp(3rem, 6.5vw, 6.6rem); text-wrap: balance; }

.is-style-ldw-editorial-image { overflow: hidden; border-radius: 8px; box-shadow: 0 30px 90px rgba(52,33,45,.16); }
.is-style-ldw-editorial-image img { display: block; width: 100%; height: auto; }
.is-style-ldw-icon { width: 4.5rem; margin-bottom: var(--wp--preset--spacing--40); }
.is-style-ldw-icon img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 22px rgba(52,33,45,.16)); }

.wp-block-button.is-style-ldw-primary .wp-block-button__link {
    border: 1px solid var(--ldw-plum);
    color: var(--ldw-cream);
    background: var(--ldw-plum);
}
.wp-block-button.is-style-ldw-primary .wp-block-button__link:hover,
.wp-block-button.is-style-ldw-primary .wp-block-button__link:focus-visible {
    color: var(--ldw-cream);
    background: var(--ldw-rosewood);
    border-color: var(--ldw-rosewood);
}
.wp-block-button.is-style-ldw-secondary .wp-block-button__link {
    border: 1px solid currentColor;
    color: currentColor;
    background: transparent;
}
.wp-block-button .wp-block-button__link { transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease; }
.wp-block-button .wp-block-button__link:hover { transform: translateY(-2px); }
.is-style-ldw-section-dark .wp-block-button.is-style-ldw-primary .wp-block-button__link {
    border-color: var(--ldw-cream);
    color: var(--ldw-plum);
    background: var(--ldw-cream);
}

.is-style-ldw-faq {
    border-top: 1px solid var(--ldw-border);
    padding: 1.25rem 0;
}
.is-style-ldw-faq:last-child { border-bottom: 1px solid var(--ldw-border); }
.is-style-ldw-faq summary { cursor: pointer; color: var(--ldw-ink); font-family: Georgia, 'Times New Roman', serif; font-size: 1.25rem; }
.is-style-ldw-faq[open] summary { color: var(--ldw-rosewood); }

/* Form foundation: applies to core HTML and common form plugins without custom scripts. */
main :where(form) { width: 100%; }
main :where(label, .ff-el-input--label label, .wpforms-field-label, .wpcf7-form label) {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--ldw-ink);
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
main :where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), textarea, select) {
    width: 100%;
    min-height: 3.25rem;
    border: 1px solid rgba(52,33,45,.22);
    border-radius: 3px;
    padding: 0.78rem 0.9rem;
    color: var(--ldw-ink);
    background: #fff;
    box-shadow: none;
    font: inherit;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
main :where(textarea) { min-height: 9rem; resize: vertical; }
main :where(input,textarea,select):focus {
    border-color: var(--ldw-gold);
    box-shadow: 0 0 0 3px rgba(200,168,78,.14);
    outline: 0;
}
main :where(button, input[type="submit"], input[type="button"]) {
    min-height: 3.1rem;
    border: 1px solid var(--ldw-plum);
    border-radius: 2px;
    padding: 0.8rem 1.35rem;
    color: var(--ldw-cream);
    cursor: pointer;
    background: var(--ldw-plum);
    font: inherit;
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
main :where(button, input[type="submit"], input[type="button"]):hover { background: var(--ldw-rosewood); border-color: var(--ldw-rosewood); }
main :where(.ff-el-group, .wpforms-field, .wpcf7-form-control-wrap, .sib-form-block) { margin-bottom: 1.15rem; }
main :where(.ff-el-is-error .text-danger, .wpforms-error, .wpcf7-not-valid-tip, .sib-form-message-panel--active) { color: #8C2E3D; font-size: 0.82rem; }
main :where(.ff-message-success, .wpforms-confirmation-container, .wpcf7-mail-sent-ok) {
    border: 1px solid rgba(68,116,83,.30);
    border-radius: 4px;
    padding: 1rem;
    color: #355C43;
    background: rgba(182,197,174,.22);
}

.ldw-site-footer .wp-block-navigation-item__content { color: rgba(250,245,238,.78); }
.ldw-site-footer .wp-block-navigation-item__content:hover { color: #fff; }
.ldw-site-footer .wp-block-social-link { background: transparent; }

@media (max-width: 782px) {
    .ldw-site-header { position: relative !important; }
    .ldw-primary-navigation .wp-block-navigation__responsive-container.is-menu-open {
        color: var(--ldw-cream);
        background: var(--ldw-plum);
    }
    .is-style-ldw-section-light,
    .is-style-ldw-section-dark { padding-top: 4.25rem; padding-bottom: 4.25rem; }
    .is-style-ldw-display { font-size: clamp(2.8rem, 14vw, 5rem); }
    .ldw-site-footer .wp-block-social-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
