/*
  Partnership page
  ================
  Built to the supplied design (TEC_Partnership-Page.pdf, 1920px artboard). Colours land on
  the site's tokens: navy = --color-primary, purple = --color-secondary.

  Unlike the older pages this one does not use the .tt-section custom-property wrappers -
  every block here is plain markup with its own layout, so nothing depends on --display.
  The one shared measure (.tt-pship-wrap) matches the SEWP page: 1180px + 24px gutters, which
  puts copy at x=394 on a 1920 screen, where the design has it.
*/

.tt-pship {
  background-color: var(--color-white);
  overflow-x: clip;
}

.tt-pship .tt-pship-wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
  box-sizing: border-box;
}

.tt-pship .tt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Hero ---------- */

.tt-pship .tt-pship-hero {
  background-color: var(--color-primary);
  border-radius: 0 0 0 180px;
  padding: 70px 0 150px;
}

.tt-pship .tt-pship-title {
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 400;
  line-height: 84px;
  letter-spacing: -1px;
  text-transform: none;
  color: var(--color-white);
  margin: 0 0 14px;
}

.tt-pship .tt-pship-lede {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 30px;
  color: var(--color-white);
  max-width: 690px;
  margin: 0;
}

/* ---------- White sections ---------- */

.tt-pship .tt-pship-sec { padding: 100px 0 120px; }
.tt-pship .tt-pship-sec--last { padding: 130px 0 120px; }

/* The two big statements are set in the display face, with the first phrase in purple. */
.tt-pship .tt-pship-display {
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 400;
  line-height: 78px;
  letter-spacing: -1px;
  text-transform: none;
  color: var(--color-primary);
  max-width: 700px;
  margin: 0 0 30px;
}

.tt-pship .tt-pship-display-accent { color: var(--color-secondary); }

/* style.css sets `* { font-family: "Open Sans" }`, which would pull the purple span (and the
   sr-only span in the Learn more link) out of its parent's face. */
.tt-pship .tt-pship-display span,
.tt-pship .tt-pship-more span { font-family: inherit; }

.tt-pship .tt-pship-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 28px;
  color: var(--color-primary);
  max-width: 750px;
  margin: 0;
}

/* ---------- Technology partner logos ---------- */

.tt-pship .tt-pship-logos {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 100px;
  margin: 76px 0 0;
  padding: 0;
}

.tt-pship .tt-pship-logos li { margin: 0; }

.tt-pship .tt-pship-logos img {
  display: block;
  width: auto;
  max-width: 100%;
}

/* Heights as drawn - each mark has a different aspect ratio, so they are sized one by one. */
.tt-pship .tt-pship-logos li:nth-child(1) img { height: 57px; }
.tt-pship .tt-pship-logos li:nth-child(2) img { height: 51px; }
.tt-pship .tt-pship-logos li:nth-child(3) img { height: 63px; }

/* ---------- Carahsoft band ---------- */

/* Full-bleed to the right, inset on the left with one big rounded corner. */
.tt-pship .tt-pship-band {
  background-color: var(--color-primary);
  width: 85%;
  margin-left: auto;
  border-radius: 180px 0 0 0;
}

.tt-pship .tt-pship-band-grid {
  display: grid;
  grid-template-columns: 470px minmax(0, 480px);
  column-gap: 100px;
  align-items: center;
  padding: 150px 24px 150px 105px;
}

.tt-pship .tt-pship-band-logo img {
  display: block;
  width: 100%;
  max-width: 390px;
  height: auto;
}

.tt-pship .tt-pship-band-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 400;
  line-height: 48px;
  text-transform: none;
  color: var(--color-white);
  margin: 0 0 18px;
}

.tt-pship .tt-pship-band-copy p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 28px;
  color: var(--color-white);
  margin: 0 0 28px;
}

.tt-pship .tt-pship-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--color-white);
  text-decoration: none;
}

.tt-pship .tt-pship-more:hover,
.tt-pship .tt-pship-more:focus-visible { text-decoration: underline; }

/* ---------- Become a partner form ---------- */

.tt-pship .tt-pship-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 30px;
  max-width: 1135px;
  margin-top: 54px;
}

.tt-pship .tt-pship-field { display: flex; flex-direction: column; gap: 10px; }
.tt-pship .tt-pship-field--full { grid-column: 1 / -1; }

.tt-pship .tt-pship-field label {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 22px;
  color: var(--color-primary);
}

.tt-pship .tt-pship-field input,
.tt-pship .tt-pship-field textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-primary);
  background-color: #efefef;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 15px 16px;
  margin: 0;
}

.tt-pship .tt-pship-field textarea { min-height: 110px; resize: vertical; }

/* Darker than the design's pale grey: #6b6b6b is about as light as it can go and still
   reach 4.5:1 against the #efefef field fill. */
.tt-pship .tt-pship-field input::placeholder,
.tt-pship .tt-pship-field textarea::placeholder { color: #6b6b6b; opacity: 1; }

.tt-pship .tt-pship-field input:focus,
.tt-pship .tt-pship-field textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
  background-color: var(--color-white);
  border-color: var(--color-secondary);
}

/* Honeypot - off-screen rather than display:none, which some bots skip. */
.tt-pship .tt-pship-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.tt-pship .tt-recaptcha:empty { display: none; }

.tt-pship .tt-pship-submit {
  justify-self: start;
  align-self: flex-start;
  min-width: 235px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-white);
  background-color: var(--color-secondary);
  border: 0;
  border-radius: 999px;
  padding: 15px 40px;
  margin-top: 24px;
  cursor: pointer;
  transition: background-color .2s ease;
}

.tt-pship .tt-pship-submit:hover,
.tt-pship .tt-pship-submit:focus-visible { background-color: var(--color-violet); }

.tt-pship .tt-pship-submit:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

.tt-pship .tt-pship-alert {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  border-radius: 8px;
  padding: 16px;
  margin: 40px 0 0;
  max-width: 1135px;
}

.tt-pship .tt-pship-alert--ok { background: #e6f7ec; color: #1a6b2f; }
.tt-pship .tt-pship-alert--error { background: #fdeaea; color: #a93226; }

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
  .tt-pship .tt-pship-band-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 60px;
    padding: 110px 40px 110px 60px;
  }
}

@media (max-width: 900px) {
  .tt-pship .tt-pship-title,
  .tt-pship .tt-pship-display { font-size: 62px; line-height: 66px; }

  .tt-pship .tt-pship-band { width: 100%; border-radius: 120px 0 0 0; }

  .tt-pship .tt-pship-band-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
    padding: 90px 40px;
  }

  .tt-pship .tt-pship-band-logo img { max-width: 300px; }

  .tt-pship .tt-pship-logos { gap: 36px 60px; }
}

@media (max-width: 767px) {
  .tt-pship .tt-pship-wrap { padding-inline: 20px; }

  .tt-pship .tt-pship-hero { border-radius: 0; padding: 40px 0 64px; }

  .tt-pship .tt-pship-title,
  .tt-pship .tt-pship-display { font-size: 52px; line-height: 56px; }

  .tt-pship .tt-pship-lede { font-size: 17px; line-height: 27px; }

  .tt-pship .tt-pship-sec,
  .tt-pship .tt-pship-sec--last { padding: 64px 0; }

  .tt-pship .tt-pship-logos { margin-top: 48px; }
  .tt-pship .tt-pship-logos li:nth-child(1) img { height: 44px; }
  .tt-pship .tt-pship-logos li:nth-child(2) img { height: 40px; }
  .tt-pship .tt-pship-logos li:nth-child(3) img { height: 50px; }

  .tt-pship .tt-pship-band { border-radius: 0; }
  .tt-pship .tt-pship-band-grid { padding: 64px 20px; }
  .tt-pship .tt-pship-band-logo img { max-width: 240px; }
  .tt-pship .tt-pship-band-title { font-size: 34px; line-height: 40px; }

  .tt-pship .tt-pship-form { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }

  .tt-pship .tt-pship-submit { width: 100%; }
}
