/* =========================================================
   contact.css: "Let's make this better together"
   Text on one side, the message form on the other.
   Stacks on phones.
   ========================================================= */

/* the section: soft glow + paper grain (the footer sits inside it) */
.contact {
    background: var(--grain), var(--contact-bg);
    border-top: 1px solid var(--line);
    padding-bottom: 40px !important;
}

.contact-grid {
    display: grid;
    gap: 32px;
    align-items: start;
}

@media (min-width: 860px) {
    .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 48px; }
}

.contact-grid .lead { margin: 12px 0 0; }

/* name + email side by side when there's room */
.two-cols { display: grid; gap: 0 14px; }
@media (min-width: 560px) {
    .two-cols { grid-template-columns: 1fr 1fr; }
}
.two-cols > div { display: grid; gap: 8px; min-width: 0; }

/* the "What's this about?" choice pills */
.types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
}
.types legend { margin-bottom: 8px; padding: 0; }
.types label { display: inline-flex; cursor: pointer; }

/* hide the round radio dot, style the text as a pill instead */
.types input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.types span {
    padding: 7px 14px;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    color: var(--text);
    font-size: 14px;
}
.types input:checked + span { background: var(--coral); border-color: var(--coral); color: #FFFFFF; font-weight: 700; }
.types input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }

/* quick-pick ideas ("Suggest an idea") */
.ideas {
    display: grid;
    gap: 8px;
    margin-bottom: 8px;
    padding: 12px;
    border-radius: 14px;
    background: var(--section-tint);
    font-size: 13px;
    color: var(--muted);
}
.ideas-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ideas-list button {
    padding: 5px 12px;
    border: 1px dashed rgba(255, 111, 97, 0.55);
    border-radius: 999px;
    background: var(--card);
    color: var(--text);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}
