@charset "UTF-8";

/* Keep the Contact Form 7 output visually identical to the original form. */
.top-entry .wpcf7-turnstile {
  position: absolute;
  top: calc(
    31.360625rem + var(--top-entry-field-shift) + var(--top-entry-error-gap-triple)
  );
  left: 50%;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  transform: translateX(-50%);
}

@media (max-width: 410px) {
  .top-entry {
    --top-entry-form-shift: 4.875rem;
    --top-entry-field-shift: 1.5rem;
  }
}

@media (max-width: 340px) {
  .top-entry {
    --top-entry-form-shift: 6.375rem;
    --top-entry-field-shift: 3rem;
  }
}
.top-entry .top-entry__field > p,
.top-entry .top-entry__group > p,
.top-entry .top-entry__submit > p {
  width: 100%;
  margin: 0;
}

.top-entry .top-entry__field br,
.top-entry .top-entry__group br,
.top-entry .top-entry__submit br {
  display: none;
}

.top-entry .top-entry__field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  height: 100%;
}

.top-entry .top-entry__input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  border: 1px solid var(--color-dark-border);
  border-radius: 0;
  padding: 0 calc(var(--top-entry-field-width) * 0.0626471822);
  color: var(--color-dark-text);
  font-family: var(--font-family-base);
  font-size: var(--text-14);
  font-weight: 300;
  line-height: 1.7143;
  letter-spacing: 0.1em;
  background-color: var(--color-dark-field);
  box-shadow: none;
}

.top-entry .top-entry__input::placeholder {
  color: var(--color-dark-placeholder);
  opacity: 1;
}

/* Match the age select's label and text inset to the text inputs. */
.top-entry #top-entry-age {
  --top-entry-age-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23969696' stroke-width='1.5'/%3E%3C/svg%3E");
  padding-left: calc(
    var(--top-entry-field-width) * 0.0626471822 - 2px
  );
  color: var(--color-dark-text);
}

.top-entry #top-entry-age:has(> option:first-child:checked) {
  color: var(--color-dark-placeholder);
}

@media (min-width: 431px) {
  .top-entry #top-entry-age {
    padding-right: calc(
      var(--top-entry-field-width) * 0.0626471822
    );
    background-image: var(--top-entry-age-arrow);
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 0.5rem 0.3rem;
    appearance: none;
    -webkit-appearance: none;
  }
}

@media (max-width: 430px) {
  .top-entry #top-entry-age {
    text-indent: 10px;
  }
}

/* Safari 26.5+ on iOS: replace the displaced native select indicator. */
@supports (-webkit-touch-callout: none) and selector(select:open) {
  @media (max-width: 430px) {
    .top-entry #top-entry-age {
      padding-right: calc(
        var(--top-entry-field-width) * 0.0626471822
      );
      background-image: var(--top-entry-age-arrow);
      background-repeat: no-repeat;
      background-position: right 0.75rem center;
      background-size: 0.5rem 0.3rem;
      appearance: none;
      -webkit-appearance: none;
    }
  }
}

.top-entry .top-entry__field-label {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 0.5rem;
  padding: 0;
  color: var(--color-dark-text);
  font-family: var(--font-family-base);
  font-size: var(--text-14);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.top-entry .top-entry__required {
  color: var(--color-primary-light);
  font-size: var(--text-10);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.top-entry .top-entry__group {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.top-entry .top-entry__choice-list {
  display: grid;
  gap: 0.625rem;
  color: var(--color-dark-text);
  font-family: var(--font-family-base);
  font-size: var(--text-14);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.top-entry .top-entry__group--gender .top-entry__choice-list,
.top-entry .top-entry__group--position .top-entry__choice-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1em;
}

.top-entry .wpcf7-list-item {
  margin: 0;
}

.top-entry .wpcf7-list-item label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}

.top-entry .wpcf7-list-item input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin: 0.15625rem 0 0;
  accent-color: var(--color-primary-light);
}

.top-entry .top-entry__input:-webkit-autofill,
.top-entry .top-entry__input:-webkit-autofill:hover,
.top-entry .top-entry__input:-webkit-autofill:focus,
.top-entry .top-entry__input:autofill {
  border-color: var(--color-dark-border);
  -webkit-text-fill-color: var(--color-dark-text);
  caret-color: var(--color-dark-text);
  box-shadow: 0 0 0 1000px var(--color-dark-field) inset;
  transition: background-color 9999s ease-out 0s;
}

.top-entry .wpcf7-not-valid-tip {
  font-size: 0.8em;
}

.top-entry .top-entry__button {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  border: 1px solid #ffffff;
  border-radius: 0 1.5625rem 0 0;
  padding: 0;
  color: var(--color-dark-surface);
  font-family: var(--font-family-heading);
  font-size: var(--text-14);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.2em;
  background: #ffffff;
  box-shadow: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}


/* Keep the form controls in document flow so they cannot overlap across devices. */
.top-entry {
  min-height: 0;
  padding-top: calc(18.1825rem + var(--top-entry-field-shift));
  padding-bottom: 3.5rem;
}

.top-entry .top-entry__form {
  position: relative;
  inset: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: var(--top-entry-field-width);
  margin: 0 0 0 var(--top-entry-content-left);
}

.top-entry .top-entry__field {
  position: static;
  width: 100%;
  height: auto;
  min-height: 0;
}

.top-entry .top-entry__field > p,
.top-entry .top-entry__field .wpcf7-form-control-wrap {
  height: auto;
}

.top-entry .top-entry__input {
  height: 3.3925rem;
}

.top-entry .top-entry__field--name {
  order: 1;
}

.top-entry .top-entry__field--age {
  order: 2;
}

.top-entry .top-entry__group--gender {
  order: 3;
}

.top-entry .top-entry__group--experience {
  order: 4;
}

.top-entry .top-entry__group--position {
  order: 5;
}

.top-entry .top-entry__field--tel {
  order: 6;
}

.top-entry .top-entry__field--email {
  order: 7;
}

.top-entry .wpcf7-turnstile {
  position: static;
  order: 8;
  width: 100%;
  transform: none;
}

.top-entry .top-entry__submit {
  position: relative;
  top: auto;
  left: auto;
  order: 9;
  width: 100%;
  height: 3.99125rem;
}

.top-entry .top-entry__form .wpcf7-response-output {
  position: static;
  order: 10;
  box-sizing: border-box;
  width: 100%;
}
