/* All rules are scoped to this plugin. The active theme supplies local fonts. */
.bhnl,
.bhnl-invitation {
    --bhnl-ink: #1e211f;
    --bhnl-muted: #50584e;
    --bhnl-burgundy: #71312f;
    --bhnl-sage: #e3e5db;
    --bhnl-line: #c5c9bd;
    --bhnl-serif: var(--wp--preset--font-family--editorial, "Libre Caslon Display", Georgia, serif);
    --bhnl-sans: var(--wp--preset--font-family--body, "DM Sans", Arial, sans-serif);
    color: var(--bhnl-ink);
    font: 400 16px/1.65 var(--bhnl-sans);
}
.bhnl,
.bhnl *,
.bhnl-invitation,
.bhnl-invitation * { box-sizing: border-box; }
.bhnl a,
.bhnl-invitation a { text-underline-offset: .2em; }
.bhnl :is(a, button, input):focus-visible,
.bhnl-invitation a:focus-visible { outline: 3px solid #9b6518; outline-offset: 4px; }
.bhnl {
    width: min(1280px, calc(100% - 96px));
    margin: 1rem auto 3.5rem;
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    background: var(--bhnl-sage);
    border-top: 5px solid var(--bhnl-burgundy);
    scroll-margin-top: 2rem;
}
.bhnl-copy { min-width: 0; padding: 3.2rem 3.25rem 2.8rem; }
.bhnl .bhnl-eyebrow,
.bhnl-invitation .bhnl-eyebrow {
    margin: 0 0 1.1rem;
    font: 700 .7rem/1.6 var(--bhnl-sans);
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--bhnl-burgundy);
}
.bhnl #bhnl-heading {
    margin: 0 0 1.7rem;
    font: 400 clamp(3rem, 4.8vw, 4.9rem)/.99 var(--bhnl-serif);
    letter-spacing: -.025em;
    text-wrap: balance;
}
.bhnl .bhnl-standfirst { margin: 0 0 .9rem; max-width: 30rem; font-size: 1.15rem; line-height: 1.65; }
.bhnl .bhnl-intro { margin: 0 0 2rem; max-width: 31rem; font-size: .91rem; line-height: 1.75; color: var(--bhnl-muted); }
.bhnl-benefits { border-top: 1px solid var(--bhnl-line); padding-top: .5rem; }
.bhnl-benefit { display: flex; align-items: baseline; gap: 1rem; padding: .9rem 0; }
.bhnl-number { font: 400 1.4rem/1.2 var(--bhnl-serif); color: var(--bhnl-burgundy); }
.bhnl-benefits h3 { margin: 0 0 .2rem; font: 600 .95rem/1.5 var(--bhnl-sans); }
.bhnl-benefits p { margin: 0; max-width: 26rem; font-size: .85rem; line-height: 1.65; color: var(--bhnl-muted); }
.bhnl-form {
    position: relative;
    min-width: 0;
    margin: 2rem 2rem 2rem 0;
    padding: 2.1rem 2.15rem;
    background: #fffdf8;
    border: 1px solid #d3d0c7;
    align-self: start;
    box-shadow: 0 8px 20px #24302009;
}
.bhnl .bhnl-kicker { margin: 0 0 .7rem; font-size: .65rem; letter-spacing: .1em; font-weight: 700; text-transform: uppercase; color: var(--bhnl-burgundy); }
.bhnl #bhnl-form-heading { margin: 0 0 .65rem; font: 400 2.25rem/1.12 var(--bhnl-serif); letter-spacing: -.01em; }
.bhnl .bhnl-form-intro { margin: 0 0 1.35rem; font-size: .81rem; line-height: 1.65; color: var(--bhnl-muted); }
.bhnl-field { margin-bottom: 1rem; }
.bhnl-field > label { display: block; margin-bottom: .35rem; font-size: .83rem; font-weight: 600; }
.bhnl-field label span { font-size: .75rem; font-weight: 400; color: var(--bhnl-muted); }
.bhnl-field input {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 47px;
    border: 1px solid #aaa99f;
    border-radius: 0;
    padding: .55rem .7rem;
    background: #fff;
    color: var(--bhnl-ink);
    font: 400 16px/1.5 var(--bhnl-sans);
}
.bhnl-field input:hover { border-color: var(--bhnl-ink); }
.bhnl .bhnl-help { margin: .4rem 0 0; font-size: .72rem; line-height: 1.5; color: var(--bhnl-muted); }
.bhnl-consent { display: flex; align-items: flex-start; gap: .65rem; margin: 1.25rem 0 .8rem; }
.bhnl-consent input { flex: 0 0 19px; width: 19px; height: 19px; margin: .16rem 0 0; accent-color: var(--bhnl-burgundy); }
.bhnl-consent label { font-size: .79rem; line-height: 1.65; cursor: pointer; }
.bhnl .bhnl-privacy { margin: 0 0 1.2rem; font-size: .73rem; line-height: 1.65; color: var(--bhnl-muted); }
.bhnl-privacy a { color: var(--bhnl-burgundy); text-decoration: underline; }
.bhnl-honeypot { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.bhnl .bhnl-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 49px;
    padding: .8rem 1rem;
    border: 1px solid var(--bhnl-burgundy);
    border-radius: 0;
    color: #fff;
    background: var(--bhnl-burgundy);
    font: 600 .87rem/1.5 var(--bhnl-sans);
    cursor: pointer;
}
.bhnl-submit span:last-child { font-size: 1.3rem; line-height: 1; }
.bhnl .bhnl-submit:hover { background: #542522; border-color: #542522; }
.bhnl .bhnl-footnote { margin: .8rem 0 0; font-size: .72rem; line-height: 1.65; color: var(--bhnl-muted); }
.bhnl-invitation {
    width: 100%;
    max-width: 760px;
    margin: 2.5rem auto 0;
    padding: 1.7rem 1.9rem;
    background: var(--bhnl-sage);
    border-top: 3px solid var(--bhnl-burgundy);
}
.bhnl-invitation .bhnl-eyebrow { margin-bottom: .45rem; }
.bhnl-invitation h2 { margin: 0 0 .7rem; font: 400 2rem/1.15 var(--bhnl-serif); }
.bhnl-invitation p:not(.bhnl-eyebrow) { margin: 0 0 1rem; font-size: .9rem; line-height: 1.7; }
.bhnl-invitation .bhnl-invitation-link { display: inline-block; padding: .25rem 0; color: var(--bhnl-burgundy); font-size: .88rem; font-weight: 700; text-decoration: underline; }
@media (max-width: 1050px) {
    .bhnl { width: calc(100% - 64px); grid-template-columns: 1fr 1fr; }
    .bhnl-copy { padding: 2.5rem 2rem; }
    .bhnl-form { margin: 1.5rem 1.5rem 1.5rem 0; padding: 1.8rem 1.5rem; }
    .bhnl #bhnl-heading { font-size: 3.75rem; }
    .bhnl #bhnl-form-heading { font-size: 2rem; }
}
@media (max-width: 780px) {
    .bhnl { grid-template-columns: 1fr; }
    .bhnl-copy { padding-bottom: 1rem; }
    .bhnl-benefits { display: none; }
    .bhnl-form { margin: 0 2rem 2rem; padding: 1.6rem; }
    .bhnl #bhnl-heading { font-size: 3.65rem; }
    .bhnl .bhnl-standfirst { max-width: none; font-size: 1.05rem; }
    .bhnl .bhnl-intro { max-width: none; margin-bottom: 1rem; }
}
@media (max-width: 500px) {
    .bhnl { width: calc(100% - 32px); }
    .bhnl-copy { padding: 1.8rem 1.3rem .6rem; }
    .bhnl #bhnl-heading { font-size: 3.1rem; }
    .bhnl-form { margin: 0 .85rem .85rem; padding: 1.3rem 1.1rem; }
    .bhnl-invitation { padding: 1.4rem; }
}
@media print {
    .bhnl, .bhnl-invitation { display: none; }
}
