/* Conclave registration page (registration.html). Loaded after site-shell.css. */
.reg-hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding: 168px var(--gutter) 150px; color: #fff;
    background: #00123a url('../assets/figma-home/home-banner-2027.jpg') center 30% / cover no-repeat;
}
.reg-hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(75deg, rgba(255, 255, 255, 0) 40%, rgba(0, 18, 58, .38) 90%),
        linear-gradient(90deg, #00123a 0%, rgba(7, 55, 99, .8) 55%, rgba(176, 192, 221, .1) 100%);
}
.reg-hero-inner { max-width: 760px; }
.reg-back-link { display: flex; width: max-content; align-items: center; gap: 8px; margin-bottom: 32px; font-size: 14px; line-height: 21px; color: rgba(255, 255, 255, .7); transition: color .2s ease, transform .2s ease; }
.reg-back-link:hover { color: var(--gold); transform: translateX(-3px); }
.reg-eyebrow {
    display: block; width: max-content; margin-bottom: 18px; padding: 6px 14px; border: 1px solid rgba(245, 177, 35, .6); border-radius: 1000px;
    font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
}
.reg-hero h1 { font: 400 55px/1.15 var(--display); }
.reg-hero h1 em { font-style: normal; color: var(--gold); }
.reg-tagline { margin-top: 14px; font: italic 400 20px/1.4 var(--text-serif); color: #d1d1d6; }
.reg-description { max-width: 600px; margin-top: 18px; font-size: 18px; line-height: 1.6; color: #e5e5e5; }

.reg-body { padding: 0 var(--gutter) 96px; background: linear-gradient(136deg, #fdf8f6, #d6e4f2); }
.reg-layout {
    position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px;
    max-width: 1280px; margin: -90px auto 0;
}
.reg-aside {
    display: flex; flex-direction: column; overflow: hidden; align-self: start;
    border-radius: 20px; background: linear-gradient(180deg, #073763, #00123a); color: #fff;
    box-shadow: 0 20px 40px rgba(0, 18, 58, .18);
}
.reg-aside img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.reg-aside-copy { padding: 28px 32px 34px; }
.reg-aside h2 { font: 400 28px/1.2 var(--text-serif); }
.reg-aside ul { display: grid; gap: 14px; margin-top: 18px; }
.reg-aside li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.55; color: #dfe6f1; }
.reg-aside li::before { content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }

.reg-card {
    align-self: start; padding: 40px; border: 1px solid #e2e8f0; border-radius: 20px; background: #fff;
    box-shadow: 0 20px 40px rgba(0, 18, 58, .12);
}
.reg-form-head h2, .reg-success h2 { font: 400 32px/1.2 var(--text-serif); color: var(--navy); }
.reg-form-head p { margin-top: 8px; font-size: 14px; color: #5a6780; }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 28px; }
.reg-wide { grid-column: 1 / -1; }
.reg-field { display: flex; flex-direction: column; gap: 8px; }
.reg-field > span { font-size: 14px; font-weight: 700; color: #12283f; }
.reg-field input, .reg-field select {
    width: 100%; height: 48px; padding: 0 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff;
    font: 400 15px/1.2 var(--sans); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.reg-field select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6780' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center no-repeat; }
.reg-field input::placeholder { color: #94a3b8; }
.reg-field input:focus, .reg-field select:focus { outline: none; border-color: #073763; box-shadow: 0 0 0 3px rgba(245, 177, 35, .45); }
.reg-field.is-invalid input, .reg-field.is-invalid select { border-color: #d93b0c; }
.reg-error { min-height: 0; font-size: 13px; line-height: 1.3; color: #c2370b; }
.reg-error:empty { display: none; }
.reg-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: #475569; cursor: pointer; }
.reg-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #073763; }
.reg-check a { color: #073763; text-decoration: underline; }
.reg-submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 14px;
    min-height: 50px; margin-top: 30px; padding: 0 28px; border: 0; border-radius: 1000px;
    background: #f34a16; color: #fff; font: 700 16px/1.2 var(--sans); transition: background-color .2s ease;
}
.reg-submit span { font-size: 22px; line-height: 1; }
.reg-submit:hover { background: #d93b0c; }
.reg-submit:disabled { opacity: .65; cursor: progress; }
.reg-status { margin-top: 14px; font-size: 14px; color: #475569; }
.reg-status.is-error { color: #c2370b; }

.reg-success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; outline: none; }
.reg-success[hidden] { display: none; }
.reg-success-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #e7f6ec; }
.reg-success-icon svg { width: 30px; height: 30px; fill: none; stroke: #1f8a4c; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.reg-success p { font-size: 16px; line-height: 1.6; color: #475569; }
.reg-success-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.reg-success-actions .reg-submit { margin-top: 6px; }
.reg-link { margin-top: 6px; font-weight: 700; color: #073763; text-decoration: underline; }

@media (max-width: 1023px) {
    .reg-layout { grid-template-columns: 1fr; }
    .reg-aside { order: 2; }
}
@media (max-width: 767px) {
    .reg-hero { padding: 116px 20px 110px; }
    .reg-hero h1 { font-size: 38px; }
    .reg-tagline { font-size: 18px; }
    .reg-description { font-size: 16px; }
    .reg-body { padding: 0 16px 64px; }
    .reg-layout { margin-top: -70px; gap: 24px; }
    .reg-card { padding: 26px 20px; border-radius: 16px; }
    .reg-grid { grid-template-columns: 1fr; }
    .reg-submit { width: 100%; }
    .reg-aside-copy { padding: 24px 22px 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .reg-back-link, .reg-field input, .reg-field select, .reg-submit { transition: none; }
}
