/* Shared main invitation: familiar FAMI surfaces, typography and form controls. */
.involvement-dialog { width:min(1120px,calc(100vw - 2rem)); max-width:none; max-height:calc(100dvh - 2rem); margin:auto; padding:0; border:0; border-radius:var(--radius-surface); background:var(--bone); color:var(--ink); overflow:hidden; overscroll-behavior:contain; }
.involvement-dialog::backdrop { background:rgba(10,10,10,.65); }
.involvement-dialog [hidden] { display:none; }
.involvement-close { position:absolute; top:1rem; right:1rem; z-index:2; display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid #81817b; border-radius:50%; background:white; color:var(--ink); cursor:pointer; }
.involvement-close svg { width:22px; height:22px; }
.involvement-close:hover { background:var(--ink); color:white; }
.involvement-layout { overflow:auto; max-height:inherit; overscroll-behavior:contain; display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); }
/* Cover the photo panel with a seamless mosaic of square portraits. */
.involvement-art { position:sticky; top:0; align-self:start; grid-column:1; grid-row:1; min-width:0; height:min(var(--involvement-form-height,744px),calc(100dvh - 2rem)); overflow:hidden; background:#e5e3dd; }
.coalition-portrait-grid { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); display:grid; width:var(--portrait-grid-width,100%); grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; padding:0; }
.coalition-grid-portrait { display:block; width:100%; height:auto; aspect-ratio:1; min-height:0; object-fit:cover; object-position:center 30%; border-radius:0; }
.involvement-form-panel { grid-column:2; grid-row:1; padding:3.5rem 2.5rem 2.5rem; min-width:0; }
.involvement-dialog h2 { font-size:var(--type-section); line-height:1.12; letter-spacing:-.04em; margin-bottom:1rem; }
/* Programmatic reading targets are not interactive controls. */
.involvement-dialog h2[tabindex="-1"]:focus, .involvement-confirmation h3[tabindex="-1"]:focus { outline:none; box-shadow:none; }
.involvement-intro { line-height:1.65; margin-bottom:1.4rem; }
.involvement-required { color:#55554e; font-size:.8rem; margin-bottom:1rem; }
.involvement-field { margin-bottom:1rem; min-width:0; }
.involvement-field label { display:block; font-size:.875rem; font-weight:600; line-height:1.5; margin-bottom:.45rem; }
.involvement-field input,.involvement-field textarea { display:block; width:100%; min-height:48px; border:1px solid #81817b; border-radius:var(--radius-control); background:white; color:var(--ink); font:inherit; font-size:1rem; padding:.7rem .8rem; }
.involvement-field textarea { min-height:112px; resize:vertical; }
.involvement-contact-fields { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.involvement-newsletter { display:flex; align-items:flex-start; gap:.75rem; min-height:44px; padding-block:.4rem; margin-bottom:1rem; font-size:.875rem; line-height:1.6; cursor:pointer; }
.involvement-newsletter input { width:20px; height:20px; flex:0 0 20px; margin-top:.15rem; accent-color:var(--coral-action); }
.involvement-newsletter small { font-size:inherit; color:#55554e; }
.involvement-submit:disabled { opacity:.65; cursor:wait; }
.involvement-status:not(:empty) { color:var(--coral-text); font-size:.875rem; line-height:1.6; margin-bottom:1rem; }
.involvement-trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.involvement-confirmation { padding-block:1rem 2rem; }
.involvement-confirmation h3 { font-size:var(--type-subheading); margin-bottom:1rem; line-height:1.3; }
.involvement-confirmation p { line-height:1.7; margin-bottom:1.5rem; }
@media(max-width:1100px) {
 .involvement-dialog { width:calc(100vw - 1rem); max-height:calc(100dvh - 1rem); }
 .involvement-layout { grid-template-columns:minmax(0,1fr); max-height:inherit; }
 .involvement-art { position:relative; top:auto; grid-column:1; grid-row:1; height:auto; }
 .coalition-portrait-grid { position:static; transform:none; width:100%; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0; padding:0; }
 .involvement-form-panel { grid-column:1; grid-row:2; padding:1.75rem 1.25rem 2rem; }
 .involvement-contact-fields { grid-template-columns:minmax(0,1fr); gap:0; }
 .involvement-confirmation .button { width:100%; }
}
