/* Sparta Vista career intake — loaded after the approved site styles. */
.intake-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #090a0a;
  min-height: 460px;
  padding: 88px 8vw;
  display: grid;
  align-items: end;
}

.intake-hero__portrait {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  display: block;
  width: auto;
  max-width: 42%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  pointer-events: none;
}

.intake-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.intake-hero h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(3.1rem, 7.2vw, 6.7rem);
  line-height: .9;
  letter-spacing: -.065em;
}
.intake-hero .lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: #d3d5d1;
  font-size: 18px;
  line-height: 1.7;
}

.intake-main {
  color: var(--ink);
  background: var(--paper);
  padding: 80px 8vw 104px;
}
.intake-grid {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: clamp(44px, 8vw, 132px);
  max-width: 1240px;
  margin: 0 auto;
}
.intake-aside { align-self: start; }
.intake-aside h2,
.intake-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: .98;
  letter-spacing: -.05em;
}
.intake-aside > p:not(.overline) {
  color: #515552;
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.68;
}
.intake-steps {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid #cbc8bf;
}
.intake-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid #cbc8bf;
  color: #3f4341;
  line-height: 1.48;
}
.intake-steps span {
  color: var(--gold-dark);
  font: 900 12px/1 monospace;
  padding-top: 4px;
}

.intake-card {
  background: #fff;
  border-top: 8px solid var(--gold);
  padding: clamp(26px, 4vw, 48px);
  box-shadow: 0 24px 74px #00000017;
}
.intake-card__intro {
  color: #555956;
  margin: 17px 0 28px;
  line-height: 1.62;
}
.intake-notice {
  border-left: 4px solid var(--gold);
  background: #f3f0e8;
  color: #4d514f;
  margin: 0 0 30px;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.55;
}
.intake-notice strong {
  display: block;
  color: var(--ink);
  margin-bottom: 5px;
  font-size: 11px;
  letter-spacing: .09em;
}
.intake-notice a { text-decoration: underline; text-underline-offset: 3px; }

.hubspot-intake { min-height: 180px; }
.hubspot-intake .hs-form-field,
.hubspot-intake .field {
  margin: 0 0 18px;
}
.hubspot-intake label {
  display: block;
  color: #454946;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .055em;
  line-height: 1.35;
}
.hubspot-intake input:not([type='checkbox']),
.hubspot-intake select,
.hubspot-intake textarea {
  width: 100%;
  min-height: 51px;
  margin-top: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfcac0;
  border-radius: 0;
  font: 16px Arial, Helvetica, sans-serif;
}
.hubspot-intake textarea { min-height: 108px; resize: vertical; }
.hubspot-intake input:focus,
.hubspot-intake select:focus,
.hubspot-intake textarea:focus {
  outline: 3px solid #d9a24a55;
  border-color: var(--gold-dark);
}
.hubspot-intake input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin: 1px 10px 0 0;
  accent-color: var(--gold-dark);
  vertical-align: top;
}
.hubspot-intake .hs-form-booleancheckbox label,
.hubspot-intake .inputs-list label {
  color: #515552;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}
.hubspot-intake .hs-error-msg,
.hubspot-intake .hs-error-msgs {
  color: #8c4219;
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.4;
}
.hubspot-intake input[type='submit'],
.hubspot-intake .hs-button {
  min-height: 54px;
  width: 100%;
  cursor: pointer;
  color: var(--black);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  transition: .2s;
}
.hubspot-intake input[type='submit']:hover,
.hubspot-intake .hs-button:hover { background: #efb35a; transform: translateY(-2px); }
.hubspot-intake .hs-form-required { color: var(--gold-dark); }
.hubspot-intake .submitted-message {
  padding: 22px;
  color: #343735;
  background: #f3f0e8;
  border-left: 4px solid var(--gold);
  line-height: 1.6;
}

.intake-fallback {
  padding: 20px;
  color: #4e514f;
  background: #f3f0e8;
  border-left: 4px solid var(--gold);
  line-height: 1.55;
}
.intake-fallback[hidden] { display: none; }
.intake-fallback strong { color: var(--ink); }
.intake-privacy {
  color: #6d716f;
  margin: 25px 0 0;
  font-size: 11px;
  line-height: 1.62;
}
.intake-privacy a { text-decoration: underline; text-underline-offset: 3px; }

.intake-complete {
  max-width: 780px;
  margin: 0 auto;
  color: var(--ink);
  background: var(--paper);
  padding: 104px 0 124px;
}
.intake-complete h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .9;
  letter-spacing: -.065em;
}
.intake-complete .lead { color: #525653; margin: 28px 0 0; font-size: 18px; line-height: 1.7; }
.intake-complete .next-step {
  margin-top: 42px;
  padding: 26px 28px;
  background: #fff;
  border-left: 5px solid var(--gold);
  box-shadow: 0 14px 40px #00000012;
}
.intake-complete .next-step h2 { margin: 0; font-size: 24px; }
.intake-complete .next-step p { color: #555956; margin: 12px 0 0; line-height: 1.65; }

@media (max-width: 760px) {
  .intake-hero {
    min-height: 400px;
    padding: 72px 22px;
  }
  .intake-hero__portrait { display: none; }
  .intake-main { padding: 64px 22px 82px; }
  .intake-grid { grid-template-columns: 1fr; gap: 48px; }
  .intake-card { padding: 28px 20px; }
  .intake-complete { padding: 78px 22px 96px; }
}
