/*
  RDS v2
  Start a Project
*/

.project-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7rem);
  color: #ffffff;
  background:
    radial-gradient(
      circle at 86% 10%,
      rgba(0, 183, 224, 0.16),
      transparent 28%
    ),
    radial-gradient(
      circle at 8% 90%,
      rgba(239, 183, 53, 0.13),
      transparent 25%
    ),
    linear-gradient(
      145deg,
      #071323,
      #0b213b
    );
}

.project-hero__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(20rem, 0.8fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.project-hero .eyebrow {
  color: #efb735;
}

.project-hero h1 {
  max-width: 13ch;
  margin:
    0
    0
    1.4rem;
  color: #ffffff;
  font-size:
    clamp(
      3rem,
      5.6vw,
      5.6rem
    );
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.project-hero__lead {
  max-width: 46rem;
  color:
    rgba(
      255,
      255,
      255,
      0.72
    );
  font-size:
    clamp(
      1rem,
      1.4vw,
      1.18rem
    );
  line-height: 1.65;
}

.project-hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.project-hero__signals span {
  padding:
    0.45rem
    0.7rem;
  color: #dff8fc;
  background:
    rgba(
      255,
      255,
      255,
      0.07
    );
  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.13
    );
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-hero__aside {
  padding:
    clamp(
      1.5rem,
      3vw,
      2.2rem
    );
  background:
    rgba(
      255,
      255,
      255,
      0.065
    );
  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.13
    );
  border-radius: 1.25rem;
  box-shadow:
    0
    2rem
    4rem
    rgba(
      0,
      0,
      0,
      0.2
    );
}

.project-hero__aside-label {
  display: block;
  margin-bottom: 1.2rem;
  color: #64d7ef;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-hero__aside ol {
  display: grid;
  gap: 1.15rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.project-hero__aside li {
  display: grid;
  grid-template-columns:
    auto
    1fr;
  gap: 0.9rem;
  align-items: start;
}

.project-hero__aside b {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  color: #071323;
  background: #efb735;
  border-radius: 50%;
  font-size: 0.68rem;
}

.project-hero__aside strong {
  color: #ffffff;
  font-size: 0.95rem;
}

.project-hero__aside p {
  margin:
    0.25rem
    0
    0;
  color:
    rgba(
      255,
      255,
      255,
      0.62
    );
  font-size: 0.8rem;
  line-height: 1.5;
}


.project-intake-section {
  padding-block:
    clamp(
      4rem,
      7vw,
      6.5rem
    );
  background: #eef3f7;
}

.project-intake-layout {
  display: grid;
  grid-template-columns:
    minmax(18rem, 0.72fr)
    minmax(0, 1.28fr);
  align-items: start;
  gap:
    clamp(
      3rem,
      7vw,
      7rem
    );
}

.project-intake__intro {
  position: sticky;
  top: 7rem;
}

.project-intake__intro h2 {
  max-width: 13ch;
  margin:
    0
    0
    1.1rem;
  color: #071323;
  font-size:
    clamp(
      2.4rem,
      4vw,
      4rem
    );
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.project-intake__intro > p {
  color: #516175;
  line-height: 1.65;
}

.project-intake__principle {
  margin-top: 2rem;
  padding: 1.3rem;
  background: #071323;
  border-radius: 1rem;
}

.project-intake__principle span {
  display: block;
  color: #efb735;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-intake__principle strong {
  display: block;
  margin-top: 0.45rem;
  color: #ffffff;
  font-size: 1.15rem;
}

.project-intake__principle p {
  margin:
    0.6rem
    0
    0;
  color:
    rgba(
      255,
      255,
      255,
      0.64
    );
  font-size: 0.78rem;
  line-height: 1.55;
}

.project-intake__contact {
  display: grid;
  gap: 0.3rem;
  margin-top: 1.5rem;
}

.project-intake__contact span {
  color: #6b7888;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-intake__contact a {
  color: #00718f;
  font-weight: 800;
  text-decoration: none;
}

.project-intake__contact a:hover {
  color: #071323;
}


.project-form-card {
  overflow: hidden;
  background: #ffffff;
  border:
    1px solid
    rgba(
      7,
      19,
      35,
      0.1
    );
  border-radius: 1.35rem;
  box-shadow:
    0
    1.7rem
    4rem
    rgba(
      7,
      19,
      35,
      0.1
    );
}

.project-form-card__heading {
  padding:
    clamp(
      1.6rem,
      3vw,
      2.4rem
    );
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #071323,
      #0b2948
    );
}

.project-form-card__heading > span {
  color: #64d7ef;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-form-card__heading h2 {
  margin:
    0.4rem
    0
    0;
  color: #ffffff;
  font-size:
    clamp(
      2rem,
      3vw,
      3rem
    );
  line-height: 1;
}

.project-form-card__heading p {
  margin:
    0.6rem
    0
    0;
  color:
    rgba(
      255,
      255,
      255,
      0.65
    );
}

.project-form {
  padding:
    clamp(
      1.5rem,
      3vw,
      2.4rem
    );
}

.project-form__grid {
  display: grid;
  grid-template-columns:
    repeat(
      2,
      minmax(
        0,
        1fr
      )
    );
  gap: 1.1rem;
}

.project-field {
  display: grid;
  gap: 0.42rem;
}

.project-field--full {
  grid-column: 1 / -1;
}

.project-field label {
  color: #17283b;
  font-size: 0.78rem;
  font-weight: 900;
}

.project-field label span {
  color: #b46f00;
}

.project-field input,
.project-field select,
.project-field textarea {
  width: 100%;
  padding:
    0.82rem
    0.9rem;
  color: #071323;
  background: #f8fafc;
  border: 1px solid #cfd9e3;
  border-radius: 0.65rem;
  font: inherit;
}

.project-field textarea {
  resize: vertical;
  min-height: 10rem;
}

.project-field input:focus,
.project-field select:focus,
.project-field textarea:focus {
  outline:
    3px solid
    rgba(
      0,
      174,
      239,
      0.16
    );
  border-color: #00718f;
}

.project-field small {
  color: #718095;
  font-size: 0.68rem;
}

.project-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.project-form__submit-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid #e3e9ef;
}

.project-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 13rem;
  color: #071323;
  background: #efb735;
  border: 0;
  cursor: pointer;
}

.project-submit:hover {
  color: #ffffff;
  background: #00718f;
}

.project-submit:disabled {
  opacity: 0.58;
  cursor: wait;
}

.project-form__submit-row small {
  max-width: 22rem;
  color: #718095;
  line-height: 1.4;
}

.project-form__status {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 0.7rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.project-form__status.is-success {
  color: #15552d;
  background: #e6f7ec;
  border: 1px solid #a8ddb8;
}

.project-form__status.is-error {
  color: #862b28;
  background: #fff0ef;
  border: 1px solid #e4b3b0;
}


.project-fit-section {
  padding-block:
    clamp(
      4rem,
      7vw,
      6rem
    );
  background: #ffffff;
}

.project-fit__header {
  display: grid;
  grid-template-columns:
    0.6fr
    1.4fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.project-fit__header h2 {
  max-width: 18ch;
  margin: 0;
  color: #071323;
  font-size:
    clamp(
      2.3rem,
      4vw,
      4rem
    );
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.project-fit__grid {
  display: grid;
  grid-template-columns:
    repeat(
      3,
      minmax(
        0,
        1fr
      )
    );
  gap: 1rem;
}

.project-fit__grid article {
  padding: 1.5rem;
  background: #f3f6f9;
  border:
    1px solid
    rgba(
      7,
      19,
      35,
      0.08
    );
  border-radius: 1rem;
}

.project-fit__grid article > span {
  color: #d59600;
  font-size: 0.67rem;
  font-weight: 900;
}

.project-fit__grid h3 {
  margin:
    0.55rem
    0
    0.6rem;
  color: #071323;
}

.project-fit__grid p {
  margin: 0;
  color: #5c6979;
  font-size: 0.82rem;
  line-height: 1.55;
}


@media (max-width: 900px) {

  .project-hero__grid,
  .project-intake-layout {
    grid-template-columns: 1fr;
  }

  .project-intake__intro {
    position: static;
  }

  .project-fit__header {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 650px) {

  .project-hero {
    padding-block: 3.5rem;
  }

  .project-hero h1 {
    max-width: none;
    font-size:
      clamp(
        2.7rem,
        12vw,
        4rem
      );
  }

  .project-form__grid,
  .project-fit__grid {
    grid-template-columns: 1fr;
  }

  .project-field--full {
    grid-column: auto;
  }

  .project-form__submit-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-submit {
    width: 100%;
  }

}


@media (prefers-reduced-motion: reduce) {

  .project-submit {
    transition: none;
  }

}
