/* Replaces behaviour that Webflow, jQuery and nice-select used to add at runtime */

/* Scroll reveal: hidden only when JS is running and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .u-container > * { opacity: 0; }
}

/* FAQ: the chevron now shows open/closed, and the answer eases in instead of popping */
.c-faq__dropdown-toggle .w-icon-dropdown-toggle { transition: transform .2s; }
.c-faq__dropdown-toggle.w--open .w-icon-dropdown-toggle { transform: rotate(180deg); }
@media (prefers-reduced-motion: no-preference) {
  .c-faq__answer-toggle.w--open { animation: faq-in .25s ease-out; }
  @keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
}
.w-dropdown-toggle:focus-visible, .w-slider-arrow-left:focus-visible, .w-slider-arrow-right:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Contact reason: native select styled like the old nice-select field (keyboard and mobile pickers work natively) */
select.c-form__field.is--dd {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23999' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* Demo form */
.demo-note { margin-top: .5rem; font-size: .875rem; opacity: .75; }
