html, body {
  overflow-x: clip;
}

/* DUSTWUN Cloudflare Pages static enhancements */
.dustwun-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  z-index: 1;
  display: block;
}

.about-page-banner .video-holder {
  position: relative;
  overflow: hidden;
}

.about-page-banner .video-holder .dustwun-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

/* Crisp form validation & confirmation states matching DUSTWUN Gravity Forms Orbital styling */
.dustwun-form-errors {
  border: 1px solid #c02b0a;
  background: rgba(192, 43, 10, 0.08);
  color: #f8d7da;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.5;
}

.dustwun-form-errors ul {
  margin: 6px 0 0 18px;
  padding: 0;
}

.dustwun-form-confirmation {
  border: 1px solid #35d07f;
  background: rgba(53, 208, 127, 0.1);
  color: #ffffff;
  border-radius: 8px;
  padding: 24px 22px;
  margin: 12px 0;
  font-size: 16px;
  line-height: 1.6;
}

.dustwun-form-confirmation h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  color: #35d07f;
}

.gfield_error input,
.gfield_error textarea,
.gfield_error select {
  border-color: #c02b0a !important;
}

.dustwun-submitting {
  opacity: 0.7;
  pointer-events: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #35d07f;
  outline-offset: 2px;
}

/* DUSTWUN iOS/Mobile dark multi-select & hidden label fix */
.contact-form .gfield.hidden_label > .gfield_label,
.contact-form .gfield.hidden_label > legend.gfield_label,
.contact-form .gfield--type-multiselect > .gfield_label,
.contact-form .gfield--input-type-multiselect > .gfield_label,
.contact-form .gfield--type-textarea.hidden_label > .gfield_label {
  display: none !important;
}

.contact-form .ginput_container_multiselect select {
  color-scheme: dark !important;
  background-color: #141515 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 6px !important;
  width: 100% !important;
}

.dw-ms-wrap {
  position: relative;
  width: 100%;
  font-family: inherit;
}

.dw-ms-trigger {
  width: 100%;
  min-height: 48px;
  padding: 12px 40px 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dw-ms-trigger:focus-visible,
.dw-ms-wrap.is-open .dw-ms-trigger {
  border-color: #8DFB4E;
  outline: none;
  background: rgba(255, 255, 255, 0.04);
}

.dw-ms-trigger::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.75);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.75);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.dw-ms-wrap.is-open .dw-ms-trigger::after {
  transform: translateY(-35%) rotate(-135deg);
  border-color: #8DFB4E;
}

.dw-ms-placeholder {
  color: rgba(255, 255, 255, 0.85);
}

.dw-ms-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #8DFB4E;
  color: #0F1010;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.2;
}

.dw-ms-menu {
  display: none;
  margin-top: 6px;
  background: #141515;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
  position: relative;
  z-index: 40;
}

.dw-ms-wrap.is-open .dw-ms-menu {
  display: block;
}

.dw-ms-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}

.dw-ms-option:last-child {
  border-bottom: none;
}

.dw-ms-option.is-selected {
  background: rgba(141, 251, 78, 0.12);
  color: #8DFB4E;
  font-weight: 600;
}

.dw-ms-check {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.dw-ms-option.is-selected .dw-ms-check {
  background: #8DFB4E;
  border-color: #8DFB4E;
  color: #0F1010;
  font-weight: 700;
}
