/**
 * Partner intake page (/partners) — a bespoke two-column layout, not
 * the generic single-card lead form used by /attend. Kept in its own
 * file since it's a distinct page pattern, and to avoid touching the
 * base/layout/components/dashboard/auth split (base.css etc. were
 * generated by a verified script — see git history — so new page-level
 * work stays isolated here rather than risking hand-edits to those).
 */

.partner-page {
  padding: 90px 7vw 110px;
  background: var(--cream);
}

.partner-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

/* --- Left column: pitch, trust signals, next steps --- */

.partner-intro {
  position: sticky;
  top: 110px;
}

.partner-intro h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(34px, 3.4vw, 46px);
  margin: 0 0 16px;
}

.partner-intro > p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 28px;
}

.partner-photo {
  position: relative;
  margin: 0 0 32px;
  border-radius: 14px;
  overflow: hidden;
  height: 200px;
  box-shadow: 0 15px 40px rgba(57, 40, 30, 0.12);
}

.partner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partner-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(20, 12, 8, 0.72), transparent 75%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.partner-benefits {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.partner-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #4a423d;
  line-height: 1.5;
}

.partner-benefits svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--green);
}

.partner-next-steps {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
}

.partner-next-steps ol {
  margin: 12px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: #4a423d;
  font-size: 13px;
  line-height: 1.5;
}

/* --- Right column: the form itself --- */

.partner-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 44px;
  box-shadow: 0 20px 55px rgba(57, 40, 30, 0.08);
}

.form-section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.form-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.form-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.form-section-head svg {
  width: 18px;
  height: 18px;
  color: var(--saffron);
}

.form-section-head h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 19px;
  margin: 0;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
}

.form-section label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.form-section input,
.form-section select,
.form-section textarea {
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  background: #fff;
  font-size: 14px;
}

.form-section input:focus,
.form-section select:focus,
.form-section textarea:focus {
  border-color: var(--saffron);
}

.form-section textarea {
  min-height: 90px;
  resize: vertical;
}

.partner-form-card > form > .check {
  margin: 6px 0 22px;
}

.partner-success {
  text-align: center;
  padding: 60px 44px;
}

.partner-success h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 32px;
  margin: 6px 0 14px;
}

.partner-success p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 420px;
  margin: 0 auto 26px;
}

@media (max-width: 980px) {
  .partner-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .partner-intro {
    position: static;
  }
}

@media (max-width: 650px) {
  .partner-page {
    padding: 55px 6vw 70px;
  }

  .partner-form-card {
    padding: 28px 24px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }
}
