@font-face {
  font-family: "ABI EB Garamond";
  src: url("https://atelier.belamodesigns.com/wp-content/uploads/2026/09/EBGaramond-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "ABI Source Sans Pro";
  src: url("https://atelier.belamodesigns.com/wp-content/uploads/2026/09/SourceSansPro-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.abi-wrap,
.abi-wrap * {
  box-sizing: border-box;
}

.abi-wrap {
  --abi-ink: #4b5562;
  --abi-placeholder: #a9b3bb;
  --abi-border: #d2d7db;
  --abi-button: #dfe6e0;
  width: 100%;
  background: #fafaf8;
  color: var(--abi-ink);
}

.abi-form {
  width: min(100%, 1104px);
  margin: 0 auto;
}

.abi-section {
  margin: 0 0 170px;
}

.abi-section-title,
.abi-service-row h3 {
  margin: 0;
  color: var(--abi-ink);
  font-family: "ABI EB Garamond", Georgia, serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 44px;
  letter-spacing: 0;
  text-align: center;
}

.abi-section-title {
  margin-bottom: 46px;
}

.abi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 42px;
}

.abi-field {
  min-width: 0;
}

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

.abi-field label {
  display: block;
  margin: 0 0 9px;
  color: var(--abi-ink);
  font-family: "ABI EB Garamond", Georgia, serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  text-transform: uppercase;
}

.abi-field input,
.abi-field textarea {
  display: block;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid #d2d7db !important;
  border-radius: 0;
  outline: 0;
  background: #fff;
  box-shadow: none;
  color: var(--abi-ink);
  font-family: "ABI Source Sans Pro", Arial, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  appearance: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.abi-field textarea {
  min-height: 66px;
  resize: vertical;
}

.abi-field input::placeholder,
.abi-field textarea::placeholder {
  opacity: 1;
  color: var(--abi-placeholder);
  font-family: "ABI Source Sans Pro", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}

.abi-field input:focus,
.abi-field input:focus-visible,
.abi-field input:active,
.abi-field textarea:focus,
.abi-field textarea:focus-visible,
.abi-field textarea:active {
  border-color: #dfe6e0 !important;
  outline: 0 !important;
  box-shadow: 0 0 0 2px #dfe6e0 !important;
}

.abi-field input[type="date"]:invalid {
  color: var(--abi-placeholder);
}

.abi-section--important {
  text-align: center;
}

.abi-section--important p {
  max-width: 1080px;
  margin: 0 auto;
  color: var(--abi-ink);
  font-family: "ABI Source Sans Pro", Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
}

.abi-service-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  min-height: 300px;
  gap: 56px;
}

.abi-service-row + .abi-service-row {
  margin-top: 64px;
}

.abi-service-row h3 {
  align-self: center;
}

.abi-checklist {
  width: min(100%, 430px);
  margin: 0 auto;
}

.abi-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 18px;
  color: var(--abi-ink);
  cursor: pointer;
  font-family: "ABI EB Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  text-transform: uppercase;
}

.abi-check input {
  position: absolute !important;
  z-index: 2;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  clip: auto !important;
  clip-path: none !important;
  cursor: pointer;
}

.abi-checkbox {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 1px solid #d2d7db !important;
  background: #fff;
}

.abi-check input:checked + .abi-checkbox {
  border-color: #d2d7db !important;
  background: #dfe6e0 !important;
}

.abi-check input:checked + .abi-checkbox::after {
  position: absolute;
  top: 4px;
  left: 8px;
  width: 6px;
  height: 11px;
  border: solid var(--abi-ink);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.abi-check input:focus-visible + .abi-checkbox {
  border-color: #dfe6e0 !important;
  outline: 2px solid #dfe6e0;
  outline-offset: 3px;
}

.abi-section--details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.abi-section--upload {
  margin-bottom: 80px;
  text-align: center;
}

.abi-upload-copy {
  margin-bottom: 52px;
  color: var(--abi-ink);
  font-family: "ABI EB Garamond", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
}

.abi-upload-copy p {
  margin: 0;
}

.abi-upload-question {
  font-size: 20px;
}

.abi-dropzone {
  display: flex;
  width: min(100%, 520px);
  min-height: 116px;
  margin: 0 auto;
  padding: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #171717;
  cursor: pointer;
  font-family: "ABI Source Sans Pro", Arial, sans-serif;
  font-size: 17px;
  line-height: 24px;
  transition: background 160ms ease;
}

.abi-dropzone.is-dragging {
  background: rgb(223 230 224 / 55%);
}

.abi-file-button {
  display: inline-flex;
  min-height: 42px;
  padding: 7px 12px;
  align-items: center;
  border: 1px solid #d2d7db !important;
  background: #fff;
}

.abi-file-list {
  display: block;
  max-width: 100%;
  color: var(--abi-ink);
  font-size: 15px;
  line-height: 21px;
  overflow-wrap: anywhere;
}

.abi-dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.abi-file-help {
  margin: 2px 0 55px;
  color: var(--abi-placeholder);
  font-family: "ABI Source Sans Pro", Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.abi-consent {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 24px;
  text-align: left;
}

.abi-consent__label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #4b5562;
  cursor: pointer;
  font-family: "ABI Source Sans Pro", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
}

.abi-consent__label input {
  position: relative;
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  padding: 0;
  border: 1px solid #d2d7db !important;
  border-radius: 0;
  background: #fff;
  box-shadow: none !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.abi-consent__label input:checked {
  border-color: #dfe6e0 !important;
  background: #dfe6e0 !important;
}

.abi-consent__label input:checked::after {
  position: absolute;
  top: 4px;
  left: 8px;
  width: 6px;
  height: 11px;
  border: solid #4b5562;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.abi-consent__label input:focus,
.abi-consent__label input:focus-visible {
  border-color: #dfe6e0 !important;
  outline: 2px solid #dfe6e0 !important;
  outline-offset: 3px;
}

.abi-consent__label a,
.abi-consent__label a:hover,
.abi-consent__label a:focus,
.abi-consent__label a:visited {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.abi-submit {
  display: inline-flex;
  min-width: 220px;
  min-height: 48px;
  padding: 9px 20px;
  align-items: center;
  justify-content: center;
  gap: 0 !important;
  border: 0 !important;
  border-radius: 9px;
  background: #dfe6e0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  color: #171717 !important;
  cursor: pointer;
  font-family: "ABI EB Garamond", Georgia, serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 26px;
  transition: none;
}

.abi-submit > span {
  color: inherit !important;
  opacity: 0.8;
  transition: opacity 160ms ease;
}

.abi-submit > span:last-child {
  display: inline-block;
  margin-left: 12px !important;
  transform: translateX(0) !important;
  transition: opacity 160ms ease, transform 160ms ease;
}

.abi-submit:hover,
.abi-submit:focus,
.abi-submit:active {
  border: 0 !important;
  background: #dfe6e0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  color: #171717 !important;
}

.abi-submit:hover > span,
.abi-submit:focus-visible > span {
  opacity: 1;
}

.abi-submit:hover > span:last-child {
  transform: translateX(5px) !important;
}

.abi-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.abi-recaptcha-legal {
  max-width: 620px;
  margin: 18px auto 0;
  color: #7c8792;
  font-family: "ABI Source Sans Pro", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
}

.abi-recaptcha-legal a,
.abi-recaptcha-legal a:hover,
.abi-recaptcha-legal a:focus,
.abi-recaptcha-legal a:visited {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

.abi-notice {
  width: min(100%, 1104px);
  margin: 0 auto 48px;
  padding: 16px 20px;
  border: 1px solid #cbd5cd;
  background: #f1f5f2;
  color: var(--abi-ink);
  font-family: "ABI Source Sans Pro", Arial, sans-serif;
  font-size: 17px;
  line-height: 25px;
  opacity: 1;
  transition: opacity 240ms ease;
}

.abi-notice.is-hiding {
  opacity: 0;
}

.abi-notice--error {
  border-color: #e1c5c5;
  background: #fbf2f2;
}

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

html.abi-modal-open,
body.abi-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.abi-modal[hidden] {
  display: none !important;
}

.abi-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: flex;
  padding: 24px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.abi-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.abi-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(29 35 32 / 58%);
  backdrop-filter: blur(3px);
}

.abi-modal__dialog {
  position: relative;
  display: grid;
  width: min(1180px, 100%);
  height: calc(100vh - 48px);
  height: calc(100dvh - 48px);
  max-height: calc(100vh - 48px);
  overflow: clip !important;
  grid-template-rows: auto minmax(0, 1fr);
  background: #fafaf8;
  box-shadow: 0 24px 80px rgb(0 0 0 / 22%);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 200ms ease, transform 200ms ease;
}

.abi-modal.is-open .abi-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.abi-modal__header {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 76px;
  padding: 16px 26px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--abi-border, #d8dee2);
  background: #fafaf8;
}

.abi-modal__header h2 {
  margin: 0;
  color: #4b5562;
  font-family: "ABI EB Garamond", Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
}

.abi-modal__close {
  position: absolute;
  top: 50%;
  right: 22px;
  display: inline-flex;
  width: 42px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 50%;
  background: #dfe6e0 !important;
  color: #4b5562 !important;
  outline: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 160ms ease;
}

.abi-modal__close:hover,
.abi-modal__close:focus,
.abi-modal__close:active,
.abi-modal__close:focus-visible {
  border: 0 !important;
  background: #dfe6e0 !important;
  color: #4b5562 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.abi-modal__close:hover {
  transform: translateY(-50%) scale(1.06);
}

.abi-modal__body {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  align-self: stretch;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.abi-modal .abi-wrap {
  padding: 42px 38px 10px;
}

.abi-modal .abi-form {
  width: 100%;
}

.abi-modal .abi-section {
  margin-bottom: 78px;
}

.abi-modal .abi-section-title {
  margin-bottom: 32px;
}

.abi-modal .abi-service-row {
  min-height: 260px;
}

.abi-modal .abi-service-row + .abi-service-row {
  margin-top: 32px;
}

.abi-modal .abi-section--upload {
  margin-bottom: 28px;
}

.abi-modal .abi-notice {
  margin-bottom: 34px;
}

.abi-thank-you[hidden] {
  display: none !important;
}

.abi-thank-you {
  position: fixed;
  z-index: 1000000;
  inset: 0;
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(28px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  align-items: center;
  justify-content: center;
  overflow: auto;
  background: #fafaf8;
  opacity: 0;
  pointer-events: none;
  overscroll-behavior: contain;
  transition: opacity 220ms ease;
}

.abi-thank-you.is-open {
  opacity: 1;
  pointer-events: auto;
}

.abi-thank-you__dialog {
  width: min(620px, 100%);
  margin: auto;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.abi-thank-you.is-open .abi-thank-you__dialog {
  opacity: 1;
  transform: translateY(0);
}

.abi-thank-you__content {
  width: 100%;
}

.abi-thank-you__content h2 {
  margin: 0 0 14px;
  color: #4b5562;
  font-family: "ABI EB Garamond", Georgia, serif;
  font-size: clamp(46px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.08;
}

.abi-thank-you__content p {
  max-width: 560px;
  margin: 0 auto 20px;
  color: #707b87;
  font-family: "ABI Source Sans Pro", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}

.abi-thank-you__button,
.abi-thank-you__button:hover,
.abi-thank-you__button:focus,
.abi-thank-you__button:active,
.abi-thank-you__button:visited {
  display: inline-flex;
  min-width: 200px;
  min-height: 44px;
  padding: 10px 24px;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 8px;
  background: #dfe6e0 !important;
  box-shadow: none !important;
  color: #171717 !important;
  font-family: "ABI EB Garamond", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none !important;
  opacity: 0.86;
  transition: opacity 160ms ease, transform 160ms ease;
}

.abi-thank-you__button:hover,
.abi-thank-you__button:focus-visible {
  opacity: 1;
  transform: scale(1.02);
}

.abi-thank-you__button:focus-visible {
  outline: 2px solid #4b5562 !important;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .abi-form {
    width: 100%;
  }

  .abi-section {
    margin-bottom: 110px;
  }

  .abi-section-title {
    margin-bottom: 62px;
  }

  .abi-grid {
    gap: 34px 24px;
  }

  .abi-service-row {
    gap: 28px;
    min-height: 320px;
  }
}

@media (max-width: 680px) {
	.abi-thank-you {
		padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
	}

	.abi-thank-you__content h2 {
		margin-bottom: 12px;
		font-size: clamp(40px, 13vw, 50px);
	}

	.abi-thank-you__content p {
		margin-bottom: 24px;
		font-size: 18px;
		line-height: 27px;
	}

	.abi-thank-you__button {
		width: min(100%, 290px);
		min-height: 48px;
	}

	.abi-modal {
		padding: 10px;
	}

	.abi-modal__dialog {
		height: calc(100vh - 20px);
		height: calc(100dvh - 20px);
		max-height: calc(100vh - 20px);
	}

	.abi-modal__header {
		min-height: 64px;
		padding: 12px 56px 12px 18px;
		justify-content: flex-start;
	}

	.abi-modal__header h2 {
		font-size: 27px;
		line-height: 34px;
	}

	.abi-modal__close {
		right: 12px;
	}

	.abi-modal .abi-wrap {
		padding: 30px 18px 8px;
	}

	.abi-modal .abi-section {
		margin-bottom: 62px;
	}

	.abi-modal .abi-section-title {
		margin-bottom: 30px;
	}

	.abi-modal .abi-service-row {
		min-height: 0;
	}

  .abi-section {
    margin-bottom: 86px;
  }

  .abi-section-title,
  .abi-service-row h3 {
    font-size: 31px;
    line-height: 38px;
  }

  .abi-section-title {
    margin-bottom: 46px;
  }

  .abi-grid,
  .abi-service-row {
    grid-template-columns: 1fr;
  }

  .abi-grid {
    gap: 28px;
  }

  .abi-field label {
    font-size: 20px;
    line-height: 26px;
  }

  .abi-field input,
  .abi-field textarea,
  .abi-field input::placeholder,
  .abi-field textarea::placeholder {
    font-size: 17px;
    line-height: 26px;
  }

  .abi-service-row {
    min-height: 0;
    gap: 40px;
  }

  .abi-service-row + .abi-service-row {
    margin-top: 92px;
  }

  .abi-service-row--reverse h3 {
    grid-row: 1;
  }

  .abi-service-row--reverse .abi-checklist {
    grid-row: 2;
  }

  .abi-checklist {
    width: 100%;
  }

  .abi-check {
    font-size: 18px;
    line-height: 25px;
  }

  .abi-section--important p {
    font-size: 20px;
    line-height: 30px;
  }

  .abi-upload-copy {
    font-size: 17px;
  }

  .abi-consent {
    margin-bottom: 24px;
  }

  .abi-consent__label {
    gap: 12px;
    font-size: 16px;
    line-height: 24px;
  }

  .abi-recaptcha-legal {
    margin-top: 16px;
    font-size: 12px;
    line-height: 18px;
  }

  .abi-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .abi-wrap *,
  .abi-thank-you,
  .abi-thank-you * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
