/* Shared by the three public Music Blueprint intake forms:
   contributor-pitch (writer pitch), contributor-apply, coverage-pitch.
   Extracted from contributor-pitch.html with no rule changes. */
.pitch-page {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--site-header-h, 72px) + 4rem) clamp(1.25rem, 4vw, 2rem) 6rem;
  color: var(--text-colors--main);
}
.pitch-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-colors--second);
  margin-bottom: 1rem;
}
.pitch-page h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.pitch-lead {
  color: var(--text-colors--second);
  line-height: 1.6;
  max-width: 56ch;
  margin-bottom: 2.5rem;
}
.pitch-lead a {
  color: var(--text-colors--main);
}
.pitch-form {
  display: grid;
  gap: 1.4rem;
}
/* display:grid above outranks the browser's [hidden] { display:none },
   so without this the form stays on screen after a successful send. */
.pitch-form[hidden] {
  display: none;
}
.pitch-field {
  display: grid;
  gap: 0.45rem;
}
.pitch-field label,
.pitch-field .pitch-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
/* Honeypot: off-screen rather than display:none, so a bot that skips
   hidden fields still fills it. Never shown to a human. */
.pitch-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.pitch-field .req {
  color: var(--text-colors--second);
  font-weight: 400;
}
.pitch-field input,
.pitch-field select,
.pitch-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.85rem 1rem;
  background: transparent;
  color: var(--text-colors--main);
  border: 1.5px solid var(--text-colors--dividers-lines);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
}
/* iOS zooms the whole page when a focused field is under 16px. */
@media (pointer: coarse) {
  .pitch-field input,
  .pitch-field select,
  .pitch-field textarea {
    font-size: 16px;
  }
}
.pitch-field textarea {
  min-height: 110px;
  resize: vertical;
}
.pitch-field input:focus,
.pitch-field select:focus,
.pitch-field textarea:focus {
  outline: none;
  border-color: var(--text-colors--main);
}
.pitch-hint {
  font-size: 0.78rem;
  color: var(--text-colors--second);
}
.pitch-section {
  margin: 0.75rem 0 -0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-colors--second);
}
.pitch-section:first-child {
  margin-top: 0;
}
.pitch-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 2.75rem;
  display: grid;
  gap: 0.65rem;
}
.pitch-benefits li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.5;
  font-size: 0.95rem;
  color: var(--text-colors--second);
}
.pitch-benefits li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--text-colors--main);
}
.pitch-benefits strong {
  color: var(--text-colors--main);
  font-weight: 600;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
  gap: 0.5rem;
}
.checkbox-opt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid var(--text-colors--dividers-lines);
  border-radius: 10px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.2s;
}
.checkbox-opt:hover {
  border-color: var(--text-colors--main);
}
.checkbox-opt input {
  width: auto;
  accent-color: var(--text-colors--main);
}
.checkbox-opt:has(input:checked) {
  border-color: var(--text-colors--main);
}
.pitch-submit {
  justify-self: start;
  margin-top: 0.5rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--text-colors--main);
  color: var(--bg-primary);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}
.pitch-submit[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.state-card {
  display: none;
  padding: 2rem;
  border-radius: 12px;
  border: 1.5px solid var(--text-colors--dividers-lines);
}
.state-card.is-visible {
  display: block;
}
.state-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}
.state-card p {
  margin: 0;
  color: var(--text-colors--second);
  line-height: 1.55;
}
.state-card--error {
  border-color: #c0392b;
}
/* close / exit button */

/* ── Pitch tracking page (forms/pitch-status) ──────────────────────── */
.track-status {
  margin: 0 0 2.25rem;
  padding: 1.5rem;
  border: 1.5px solid var(--text-colors--dividers-lines);
  border-radius: 12px;
}
.track-status__label {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.track-status__copy {
  margin: 0;
  color: var(--text-colors--second);
  line-height: 1.55;
}
.track-facts {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.6rem 1.25rem;
  margin: 1.25rem 0 2.25rem;
  font-size: 0.92rem;
}
.track-facts dt {
  color: var(--text-colors--second);
}
.track-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.track-facts a {
  color: var(--text-colors--main);
  text-decoration: underline;
}
@media (max-width: 560px) {
  .track-facts {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
  .track-facts dd {
    margin-bottom: 0.7rem;
  }
}
.track-thread {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.track-msg {
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--text-colors--dividers-lines);
  border-radius: 10px;
}
.track-msg--editor {
  border-left: 4px solid var(--text-colors--main);
}
.track-msg__who {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-colors--second);
}
.track-msg__body {
  margin: 0;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.track-empty {
  color: var(--text-colors--second);
  font-size: 0.9rem;
}
.track-form {
  margin-bottom: 1.5rem;
}
.track-update {
  margin: 0 0 1.5rem;
  border: 1.5px solid var(--text-colors--dividers-lines);
  border-radius: 12px;
  padding: 0 1.25rem;
}
.track-update summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 600;
}
.track-update[open] summary {
  border-bottom: 1px solid var(--text-colors--dividers-lines);
  margin-bottom: 1.25rem;
}
.track-update .track-form {
  padding-bottom: 1.25rem;
  margin-bottom: 0;
}
.track-withdraw {
  margin: 0 0 1.75rem;
  color: var(--text-colors--second);
  font-size: 0.9rem;
}
.track-link {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--text-colors--main);
  text-decoration: underline;
  cursor: pointer;
}
.track-status__label[data-status='declined'],
.track-status__label[data-status='withdrawn'] {
  color: var(--text-colors--second);
}
.track-link:focus-visible,
.track-update summary:focus-visible,
.pitch-submit:focus-visible {
  outline: 2px solid var(--text-colors--main);
  outline-offset: 3px;
}
