/* Hallmark · redesign: full · genre: playful editorial · theme: registry-office poster · v2.0.0 */
/* Critique: a comic official notice, readable like a real form; checks and all participant fields remain native. */
:root {
    --strict-paper: #f7f7f2;
    --strict-white: #fdfdfa;
    --strict-ink: #111512;
    --strict-muted: #4d5550;
    --strict-red: #b81023;
    --strict-red-deep: #8e0d1c;
    --strict-red-pale: #fff0ef;
    --strict-green: #164c36;
    --strict-green-pale: #e7f0e9;
    --strict-line: #262c28;
    --strict-soft-line: #c2c9c2;
    --strict-shadow: #111512;
    --strict-overlay: rgb(9 15 12 / .74);
    --strict-focus: #145bb1;
    --strict-disabled: #d6d9d5;
    --strict-body: Arial, 'Segoe UI', sans-serif;
    --strict-display: 'Arial Black', 'Arial Bold', Arial, sans-serif;
}

.wedding-registration-page .appearance-preview-banner {
    margin: 16px 0 0;
    padding: 12px 16px;
    border: 2px solid var(--strict-ink);
    background: var(--strict-white);
    color: var(--strict-ink);
    font-weight: 700;
}

.wedding-registration-page .appearance-preview-fields {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

/* User-supplied headings and captions may be longer than the default copy. */
.wedding-registration-page .picnic-brand,
.wedding-registration-page .strict-stamp,
.wedding-registration-page .picnic-photo-caption,
.wedding-registration-page .strict-form-ribbon,
.wedding-registration-page .closed-lead,
.wedding-registration-page .closed-guest-note,
.wedding-registration-page .closed-signoff,
.wedding-registration-page .closed-art p {
    min-width: 0;
    overflow-wrap: anywhere;
}

.wedding-registration-page {
    --picnic-paper: var(--strict-paper);
    --picnic-sheet: var(--strict-white);
    --picnic-sheet-alt: var(--strict-paper);
    --picnic-ink: var(--strict-ink);
    --picnic-muted: var(--strict-muted);
    --picnic-green: var(--strict-green);
    --picnic-green-dark: var(--strict-ink);
    --picnic-green-soft: var(--strict-green-pale);
    --picnic-berry: var(--strict-red);
    --picnic-berry-soft: var(--strict-red-pale);
    --picnic-border: var(--strict-line);
    --picnic-rule: var(--strict-soft-line);
    --picnic-focus: var(--strict-focus);
    --picnic-white: var(--strict-white);
    --picnic-overlay: var(--strict-overlay);
    --picnic-display: var(--strict-display);
    --picnic-body: var(--strict-body);
    background: var(--strict-paper);
    color: var(--strict-ink);
    font-family: var(--strict-body);
}

.wedding-registration-page main.container {
    max-width: 1280px;
    padding: 0 32px 80px !important;
}

.wedding-registration-page .picnic-masthead {
    min-height: 76px;
    border-bottom: 3px solid var(--strict-ink);
    gap: 20px;
}

.wedding-registration-page .picnic-brand {
    color: var(--strict-ink);
    font-family: var(--strict-display);
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.05;
}

.wedding-registration-page .picnic-masthead-link {
    color: var(--strict-white);
    background: var(--strict-green);
    border: 2px solid var(--strict-green);
    padding: 8px 16px;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
}

.wedding-registration-page .picnic-masthead-link:hover {
    color: var(--strict-green);
    background: var(--strict-white);
    text-decoration: none;
}

.wedding-registration-page .strict-mark {
    display: inline;
    overflow-wrap: anywhere;
    color: var(--strict-ink);
    font-family: var(--strict-display);
    font-size: 1rem;
    line-height: 1;
}

.wedding-registration-page .picnic-hero-layout {
    grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
    gap: clamp(32px, 5vw, 72px);
    padding: clamp(48px, 6vw, 84px) 0 72px;
    align-items: center;
    border-bottom: 3px solid var(--strict-ink);
}

.wedding-registration-page .picnic-hero-copy { min-width: 0; }
.wedding-registration-page .wedding-registration-hero h1 {
    max-width: 14ch;
    margin: 0 0 24px;
    color: var(--strict-ink);
    font-family: var(--strict-display);
    font-size: clamp(2.5rem, 5.4vw, 4.25rem);
    font-weight: 900;
    letter-spacing: .015em;
    line-height: 1.05;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.wedding-registration-page .wedding-lead {
    max-width: 37rem;
    color: var(--strict-ink);
    font-family: var(--strict-body);
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    font-weight: 500;
    line-height: 1.55;
}

.wedding-registration-page .strict-manifesto {
    display: inline-block;
    max-width: 100%;
    color: var(--strict-green);
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 16px;
}

.wedding-registration-page .strict-stamp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 8px 12px;
    border: 3px solid var(--strict-red);
    color: var(--strict-red);
    font-family: var(--strict-body);
    font-size: .82rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    transform: rotate(-4deg);
}

.wedding-registration-page .picnic-hero-action {
    min-height: 56px;
    padding: 12px 24px;
    border: 2px solid var(--strict-red);
    border-radius: 0;
    background: var(--strict-red);
    color: var(--strict-white);
    font-weight: 800;
    box-shadow: 4px 4px 0 var(--strict-ink);
}

.wedding-registration-page .picnic-hero-action:hover {
    background: var(--strict-red-deep);
    border-color: var(--strict-red-deep);
    color: var(--strict-white);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--strict-ink);
}

.wedding-registration-page .picnic-hero-action:active { transform: translate(4px, 4px); box-shadow: none; }

.wedding-registration-page .wedding-fee {
    color: var(--strict-ink);
    background: var(--strict-white);
    border: 2px solid var(--strict-line);
    border-radius: 0;
    font-weight: 750;
    padding: 8px 12px;
}

.wedding-registration-page .picnic-hero-visual,
.wedding-registration-page .strict-hero-art { min-width: 0; position: relative; }

.wedding-registration-page .strict-hero-art {
    overflow: hidden;
    border: 3px solid var(--strict-ink);
    background: var(--strict-green);
    color: var(--strict-white);
    box-shadow: 8px 8px 0 var(--strict-ink);
}

.wedding-registration-page .strict-hero-art .strict-stamp {
    position: absolute;
    left: 18px;
    right: auto;
    top: 18px;
    z-index: 2;
    background: var(--strict-white);
    box-shadow: 3px 3px 0 var(--strict-ink);
}

.wedding-registration-page .form-needs-attention .wedding-stamp {
    position: static;
    margin: 0 0 20px auto;
}

.wedding-registration-page .picnic-hero-visual img,
.wedding-registration-page .strict-hero-art img {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1.08;
    object-fit: cover;
    border-radius: 0;
}

.wedding-registration-page .picnic-photo-caption {
    margin-top: 16px;
    color: var(--strict-muted);
    font-size: .85rem;
    line-height: 1.4;
}

.wedding-registration-page .strict-hero-art .picnic-photo-caption {
    margin: 0;
    padding: 12px 16px;
    color: var(--strict-white);
    background: var(--strict-green);
    font-weight: 700;
}

.wedding-registration-page .wedding-certificate {
    max-width: 860px;
    margin: 64px auto 0;
    padding: clamp(24px, 5vw, 56px);
    border: 3px solid var(--strict-ink);
    border-radius: 0;
    background: var(--strict-white);
    box-shadow: 8px 8px 0 var(--strict-ink);
}

.wedding-registration-page .wedding-certificate.form-needs-attention { margin-top: 32px; }
.wedding-registration-page .wedding-certificate::before { content: none; }
.wedding-registration-page .wedding-registration-form.form-surface { position: static; z-index: auto; }

.wedding-registration-page .strict-form-ribbon {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 20px;
    padding: 8px 12px;
    background: var(--strict-red);
    color: var(--strict-white);
    font-family: var(--strict-body);
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.2;
}

.wedding-registration-page .wedding-form-heading {
    margin-bottom: 24px;
    padding: 0 160px 24px 0;
    border-bottom: 2px solid var(--strict-line);
}

.wedding-registration-page .wedding-form-number,
.wedding-registration-page .activity-picker-kicker {
    color: var(--strict-red);
    font-size: .9rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    text-transform: none;
}

.wedding-registration-page .wedding-form-heading h2 {
    color: var(--strict-ink);
    font-family: var(--strict-display);
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    font-weight: 900;
    letter-spacing: .015em;
    line-height: 1.15;
    overflow-wrap: break-word;
}

.wedding-registration-page .wedding-stamp {
    width: 112px;
    height: 112px;
    min-height: 0;
    border: 3px double var(--strict-red);
    border-radius: 50%;
    color: var(--strict-red);
    font-family: var(--strict-body);
    font-size: .74rem;
    font-weight: 800;
    line-height: 1.2;
    transform: rotate(8deg);
}

.wedding-registration-page .wedding-stamp strong { font-size: .85rem; }

.wedding-registration-page .wedding-note,
.wedding-registration-page .qr-save-reminder {
    color: var(--strict-ink);
    background: var(--strict-green-pale);
    border: 2px solid var(--strict-green);
    border-radius: 0;
    padding: 16px;
}

.wedding-registration-page .wedding-subsection {
    background: var(--strict-paper);
    border: 2px solid var(--strict-ink);
    border-radius: 0;
    padding: 20px;
}

.wedding-registration-page .wedding-subsection h3,
.wedding-registration-page .activity-picker-summary h3,
.wedding-registration-page .activity-modal-header h3 {
    color: var(--strict-ink);
    font-family: var(--strict-display);
    font-size: 1.28rem;
    font-weight: 900;
    line-height: 1.2;
}

.wedding-registration-page .wedding-registration-form .form-label {
    color: var(--strict-ink);
    font-size: 1rem;
    font-weight: 750;
}

.wedding-registration-page .wedding-registration-form .form-control {
    min-height: 52px;
    background: var(--strict-white);
    border: 2px solid var(--strict-ink);
    border-radius: 0;
    color: var(--strict-ink);
    font-family: var(--strict-body);
    font-size: 1rem;
}

.wedding-registration-page .wedding-registration-form .form-control::placeholder { color: var(--strict-muted); opacity: 1; }
.wedding-registration-page .wedding-registration-form .form-control:focus {
    border-color: var(--strict-focus);
    box-shadow: 0 0 0 3px var(--strict-focus);
}
.wedding-registration-page .form-text { color: var(--strict-muted); }

.wedding-registration-page .wedding-registration-form .form-check,
.wedding-registration-page .rules-details {
    border: 1px solid var(--strict-line);
    border-radius: 0;
    background: var(--strict-white);
}

.wedding-registration-page .wedding-registration-form .form-check-input { border: 2px solid var(--strict-ink); border-radius: 0; }
.wedding-registration-page .wedding-registration-form .form-check-input:checked { background-color: var(--strict-green); border-color: var(--strict-green); }
.wedding-registration-page .plus-one-fields { border-left-color: var(--strict-red); }
.wedding-registration-page .rules-details summary { color: var(--strict-green); }
.wedding-registration-page .rules-details div { color: var(--strict-ink); }

.wedding-registration-page .activity-picker-summary {
    background: var(--strict-green-pale);
    border: 2px solid var(--strict-green);
    border-radius: 0;
    color: var(--strict-ink);
}
.wedding-registration-page .activity-picker-summary p,
.wedding-registration-page .activity-selected-summary { color: var(--strict-ink); }

.wedding-registration-page .activity-picker-open,
.wedding-registration-page .duplicate-soft-ticket-btn {
    background: var(--strict-white);
    border: 2px solid var(--strict-ink);
    border-radius: 0;
    color: var(--strict-ink);
}
.wedding-registration-page .activity-picker-open:hover,
.wedding-registration-page .duplicate-soft-ticket-btn:hover { background: var(--strict-ink); color: var(--strict-white); }

.wedding-registration-page .duplicate-soft-alert,
.wedding-registration-page .wedding-errors {
    background: var(--strict-red-pale);
    border: 2px solid var(--strict-red);
    border-radius: 0;
    color: var(--strict-ink);
}

.wedding-registration-page .wedding-submit {
    min-height: 56px;
    background: var(--strict-red);
    border: 2px solid var(--strict-red);
    border-radius: 0;
    color: var(--strict-white);
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 4px 4px 0 var(--strict-ink);
    transition: background-color 160ms ease, border-color 160ms ease;
}
.wedding-registration-page .wedding-submit:hover,
.wedding-registration-page .wedding-submit:focus-visible { background: var(--strict-red-deep); border-color: var(--strict-red-deep); color: var(--strict-white); box-shadow: 4px 4px 0 var(--strict-ink); }
.wedding-registration-page .wedding-submit:active { background: var(--strict-ink); box-shadow: none; }
.wedding-registration-page .wedding-submit:disabled { background: var(--strict-disabled); border-color: var(--strict-disabled); color: var(--strict-muted); cursor: not-allowed; box-shadow: none; }
.wedding-registration-page .wedding-disclaimer { color: var(--strict-muted); }

.wedding-registration-page .activity-modal-backdrop[hidden],
.wedding-registration-page .d-none { display: none !important; }
.wedding-registration-page .activity-modal-backdrop { background: var(--strict-overlay); }
.wedding-registration-page .activity-modal-dialog { background: var(--strict-white); border: 3px solid var(--strict-ink); border-radius: 0; }
.wedding-registration-page .activity-modal-header,
.wedding-registration-page .activity-modal-footer { background: var(--strict-paper); border-color: var(--strict-ink); color: var(--strict-ink); }
.wedding-registration-page .activity-modal-close { background: var(--strict-white); border: 2px solid var(--strict-ink); color: var(--strict-ink); }
.wedding-registration-page .activity-modal-close:hover { background: var(--strict-ink); color: var(--strict-white); }
.wedding-registration-page .activity-modal-body h4 { color: var(--strict-ink); }

.wedding-registration-page :is(a, button, input, textarea, select, summary):focus-visible {
    outline: 3px solid var(--strict-focus);
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .wedding-registration-page main.container { padding: 0 20px 56px !important; }
    .wedding-registration-page .picnic-masthead { min-height: 68px; }
    .wedding-registration-page .picnic-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 0 48px; }
    .wedding-registration-page .wedding-registration-hero h1 { font-size: clamp(2.65rem, 9vw, 4.25rem); max-width: 14ch; }
    .wedding-registration-page .picnic-hero-visual img,
    .wedding-registration-page .strict-hero-art img { aspect-ratio: 1.4; }
    .wedding-registration-page .strict-hero-art .strict-stamp { left: 12px; right: auto; top: 12px; }
    .wedding-registration-page .wedding-certificate { margin-top: 40px; padding: 24px 20px; box-shadow: 5px 5px 0 var(--strict-ink); }
    .wedding-registration-page .wedding-form-heading { padding: 0 0 20px; }
    .wedding-registration-page .wedding-stamp { width: 92px; height: 92px; position: relative; margin: 0 0 20px auto; right: auto; top: auto; }
    .wedding-registration-page .wedding-subsection { padding: 16px; }
}

@media (max-width: 380px) {
    .wedding-registration-page main.container { padding-left: 16px !important; padding-right: 16px !important; }
    .wedding-registration-page .picnic-masthead { gap: 8px; }
    .wedding-registration-page .picnic-brand { font-size: .94rem; }
    .wedding-registration-page .picnic-masthead-link { font-size: .82rem; padding: 8px 12px; }
    .wedding-registration-page .wedding-registration-hero h1 { font-size: clamp(2rem, 10vw, 2.5rem); }
}

@media (prefers-reduced-motion: reduce) {
    .wedding-registration-page .wedding-submit,
    .wedding-registration-page .picnic-hero-action { transition: none; }
}
