/* ==========================================================================
   Metaforthosis — Structural Industrial theme
   Graphite surfaces, one calibrated steel-blue accent, Urbanist + Epilogue.
   Loaded last so it overrides the original Webflow stylesheet without
   touching any markup, link or behaviour.
   ========================================================================== */

:root {
  --mf-base: #14161a;
  --mf-base-2: #191c21;
  --mf-surface: #2a2f38;
  --mf-line: #262b33;
  --mf-muted: #8a94a6;
  --mf-text: #f2f4f7;
  --mf-text-soft: #c3cad6;
  --mf-accent: #4a7fb5;
  --mf-accent-strong: #6796c9;
  --mf-accent-deep: #3d6a99;

  --mf-heading: "Urbanist", system-ui, sans-serif;
  --mf-body: "Epilogue", system-ui, sans-serif;

  /* Remap the original Untitled UI palette to the graphite system. */
  --untitled-ui-white: #14161a;
  --untitled-ui-gray50: #1b1e24;
  --untitled-ui-gray100: #22262e;
  --untitled-ui-gray200: #2a2f38;
  --untitled-ui-gray300: #333944;
  --untitled-ui-gray400: #6b7482;
  --untitled-ui-gray500: #8a94a6;
  --untitled-ui-gray600: #8a94a6;
  --untitled-ui-gray700: #c3cad6;
  --untitled-ui-gray800: #e3e8ef;
  --untitled-ui-gray900: #f2f4f7;

  --untitled-ui-primary50-501: #1b1e24;
  --untitled-ui-primary100: #1f2630;
  --untitled-ui-primary300: #2a2f38;
  --untitled-ui-primary500: #6796c9;
  --untitled-ui-primary600: #4a7fb5;
  --untitled-ui-primary700: #3d6a99;
  --untitled-ui-primary800: #345b84;
  --untitled-ui-success50: #16241d;
  --untitled-ui-success700: #56d09a;
  --untitled-ui-warning300: #6796c9;
}

/* ---------- Foundations ---------------------------------------------------- */

html {
  background-color: var(--mf-base);
}

body {
  background-color: var(--mf-base);
  color: var(--mf-text-soft);
  font-family: var(--mf-body);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

::selection {
  background-color: var(--mf-accent);
  color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.uui-heading-xlarge,
.uui-heading-xlarge-2,
.uui-heading-xlarge-3,
.uui-heading-medium,
.uui-heading-medium-2,
.uui-heading-medium-3,
.uui-heading-small,
.uui-heading-tiny,
.uui-navbar06_item-heading,
.uui-field-label,
.uui-form-checkbox-label {
  font-family: var(--mf-heading);
  color: var(--mf-text);
}

.uui-heading-xlarge,
.uui-heading-xlarge-2,
.uui-heading-xlarge-3 {
  font-family: var(--mf-heading);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--mf-text);
}

.uui-heading-medium,
.uui-heading-medium-2,
.uui-heading-medium-3 {
  font-family: var(--mf-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.uui-heading-tiny {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.uui-text-size-large,
.uui-text-size-large-3,
.uui-text-size-xlarge,
.uui-text-size-xlarge-2,
.uui-text-size-medium,
.uui-text-size-medium-3,
.uui-text-size-small,
.uui-text-size-small-2 {
  font-family: var(--mf-body);
  color: var(--mf-muted);
}

.uui-text-size-xlarge,
.uui-text-size-xlarge-2 {
  font-size: 1.175rem;
  line-height: 1.65;
}

strong,
.bold-text,
.text-weight-medium {
  color: var(--mf-text);
}

.text-color-gray500 {
  color: var(--mf-muted);
}

img {
  border-radius: 2px;
}

/* Section rhythm: hairline dividers between stacked full-width bands. */
.uui-section_heroheader21,
.uui-section_layout34,
.uui-section_testimonial05,
.uui-section_testimonial16,
.uui-section_contact03,
.uui-section_contact09 {
  background-color: var(--mf-base);
  border-top: 1px solid var(--mf-line);
}

.uui-section_layout34,
.uui-section_testimonial05 {
  background-color: var(--mf-base-2);
}

/* ---------- Navbar ------------------------------------------------------- */

.uui-navbar06_component {
  background-color: color-mix(in oklab, var(--mf-base) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--mf-line);
  box-shadow: none;
}

.uui-navbar06_link,
.uui-navbar06_dropdown-toggle {
  position: relative;
  color: var(--mf-muted);
  font-family: var(--mf-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}

.uui-navbar06_link:hover,
.uui-navbar06_dropdown-toggle:hover,
.uui-navbar06_link.w--current {
  color: var(--mf-text);
  background-color: transparent;
}

.uui-navbar06_link:after,
.uui-navbar06_dropdown-toggle:after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.35rem;
  height: 1px;
  background-color: var(--mf-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.15s ease;
}

.uui-navbar06_link:hover:after,
.uui-navbar06_dropdown-toggle:hover:after,
.uui-navbar06_link.w--current:after {
  transform: scaleX(1);
}

.uui-dropdown-icon-2 {
  color: var(--mf-muted);
}

.uui-navbar06_dropdown-list.w--open,
.uui-navbar06_dropdown-content,
.uui-navbar06_dropdown-content-right {
  background-color: var(--mf-base-2);
  border: 1px solid var(--mf-line);
  box-shadow: 0 28px 60px -20px rgba(0, 0, 0, 0.75);
}

.uui-navbar06_blog-item {
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.uui-navbar06_blog-item:hover {
  background-color: var(--mf-surface);
  border-color: color-mix(in oklab, var(--mf-accent) 45%, transparent);
}

.uui-navbar06_item-heading {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.menu-icon_line-top-2,
.menu-icon_line-middle-inner-2,
.menu-icon_line-bottom-2 {
  background-color: var(--mf-text);
}

/* ---------- Buttons ------------------------------------------------------ */

.uui-button,
.uui-button-2,
.uui-button-3,
.uui-button-4,
.uui-button-5,
.uui-button-6 {
  color: var(--mf-text);
  font-family: var(--mf-heading);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  border-color: var(--mf-accent);
  background-color: var(--mf-accent);
  box-shadow: none;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease, color 0.15s ease;
}

.uui-button:hover,
.uui-button-2:hover,
.uui-button-3:hover,
.uui-button-4:hover,
.uui-button-5:hover,
.uui-button-6:hover {
  background-color: var(--mf-accent-deep);
  border-color: var(--mf-accent-deep);
  color: #fff;
}

.uui-button:active,
.uui-button-4:active,
.uui-button-5:active,
.uui-button-6:active {
  transform: scale(0.985);
}

/* Secondary button: hairline outline on graphite. */
.uui-button-wrapper-2 .uui-button-5.is-button-large,
.uui-button-row-2 .uui-button-wrapper-2:last-child .uui-button-5 {
  background-color: transparent;
  border: 1px solid var(--mf-surface);
  color: var(--mf-text);
}

.uui-button-wrapper-2 .uui-button-5.is-button-large:hover,
.uui-button-row-2 .uui-button-wrapper-2:last-child .uui-button-5:hover {
  background-color: var(--mf-surface);
  border-color: var(--mf-surface);
}

.uui-button-row-2 .uui-button-wrapper-2:first-child .uui-button-5 {
  background-color: var(--mf-accent);
  border-color: var(--mf-accent);
}

.uui-button-row-2 .uui-button-wrapper-2:first-child .uui-button-5:hover {
  background-color: var(--mf-accent-deep);
  border-color: var(--mf-accent-deep);
}

.uui-text-style-link-02-2,
.uui-text-style-link-2,
.link {
  color: var(--mf-accent-strong);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--mf-accent) 45%, transparent);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.uui-text-style-link-02-2:hover,
.uui-text-style-link-2:hover,
.link:hover {
  color: var(--mf-text);
  border-color: var(--mf-text);
}

/* ---------- Home hero band ---------------------------------------------- */

.section {
  height: 100vh;
  min-height: 100svh;
  background-position: 50% 22%;
  background-attachment: scroll;
  align-items: stretch;
  border-bottom: 1px solid var(--mf-line);
}


.div-block {
  background-image: linear-gradient(
    180deg,
    rgba(20, 22, 26, 0) 0%,
    rgba(20, 22, 26, 0.18) 30%,
    rgba(20, 22, 26, 0.62) 68%,
    rgba(20, 22, 26, 0.95) 100%
  );
  background-color: transparent;
  padding-top: 12rem;
  padding-bottom: 4rem;
}


.container-2 {
  max-width: 80rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.image-2 {
  border-radius: 0;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55));
}

.uui-heading-xlarge {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  color: var(--mf-text);
}

.uui-heading-xlarge-2 {
  font-size: 3.5rem;
}

.uui-heading-xlarge-2 .head2,
.uui-heading-xlarge-2 .head3 {
  color: var(--mf-text);
}

/* Accent eyebrow rule above the main service/hero headings. */
.uui-heroheader21_content .uui-heading-xlarge-2:before,
.uui-heroheader10_content .uui-heading-xlarge-3:before {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin-bottom: 1.25rem;
  background-color: var(--mf-accent);
}

.uui-heroheader21_content .uui-heading-xlarge-2,
.uui-heroheader10_content .uui-heading-xlarge-3 {
  display: block;
}

.uui-heroheader21_image,
.uui-heroheader10_image-wrapper img,
.uui-heroheader10_image-inner-wrapper img {
  border-radius: 2px;
  border: 1px solid var(--mf-line);
  filter: saturate(0.85) contrast(1.05) brightness(0.92);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.uui-heroheader21_image:hover {
  filter: saturate(1) contrast(1) brightness(1);
}

/* ---------- Cards / tiles ------------------------------------------------ */

.uui-navbar06_blog-item-image-wrapper,
.uui-heroheader10_notification-image-wrapper {
  border: 1px solid var(--mf-line);
  border-radius: 2px;
  overflow: hidden;
}

/* ---------- Testimonials ------------------------------------------------- */

.uui-testimonial05_component,
.uui-testimonial05_mask,
.uui-testimonial05_slide {
  background-color: transparent;
}

.uui-testimonial05_content {
  background-color: var(--mf-base);
  border: 1px solid var(--mf-line);
  border-radius: 2px;
  padding: 3rem 2.5rem;
}

.uui-testimonial05_logo,
.uui-testimonial05_logo-wrapper img {
  filter: grayscale(1) brightness(1.9);
  opacity: 0.75;
}

.uui-testimonial05_client-image {
  border: 1px solid var(--mf-surface);
  border-radius: 999px;
}

.uui-testimonial05_arrow {
  background-color: var(--mf-surface);
  border: 1px solid var(--mf-line);
  border-radius: 2px;
  color: var(--mf-text);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.uui-testimonial05_arrow:hover {
  background-color: var(--mf-accent);
  border-color: var(--mf-accent);
}

.uui-testimonial05_slide-nav {
  color: var(--mf-surface);
}

/* ---------- Forms -------------------------------------------------------- */

.uui-contact03_form-wrapper {
  background-color: var(--mf-base-2);
  border: 1px solid var(--mf-line);
  border-radius: 2px;
  padding: 2.5rem;
}

.uui-field-label {
  color: var(--mf-text-soft);
  font-family: var(--mf-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uui-form_input-2,
.text-area,
.w-input,
.w-select,
textarea.w-input {
  background-color: var(--mf-base);
  border: 1px solid var(--mf-surface);
  border-radius: 2px;
  color: var(--mf-text);
  font-family: var(--mf-body);
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.uui-form_input-2::placeholder,
.text-area::placeholder,
.w-input::placeholder {
  color: color-mix(in oklab, var(--mf-muted) 70%, transparent);
}

.uui-form_input-2:focus,
.text-area:focus,
.w-input:focus,
textarea.w-input:focus {
  border-color: var(--mf-accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--mf-accent) 22%, transparent);
  outline: none;
}

.uui-form-checkbox-icon,
.w-checkbox-input--inputType-custom {
  background-color: var(--mf-base);
  border: 1px solid var(--mf-surface);
  border-radius: 2px;
}

.w-checkbox-input--inputType-custom.w--redirected-checked {
  background-color: var(--mf-accent);
  border-color: var(--mf-accent);
}

.uui-form-checkbox-label,
.w-form-label {
  color: var(--mf-muted);
  font-family: var(--mf-body);
  font-weight: 400;
}

.success-message,
.w-form-done {
  background-color: color-mix(in oklab, var(--mf-accent) 14%, var(--mf-base));
  border: 1px solid var(--mf-accent);
  border-radius: 2px;
}

.success-text {
  color: var(--mf-text);
  font-family: var(--mf-heading);
  font-weight: 600;
}

.error-message,
.w-form-fail {
  background-color: #2a1b1d;
  border: 1px solid #7d3b40;
  border-radius: 2px;
}

.error-text {
  color: #f0b9bd;
}

.uui-contact03_icon-wrapper,
.uui-icon-1x1-xsmall-4 {
  color: var(--mf-accent);
}

.uui-contact03_item {
  color: var(--mf-text-soft);
}

/* ---------- Footer ------------------------------------------------------- */

.uui-footer03_component {
  background-color: var(--mf-base-2);
  border-top: 1px solid var(--mf-line);
}

.uui-footer03_bottom-wrapper,
.uui-footer03_top-wrapper {
  border-color: var(--mf-line);
}

.uui-footer03_component :is(.uui-text-size-small, .uui-text-size-medium, .uui-footer03_legal-link) {
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0;
}

.uui-footer03_bottom-wrapper {
  flex-wrap: wrap;
  gap: 1.5rem;
}

.uui-footer03_component .uui-text-size-small {
  overflow-wrap: anywhere;
}

.uui-footer03_legal-link,
.uui-footer03_social-link {
  color: var(--mf-muted);
  transition: color 0.15s ease;
}

.uui-footer03_legal-link:hover,
.uui-footer03_social-link:hover {
  color: var(--mf-accent-strong);
}

.social-icon {
  color: currentColor;
}

.uui-logo_image,
.uui-logo_image-2 {
  filter: none;
}

/* Metaforthosis wordmark ships as dark artwork — render it white on the
   dark surfaces it now sits on (navbar and footer, every page). */
img[src*="metalogo"],
.uui-logo_logotype,
.uui-logo_logotype-2 {
  filter: brightness(0) invert(1);
}


/* ---------- Entry motion ------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .uui-heroheader21_content,
  .uui-heroheader10_content,
  .uui-heroheader21_image-wrapper,
  .uui-testimonial05_content,
  .uui-contact03_content,
  .uui-contact03_form-wrapper {
    animation: mf-rise 0.7s cubic-bezier(0.22, 0.8, 0.28, 1) both;
  }
}

@keyframes mf-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive tuning ------------------------------------------- */

@media (max-width: 991px) {
  .uui-heading-xlarge-2 {
    font-size: 2.75rem;
  }
  .div-block {
    padding-top: 9rem;
  }
}

@media (max-width: 767px) {
  .section {
    min-height: 62vh;
  }
  .uui-heading-xlarge-2 {
    font-size: 2.125rem;
  }
  .uui-heading-xlarge {
    font-size: 1.75rem;
  }
  .uui-contact03_form-wrapper {
    padding: 1.5rem;
  }
}

/* ---------- Neutralise the original light section fills ------------------ */

.uui-page-padding,
.uui-page-padding-2,
.uui-page-padding-3,
.uui-page-padding-4,
.uui-page-padding-5,
.uui-page-padding-6,
.uui-container-large,
.uui-container-large-2,
.uui-container-large-3,
.uui-container-large-4,
.section-2,
.uui-heroheader10_component,
.uui-heroheader10_content,
.uui-contact03_component,
.uui-contact03_content {
  background-color: transparent;
}

.uui-heroheader21_component {
  background-color: var(--mf-base-2);
  border-top: 1px solid var(--mf-line);
}

.uui-heroheader21_component:first-of-type {
  border-top: 0;
}

.section-2,
.uui-section_layout34 {
  background-color: var(--mf-base-2);
}

.uui-testimonial15_arrow,
.uui-testimonial15_arrow-2 {
  background-color: var(--mf-surface);
  color: var(--mf-text);
  border: 1px solid var(--mf-line);
}

/* Full-height gradient mask over the home hero photograph. */
.section > .div-block {
  display: flex;
  align-items: flex-end;
  width: 100%;
}

/* Client logos: invert light-background marks so they sit on graphite. */
.uui-testimonial05_logo,
.uui-testimonial05_logo-wrapper img {
  filter: invert(1) grayscale(1) brightness(1.35) contrast(1.1);
  mix-blend-mode: lighten;
  opacity: 0.85;
}

/* Slider pagination in the accent colour, not the stock purple. */
.w-slider-nav > .w-slider-dot {
  background-color: var(--mf-surface);
  border: 1px solid var(--mf-line);
}

.w-slider-nav > .w-slider-dot.w-active {
  background-color: var(--mf-accent);
  border-color: var(--mf-accent);
}

/* ==========================================================================
   Structural Modernism enhancement layer
   Architectural hairline grid, engineered type scale, numbered section index,
   and precision hover mechanics. CSS-only: markup and behaviour untouched.
   ========================================================================== */

/* ---------- Hero: grid motif, eyebrow, engineered headline --------------- */

.section {
  position: relative;
}

/* Faint architectural grid over the hero photograph. */
.section > .div-block:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: linear-gradient(var(--mf-text) 1px, transparent 1px),
    linear-gradient(90deg, var(--mf-text) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}

.section > .div-block > .container-2 {
  position: relative;
  z-index: 1;
}

/* Eyebrow above the hero statement. */
.container-2 .column-2 .uui-heading-xlarge-2 {
  display: block;
  padding-bottom: 0.5rem;
}

.container-2 .column-2 .uui-heading-xlarge-2:before {
  content: "Strategy · Go-to-market · Advisory";
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--mf-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--mf-muted);
}

.container-2 .column-2 .uui-heading-xlarge-2:after {
  content: "";
  display: block;
  width: 100%;
  max-width: 20rem;
  height: 1px;
  margin-top: 1.75rem;
  background: linear-gradient(90deg, var(--mf-accent), transparent);
}

.container-2 .column-2 .uui-heading-xlarge-2 {
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.container-2 .columns {
  display: flex;
  align-items: flex-end;
}

.container-2 .column-2 .uui-heading-xlarge-2 .bold-text {
  background-image: linear-gradient(100deg, var(--mf-text) 35%, var(--mf-accent-strong) 115%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero lockup: quieter, so the statement carries the band. */
.container-2 .column .uui-heading-xlarge {
  font-size: 1.375rem;
  letter-spacing: 0.02em;
  color: var(--mf-text-soft);
}

.image-2 {
  max-width: 120px;
  height: auto;
}

/* ---------- Content bands: numbered structural index -------------------- */

.uui-section_heroheader21 {
  counter-reset: mf-band;
  position: relative;
}

.uui-heroheader21_content {
  position: relative;
}

.uui-heroheader21_content:not(.hide1) {
  counter-increment: mf-band;
}

.uui-heroheader21_content:before {
  content: none;
}

.uui-heroheader21_content .uui-heading-xlarge-2 {
  position: relative;
  font-size: clamp(1.875rem, 3.1vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.uui-heroheader21_content .uui-heading-xlarge-2:before {
  content: "0" counter(mf-band);
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 1rem;
  background-color: transparent;
  font-family: var(--mf-heading);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--mf-accent);
}

.uui-heroheader21_content .uui-heading-xlarge-2:after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 2px;
  margin-top: 1.5rem;
  background-color: var(--mf-surface);
}

.uui-heroheader21_content .uui-text-size-xlarge {
  max-width: 42rem;
}

/* Hidden responsive duplicates must not leave stray rules behind. */
.uui-heroheader21_content.hide1 .uui-heading-xlarge-2:after,
.uui-heroheader21_content.hide1 .uui-heading-xlarge-2:before {
  display: none;
}

/* Framed imagery, seated in a graphite jig. */
.uui-heroheader21_image-wrapper {
  position: relative;
  padding: 0.5rem;
  background-color: var(--mf-base);
  border: 1px solid var(--mf-line);
}

.uui-heroheader21_image-wrapper:after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 2.25rem;
  height: 2.25rem;
  border-right: 2px solid var(--mf-accent);
  border-bottom: 2px solid var(--mf-accent);
  pointer-events: none;
}

/* ---------- Precision hover mechanics ----------------------------------- */

.uui-navbar06_blog-item {
  position: relative;
}

.uui-navbar06_blog-item:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--mf-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 0.8, 0.28, 1);
}

.uui-navbar06_blog-item:hover:after {
  transform: scaleX(1);
}

.uui-testimonial05_content {
  position: relative;
  transition: border-color 0.3s ease;
}

.uui-testimonial05_content:hover {
  border-color: color-mix(in oklab, var(--mf-accent) 55%, transparent);
}

.uui-testimonial05_content:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 3.5rem;
  background-color: var(--mf-accent);
}

/* Contact band: hairline grid backdrop for structural continuity. */
.uui-section_contact03 {
  position: relative;
}

.uui-section_contact03:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.02;
  background-image: linear-gradient(90deg, var(--mf-text) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 40%, transparent 100%);
}

.uui-section_contact03 > * {
  position: relative;
}

@media (max-width: 767px) {
  .container-2 .column-2 .uui-heading-xlarge-2 {
    font-size: 2.25rem;
  }
  .container-2 .column-2 .uui-heading-xlarge-2:before {
    letter-spacing: 0.22em;
  }
}

/* Empty Webflow notification wrapper: no border seam when it has no image. */
.uui-heroheader10_notification-image-wrapper:empty {
  display: none;
}

/* ==========================================================================
   Hero lockup alignment — logo group and statement share one optical centre.
   ========================================================================== */

.container-2 .columns {
  align-items: center;
}

.container-2 .column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.container-2 .column .uui-heading-xlarge {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.container-2 .column-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.container-2 .column-2 .uui-heading-xlarge-2 {
  margin-top: 0;
  margin-bottom: 0;
}

/* Replace Webflow's hidden mobile lockup and two-column float widths. */
@media (max-width: 767px) {
  .section .container-2 {
    width: 100%;
    padding-inline: 1.5rem;
  }

  .container-2 .columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    margin: 0;
    padding: 0;
  }

  .container-2 .column,
  .container-2 .column-2 {
    float: none;
    width: 100%;
    min-width: 0;
    padding: 0;
  }

  .container-2 .column {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
  }

  .container-2 .column .image-2 {
    display: block;
    width: 4rem;
    height: auto;
    margin: 0;
  }

  .container-2 .column .uui-heading-xlarge {
    display: block;
    min-width: 0;
    margin: 0;
    font-size: 1.375rem;
    letter-spacing: 0;
  }

  .container-2 .column-2 .uui-heading-xlarge-2 {
    font-size: 2rem;
    letter-spacing: 0;
  }

  .container-2 .column-2 .uui-heading-xlarge-2:before {
    margin-bottom: 1rem;
    letter-spacing: 0;
    line-height: 1.5;
  }
}

/* ==========================================================================
   Theme toggle control
   ========================================================================== */

.mf-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.75rem;
  padding: 0.6rem 0.9rem;
  background-color: transparent;
  border: 1px solid var(--mf-surface);
  border-radius: 2px;
  color: var(--mf-text-soft);
  font-family: var(--mf-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.mf-theme-toggle:hover {
  color: var(--mf-text);
  border-color: var(--mf-accent);
  background-color: color-mix(in oklab, var(--mf-accent) 12%, transparent);
}

.mf-theme-toggle_icon {
  display: inline-flex;
  color: var(--mf-accent-strong);
}

.mf-theme-toggle.is-floating {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 999;
  background-color: var(--mf-base-2);
}

.uui-footer03_bottom-wrapper .mf-theme-toggle {
  min-height: 44px;
  margin: 0;
  padding: .6rem .9rem;
  flex-shrink: 0;
}

.uui-footer03_bottom-wrapper .mf-theme-toggle_label {
  display: inline;
}

.uui-footer03_bottom-wrapper .mf-theme-toggle:focus-visible {
  outline: 2px solid var(--mf-accent-strong);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .mf-theme-toggle_label {
    display: none;
  }
  .mf-theme-toggle {
    padding: 0.55rem;
  }
}

/* ==========================================================================
   Light theme — same structural system, inverted surfaces.
   ========================================================================== */

html[data-mf-theme="light"] {
  --mf-base: #f6f7f9;
  --mf-base-2: #ffffff;
  --mf-surface: #d8dde5;
  --mf-line: #e2e6ec;
  --mf-muted: #454f5e;
  --mf-text: #14161a;
  --mf-text-soft: #2f3644;
  --mf-accent: #35638f;
  --mf-accent-strong: #24486b;
  --mf-accent-deep: #1d3b59;

  --untitled-ui-white: #ffffff;
  --untitled-ui-gray50: #f6f7f9;
  --untitled-ui-gray100: #eef1f5;
  --untitled-ui-gray200: #e2e6ec;
  --untitled-ui-gray300: #d8dde5;
  --untitled-ui-gray400: #596474;
  --untitled-ui-gray500: #454f5e;
  --untitled-ui-gray600: #454f5e;
  --untitled-ui-gray700: #2f3644;
  --untitled-ui-gray800: #1e232c;
  --untitled-ui-gray900: #14161a;

  --untitled-ui-primary50-501: #eef3f9;
  --untitled-ui-primary100: #e2ebf5;
  --untitled-ui-primary300: #b9cde2;
  --untitled-ui-primary500: #35638f;
  --untitled-ui-primary600: #2b5479;
  --untitled-ui-primary700: #24486b;
  --untitled-ui-primary800: #1d3b59;
  --untitled-ui-warning300: #35638f;
  --mf-on-accent: #ffffff;
}

/* Wordmark artwork is dark by origin — keep it dark on light surfaces. */
html[data-mf-theme="light"] img[src*="metalogo"],
html[data-mf-theme="light"] .uui-logo_logotype,
html[data-mf-theme="light"] .uui-logo_logotype-2 {
  filter: none;
}

/* Client logos are light-background marks — no inversion needed. */
html[data-mf-theme="light"] .uui-testimonial05_logo,
html[data-mf-theme="light"] .uui-testimonial05_logo-wrapper img {
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: normal;
  opacity: 0.7;
}

/* Hero scrim fades to the light base instead of graphite. */
html[data-mf-theme="light"] .div-block {
  background-image: linear-gradient(
    180deg,
    rgba(246, 247, 249, 0) 0%,
    rgba(246, 247, 249, 0.2) 30%,
    rgba(246, 247, 249, 0.72) 68%,
    rgba(246, 247, 249, 0.97) 100%
  );
}

/* Hero statement needs a legible scrim on the photograph. */
html[data-mf-theme="light"] .container-2 .column-2 .uui-heading-xlarge-2 .bold-text {
  background-image: none;
  color: var(--mf-text);
}

html[data-mf-theme="light"] .section > .div-block:before {
  display: none;
}

html[data-mf-theme="light"] .uui-heroheader21_image,
html[data-mf-theme="light"] .uui-heroheader10_image-wrapper img,
html[data-mf-theme="light"] .uui-heroheader10_image-inner-wrapper img {
  filter: saturate(0.95) contrast(1.02) brightness(1);
}

html[data-mf-theme="light"] .uui-navbar06_component {
  background-color: color-mix(in oklab, #ffffff 88%, transparent);
}

html[data-mf-theme="light"] .uui-navbar06_dropdown-list.w--open,
html[data-mf-theme="light"] .uui-navbar06_dropdown-content,
html[data-mf-theme="light"] .uui-navbar06_dropdown-content-right {
  box-shadow: 0 24px 50px -24px rgba(20, 22, 26, 0.28);
}

html[data-mf-theme="light"] .menu-icon_line-top-2,
html[data-mf-theme="light"] .menu-icon_line-middle-inner-2,
html[data-mf-theme="light"] .menu-icon_line-bottom-2 {
  background-color: var(--mf-text);
}

html[data-mf-theme="light"] .error-message,
html[data-mf-theme="light"] .w-form-fail {
  background-color: #fdeced;
  border-color: #e0a3a7;
}

html[data-mf-theme="light"] .error-text {
  color: #8c2f36;
}

html[data-mf-theme="light"] .uui-button:hover,
html[data-mf-theme="light"] .uui-button-2:hover,
html[data-mf-theme="light"] .uui-button-3:hover,
html[data-mf-theme="light"] .uui-button-4:hover,
html[data-mf-theme="light"] .uui-button-5:hover,
html[data-mf-theme="light"] .uui-button-6:hover {
  color: var(--mf-on-accent);
}

/* Light-mode contrast: filled actions stay white; outline actions stay dark. */
html[data-mf-theme="light"] :is(.uui-button, .uui-button-2, .uui-button-3, .uui-button-4, .uui-button-5, .uui-button-6) {
  color: var(--mf-on-accent);
}

html[data-mf-theme="light"] :is(.uui-button, .uui-button-2, .uui-button-3, .uui-button-4, .uui-button-5, .uui-button-6) :is(div, span, strong) {
  color: inherit;
}

html[data-mf-theme="light"] .uui-button-wrapper-2 .uui-button-5.is-button-large,
html[data-mf-theme="light"] .uui-button-row-2 .uui-button-wrapper-2:last-child .uui-button-5 {
  color: var(--mf-text);
}

html[data-mf-theme="light"] .uui-button-row-2 .uui-button-wrapper-2:first-child .uui-button-5 {
  color: var(--mf-on-accent);
}

html[data-mf-theme="light"] :is(.w-input, .w-select, .text-area, .cms-ui input, .cms-ui textarea)::placeholder {
  color: var(--mf-muted);
  opacity: 1;
}

/* Compact phone navigation; desktop retains the original Webflow menu. */
.mf-phone-controls { display: none; }
@media (max-width: 991px) {
  .uui-navbar06_menu, .uui-navbar06_menu-button { display: none !important; }
  .uui-navbar06_container { position: relative; gap: .5rem; }
  .uui-navbar06_logo-link { flex-shrink: 1; min-width: 0; }
  .uui-navbar06_logo-link .uui-logo_component-2 { max-width: 100%; }
  .mf-phone-controls { display: flex; align-items: center; gap: .25rem; margin-left: auto; flex-shrink: 0; }
  .mf-phone-controls .mf-theme-toggle, .mf-phone-trigger { width: 44px; height: 44px; margin: 0; padding: 0; color: var(--mf-text); background: transparent; border-radius: 4px; }
  .mf-phone-controls .mf-theme-toggle_label { display: none; }
  .mf-phone-trigger svg { width: 24px; height: 24px; }
  .mf-phone-panel { position: absolute; top: calc(100% + .75rem); left: 0; right: 0; padding: .5rem; background: var(--mf-base-2); border: 1px solid var(--mf-line); border-radius: 4px; max-height: calc(100svh - 100px); overflow-y: auto; overscroll-behavior: contain; }
  .mf-phone-panel[hidden], .mf-phone-service-links[hidden] { display: none; }
  .mf-phone-link, .mf-phone-services { display: flex; align-items: center; width: 100%; min-height: 44px; height: auto; padding: .65rem .85rem; color: var(--mf-text-soft); font-family: var(--mf-heading); font-size: 1rem; line-height: 1.4; letter-spacing: 0; text-decoration: none; white-space: normal; border-radius: 2px; }
  .mf-phone-services { justify-content: space-between; background: transparent; }
  .mf-phone-link:hover, .mf-phone-link[aria-current="page"], .mf-phone-services:hover { color: var(--mf-text); background: var(--mf-base); }
  .mf-phone-service-links { border-left: 2px solid var(--mf-accent); margin: .25rem .85rem .5rem; }
  .mf-phone-service-links .mf-phone-link { font-size: .9375rem; }
  .mf-phone-services svg.is-expanded { transform: rotate(180deg); }
  .mf-phone-controls :is(a, button):focus-visible { outline: 2px solid var(--mf-accent-strong); outline-offset: 2px; }
}
