/* ============================================================
   Bridgeworks Partners — Funding Strategy page
   Extends styles.css + styles-csuite.css
   ============================================================ */

.hero__bg--funding {
  background-image: url("assets/funding-hero.png");
  background-position: center 45%;
}

/* ===================== Intro ===================== */
.intro__lede {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 68ch;
}

/* ===================== Who we serve ===================== */
.serve__title {
  font-size: var(--text-lg);
  color: var(--color-gold-soft);
  margin: 0;
  line-height: 1.25;
}
#who .pillar { display: flex; align-items: center; }

/* ===================== Intake form ===================== */
.fund-contact__head { max-width: 760px; margin-bottom: clamp(var(--space-8), 4vw, var(--space-12)); }

.fund-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-12));
  box-shadow: var(--shadow-md);
  max-width: 920px;
}
.fund-fieldset { border: 0; padding: 0; margin: 0 0 var(--space-8); }
.fund-fieldset:last-of-type { margin-bottom: var(--space-6); }
.fund-legend {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-primary);
  font-weight: 560;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
  width: 100%;
}
[data-theme="dark"] .fund-legend { color: var(--color-on-navy); }
.fund-hint { color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: var(--space-4); }

.fund-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
.req { color: var(--color-gold-hover); }

.fund-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  color: var(--color-text);
  font-size: var(--text-base);
  font-family: inherit;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9962f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.fund-form select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 150, 47, 0.18);
}

/* checkbox + radio lists */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
.radio-list { display: flex; flex-direction: column; gap: var(--space-3); }
.radio-list--row { flex-direction: row; flex-wrap: wrap; gap: var(--space-4); }

.check, .radio {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: border-color var(--transition-interactive), background var(--transition-interactive);
}
.check:hover, .radio:hover { border-color: color-mix(in srgb, var(--color-gold) 55%, var(--color-border)); }
.check input, .radio input { margin-top: 0.15rem; accent-color: var(--color-gold-hover); width: 1rem; height: 1rem; flex-shrink: 0; }
.check:has(input:checked), .radio:has(input:checked) {
  border-color: var(--color-gold);
  background: color-mix(in srgb, var(--color-gold-soft) 22%, var(--color-surface-2));
}

.fund-submit { width: 100%; justify-content: center; margin-top: var(--space-4); }

.fund-contact__detail {
  margin-top: var(--space-8);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.fund-contact__detail a { color: var(--color-gold-hover); border-bottom: 1px solid transparent; }
.fund-contact__detail a:hover { border-bottom-color: var(--color-gold); }
[data-theme="dark"] .fund-contact__detail a { color: var(--color-gold); }

/* ===================== Responsive ===================== */
@media (max-width: 720px) {
  .fund-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
}
