/* The closing invitation stays in normal flow, including while typing. */
.home-contact {
  position: relative;
  padding: clamp(5rem, 9vw, 9rem) 0;
  scroll-margin-top: calc(var(--header-height) + 24px);
  background: radial-gradient(ellipse at 94% 22%, #d8cafa80, transparent 52%),
    radial-gradient(ellipse at 4% 85%, #cddff34d, transparent 42%), #f7f2e9;
  color: #211d33;
}
.home-contact [hidden] { display: none !important; }
.home-contact__layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.home-contact__layout > * { min-width: 0; }
.home-contact__eyebrow { margin: 0 0 1.5rem; color: #67617e; font: 650 .68rem/1.5 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; }
.page--home .home-contact__intro h2 { margin: 0 0 2rem; font: 800 clamp(3.5rem, 5.7vw, 5.8rem)/1.03 "TFA Condensed", Impact, sans-serif; letter-spacing: -.025em; text-transform: uppercase; color: #211d33; }
.home-contact__intro h2 > span { display: inline-block; padding: .1em .06em .15em 0; color: #7251b2; font: 400 .78em/1.1 "TFA Marker", cursive; letter-spacing: -.06em; transform: rotate(-4deg); text-transform: none; }
.home-contact__lead { max-width: 29ch; margin: 0 0 1rem; color: #30293f; font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.55; letter-spacing: -.025em; }
.home-contact__copy { max-width: 43ch; margin: 0; color: #646076; font-size: 1rem; line-height: 1.8; }
.home-contact__people { display: flex; align-items: center; gap: 1rem; margin: 2rem 0; }
.home-contact__avatars { display: flex; padding-right: .15rem; flex: 0 0 auto; }
.home-contact__avatar { position: relative; display: block; overflow: hidden; width: 54px; height: 54px; border: 3px solid #f7f2e9; border-radius: 50%; background: #1b2038; }
.home-contact__avatar + .home-contact__avatar { margin-left: -13px; }
.home-contact__people p { margin: 0; font-size: .875rem; line-height: 1.55; }
.home-contact__people strong { display: block; color: #30293f; font-weight: 650; }
.home-contact__people p span { color: #646076; font-size: .8125rem; }
.home-contact__direct { max-width: 25rem; padding-top: 1.5rem; border-top: 1px solid #d8d0e2; }
.home-contact__direct > p:first-child { margin: 0; color: #646076; font-size: .8125rem; }
.home-contact__direct > a { display: inline-flex; align-items: center; min-height: 44px; color: #554195; font-size: clamp(1rem, 1.65vw, 1.25rem); text-decoration: underline; text-underline-offset: .28em; overflow-wrap: anywhere; }
.home-contact__callback { margin: .6rem 0 0; max-width: 39ch; font-size: .8125rem; line-height: 1.6; color: #646076; }
.home-contact__form-wrap { position: relative; padding: 12px; border: 1px solid #fff9; border-radius: 30px; background: linear-gradient(145deg, #c3ccf2, #d7c7ef 60%, #e8d9ef); box-shadow: 0 24px 70px -40px #50407b55; }
.home-contact__hello { position: absolute; z-index: 1; right: 26px; top: -26px; padding: 14px 21px; border-radius: 18px 18px 2px 18px; background: #222038; color: #f2e7ff; font: 400 1.1rem/1.1 "TFA Marker", cursive; transform: rotate(7deg); box-shadow: 0 6px 20px #31243f20; }
.home-contact .home-contact__card { padding: clamp(1.5rem, 3vw, 2.75rem); border: 1px solid #ffffffc7; border-radius: 20px; background: #fffdf9; box-shadow: none; }
.home-contact__card .home-contact__eyebrow { margin-bottom: .8rem; color: #7251a2; font-size: .625rem; }
.home-contact__card h3 { margin: 0 0 .65rem; color: #252036; font: 650 clamp(1.6rem, 2.5vw, 2.25rem)/1.15 var(--font-sans); letter-spacing: -.05em; }
.home-contact .contact-form-lead { margin-bottom: 1.5rem; color: #6d657c; }
.home-contact .contact-topics { margin-bottom: 1.5rem; }
.home-contact .contact-topics legend, .home-contact .contact-field { color: #30293f; font-size: .8125rem; }
.home-contact .contact-topics legend span { color: #766c87; }
.home-contact .contact-topics__choices { gap: 7px; }
.home-contact .contact-topics label > span { padding: .5rem .8rem; border-color: #ded7ea; background: #f6f2fa; color: #685a7a; font-size: .75rem; }
.home-contact .contact-topics input:checked + span { border-color: #9073be; background: #e5d9f8; color: #412c62; box-shadow: inset 0 0 0 1px #9073be; }
.home-contact .contact-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.home-contact .contact-field { margin-bottom: 1rem; }
.home-contact .contact-field :is(input, textarea) { background: #f9f7fc; border-color: #d9d2e4; border-radius: 10px; font-size: 16px; color: #30293f; }
.home-contact .contact-field :is(input, textarea)::placeholder { color: #81758e; font-size: .875rem; }
.home-contact .contact-field :is(input, textarea):focus-visible { outline-color: #7251b2; box-shadow: 0 0 0 4px #e8def8; background: white; }
.home-contact .contact-field [aria-invalid="true"] { border-color: #a12a3c; }
.home-contact .contact-field textarea { min-height: 126px; }
.home-contact .contact-privacy { margin: .25rem 0 1.2rem; color: #71697e; font-size: .75rem; }
.home-contact .contact-privacy a { color: #5a4196; }
.page .home-contact .contact-submit { width: 100%; min-height: 54px; border: 1px solid #cbb9e6; border-radius: 12px; background: #dfd1ff; color: #302045; font-size: .9375rem; font-weight: 700; box-shadow: 0 5px 20px #71568c14; }
.page .home-contact .contact-submit:hover { background: #d3bdf7; }
.page .home-contact .contact-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.home-contact__form-note { margin: .85rem 0 0; text-align: center; color: #797083; font-size: .6875rem; }
.home-contact__success-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.5rem; border-radius: 50%; color: #315b46; background: #cce4d6; font-size: 1.7rem; }
.home-contact .contact-success { padding: 1.5rem 0; }
.home-contact .contact-success .button { margin-top: .8rem; white-space: normal; text-align: center; }
.home-contact :is(a, button):focus-visible { outline: 2px solid #7251b2; outline-offset: 4px; }

@media (max-width: 960px) {
  .home-contact__layout { grid-template-columns: minmax(0, 1fr); max-width: 42rem; gap: 3.5rem; }
  .home-contact__intro h2 > span { font-size: .86em; }
  .home-contact__copy { max-width: 48ch; }
  .home-contact__lead { max-width: 34ch; }
  .home-contact__direct { max-width: none; }
}
@media (max-width: 560px) {
  .home-contact { padding: 4rem 0; }
  .home-contact__layout { width: calc(100% - 40px); }
  .page--home .home-contact__intro h2 { font-size: clamp(2.75rem, 12.5vw, 4.2rem); margin-bottom: 1.5rem; }
  .home-contact__eyebrow { max-width: 28ch; font-size: .625rem; }
  .home-contact__people { gap: .75rem; }
  .home-contact__avatar { width: 46px; height: 46px; }
  .home-contact__people p span { font-size: .75rem; }
  .home-contact__form-wrap { padding: 7px; border-radius: 23px; }
  .home-contact .home-contact__card { padding: 1.65rem 1.05rem; border-radius: 16px; }
  .home-contact__hello { right: 18px; top: -24px; padding: 12px 16px; font-size: .9375rem; }
  .home-contact .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home-contact .contact-topics label > span { font-size: .75rem; padding-inline: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-contact *, .home-contact *::before { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .home-contact__form-wrap, .home-contact .contact-submit { border: 1px solid ButtonText; }
}
