/* Brian Barrale, composer portfolio. The About bio and the Contact form.
   Colors come from the purple accent set at the top of style.css. */

/* ---------- About: the bio ---------- */

.bio { font-size: 1.08rem; line-height: 1.7; }

/* The opening "Brian Barrale" of the bio: the lavender accent, semibold.
   It is his name, not a link: no underline, and nothing happens on a click (his idea). */
.bio-name {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Contact: the form ---------- */
/* The form sends nothing anywhere (his word). See js/contact.js. */

.contact-form { display: grid; gap: 18px; }

.field { display: grid; gap: 6px; }
.field label {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: 1rem; /* 16px keeps phones from zooming in on focus */
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line); border-radius: 8px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.contact-form button.btn {
  font: inherit; font-weight: 700; letter-spacing: .04em;
  cursor: pointer;
}

/* "Thank you for reaching out!" Shown on every press of the button. */
.thanks {
  padding: 16px 20px;
  border: 1px solid var(--accent); border-radius: 10px;
  background: rgba(var(--accent-rgb), .08);
  font-size: 1.1rem;
}
.thanks[hidden] { display: none; }
