/* ─── Ensure the form and its children always stretch ─── */
.form,
form[data-ajax-form] {
    display: block;
    width: 100%;
    max-width: none;
}

.form-head,
.form-head-copy,
.form-grid,
.form-section,
.form-actions,
.form-field,
.form-field--full {
    width: 100%;
    box-sizing: border-box;
    max-width: none;
}

/* force grid children to actually span */
.form-head {
    grid-template-columns: minmax(0, 1fr) auto;
}
/* ═══════════════════════════════════════════════════
   FORM HEADER WITH PHOTO 
   ═══════════════════════════════════════════════════ */
.form-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 24px;
    padding-bottom: 26px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--fm-line);
}
.form-head-copy { min-width: 0; }

@media (max-width: 640px) {
    .form-head {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .form-head-photo { order: -1; }
    .form-head-copy  { text-align: left; }
}

/* ─── PHOTO WIDGET  ─── */
.form-head-photo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.form-photo-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--fm-line-soft);
    border: 3px solid #fff;
    box-shadow:
        0 0 0 1px rgba(201,162,39,.45),
        0 12px 30px -12px rgba(107,16,40,.35);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    padding: 0;
}
.form-photo-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 2px var(--fm-gold),
        0 16px 34px -12px rgba(107,16,40,.5);
}
.form-photo-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* overlay hint "click to choose" */
.form-photo-btn::after {
    content: "\f030"; /* fa-camera */
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    inset: auto 0 0 0;
    height: 34px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(107,16,40,0), rgba(107,16,40,.78));
    color: #f0dfb5;
    font-size: 13px;
    opacity: 0;
    transition: opacity .2s;
}
.form-photo-btn:hover::after { opacity: 1; }

.form-photo-hint {
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--fm-muted);
    font-weight: 600;
    margin: 0;
}

/* Remove any old .form-photo rules you had before ── they're replaced */