/* Advanced 3D — Divi 4 modernization */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/archivo-italic-700-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
  --a3d-orange: #f47c20;
  --a3d-orange-dark: #d3650f;
  --a3d-orange-link: #b84f00;
  --a3d-orange-soft: rgba(244, 124, 32, 0.1);
  --a3d-ink: #0d0e10;
  --a3d-ink-2: #17191c;
  --a3d-body: #4b5057;
  --a3d-muted: #626870;
  --a3d-on-dark: #c8ccd2;
  --a3d-on-dark-muted: #b8bdc5;
  --a3d-line: #e3e5e8;
  --a3d-surface: #ffffff;
  --a3d-surface-2: #f6f7f8;
  --a3d-white: #ffffff;
  --a3d-font-body: "Inter", Arial, sans-serif;
  --a3d-row: 1240px;
  --a3d-gutter: clamp(20px, 4vw, 40px);
  --a3d-section: clamp(56px, 6vw, 92px);
  --a3d-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --a3d-shadow-1: 0 1px 2px rgba(13, 14, 16, 0.05), 0 1px 1px rgba(13, 14, 16, 0.04);
  --a3d-shadow-2: 0 10px 24px -8px rgba(13, 14, 16, 0.14), 0 2px 6px rgba(13, 14, 16, 0.06);
}

body.a3d-site,
.a3d-site button,
.a3d-site input,
.a3d-site select,
.a3d-site textarea {
  font-family: "Inter", Arial, sans-serif;
}

.a3d-site {
  color: var(--a3d-body);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.006em;
  background: var(--a3d-surface);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html body.a3d-site {
  background-color: var(--a3d-surface) !important;
}

.a3d-site *,
.a3d-site *::before,
.a3d-site *::after {
  box-sizing: border-box;
}

.a3d-site ::selection {
  color: var(--a3d-ink);
  background: rgba(244, 124, 32, 0.28);
}

.a3d-site :focus-visible {
  outline: 2px solid var(--a3d-orange);
  outline-offset: 3px;
}

.a3d-site :where(h1, h2, h3, h4, h5, h6),
.a3d-site :where(h1, h2, h3, h4, h5, h6) :where(strong, b) {
  font-family: "Archivo", Arial, sans-serif;
  color: var(--a3d-ink);
  font-weight: 700;
  text-wrap: balance;
}

.a3d-site h1 {
  max-width: 20ch;
  margin-bottom: 0.55em;
  font-size: clamp(2.1rem, 1.5rem + 1.5vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.034em;
}

.a3d-site .et_pb_column_1_2 h1 {
  font-size: clamp(1.95rem, 1.4rem + 1.1vw, 2.7rem);
}

.a3d-site :where(.et_pb_column_1_3, .et_pb_column_1_4) h1 {
  font-size: clamp(1.7rem, 1.3rem + 0.8vw, 2.2rem);
}

.a3d-site h2 {
  margin-bottom: 0.58em;
  font-size: clamp(1.9rem, 1.25rem + 1.9vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.a3d-site h3 {
  margin-bottom: 0.6em;
  font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.016em;
}

.a3d-site h4,
.a3d-site .et_pb_blurb_container h4 {
  font-size: clamp(1.12rem, 1.02rem + 0.35vw, 1.3rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.a3d-site h6,
.a3d-site .a3d-eyebrow {
  margin-bottom: 1rem;
  color: var(--a3d-orange);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.a3d-site p,
.a3d-site li {
  text-wrap: pretty;
}

.a3d-site :where(.et_pb_text_inner, .et_pb_blurb_description) > :where(p, ul, ol, blockquote) {
  max-width: 72ch;
}

.a3d-site .a3d-lead,
.a3d-site .a3d-lead p {
  max-width: 62ch;
  color: #626870;
  font-size: clamp(1.06rem, 1rem + 0.35vw, 1.25rem);
}

.a3d-site a {
  color: var(--a3d-orange-link);
  text-decoration-color: rgba(244, 124, 32, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 180ms var(--a3d-ease), text-decoration-color 180ms var(--a3d-ease);
}

.a3d-site a:hover {
  color: #943f00;
  text-decoration-color: currentColor;
}

.a3d-site #page-container {
  overflow-x: clip;
}

.a3d-site .container,
.a3d-site .et_pb_row,
.a3d-site .et_pb_fullwidth_header_container {
  width: min(calc(100% - (2 * var(--a3d-gutter))), var(--a3d-row));
  max-width: var(--a3d-row);
}

.a3d-site :where(.entry-content, .et_builder_inner_content) > .et_pb_section {
  padding-block: var(--a3d-section);
  background-color: var(--a3d-surface);
}

.a3d-site :where(.entry-content, .et_builder_inner_content) > .et_pb_section:nth-of-type(even):not(.a3d-dark):not(.a3d-light) {
  background-color: var(--a3d-surface-2);
}

.a3d-site :where(.entry-content, .et_builder_inner_content) > .et_pb_section + .et_pb_section {
  border-top: 1px solid var(--a3d-line);
}

.a3d-site :where(.entry-content, .et_builder_inner_content) > .et_pb_section.a3d-tight {
  padding-block: 0;
}

.a3d-site :where(.entry-content, .et_builder_inner_content) > .et_pb_section.a3d-flat {
  background-color: var(--a3d-surface-2) !important;
  background-image: none !important;
}

.a3d-site:is(.page-id-7, .page-id-105, .page-id-115, .page-id-454) .et_builder_inner_content > .et_pb_section:first-of-type:not(.a3d-light),
.a3d-site :where(.entry-content, .et_builder_inner_content) > .et_pb_section.a3d-dark {
  position: relative;
  isolation: isolate;
  color: rgba(255, 255, 255, 0.74);
  background-color: var(--a3d-ink) !important;
  background-image: radial-gradient(circle at 12% -10%, rgba(244, 124, 32, 0.16), transparent 40%) !important;
}

.a3d-site:is(.page-id-7, .page-id-105, .page-id-115, .page-id-454) .et_builder_inner_content > .et_pb_section:first-of-type:not(.a3d-light)::after,
.a3d-site :where(.entry-content, .et_builder_inner_content) > .et_pb_section.a3d-dark::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--a3d-orange), transparent 72%);
}

.a3d-site:is(.page-id-7, .page-id-105, .page-id-115, .page-id-454) .et_builder_inner_content > .et_pb_section:first-of-type:not(.a3d-light) :where(h1, h2, h3, h4, h5, h6, p, li),
.a3d-site :where(.entry-content, .et_builder_inner_content) > .et_pb_section.a3d-dark :where(h1, h2, h3, h4, h5, h6, p, li) {
  color: inherit !important;
}

.a3d-site:is(.page-id-7, .page-id-105, .page-id-115, .page-id-454) .et_builder_inner_content > .et_pb_section:first-of-type:not(.a3d-light) h1,
.a3d-site :where(.entry-content, .et_builder_inner_content) > .et_pb_section.a3d-dark :where(h1, h2, h3, h4) {
  color: var(--a3d-surface) !important;
}

.a3d-site .et_pb_button,
.a3d-site .et_pb_button:hover,
.a3d-site .et_pb_promo_button,
.a3d-site .et_pb_promo_button:hover,
.a3d-site :where(button, input[type="submit"], input[type="button"]) {
  min-height: 48px;
  padding: 14px 25px !important;
  border: 1px solid var(--a3d-orange) !important;
  border-radius: 0 !important;
  color: var(--a3d-ink) !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 0.94rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.005em !important;
  text-transform: none !important;
  background: var(--a3d-orange) !important;
  box-shadow: var(--a3d-shadow-1);
  transform: translateY(0);
  transition: transform 180ms var(--a3d-ease), box-shadow 180ms var(--a3d-ease), background-color 180ms var(--a3d-ease), border-color 180ms var(--a3d-ease) !important;
}

.a3d-site .et_pb_button::after,
.a3d-site .et_pb_promo_button::after {
  display: none !important;
}

.a3d-site .et_pb_button:hover,
.a3d-site .et_pb_promo_button:hover,
.a3d-site :where(button, input[type="submit"], input[type="button"]):hover {
  padding: 14px 25px !important;
  border-color: var(--a3d-orange-dark) !important;
  color: var(--a3d-ink) !important;
  background: var(--a3d-orange-dark) !important;
  box-shadow: 0 10px 24px -8px rgba(244, 124, 32, 0.35), 0 2px 6px rgba(13, 14, 16, 0.06);
  transform: translateY(-1px);
}

.a3d-site :where(.a3d-btn-secondary, .a3d-btn-secondary .et_pb_button) {
  border-color: var(--a3d-line) !important;
  color: var(--a3d-ink) !important;
  background: transparent !important;
  box-shadow: none;
}

.a3d-site :where(.a3d-btn-secondary, .a3d-btn-secondary .et_pb_button):hover {
  border-color: var(--a3d-ink) !important;
  color: var(--a3d-ink) !important;
  background: var(--a3d-surface) !important;
}

.a3d-site :where(.a3d-btn-dark, .a3d-btn-dark .et_pb_button) {
  border-color: var(--a3d-ink) !important;
  color: var(--a3d-surface) !important;
  background: var(--a3d-ink) !important;
}

.a3d-site :where(.a3d-btn-link, .a3d-btn-link .et_pb_button) {
  min-height: 0;
  padding: 0 0 0.2rem !important;
  border-width: 0 0 1px !important;
  border-color: currentColor !important;
  color: var(--a3d-ink) !important;
  background: transparent !important;
  box-shadow: none;
}

.a3d-site .a3d-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}

.a3d-site .a3d-hero-actions .et_pb_button_module_wrapper {
  margin: 0;
}

.a3d-site .a3d-card-grid .et_pb_column,
.a3d-site .a3d-service-card,
.a3d-site .et_pb_blurb.a3d-service-card {
  position: relative;
  height: 100%;
  padding: clamp(24px, 2.4vw, 34px) !important;
  overflow: hidden;
  border: 1px solid var(--a3d-line);
  border-radius: 0 !important;
  color: var(--a3d-body);
  background: var(--a3d-surface) !important;
  background-image: none !important;
  box-shadow: var(--a3d-shadow-1);
  transform: translateY(0);
  transition: transform 260ms var(--a3d-ease), border-color 260ms var(--a3d-ease), box-shadow 260ms var(--a3d-ease);
}

.a3d-site .a3d-card-grid .et_pb_column::before,
.a3d-site .a3d-service-card::before {
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 3px;
  content: "";
  background: var(--a3d-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--a3d-ease);
}

.a3d-site .a3d-card-grid .et_pb_column:hover,
.a3d-site .a3d-service-card:hover {
  border-color: #c7cbd0;
  box-shadow: var(--a3d-shadow-2);
  transform: translateY(-3px);
}

.a3d-site .a3d-card-grid .et_pb_column:hover::before,
.a3d-site .a3d-service-card:hover::before {
  transform: scaleX(1);
}

.a3d-site .a3d-card-grid {
  display: flex;
  align-items: stretch;
}

.a3d-site .a3d-card-grid .et_pb_column > .et_pb_module:last-child {
  margin-bottom: 0;
}

.a3d-site .a3d-step h4,
.a3d-site .a3d-step .et_pb_module_header {
  color: var(--a3d-orange);
  font-size: clamp(2.5rem, 2rem + 1.8vw, 4rem);
  font-variant-numeric: tabular-nums;
}

.a3d-site :where(.et_pb_toggle, .et_pb_tabs, .et_pb_testimonial, .et_pb_slider, .et_pb_slide, .et_pb_image img, .a3d-img-frame img) {
  border-radius: 0 !important;
}

.a3d-site .a3d-img-frame img {
  border: 1px solid var(--a3d-line);
  box-shadow: var(--a3d-shadow-1);
}

.a3d-site #top-header {
  min-height: 34px;
  color: var(--a3d-on-dark);
  background: var(--a3d-ink) !important;
  box-shadow: none;
}

.a3d-site #top-header .container {
  padding-block: 7px;
}

.a3d-site #top-header,
.a3d-site #top-header a {
  color: var(--a3d-on-dark) !important;
  font-size: 0.85rem;
  font-weight: 500;
}

.a3d-site #main-header {
  border-bottom: 1px solid var(--a3d-line);
  background: var(--a3d-surface) !important;
  box-shadow: none;
}

.a3d-site #main-header.et-fixed-header {
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 8px 24px rgba(13, 14, 16, 0.09) !important;
  backdrop-filter: blur(14px);
}

.a3d-site #logo {
  max-height: 56px;
  transition: max-height 240ms var(--a3d-ease);
}

.a3d-site .et-fixed-header #logo {
  max-height: 42px;
}

.a3d-site #top-menu-nav > ul > li > a {
  position: relative;
  padding-inline: 10px;
  color: var(--a3d-ink) !important;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 1;
}

.a3d-site #top-menu-nav > ul > li > a::before {
  position: absolute;
  right: 8px;
  bottom: 26px;
  left: 8px;
  height: 2px;
  content: "";
  background: var(--a3d-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms var(--a3d-ease);
}

.a3d-site #top-menu-nav > ul > li > a:hover,
.a3d-site #top-menu-nav > ul > li.current-menu-item > a,
.a3d-site #top-menu-nav > ul > li.current_page_item > a {
  color: var(--a3d-ink) !important;
}

.a3d-site #top-menu-nav > ul > li > a:hover::before,
.a3d-site #top-menu-nav > ul > li.current-menu-item > a::before,
.a3d-site #top-menu-nav > ul > li.current_page_item > a::before {
  transform: scaleX(1);
}

.a3d-site #top-menu li li a {
  width: 220px;
  padding: 9px 14px;
  color: var(--a3d-ink);
  font-size: 0.9rem;
}

.a3d-site .nav li ul {
  padding: 10px;
  border-top: 2px solid var(--a3d-orange);
  border-radius: 0;
  box-shadow: var(--a3d-shadow-2);
}

.a3d-site .mobile_menu_bar::before {
  color: var(--a3d-orange);
}

.a3d-site .et_mobile_menu {
  border-top: 2px solid var(--a3d-orange);
  border-radius: 0;
  box-shadow: var(--a3d-shadow-2);
}

.a3d-site #main-footer,
.a3d-site #footer-widgets,
.a3d-site #main-footer .container,
.a3d-site #footer-widgets .container,
.a3d-site .footer-widget {
  color: var(--a3d-on-dark);
  background-color: var(--a3d-ink) !important;
  background-image: none !important;
}

.a3d-site #footer-widgets {
  padding-block: clamp(48px, 5vw, 72px);
  border-top: 3px solid var(--a3d-orange);
}

.a3d-site .footer-widget h4 {
  color: var(--a3d-on-dark-muted) !important;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.a3d-site .footer-widget :where(a, p, li) {
  color: var(--a3d-on-dark) !important;
}

.a3d-site #footer-bottom {
  padding-block: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #08090a;
}

.a3d-site :where(.et_pb_contact_form, .wpcf7-form, .gform_wrapper) label {
  display: block !important;
  margin-bottom: 6px;
  color: var(--a3d-ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.a3d-site #page-container :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="number"], input[type="search"], select, textarea) {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--a3d-line);
  border-radius: 0;
  color: var(--a3d-ink);
  background: var(--a3d-surface);
  box-shadow: inset 0 1px 1px rgba(13, 14, 16, 0.03);
  transition: border-color 160ms var(--a3d-ease), box-shadow 160ms var(--a3d-ease);
}

.a3d-site #page-container textarea {
  min-height: 140px;
  resize: vertical;
}

.a3d-site #page-container :where(input, select, textarea):focus {
  border-color: var(--a3d-orange);
  outline: 0;
  box-shadow: 0 0 0 3px var(--a3d-orange-soft);
}

.a3d-site .entry-content ul:not(.et-social-icons):not(.sub-menu) {
  padding-left: 1.65rem;
  list-style: none;
}

.a3d-site .entry-content ul:not(.et-social-icons):not(.sub-menu) > li {
  position: relative;
}

.a3d-site .entry-content ul:not(.et-social-icons):not(.sub-menu) > li::before {
  position: absolute;
  top: 0.7em;
  left: -1.55rem;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--a3d-orange);
}

.a3d-site .entry-content ol li::marker {
  color: var(--a3d-orange);
  font-weight: 600;
}

.a3d-site blockquote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.4rem;
  border-left: 3px solid var(--a3d-orange);
  color: var(--a3d-body);
  font-size: 1.1em;
}

.a3d-site table {
  width: 100%;
  border: 1px solid var(--a3d-line);
  border-collapse: collapse;
  background: var(--a3d-surface);
}

.a3d-site th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--a3d-line);
  color: var(--a3d-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-align: left;
  text-transform: uppercase;
  background: var(--a3d-surface-2);
}

.a3d-site td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--a3d-line);
}

.a3d-site tbody tr:hover {
  background: rgba(244, 124, 32, 0.035);
}

.a3d-site hr {
  height: 1px;
  border: 0;
  background: var(--a3d-line);
}

.a3d-site.page-id-7 .et_builder_inner_content > .et_pb_section:nth-of-type(2) {
  background-color: var(--a3d-surface-2) !important;
  background-image: none !important;
}

.a3d-site.page-id-7 .et_builder_inner_content > .et_pb_section:nth-of-type(2) :where(h2, h3, p) {
  color: var(--a3d-ink) !important;
}

.a3d-site.page-id-7 .et_builder_inner_content > .et_pb_section:nth-of-type(3) .et_pb_row:last-child {
  display: flex;
  align-items: stretch;
}

.a3d-site.page-id-7 .et_builder_inner_content > .et_pb_section:nth-of-type(3) .et_pb_row:last-child > .et_pb_column {
  position: relative;
  height: auto;
  padding: clamp(24px, 2.4vw, 34px) !important;
  overflow: hidden;
  border: 1px solid var(--a3d-line);
  color: var(--a3d-body) !important;
  background: var(--a3d-surface) !important;
  background-image: none !important;
  box-shadow: var(--a3d-shadow-1);
}

.a3d-site.page-id-7 .et_builder_inner_content > .et_pb_section:nth-of-type(3) .et_pb_row:last-child > .et_pb_column :where(h3, h4, p) {
  color: inherit !important;
}

.a3d-site.page-id-7 .et_builder_inner_content > .et_pb_section:nth-of-type(3) .et_pb_row:last-child > .et_pb_column :where(h3, h4) {
  color: var(--a3d-ink) !important;
}

.a3d-site.page-id-7 .et_builder_inner_content > .et_pb_section:nth-of-type(4) {
  background-color: var(--a3d-surface) !important;
  background-image: none !important;
}

/* Divi's generated page rules use highly specific section and module selectors. */
html body.a3d-site div#top-header {
  background-color: var(--a3d-ink) !important;
  background-image: none !important;
}

body.a3d-site.et_secondary_nav_enabled #page-container #top-header {
  background-color: var(--a3d-ink) !important;
}

.a3d-site.page-id-7 .et_pb_section_0 .et_pb_text_1 :where(p, h2) {
  margin: 0;
  color: var(--a3d-orange) !important;
  font-family: var(--a3d-font-body) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
}

.a3d-site:is(.page-id-7, .page-id-105, .page-id-115, .page-id-454)
  .et_builder_inner_content > .et_pb_section:first-child {
  padding-block: var(--a3d-section) !important;
}

.a3d-site.page-id-7 .et_pb_section_0 .et_pb_button_module_wrapper {
  display: inline-block;
  margin-top: 18px;
  margin-right: 10px;
}

.a3d-site.page-id-7 .et_pb_section_0
  .et_pb_button_module_wrapper + .et_pb_button_module_wrapper .et_pb_button {
  border-color: var(--a3d-white) !important;
  color: var(--a3d-white) !important;
  background: transparent !important;
}

.a3d-site.page-id-7 .et_builder_inner_content > .et_pb_section:nth-of-type(3)
  .et_pb_column_1_3 {
  position: relative;
  height: auto;
  padding: clamp(24px, 2.4vw, 34px) !important;
  overflow: hidden;
  border: 1px solid var(--a3d-line);
  color: var(--a3d-body) !important;
  background: var(--a3d-surface) !important;
  background-image: none !important;
  box-shadow: var(--a3d-shadow-1);
}

.a3d-site.page-id-7 .et_builder_inner_content > .et_pb_section:nth-of-type(3)
  .et_pb_column_1_3 :where(h3, h4) {
  color: var(--a3d-ink) !important;
}

.a3d-site.page-id-7 .et_builder_inner_content > .et_pb_section:nth-of-type(5) {
  background-color: var(--a3d-ink) !important;
  background-image: none !important;
}

.a3d-site.page-id-7 .et_builder_inner_content > .et_pb_section:nth-of-type(5)
  :where(h2, h3, h4, p, a, li) {
  color: var(--a3d-white) !important;
}

/* Contrast system: normalize legacy Divi text colors to the rendered surface. */
.a3d-site :where(.et_pb_text, .et_pb_blurb, .et_pb_toggle, .et_pb_tabs, .et_pb_accordion, .et_pb_promo).et_pb_bg_layout_light
  :where(p, li, blockquote, strong, b, em, label),
.a3d-site :where(.et_pb_text, .et_pb_blurb, .et_pb_toggle, .et_pb_tabs, .et_pb_accordion, .et_pb_promo).et_pb_bg_layout_light {
  color: var(--a3d-body) !important;
}

.a3d-site :where(.et_pb_text, .et_pb_blurb, .et_pb_toggle, .et_pb_tabs, .et_pb_accordion, .et_pb_promo).et_pb_bg_layout_light
  :where(h1, h2, h3, h4, h5, h6),
.a3d-site :where(.et_pb_text, .et_pb_blurb, .et_pb_toggle, .et_pb_tabs, .et_pb_accordion, .et_pb_promo).et_pb_bg_layout_light
  :where(h1, h2, h3, h4, h5, h6) :where(strong, b) {
  color: var(--a3d-ink) !important;
}

.a3d-site :where(.et_pb_text, .et_pb_blurb, .et_pb_toggle, .et_pb_tabs, .et_pb_accordion, .et_pb_promo).et_pb_bg_layout_light
  a:not(.et_pb_button) {
  color: var(--a3d-orange-link) !important;
}

.a3d-site :where(.et_pb_text, .et_pb_blurb, .et_pb_toggle, .et_pb_tabs, .et_pb_accordion, .et_pb_promo).et_pb_bg_layout_dark,
.a3d-site :where(.et_pb_text, .et_pb_blurb, .et_pb_toggle, .et_pb_tabs, .et_pb_accordion, .et_pb_promo).et_pb_bg_layout_dark
  :where(p, li, blockquote, strong, b, em, label) {
  color: var(--a3d-on-dark) !important;
}

.a3d-site :where(.et_pb_text, .et_pb_blurb, .et_pb_toggle, .et_pb_tabs, .et_pb_accordion, .et_pb_promo).et_pb_bg_layout_dark
  :where(h1, h2, h3, h4, h5, h6),
.a3d-site :where(.et_pb_text, .et_pb_blurb, .et_pb_toggle, .et_pb_tabs, .et_pb_accordion, .et_pb_promo).et_pb_bg_layout_dark
  :where(h1, h2, h3, h4, h5, h6) :where(strong, b) {
  color: var(--a3d-white) !important;
}

.a3d-site :where(.et_pb_text, .et_pb_blurb, .et_pb_toggle, .et_pb_tabs, .et_pb_accordion, .et_pb_promo).et_pb_bg_layout_dark
  a:not(.et_pb_button) {
  color: #ff9b54 !important;
}

/* Marketing heroes and explicit dark sections override stale Divi layout flags. */
body.a3d-site:is(.page-id-7, .page-id-105, .page-id-115, .page-id-454)
  .et_builder_inner_content > .et_pb_section:first-of-type:not(.a3d-light)
  :where(p, li, blockquote, strong, b, em, label),
body.a3d-site .et_builder_inner_content > .et_pb_section.a3d-dark
  :where(p, li, blockquote, strong, b, em, label) {
  color: var(--a3d-on-dark) !important;
}

body.a3d-site:is(.page-id-7, .page-id-105, .page-id-115, .page-id-454)
  .et_builder_inner_content > .et_pb_section:first-of-type:not(.a3d-light)
  :where(h1, h2, h3, h4, h5, h6),
body.a3d-site:is(.page-id-7, .page-id-105, .page-id-115, .page-id-454)
  .et_builder_inner_content > .et_pb_section:first-of-type:not(.a3d-light)
  :where(h1, h2, h3, h4, h5, h6) :where(strong, b),
body.a3d-site .et_builder_inner_content > .et_pb_section.a3d-dark
  :where(h1, h2, h3, h4, h5, h6),
body.a3d-site .et_builder_inner_content > .et_pb_section.a3d-dark
  :where(h1, h2, h3, h4, h5, h6) :where(strong, b) {
  color: var(--a3d-white) !important;
}

body.a3d-site:is(.page-id-7, .page-id-105, .page-id-115, .page-id-454)
  .et_builder_inner_content > .et_pb_section:first-of-type:not(.a3d-light)
  a:not(.et_pb_button),
body.a3d-site .et_builder_inner_content > .et_pb_section.a3d-dark
  a:not(.et_pb_button) {
  color: #ff9b54 !important;
}

body.a3d-site .et_builder_inner_content > .et_pb_section.a3d-light
  :where(p, li, blockquote, strong, b, em, label) {
  color: var(--a3d-body) !important;
}

body.a3d-site .et_builder_inner_content > .et_pb_section.a3d-light
  :where(h1, h2, h3, h4, h5, h6) {
  color: var(--a3d-ink) !important;
}

.a3d-site #page-container :where(input, select, textarea)::placeholder {
  color: var(--a3d-muted);
  opacity: 1;
}

.a3d-site #page-container :where(input, select, textarea):disabled {
  color: var(--a3d-body);
  background: #e7e9ec;
  opacity: 1;
}

.a3d-site :where(.wppb-error, .pms-error, .et-pb-contact-message, .et_pb_contact_error_text) {
  color: #9f1c12 !important;
}

.a3d-site :where(.wppb-success, .pms-success) {
  color: #246b36 !important;
}

.a3d-site #footer-info,
.a3d-site #footer-info a,
.a3d-site #main-footer .footer-widget,
.a3d-site #main-footer .footer-widget :where(p, li, span, a) {
  color: var(--a3d-on-dark) !important;
}

.a3d-site #main-footer .footer-widget :where(h1, h2, h3, h4, h5, h6) {
  color: var(--a3d-on-dark-muted) !important;
}

body.a3d-site #main-footer a,
body.a3d-site #main-footer .bottom-nav a {
  color: var(--a3d-on-dark) !important;
}

/* Primary orange controls use ink text; white on brand orange does not meet AA. */
body.a3d-site #page-container :where(.et_pb_button, .et_pb_promo_button, button, input[type="submit"], input[type="button"]) {
  color: var(--a3d-ink) !important;
}

body.a3d-site #page-container :where(.a3d-btn-dark, .a3d-btn-dark .et_pb_button) {
  color: var(--a3d-white) !important;
}

/* High-specificity legacy module repairs identified in the rendered audit. */
body.a3d-site.page-id-7 .et_builder_inner_content > .et_pb_section:nth-of-type(2)
  .et_pb_promo.et_pb_bg_layout_dark :where(h1, h2, h3, h4, h5, h6) {
  color: var(--a3d-white) !important;
}

body.a3d-site.page-id-7 .et_builder_inner_content > .et_pb_section:nth-of-type(3)
  .et_pb_column_1_3 :where(p, li, blockquote, strong, b, em) {
  color: var(--a3d-body) !important;
}

body.a3d-site.page-id-105 .et_builder_inner_content .et_pb_column_3
  :where(h1, h2, h3, h4, h5, h6, p, li, blockquote, strong, b, em),
body.a3d-site.page-id-454 .et_builder_inner_content .et_pb_section_0 .et_pb_column_1
  :where(h1, h2, h3, h4, h5, h6, p, li, blockquote, strong, b, em) {
  color: var(--a3d-ink) !important;
}

body.a3d-site.page-id-105 .et_builder_inner_content .et_pb_column_4
  :where(p, li, blockquote, strong, b, em) {
  color: var(--a3d-on-dark) !important;
}

body.a3d-site.page-id-105 .et_builder_inner_content .et_pb_column_4
  :where(h1, h2, h3, h4, h5, h6) {
  color: var(--a3d-white) !important;
}

html body.a3d-site #page-container a.et_pb_button.et_pb_bg_layout_light,
html body.a3d-site #page-container button.et_pb_button,
html body.a3d-site #page-container a.et_pb_promo_button {
  color: var(--a3d-ink) !important;
}

html body.a3d-site.page-id-7 #page-container .et_pb_section_0 a.et_pb_button.et_pb_button_1 {
  color: var(--a3d-white) !important;
}

html body.a3d-site.page-id-7 #page-container .et_pb_section_2 .et_pb_text
  :where(p, li, blockquote, strong, b, em) {
  color: var(--a3d-body) !important;
}

html body.a3d-site.page-id-454 #page-container .et_pb_section_0 .et_pb_column_1
  :where(h1, h2, h3, h4, h5, h6, p, li, blockquote, strong, b, em) {
  color: var(--a3d-ink) !important;
}

/* AMFG mobile portal CTA: separate the control from its orange hero panel. */
html body.a3d-site.page-id-509 #page-container .et_pb_fullwidth_header_0
  a.et_pb_button.et_pb_button_one {
  border-color: var(--a3d-ink) !important;
  color: var(--a3d-white) !important;
  background: var(--a3d-ink) !important;
  box-shadow: 0 8px 18px rgba(13, 14, 16, 0.24);
}

html body.a3d-site.page-id-509 #page-container .et_pb_fullwidth_header_0
  a.et_pb_button.et_pb_button_one:hover {
  border-color: var(--a3d-ink-2) !important;
  color: var(--a3d-white) !important;
  background: var(--a3d-ink-2) !important;
}

html body.a3d-site.page-id-509 #page-container .et_pb_fullwidth_header_0
  a.et_pb_button.et_pb_button_one:focus-visible {
  outline-color: var(--a3d-white);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.38);
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .a3d-site .a3d-reveal {
      animation: a3d-reveal 1ms both;
      animation-timeline: view();
      animation-range: entry 8% cover 26%;
    }
  }
}

@keyframes a3d-reveal {
  from {
    opacity: 0.001;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .a3d-site *,
  .a3d-site *::before,
  .a3d-site *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .a3d-site :where(.entry-content, .et_builder_inner_content) > .et_pb_section {
    padding-block: clamp(48px, 8vw, 68px);
  }

  .a3d-site .a3d-card-grid,
  .a3d-site.page-id-7 .et_builder_inner_content > .et_pb_section:nth-of-type(3) .et_pb_row:last-child {
    display: block;
  }

  .a3d-site .a3d-card-grid .et_pb_column,
  .a3d-site.page-id-7 .et_builder_inner_content > .et_pb_section:nth-of-type(3) .et_pb_row:last-child > .et_pb_column {
    margin-bottom: 20px;
  }

  .a3d-site .et_header_style_left #logo,
  .a3d-site .et_header_style_split #logo {
    max-height: 48px;
  }

  .a3d-site .et_mobile_menu li a {
    color: var(--a3d-ink);
    font-family: "Inter", Arial, sans-serif;
    font-weight: 600;
  }
}

@media (max-width: 640px) {
  .a3d-site {
    font-size: 16px;
  }

  .a3d-site h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .a3d-site h2 {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
  }

  .a3d-site .a3d-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .a3d-site .a3d-hero-actions .et_pb_button,
  .a3d-site .a3d-hero-actions .et_pb_button_module_wrapper {
    width: 100%;
    text-align: center;
  }

  .a3d-site table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .a3d-site #footer-info,
  .a3d-site #footer-bottom .et-social-icons {
    text-align: left;
  }
}

@media print {
  .a3d-site #top-header,
  .a3d-site #main-header,
  .a3d-site #main-footer,
  .a3d-site #wpadminbar,
  .a3d-site .et_pb_button,
  .a3d-site .et_pb_button_module_wrapper {
    display: none !important;
  }

  .a3d-site,
  .a3d-site #page-container,
  .a3d-site .et_pb_section {
    color: #000 !important;
    background: #fff !important;
  }

  .a3d-site a {
    color: #000 !important;
    text-decoration: underline;
  }
}
