/* Homepage 2.1.8: hand-built Elementor widgets, preserving the approved localhost design. */
.wm-home-native .elementor-widget-heading,
.wm-home-native .elementor-widget-text-editor,
.wm-home-native .elementor-widget-button,
.wm-home-native .elementor-widget-image {
  margin: 0;
  max-width: none;
}

.wm-home-native .elementor-heading-title,
.wm-home-native .elementor-widget-text-editor p {
  margin-top: 0;
}

.wm-home-native .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.wm-home-native .wm-native-label { width: auto; }
.wm-home-native .wm-native-label .elementor-heading-title { color: inherit; font: inherit; letter-spacing: inherit; line-height: inherit; text-transform: inherit; }
.wm-home-native .wm-kicker,
.wm-home-native .wm-kicker p { color: var(--terra) !important; }
.wm-home-native .wm-contact .wm-kicker,
.wm-home-native .wm-contact .wm-kicker p { color: var(--terra-light) !important; }
.wm-home-native .wm-proof-intro > .wm-kicker,
.wm-home-native .wm-section-heading > .wm-kicker,
.wm-home-native .wm-system-intro > .wm-kicker,
.wm-home-native .wm-results-title > .wm-kicker,
.wm-home-native .wm-services-intro > .wm-kicker,
.wm-home-native .wm-about-heading > .wm-kicker,
.wm-home-native .wm-process-heading > .wm-kicker,
.wm-home-native .wm-faq-heading > .wm-kicker,
.wm-home-native .wm-contact-title > .wm-kicker { margin-bottom: 0; }

/* Elementor button widgets use an inner anchor; these rules reproduce the original anchors. */
.wm-home-native .elementor-widget-button .elementor-button {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
  font: inherit;
  padding: 0;
}
.wm-home-native .elementor-widget-button.wm-button { width: min(100%, 290px); }
.wm-home-native .elementor-widget-button.wm-button .elementor-button {
  align-items: center;
  display: inline-flex;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 20px;
  width: 100%;
}
.wm-home-native .elementor-widget-button.wm-button-primary .elementor-button { background: var(--terra); color: var(--white); }
.wm-home-native .elementor-widget-button.wm-button-dark .elementor-button { background: var(--ink-deep); color: var(--white); }
.wm-home-native .elementor-widget-button.wm-inline-link,
.wm-home-native .elementor-widget-button.wm-text-link {
  border-bottom: 0 !important;
  width: auto;
}
.wm-home-native .elementor-widget-button.wm-inline-link .elementor-button,
.wm-home-native .elementor-widget-button.wm-text-link .elementor-button {
  border-bottom: 1px solid currentColor;
  padding: 0 0 5px;
}
.wm-home-native .wm-native-button .elementor-button-icon,
.wm-home-native .wm-native-inline-button .elementor-button-icon,
.wm-home-native .wm-native-service-button .elementor-button-icon { display: none !important; }

/* Hero. The approved system graphic stays intact as one Elementor image widget. */
.wm-home-native .wm-hero-bottom > .wm-native-summary { color: var(--ink-soft); font-size: 17px; line-height: 1.68; }
.wm-home-native .wm-eyebrow > .elementor-widget-heading:first-child .elementor-heading-title { color: var(--terra); }
.wm-home-native .wm-signal-static {
  align-self: center;
  background: transparent !important;
  box-shadow: none !important;
  display: block;
  line-height: 0;
  min-height: 0 !important;
  overflow: visible;
  padding: 0 !important;
  width: min(100%, 715px);
}
.wm-home-native .wm-signal-static::before { display: none !important; }
.wm-home-native .wm-signal-static .elementor-widget-container {
  aspect-ratio: 715 / 650;
  box-shadow: 18px 18px 0 #ead7d0;
  height: auto;
  overflow: hidden;
}
.wm-home-native .wm-signal-static img {
  aspect-ratio: 715 / 650;
  display: block;
  height: auto;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.wm-home-native .wm-signal-elementor {
  min-height: 680px;
  display: grid;
  grid-template-rows: auto minmax(510px, 1fr) auto;
  padding: 28px;
}
.wm-home-native .wm-signal-elementor > * { position: relative; z-index: 2; }
.wm-home-native .wm-signal-elementor .wm-signal-head { width: 100%; }
.wm-home-native .wm-signal-elementor .wm-signal-head > .elementor-widget-heading { width: auto; }
.wm-home-native .wm-signal-elementor .wm-signal-canvas {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 510px;
  width: 100%;
  background:
    radial-gradient(circle at 28% 18%, var(--terra-light) 0 7px, rgba(221,129,118,.16) 8px 15px, transparent 16px),
    radial-gradient(circle at 78% 65%, #cfe0e5 0 7px, rgba(207,224,229,.16) 8px 15px, transparent 16px),
    radial-gradient(circle at 44% 91%, #fff 0 5px, transparent 6px),
    radial-gradient(circle at center, transparent 0 76px, var(--terra-light) 77px 78px, transparent 79px),
    radial-gradient(circle at center, transparent 0 127px, rgba(220,231,235,.48) 128px 129px, transparent 130px),
    radial-gradient(circle at center, transparent 0 181px, rgba(220,231,235,.30) 182px 183px, transparent 184px);
}
.wm-home-native .wm-signal-elementor .wm-signal-copy {
  align-items: center;
  display: flex;
  justify-content: center;
  text-align: center;
  width: auto;
}
.wm-home-native .wm-signal-elementor .wm-signal-copy h3 {
  color: var(--white);
  font-size: clamp(26px, 2vw, 33px);
  font-weight: 520;
  letter-spacing: -.04em;
  line-height: 1.12;
  margin: 0;
}
.wm-home-native .wm-signal-elementor .wm-signal-copy-bottom h3 { color: #cfe0e5; }
.wm-home-native .wm-signal-elementor .wm-signal-foot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}
.wm-home-native .wm-signal-elementor .wm-signal-foot > .elementor-widget-heading { width: auto; text-align: center; }
.wm-home-native .wm-signal-elementor .wm-signal-foot > .elementor-widget-heading:first-child { text-align: left; }
.wm-home-native .wm-signal-elementor .wm-signal-foot > .elementor-widget-heading:last-child { text-align: right; }

/* Compatibility for a homepage imported by 2.1.0/2.1.1 before the new image widget existed. */
.wm-home-native .wm-signal:not(.wm-signal-elementor):not(.wm-signal-static) {
  background: var(--ink) url('../images/wise-system-hero-v2.png') center / cover no-repeat !important;
  padding: 0 !important;
}
.wm-home-native .wm-signal:not(.wm-signal-elementor):not(.wm-signal-static)::before { display: none !important; }
.wm-home-native .wm-signal:not(.wm-signal-elementor):not(.wm-signal-static) > * { display: none !important; }

/* Proof, diagnosis and system cards */
.wm-home-native .wm-proof-client h3 { color: var(--ink); font-size: 19px; font-weight: 620; letter-spacing: -.015em; line-height: 1.25; }
.wm-home-native .wm-proof-client > .wm-native-label { color: var(--ink-soft); font-size: 13px; }
.wm-home-native .wm-native-number { color: var(--terra-light); font-size: 42px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.wm-home-native .wm-problem-grid .wm-native-article-copy { margin-top: auto; }
.wm-home-native .wm-problem-grid .wm-native-article-copy h3 {
  color: var(--white) !important;
  display: block;
  margin: 0 0 18px;
}
.wm-home-native .wm-problem-grid .wm-native-article-copy > .elementor-widget-heading { width: 100%; }
.wm-home-native .wm-system-grid .wm-native-number { color: var(--terra); }
.wm-home-native .wm-system-grid .wm-native-article-copy h3 { margin: 0 0 14px; }
.wm-home-native .wm-system-grid .wm-native-article-copy { min-height: 145px; }
.wm-home-native .wm-section-heading > .wm-section-summary,
.wm-home-native .wm-results-heading > .wm-section-summary,
.wm-home-native .wm-system-intro > .wm-section-summary,
.wm-home-native .wm-services-intro > .wm-section-summary,
.wm-home-native .wm-process-heading > .wm-section-summary {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 4px;
  padding-left: 24px;
  border-left: 2px solid var(--terra);
}
.wm-home-native .wm-system-intro > .wm-section-summary { max-width: 600px; }
.wm-home-native .wm-services-intro > .wm-section-summary { max-width: 580px; }
.wm-home-native .wm-process-heading > .wm-section-summary { max-width: 560px; }
.wm-home-native .wm-section-heading > .wm-section-summary,
.wm-home-native .wm-results-heading > .wm-section-summary,
.wm-home-native .wm-system-intro > .wm-section-summary,
.wm-home-native .wm-services-intro > .wm-section-summary,
.wm-home-native .wm-process-heading > .wm-section-summary { align-self: start; }
@media (min-width: 1181px) {
  .wm-home-native .wm-results-heading > .wm-section-summary { margin-top: 54px; }
}

/* Projects */
.wm-home-native .wm-projects { border: 0 !important; outline: 0; }
.wm-home-native .wm-project-image,
.wm-home-native .wm-project-image .elementor-widget-container,
.wm-home-native .wm-project-image a { height: 100%; min-height: 590px; width: 100%; }
.wm-home-native .wm-project-image img { height: 100%; min-height: 590px; object-fit: cover; width: 100%; }
.wm-home-native .wm-project-meta > .elementor-widget-heading { width: auto; }
.wm-home-native .wm-project-meta > .elementor-widget-heading:first-child { color: var(--terra); }
.wm-home-native .wm-project-meta > .elementor-widget-heading:last-child { color: var(--ink-soft); }
.wm-home-native .wm-project-title p { margin-bottom: 24px; }
.wm-home-native .wm-project-services p { margin-bottom: 42px; }
.wm-home-native .wm-project-copy > .wm-native-inline-button { align-self: flex-start; }

/* Testimonial */
.wm-home-native .wm-testimonial-copy > .wm-quote-mark { color: var(--terra); font: 112px/.7 Georgia, serif; width: auto; }
.wm-home-native .wm-testimonial-copy > .wm-quote-mark .elementor-heading-title { color: inherit; font: inherit; }
.wm-home-native .wm-testimonial-text { font-size: clamp(29px, 3vw, 45px); letter-spacing: -.035em; line-height: 1.16; }
.wm-home-native .wm-testimonial-footer { gap: 10px; padding: clamp(42px, 5vw, 70px); background: var(--ink); color: var(--white); }
.wm-home-native .wm-testimonial-footer > .wm-testimonial-label { color: var(--terra-light); font-size: 11px; font-weight: 600; letter-spacing: .1em; margin-bottom: auto; text-transform: uppercase; }
.wm-home-native .wm-testimonial-footer h3 { color: var(--white); font-size: 23px; line-height: 1.15; }
.wm-home-native .wm-testimonial-footer > .wm-testimonial-role { color: rgba(255,255,255,.68); font-size: 13px; }

/* Services */
.wm-home-native .wm-service-groups .wm-native-number { color: var(--terra); }
.wm-home-native .wm-native-service-button { width: auto; }
.wm-home-native .wm-native-service-button .elementor-button {
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink);
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  min-height: 42px;
  padding: 0 14px;
}
.wm-home-native .wm-native-service-button .elementor-button:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* About */
.wm-home-native .wm-about-image,
.wm-home-native .wm-about-image .elementor-widget-container,
.wm-home-native .wm-about-image img { height: 100%; min-height: 680px; width: 100%; }
.wm-home-native .wm-about-image img { object-fit: cover; object-position: center top; }
.wm-home-native .wm-about-caption { position: absolute; bottom: 24px; left: 24px; width: auto; }
.wm-home-native .wm-about-caption .elementor-heading-title { padding: 14px 16px; background: var(--ink); color: var(--white); font-size: 10px; letter-spacing: .1em; line-height: 1.55; }
.wm-home-native .wm-about-text { max-width: 700px; }
.wm-home-native .wm-about-text p { color: var(--ink-soft); font-size: 16px; line-height: 1.72; }
.wm-home-native .wm-about-principles { counter-reset: wise-about-principle; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 820px; margin: 34px 0 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wm-home-native .wm-about-principles > .elementor-widget-text-editor { counter-increment: wise-about-principle; min-height: 118px; padding: 24px 22px 22px 0; color: var(--ink); font-size: 13px; line-height: 1.45; }
.wm-home-native .wm-about-principles > .elementor-widget-text-editor + .elementor-widget-text-editor { padding-left: 22px; border-left: 1px solid var(--line); }
.wm-home-native .wm-about-principles > .elementor-widget-text-editor::before { content: counter(wise-about-principle, decimal-leading-zero); display: block; margin-bottom: 40px; color: var(--terra); font-size: 14px; font-weight: 650; line-height: 1; }
.wm-home-native .wm-about-copy > .wm-button { width: min(100%, 285px); }

/* Process */
.wm-home-native .wm-process-list { display: grid; grid-template-columns: 1fr 1fr; }
.wm-home-native .wm-process-step { min-height: 240px; display: grid; grid-template-columns: 62px 1fr; align-content: end; gap: 34px; padding: 36px 38px; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.wm-home-native .wm-process-step:nth-child(2n) { border-right: 0; }
.wm-home-native .wm-process-step:nth-child(n+3) { border-bottom: 0; }
.wm-home-native .wm-process-step .wm-native-number { align-self: end; padding-bottom: 5px; }
.wm-home-native .wm-process-step h3 { color: var(--white) !important; display: block; margin: 0 0 10px; }
.wm-home-native .wm-process-step-copy > .elementor-widget-heading { width: 100%; }
.wm-home-native .wm-process-step p { color: rgba(255,255,255,.66); font-size: 15px; line-height: 1.65; }

/* Native Elementor accordion. Draw each separator exactly once. */
.wm-home-native .wm-native-accordion,
.wm-home-native .wm-native-accordion > .elementor-widget-container {
  border: 0 !important;
  box-shadow: none !important;
}
.wm-home-native .wm-native-accordion .elementor-accordion {
  border: 0 !important;
  border-top: .5px solid rgba(23,43,57,.18) !important;
}
.wm-home-native .wm-native-accordion .elementor-accordion-item {
  border: 0 !important;
  border-bottom: .5px solid rgba(23,43,57,.18) !important;
  box-shadow: none !important;
}
.wm-home-native .wm-native-accordion .elementor-tab-title,
.wm-home-native .wm-native-accordion .elementor-tab-title.elementor-active,
.wm-home-native .wm-native-accordion .elementor-tab-title a {
  border: 0;
  color: var(--ink) !important;
  font-size: 18px;
  font-weight: 560;
  min-height: 88px;
  padding: 31px 0;
}
.wm-home-native .wm-native-accordion .elementor-tab-content { border: 0 !important; box-shadow: none !important; color: var(--ink-soft); font-size: 15px; line-height: 1.7; padding: 0 45px 26px 0; }
.wm-home-native .wm-native-accordion .elementor-tab-content:not(.elementor-active) {
  border: 0 !important;
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.wm-home-native .wm-native-accordion .elementor-accordion-icon { color: var(--terra); }

/* Contact */
.wm-home-native .wm-contact-title > .elementor-widget-heading { width: 100%; }
.wm-home-native .wm-contact-title h2 { color: var(--white) !important; display: block; }
.wm-home-native .wm-contact-copy { display: grid; gap: 30px; }
.wm-home-native .wm-contact-copy p { color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.7; }
.wm-home-native .wm-contact-copy > .wm-button { justify-self: start; }
.wm-home-native .wm-contact-copy > .wm-button .elementor-button { background: var(--terra); }

/* Unified readable type scale for homepage descriptive copy and buttons. */
.wm-home-native .wm-hero-bottom > .wm-native-summary,
.wm-home-native .wm-section-heading > .wm-section-summary,
.wm-home-native .wm-results-heading > .wm-section-summary,
.wm-home-native .wm-system-intro > .wm-section-summary,
.wm-home-native .wm-services-intro > .wm-section-summary,
.wm-home-native .wm-process-heading > .wm-section-summary,
.wm-home-native .wm-problem-grid .wm-native-article-copy p,
.wm-home-native .wm-system-grid .wm-native-article-copy p,
.wm-home-native .wm-project-title p,
.wm-home-native .wm-project-services p,
.wm-home-native .wm-native-service-copy > .elementor-widget-text-editor p,
.wm-home-native .wm-about-text p,
.wm-home-native .wm-about-principles > .elementor-widget-text-editor,
.wm-home-native .wm-process-step p,
.wm-home-native .wm-native-accordion .elementor-tab-content,
.wm-home-native .wm-contact-copy p {
  font-size: 18px !important;
}

.wm-home-native .elementor-widget-button .elementor-button {
  font-size: 16px !important;
}

@media (max-width: 1180px) {
	.wm-home-native .wm-signal-elementor { min-height: 590px; grid-template-rows: auto minmax(420px, 1fr) auto; padding: 24px; }
	.wm-home-native .wm-signal-elementor .wm-signal-canvas { min-height: 420px; }
	.wm-home-native .wm-signal-static .elementor-widget-container,
	.wm-home-native .wm-signal-static img { height: 560px; }
	.wm-home-native .wm-signal-static .elementor-widget-container { box-shadow: 18px 18px 0 #ead7d0; }
  .wm-home-native .wm-section-heading > .wm-section-summary,
  .wm-home-native .wm-results-heading > .wm-section-summary,
  .wm-home-native .wm-system-intro > .wm-section-summary,
  .wm-home-native .wm-services-intro > .wm-section-summary,
  .wm-home-native .wm-process-heading > .wm-section-summary { max-width: 720px; }
  .wm-home-native .wm-about-principles { grid-template-columns: 1fr; }
  .wm-home-native .wm-about-principles > .elementor-widget-text-editor + .elementor-widget-text-editor { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}

@media (max-width: 760px) {
	.wm-home-native .wm-signal-elementor { min-height: 510px; grid-template-rows: auto minmax(345px, 1fr) auto; padding: 20px; }
	.wm-home-native .wm-signal-elementor .wm-signal-canvas { min-height: 345px; }
	.wm-home-native .wm-signal-elementor .wm-signal-copy h3 { font-size: 25px; }
	.wm-home-native .wm-system-grid .wm-native-article-copy { min-height: 0; }
	.wm-home-native .wm-signal-static .elementor-widget-container,
	.wm-home-native .wm-signal-static img { height: 490px; }
	.wm-home-native .wm-signal-static .elementor-widget-container { box-shadow: 10px 10px 0 #ead7d0; }
  .wm-home-native .wm-native-number { font-size: 34px; }
  .wm-home-native .wm-section-heading > .wm-section-summary,
  .wm-home-native .wm-results-heading > .wm-section-summary,
  .wm-home-native .wm-system-intro > .wm-section-summary,
  .wm-home-native .wm-services-intro > .wm-section-summary,
  .wm-home-native .wm-process-heading > .wm-section-summary { padding-left: 18px; font-size: 16px; }
  .wm-home-native .wm-project-image,
  .wm-home-native .wm-project-image .elementor-widget-container,
  .wm-home-native .wm-project-image a,
  .wm-home-native .wm-project-image img { min-height: 340px; }
  .wm-home-native .wm-testimonial-text { font-size: 29px; }
  .wm-home-native .wm-about-image,
  .wm-home-native .wm-about-image .elementor-widget-container,
  .wm-home-native .wm-about-image img { min-height: 520px; }
  .wm-home-native .wm-process-list { grid-template-columns: 1fr; }
  .wm-home-native .wm-process-step { grid-template-columns: 48px 1fr; min-height: 210px; padding: 28px 4px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .wm-home-native .wm-process-step:nth-child(n+3) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .wm-home-native .wm-process-step:last-child { border-bottom: 0; }
}
