/* NYC Bridge contact flow — minimal, accessible. Loaded only for /#contact. */
.contact-trigger {
    display: inline-block;
    margin-top: 0.5rem;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.contact-trigger:hover,
.contact-trigger:focus-visible {
    color: var(--text-strong, currentColor);
}

.contact-dialog {
    border: 1px solid var(--border, #404848);
    border-radius: 10px;
    padding: 0;
    width: min(92vw, 34rem);
    background: var(--surface, #1e201e);
    color: var(--text, #e2e3df);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.contact-dialog::backdrop {
    background: rgba(0, 0, 0, 0.55);
}
.contact-dialog[open] {
    animation: contact-fade 0.15s ease-out;
}
@keyframes contact-fade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}
.contact-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border, #404848);
}
.contact-head h2 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.2;
}
.contact-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}
.contact-body {
    padding: 1.25rem;
}
.contact-dialog .form-group + .form-group {
    margin-top: 1rem;
}
.contact-status {
    margin: 0.85rem 0 0;
    font-size: 0.85rem;
    line-height: 1.5;
}
.contact-status.is-error {
    color: var(--danger, #ff7b7b);
}
.contact-status.is-success {
    color: var(--accent, #9ad1d1);
}
.contact-note {
    font-size: 0.78rem;
    color: var(--muted, #bfc8c8);
    margin: 0.85rem 0 0;
}
.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}