/* Request a Sourcing Project (page-request-a-sourcing-project.php)
 *
 * Page-local styles only. The shared form system (assets/css/page-contact.css)
 * and the shell (style.css, page.css) are reused exactly as they are, so no
 * global class is redefined here — every rule below is namespaced .hs-intake__*.
 * Only one optional exception, marked in place: the side-column mail link gets a
 * larger touch target inside .hs-intake__aside.
 */

/* Hero lead */
.hs-intake__lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--hs-slate);
  max-width: 68ch;
  margin: 24px 0 0;
}

/* Section intro: heading left, explanation right (stacked on small screens) */
.hs-intake__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 16px 48px;
  align-items: end;
  margin-bottom: 40px;
}

.hs-intake__h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 0;
}

.hs-intake__intro-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--hs-slate);
  margin: 0;
  max-width: 62ch;
}

.hs-intake__intro-text strong {
  color: var(--hs-navy);
  font-weight: 600;
}

/* Anchored sections clear the sticky header */
.hs-intake__brief-section,
.hs-intake__form-section,
.hs-intake__steps-section {
  scroll-margin-top: 96px;
}

/* The nine assessment items */
.hs-intake__brief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hs-intake__brief {
  display: flex;
  flex-direction: column;
  background-color: var(--hs-white);
  border: 1px solid var(--hs-mist);
  border-radius: var(--radius-card);
  padding: 22px 22px 24px;
  box-shadow: 0 1px 2px rgba(11, 39, 66, 0.04);
}

.hs-intake__brief-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.hs-intake__brief-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--hs-blue);
}

/* Required / Optional tags, mirroring the field tags in the form */
.hs-intake__brief-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hs-slate);
  background-color: var(--hs-cloud);
  border: 1px solid var(--hs-mist);
  border-radius: 4px;
  padding: 2px 6px;
}

.hs-intake__brief-tag--required {
  color: var(--hs-navy);
  background-color: #EAF2F9;
  border-color: #C6DCEC;
}

.hs-intake__brief-title {
  font-size: 17px;
  margin: 0 0 8px;
}

.hs-intake__brief-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--hs-slate);
  margin: 0;
}

/* Note line: readable on both white and cloud sections */
.hs-intake__note {
  margin: 28px 0 0;
  padding: 16px 20px;
  background-color: var(--hs-white);
  border: 1px solid var(--hs-mist);
  border-left: 3px solid var(--hs-blue);
  border-radius: var(--radius-control);
  font-size: 15px;
  line-height: 1.7;
  color: var(--hs-ink);
}

.hs-intake__note a {
  color: var(--hs-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Form card: only the heading and lead, the form itself comes from page-contact.css */
.hs-intake__form-title {
  font-size: 26px;
  margin: 0 0 8px;
}

.hs-intake__form-lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--hs-slate);
  margin: 0 0 32px;
  max-width: 62ch;
}

/* Side column keeps the facts in view while the form is filled in */
.hs-intake__aside {
  position: sticky;
  top: 96px;
}

/* Larger touch target for the side-column links (the only place this is set) */
.hs-intake__aside a {
  display: inline-block;
  padding: 10px 0;
}

/* What happens after you submit */
.hs-intake__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hs-intake__step {
  background-color: var(--hs-white);
  border: 1px solid var(--hs-mist);
  border-radius: var(--radius-card);
  padding: 22px 24px 24px;
}

.hs-intake__step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--hs-blue);
  margin-bottom: 10px;
}

.hs-intake__step-title {
  font-size: 18px;
  margin: 0 0 8px;
}

.hs-intake__step-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--hs-slate);
  margin: 0;
}

/* Closing navy band */
.hs-intake__cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px 40px;
  align-items: center;
}

.hs-intake__cta-title {
  font-size: clamp(24px, 2.6vw, 32px);
  margin: 0 0 12px;
}

.hs-intake__cta-text {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  max-width: 58ch;
}

.hs-intake__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Visible keyboard focus for the links this page adds (form controls are
   covered by the shared page-contact.css focus styles). */
.hs-intake__aside a:focus-visible,
.hs-intake__steps a:focus-visible,
.hs-intake__note a:focus-visible {
  outline: 3px solid var(--hs-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

.hs-intake__cta a:focus-visible {
  outline: 3px solid var(--hs-orange);
  outline-offset: 3px;
  border-radius: var(--radius-control);
}

@media (max-width: 1000px) {
  .hs-intake__brief-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hs-intake__intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-bottom: 32px;
  }

  .hs-intake__aside {
    position: static;
  }

  .hs-intake__cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hs-intake__lead {
    font-size: 16px;
    margin-top: 18px;
  }

  .hs-intake__brief-grid,
  .hs-intake__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .hs-intake__note {
    margin-top: 22px;
    padding: 14px 16px;
  }
}