.professional {
  display: block;
  margin: 0 auto;
  width: min(100%, 880px);
  padding: clamp(36px, 7vw, 84px) var(--gutter);
}

.professional--compact {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.professional-intro h1 {
  max-width: 21ch;
  margin: 0 0 18px;
  font-size: clamp(35px, 5.5vw, 54px);
  overflow-wrap: break-word;
}

.professional-lede {
  max-width: 62ch;
  margin-bottom: 12px;
  color: var(--soft);
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.55;
}

.note {
  max-width: 68ch;
  color: var(--soft);
  font-size: 14px;
}

/* The one action style: a filled ivory button per page. */
.button-primary {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 19px;
  border: 1px solid var(--ivory);
  border-radius: 3px;
  background: var(--ivory);
  color: var(--charcoal);
  font: 600 15px/1.4 var(--sans);
}

.button-primary:hover { background: #dedbd3 }
button { cursor: pointer }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 26px;
}

/* Consulting */
.service-list {
  display: grid;
  gap: 5px;
  margin: 14px 0 0;
  padding: 16px 0 0;
  line-height: 1.5;
  border-top: 1px solid var(--line);
  list-style: none;
}

/* Contact */
.contact-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 28px;
  margin-top: 12px;
}

.contact-options .resource-link { font-size: clamp(17px, 2.2vw, 20px) }

.referral {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 140px;
}

.referral h2 {
  margin: 0 0 14px;
  font: 400 16px/1.5 var(--sans);
}

.referral-form .actions { margin-top: 18px }
.referral-form .note { margin-top: 15px }
.referral-form output:not(:empty) { display: block }
.contact-note { margin: 24px 0 0 }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}

.form-grid > label:first-child { grid-column: 1 / -1 }

.form-grid label {
  min-width: 0;
  font-size: 15px;
}

.optional { color: var(--soft) }

.referral-form :is(input, select) {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  padding: 9px 11px;
  border: 1px solid #73787b;
  border-radius: 3px;
  background: #2b2e31;
  color: var(--ivory);
  font: inherit;
  font-size: 16px;
}

.referral-form select {
  appearance: none;
  padding-right: 38px;
  background-image: url('/assets/select-chevron-2b00670de1.svg');
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.referral-form input[type="date"] { min-width: 0 }

@media (max-width: 570px) {
  .form-grid { grid-template-columns: minmax(0, 1fr) }
}
