/* Contact page styles. Extracted from pages/contact.php on 2026-05-10. */

.reg-grid{
    position:relative;
    max-width: 1140px;
    margin: 0 auto;
    display:grid;
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 56px);
    align-items:start;
}
@media (min-width: 960px){
    .reg-grid{ grid-template-columns: 1fr 1fr; }
}

.reg-lede{ position:relative; }

.reg-kicker{
    display:inline-flex; align-items:center; gap:10px;
    font-family:'Fraunces', serif;
    font-size: 12px; letter-spacing:.22em; text-transform:uppercase;
    color: var(--accent);
    font-weight: 500;
}
.reg-kicker .dot{
    width:6px; height:6px; border-radius:50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--bmm-accent) 12%, transparent);
}

.reg-h1{
    font-family:'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin: 18px 0 14px;
    color: var(--ink);
}
.reg-h1 em{ font-style: italic; font-weight: 400; color: var(--accent); }

.reg-lede p{
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 52ch;
    margin: 0 0 28px;
    font-weight: 400;
}
.reg-lede p a{ color: var(--accent); text-decoration:none; border-bottom:1px solid color-mix(in srgb, var(--bmm-accent) 35%, transparent); }
.reg-lede p a:hover{ border-bottom-color: var(--accent); }

.bene{
    position:relative;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 22px 22px 18px;
    border-radius: 2px;
}
.bene::before, .bene::after{
    content:""; position:absolute; width:14px; height:14px;
    border: 1px solid var(--accent);
    opacity:.85;
}
.bene::before{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
.bene::after{ bottom:-1px; right:-1px; border-left:none; border-top:none; }

.bene-head{
    display:flex; align-items:center; justify-content:space-between;
    padding-bottom: 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line-soft);
}
.bene-head .lbl{
    font-size: 12px; letter-spacing:.18em; text-transform:uppercase;
    color: var(--muted); font-weight: 500;
    display:flex; align-items:center; gap:10px;
}
.bene-head .seal{
    width: 22px; height: 22px;
    display:inline-grid; place-items:center;
    color: var(--accent);
}
.bene-head .tag{
    font-family:'Fraunces', serif;
    font-size: 14px; font-style: italic; font-weight: 500;
    color: var(--accent);
}

.bene ul{
    list-style:none; padding:0; margin: 6px 0 0;
    display:grid; gap: 2px;
}
.bene li{
    display:grid; grid-template-columns: 22px 1fr;
    align-items: baseline; gap: 12px;
    padding: 11px 2px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px; line-height:1.45;
    color: var(--ink);
}
.bene li:last-child{ border-bottom:none; }
.bene li .mk{
    color: var(--accent); opacity:.85;
    font-size: 14px; line-height:1;
}
.bene li strong{ font-weight: 600; color: var(--ink); }
.bene li a{ color: var(--accent); text-decoration:none; border-bottom:1px solid color-mix(in srgb, var(--bmm-accent) 35%, transparent); }
.bene li a:hover{ border-bottom-color: var(--accent); }
.bene li .lbl-k{
    display:block;
    font-size: 11px; letter-spacing:.14em; text-transform:uppercase;
    color: var(--muted); font-weight:500; margin-bottom:2px;
}

.partner{
    display:flex; align-items:center; gap:14px;
    margin-top: 22px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    background: var(--paper-tint);
    color: var(--ink);
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
    border-radius: 2px;
}
.partner:hover{
    border-color: var(--accent);
    background: var(--paper);
    transform: translateY(-1px);
}
.partner .icon{
    width: 34px; height: 34px; flex: 0 0 34px;
    display:grid; place-items:center;
    border: 1px solid var(--line);
    color: var(--accent);
    background: #fff;
}
.partner .txt{ display:flex; flex-direction:column; gap:1px; flex:1; }
.partner .t1{ font-size: 15px; font-weight: 500; }
.partner .t2{ font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.partner .go{ color: var(--accent); font-weight:500; font-size: 14px; transition: transform .2s ease; }
.partner:hover .go{ transform: translateX(4px); }

.card{
    position:relative;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: clamp(22px, 3vw, 36px);
    border-radius: 2px;
    box-shadow:
        0 1px 0 rgba(20,18,26,.02),
        0 20px 50px -30px color-mix(in srgb, var(--bmm-accent) 18%, transparent);
}
.card .crn{
    position:absolute; width: 14px; height: 14px;
    border: 1px solid var(--accent);
    opacity: .75;
}
.card .crn.tl{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
.card .crn.tr{ top:-1px; right:-1px; border-left:none; border-bottom:none; }
.card .crn.bl{ bottom:-1px; left:-1px; border-right:none; border-top:none; }
.card .crn.br{ bottom:-1px; right:-1px; border-left:none; border-top:none; }

.card-head{
    display:flex; align-items:baseline; justify-content: space-between;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line-soft);
}
.card-head h2{
    font-family:'Fraunces', serif;
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--ink);
}
.card-head h2 em{ font-style: italic; color: var(--accent); font-weight: 400; }
.card-head .note{ font-size: 12px; color: var(--muted); letter-spacing:.04em; }

.fgrid{
    display:grid; grid-template-columns: 1fr 1fr; gap: 16px 16px;
}
.fgrid .full{ grid-column: 1 / -1; }
@media (max-width: 560px){ .fgrid{ grid-template-columns: 1fr; } }

.f{ display:flex; flex-direction:column; gap: 7px; }
.f label{
    font-size: 12px; font-weight: 500;
    letter-spacing: .05em;
    color: var(--ink);
    display:flex; align-items:center; gap: 8px;
}
.f label .n{
    font-size: 10px; color: var(--accent); letter-spacing: .1em;
    font-variant-numeric: tabular-nums;
}
.f input[type="text"],
.f input[type="email"],
.f textarea{
    appearance:none; -webkit-appearance:none;
    width: 100%;
    font-family:'Fraunces', serif;
    font-size: 15px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    padding: 12px 13px;
    border-radius: 2px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.f textarea{ resize: vertical; min-height: 180px; line-height:1.55; }
.f input::placeholder, .f textarea::placeholder{ color: #b4b1c0; }
.f input:hover, .f textarea:hover{ border-color: #d3cde2; }
.f input:focus, .f textarea:focus{
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--bmm-accent) 15%, transparent);
}
.f .hint{ font-size: 12px; color: var(--muted); line-height:1.45; }

.cap-slot{
    margin-top: 6px;
    padding: 12px;
    border: 1px dashed var(--line);
    background: var(--paper-tint);
    display:flex; justify-content: center;
    border-radius: 2px;
}

.err{
    border: 1px solid #f1c5c5;
    background: var(--danger-bg);
    color: #7a1717;
    padding: 12px 14px;
    font-size: 14px; line-height: 1.5;
    border-radius: 2px;
}
.err strong{
    display:block;
    font-size: 12px; letter-spacing: .08em;
    color: var(--danger); margin-bottom: 4px;
    font-weight: 600;
}

.btn{
    appearance:none; border: none; cursor:pointer;
    width: 100%;
    height: 52px;
    font-family:'Fraunces', serif;
    font-size: 16px; font-weight: 500; letter-spacing: .01em;
    color: #fff;
    background: var(--accent);
    border-radius: 2px;
    position:relative; overflow:hidden;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
    box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--bmm-accent) 5%, transparent);
}
.btn:hover{ background: var(--accent-deep); transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(91,33,182,.55); }
.btn:active{ transform: translateY(0); }
.btn::after{
    content:""; position:absolute; top:0; bottom:0; width:40%; left:-50%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
    transform: skewX(-18deg);
    transition: left .7s cubic-bezier(.2,.7,.3,1);
}
.btn:hover::after{ left: 140%; }

.covenant{
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
    font-size: 12px; line-height: 1.55; color: var(--muted);
}
.covenant a{ color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--bmm-accent) 3%, transparent); }

/* ===== Success page ===== */
.ok-wrap{ max-width: 760px; margin: 0 auto; }
.ok-card{
    position:relative;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: clamp(32px, 5vw, 56px) clamp(22px, 4vw, 48px);
    border-radius: 2px;
    text-align: center;
    box-shadow:
        0 1px 0 rgba(20,18,26,.02),
        0 20px 50px -30px color-mix(in srgb, var(--bmm-accent) 18%, transparent);
}
.ok-card .crn{
    position:absolute; width: 14px; height: 14px;
    border: 1px solid var(--accent); opacity: .75;
}
.ok-card .crn.tl{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
.ok-card .crn.tr{ top:-1px; right:-1px; border-left:none; border-bottom:none; }
.ok-card .crn.bl{ bottom:-1px; left:-1px; border-right:none; border-top:none; }
.ok-card .crn.br{ bottom:-1px; right:-1px; border-left:none; border-top:none; }

.ok-seal{
    width: 72px; height: 72px;
    margin: 0 auto 18px;
    display:grid; place-items:center;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    background: var(--accent-soft);
    position: relative;
}
.ok-seal::before, .ok-seal::after{
    content:""; position:absolute; width: 10px; height: 10px;
    border: 1px solid var(--accent); opacity: .65;
}
.ok-seal::before{ top:-6px; left:-6px; border-right:none; border-bottom:none; }
.ok-seal::after{ bottom:-6px; right:-6px; border-left:none; border-top:none; }

.ok-kicker{
    display:inline-flex; align-items:center; gap:10px;
    font-size: 12px; letter-spacing:.22em; text-transform:uppercase;
    color: var(--accent); font-weight: 500; margin-bottom: 6px;
}
.ok-kicker .dot{
    width:6px; height:6px; border-radius:50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--bmm-accent) 12%, transparent);
}
.ok-card h1{
    font-family:'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin: 10px 0 14px;
    color: var(--ink);
}
.ok-card h1 em{ font-style: italic; color: var(--accent); font-weight: 400; }
.ok-card p{
    font-size: 16px; line-height: 1.65; color: var(--ink-soft);
    max-width: 52ch; margin: 0 auto 10px;
}
.ok-sign{
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
    font-family:'Fraunces', serif;
    font-style: italic; font-size: 15px; color: var(--ink);
}
.ok-sign span{ color: var(--accent); }

.ok-actions{
    margin-top: 24px;
    display:flex; justify-content:center; gap: 12px; flex-wrap: wrap;
}
.ok-actions a{
    display:inline-flex; align-items:center; gap: 8px;
    padding: 11px 18px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    text-decoration: none;
    font-size: 14px; font-weight: 500;
    border-radius: 2px;
    transition: border-color .2s ease, color .2s ease, transform .2s ease, background .2s ease;
}
.ok-actions a.primary{
    background: var(--accent); color: #fff; border-color: var(--accent);
    box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--bmm-accent) 5%, transparent);
}
.ok-actions a:hover{ border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.ok-actions a.primary:hover{ background: var(--accent-deep); border-color: var(--accent-deep); color:#fff; }

/* Reveal */
.reg-wrap .rv{ opacity: 0; transform: translateY(10px); animation: rise .7s cubic-bezier(.2,.7,.25,1) forwards; }
.rv.d1{ animation-delay: .04s; } .rv.d2{ animation-delay: .14s; }
.rv.d3{ animation-delay: .24s; } .rv.d4{ animation-delay: .34s; }
@keyframes rise{ to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){
    .reg-wrap .rv{ animation:none; opacity:1; transform:none; }
}
