@font-face {
  font-family: Manrope;
  src: url("/studio/identity/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

.page-home .bg-home-gradient.is2:has(> .project-contact) {
  background-image: linear-gradient(var(--gradient-navy) 26%, var(--gradient-blue) 69% 81%, var(--grey-light) 94%);
}

.project-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 5vw, 74px) 20px clamp(64px, 6.5vw, 96px);
  color: #08182e;
  font-family: var(--font-brand);
}

.project-contact__sky {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: clamp(340px, 34vw, 490px);
  z-index: -1;
  pointer-events: none;
}

.project-contact__content {
  width: min(100%, 840px);
  margin-inline: auto;
}

.project-contact__intro {
  margin: 0 0 clamp(55px, 4.6vw, 67px);
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 6px rgb(7 31 82 / .27);
}

.project-contact__intro .heading-3 {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: clamp(36px, 4.45vw, 60px);
  font-weight: var(--type-title-weight, 550);
  letter-spacing: -.038em;
  line-height: 1.06;
  text-wrap: balance;
}

.project-contact__intro p {
  margin: 10px 0 0;
  color: inherit;
  font-size: clamp(16px, 1.55vw, 21px);
  line-height: 1.45;
}

.project-contact__highlight {
  display: inline-block;
  padding: .05em .1em .07em .04em;
  margin: -.05em -.1em -.07em -.04em;
  color: #d6c8ff;
  /* Include glyph overhang in the gradient's paint bounds. */
  line-height: 1.18;
  vertical-align: baseline;
}

@supports (background-clip: text) {
  .project-contact__highlight {
    background-image: linear-gradient(105deg,
      #b9dcff 8%, #c8ccff 33%, #ebc6ff 50%, #c1d6ff 70%, #b9dcff 92%);
    background-size: 225% 100%;
    background-position: 24% 50%;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    animation: project-contact-highlight 13s ease-in-out infinite alternate;
  }
}

@keyframes project-contact-highlight {
  from { background-position: 12% 50%; }
  to { background-position: 87% 50%; }
}

.project-contact__form {
  display: grid;
  margin: 0;
  padding: clamp(20px, 3.25vw, 36px);
  border: 0;
  border-radius: 24px;
  background: rgb(235 244 255 / .65);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 48px rgb(23 65 134 / .14);
  color: #132440;
}

.project-contact__flow,
.project-contact__confirmation {
  grid-area: 1 / 1;
  min-width: 0;
}

.project-contact__form[data-complete] .project-contact__flow { visibility: hidden; }

.project-contact__confirmation:not([hidden]) {
  display: grid;
  place-items: center;
  padding: 30px 8px;
  text-align: center;
}

.project-contact__confirmation-copy {
  max-width: 480px;
  animation: project-contact-confirm 650ms cubic-bezier(.25,.1,.25,1) both;
}

.project-contact__confirmation-mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgb(55 25 202 / .09);
  color: #3719ca;
}

.project-contact__confirmation h3 {
  margin: 0;
  color: inherit;
  font: 550 clamp(28px, 3.2vw, 42px)/1.1 var(--font-brand);
  letter-spacing: -.035em;
  text-wrap: balance;
}

.project-contact__confirmation h3:focus { outline: none; }

.project-contact__confirmation p {
  margin: 12px 0 0;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.5;
  text-wrap: pretty;
}

.project-contact__confirmation .project-contact__preview-note {
  margin-top: 20px;
  color: #354b69;
  font-size: 13px;
}

@keyframes project-contact-confirm {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.project-contact__progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: #354b69;
  font-size: 13px;
  font-weight: 600;
}

.project-contact__track {
  display: flex;
  gap: 5px;
}

.project-contact__track i {
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: rgb(55 25 202 / .21);
}

.project-contact__track i:first-child,
.project-contact__form[data-step="2"] .project-contact__track i { background: #3719ca; }

.project-contact__stage { display: flow-root; }
.project-contact__stage[data-sliding] { overflow: clip; }

.project-contact__step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.project-contact__step[hidden] { display: none; }

.project-contact__step-title {
  margin: 0 0 16px;
  color: #132440;
  font: 550 clamp(23px, 2.2vw, 29px)/1.15 var(--font-brand);
  letter-spacing: -.03em;
  scroll-margin-top: 24px;
}

.project-contact__field--wide { grid-column: 1 / -1; }
.project-contact__phone-field { max-width: 370px; }

.project-contact__fields,
.project-contact__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}

.project-contact__field {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}

.project-contact__field label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.project-contact__field label span {
  margin-left: 2px;
  color: #425673;
  font-size: 13px;
  font-weight: 400;
}

.project-contact__hint {
  color: #354965;
  font-size: 13px;
  line-height: 1.4;
}

.project-contact__hint[data-error] { color: #8b1a2a; }

.project-contact__field :is(input, textarea) {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid rgb(41 65 112 / .22);
  border-radius: 9px;
  background: rgb(255 255 255 / .67);
  color: inherit;
  font: 400 16px/1.35 var(--font-brand);
}

.project-contact__field textarea {
  min-height: 94px;
  resize: vertical;
}

.project-contact__field :is(input, textarea)::placeholder {
  color: #60738a;
  opacity: 1;
}

.project-contact__combobox { position: relative; }
.project-contact__combobox input { padding-right: 43px; }

.project-contact__combo-toggle {
  position: absolute;
  inset: 0 1px 0 auto;
  display: grid;
  width: 43px;
  place-items: center;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: transparent;
  color: #3b5172;
  cursor: pointer;
}

.project-contact__combo-toggle svg { transition: transform 160ms ease; }
.project-contact__combobox:has([aria-expanded="true"]) .project-contact__combo-toggle svg { transform: rotate(180deg); }
.project-contact__combo-toggle:hover { color: #3719ca; background: rgb(55 25 202 / .07); }

.project-contact__combo-options {
  position: absolute;
  z-index: 3;
  inset: calc(100% + 6px) 0 auto;
  max-height: 224px;
  margin: 0;
  padding: 5px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #d9e2f0;
  border-radius: 11px;
  background: #f7faff;
  box-shadow: 0 13px 28px rgb(22 48 103 / .18);
  list-style: none;
}

.project-contact__combo-options[hidden] { display: none; }
.project-contact__combo-options li {
  padding: 10px 11px;
  border-radius: 7px;
  overflow-wrap: anywhere;
  color: #172b4a;
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
}

.project-contact__combo-options li:is(:hover, [aria-selected="true"]) {
  background: #e9e4fc;
  color: #3018a9;
}

.project-contact__form :is(input, textarea, a, button, summary):focus-visible {
  outline: 2px solid #3719ca;
  outline-offset: 2px;
}

.project-contact__choices { margin-top: 19px; }
.project-contact__preference { min-width: 0; }

.project-contact__choice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  margin: 0;
  color: inherit;
  cursor: pointer;
}

.project-contact__choice input {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border: 0;
  border-radius: 5px;
  background-color: rgb(255 255 255 / .74);
  cursor: pointer;
}

.project-contact__choice input:checked {
  background: #3719ca url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8 3 3 6-6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}

@media (forced-colors: active) {
  .project-contact__choice input { appearance: auto; }
}

.project-contact__choice strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.project-contact__choice small,
.project-contact__disclosure small,
.project-contact__policies {
  color: #354965;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.project-contact__choice small { display: block; margin-top: 3px; }
.project-contact__disclosure { margin: 4px 0 0 29px; }
.project-contact__disclosure summary {
  width: fit-content;
  color: #3018a9;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.project-contact__disclosure summary span:last-child,
.project-contact__disclosure[open] summary span:first-child { display: none; }
.project-contact__disclosure[open] summary span:last-child { display: inline; }
.project-contact__disclosure small { display: block; margin-top: 5px; }
.project-contact__policies { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 15px 0 0; }
.project-contact__policies a { color: #3018a9; text-decoration: underline; text-underline-offset: 2px; }

.project-contact__actions {
  display: flex;
  align-items: center;
  gap: 10px 18px;
  margin-top: 22px;
}

.project-contact__submit,
.project-contact__back {
  font: 650 15px/1.2 Manrope, var(--font-brand);
  letter-spacing: -.018em;
}

.project-contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin-inline-start: auto;
  padding: 0 19px 0 22px;
  border: 0;
  border-radius: 999px;
  background: #3719ca;
  color: #fff;
  cursor: pointer;
  transition: transform 150ms cubic-bezier(.2, 0, 0, 1), background-color 150ms ease, box-shadow 180ms ease;
}

.project-contact__submit svg {
  flex: none;
  transition: transform 150ms cubic-bezier(.2, 0, 0, 1);
}

.project-contact__back {
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #3018a9;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.project-contact__back[hidden] { display: none; }

@media (max-width: 359px) {
  .project-contact__submit {
    gap: 8px;
    padding-inline: 14px;
  }
}

@media (hover: hover) {
  .project-contact__submit:not(:disabled):hover {
    background: #4424d9;
    box-shadow: 0 6px 16px rgb(55 25 202 / .23);
    transform: translateY(-2px);
  }
  .project-contact__submit:not(:disabled):hover svg { transform: translateX(3px); }
  .project-contact__back:hover { background: rgb(55 25 202 / .08); }
}

.project-contact__submit:not(:disabled):active { transform: scale(.97); }

@media (max-width: 640px) {
  .project-contact { padding-inline: 16px; }
  .project-contact__form { border-radius: 19px; }
  .project-contact__fields,
  .project-contact__choices { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .project-contact__confirmation-copy,
  .project-contact__highlight { animation: none; }
  .project-contact__submit,
  .project-contact__submit svg,
  .project-contact__back,
  .project-contact__combo-toggle svg { transition: none; }
  .project-contact .project-contact__submit:not(:disabled):is(:hover, :active),
  .project-contact .project-contact__submit:not(:disabled):hover svg { transform: none; }
}

[data-motion="off"] .project-contact__highlight,
[data-motion="off"] .project-contact__confirmation-copy { animation: none; }

[data-motion="off"] .project-contact .project-contact__submit:not(:disabled):is(:hover, :active),
[data-motion="off"] .project-contact .project-contact__submit:not(:disabled):hover svg { transform: none; }
.project-contact__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  pointer-events: none;
}
