/* ==========================================================================
   Mid Michigan Truss — "07 · Blend"
   Tokens, base type, global parts (header, footer, hero, sticky bar),
   and the component classes used inside Elementor containers.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
}

:root {
  --ink: #0E1A38;
  --navy: #1D2E6A;
  --blueprint: #13234F;
  --blueprint-line: #2A3E78;
  --accent: #0B7A52;
  --accent-hover: #086342;
  --paper: #F4F2EC;
  --surface: #FFFFFF;
  --line: #D9D4C8;
  --muted: #4B5268;
  --on-dark-muted: #B9C0D6;
  --on-blueprint-drawing: #DCE3F5;
  --error: #B42318;
  --success-bg: #E7F4EE;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-h1: 64px; --lh-h1: 1.05;
  --fs-h2: 44px; --lh-h2: 1.1;
  --fs-h3: 26px; --lh-h3: 1.2;
  --fs-lead: 20px;
  --fs-body: 17px;
  --fs-small: 15px;

  --r-btn: 8px;
  --r-card: 12px;
  --card-pad: 4px;
  --r-inner: calc(var(--r-card) - var(--card-pad)); /* 8px */

  --content: 1280px;
  --gutter: 80px;
  --section-y: 96px;
  --header-h: 76px;
}
@media (max-width: 1024px) {
  :root { --gutter: 40px; --section-y: 80px; }
}
@media (max-width: 767px) {
  :root {
    --fs-h1: 38px; --lh-h1: 1.08;
    --fs-h2: 30px; --lh-h2: 1.12;
    --fs-h3: 20px;
    --fs-lead: 17px;
    --gutter: 16px;
    --section-y: 56px;
    --header-h: 64px;
  }
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.mmt {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.mmt *, .mmt *::before, .mmt *::after { box-sizing: border-box; }
.mmt h1, .mmt h2, .mmt h3, .mmt h4 { font-family: var(--font); color: inherit; margin: 0; text-wrap: balance; }
.mmt h1, .mmt .mmt-h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: 700; letter-spacing: -0.024em; }
.mmt h2, .mmt .mmt-h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; letter-spacing: -0.02em; }
.mmt h3, .mmt .mmt-h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 600; letter-spacing: -0.01em; }
.mmt p { margin: 0 0 1em; text-wrap: pretty; }
.mmt p:last-child { margin-bottom: 0; }
.mmt a { color: var(--accent); text-underline-offset: 3px; }
.mmt a:hover { color: var(--accent-hover); }
.mmt img { max-width: 100%; height: auto; }
.mmt :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.mmt .tnum, .mmt .stat, .mmt .phone, .mmt [href^="tel:"] { font-variant-numeric: tabular-nums; }
.mmt .elementor-heading-title { color: inherit; font-family: inherit; }
.mmt .elementor-widget-text-editor { color: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--surface); color: var(--ink); padding: 12px 16px; border-radius: var(--r-btn); }

/* [CONFIRM] markers: visible on purpose so the client can find them. */
.confirm {
  display: inline;
  background: #FFF1B8;
  color: #5C4400;
  border: 1px dashed #B88A00;
  border-radius: 4px;
  padding: 0 4px;
  font-family: var(--mono);
  font-size: 0.8em;
  font-weight: 500;
  letter-spacing: 0;
  white-space: normal;
}

/* Icons */
.mmt-icon { width: 18px; height: 18px; flex: 0 0 auto; display: block; }

/* ---------- Buttons ---------- */
.mmt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px;
  border-radius: var(--r-btn); border: 2px solid transparent;
  font-family: var(--font); font-size: 16px; font-weight: 600; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.mmt a.mmt-btn--primary, .mmt .mmt-btn--primary { background: var(--accent); color: #fff; }
.mmt a.mmt-btn--primary:hover, .mmt .mmt-btn--primary:hover { background: var(--accent-hover); color: #fff; }
.mmt a.mmt-btn--ghost, .mmt .mmt-btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.mmt a.mmt-btn--ghost:hover { background: var(--ink); color: #fff; }
.mmt a.mmt-btn--ghost-light, .mmt .mmt-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.mmt a.mmt-btn--ghost-light:hover { background: #fff; color: var(--ink); }
.mmt-btn .mmt-icon { width: 18px; height: 18px; }
.mmt-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Text links with arrow (Elementor Button widget with class .mmt-textlink) */
.mmt-textlink .elementor-button, .mmt a.mmt-arrowlink {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; padding: 0; border: 0; border-radius: 0; min-height: 0;
  color: var(--accent); font-size: 16px; font-weight: 600; line-height: 1.4; text-decoration: none;
}
.mmt-textlink .elementor-button:hover, .mmt a.mmt-arrowlink:hover { color: var(--accent-hover); background: none; text-decoration: underline; }
.mmt-textlink .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: 8px; }
.mmt-textlink .elementor-button::after, .mmt a.mmt-arrowlink::after {
  content: ""; width: 16px; height: 16px; flex: 0 0 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Elementor Button widget styled as an outline button */
.mmt-outline .elementor-button, .mmt-outline-light .elementor-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px;
  border-radius: var(--r-btn); border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--font); font-size: 16px; font-weight: 600; line-height: 1.2;
}
.mmt-outline .elementor-button:hover { background: var(--ink); color: #fff; }
.mmt-outline-light .elementor-button { border-color: rgba(255,255,255,.85); color: #fff; }
.mmt-outline-light .elementor-button:hover { background: #fff; color: var(--ink); }

/* ---------- Layout (Elementor containers carry these classes) ---------- */
.e-con.mmt-section, .mmt-section {
  width: 100%; max-width: none; margin: 0;
  padding: var(--section-y) var(--gutter);
  display: block;
}
.e-con.mmt-section > .e-con.mmt-wrap, .mmt-wrap {
  width: 100%; max-width: var(--content); margin-inline: auto;
  padding: 0; display: flex; flex-direction: column; gap: 32px;
}
.e-con.mmt-tight { padding-top: 0; }
.mmt-bg-paper { background: var(--paper); }
.mmt-bg-surface { background: var(--surface); }
.mmt-bg-navy { background: var(--navy); color: #fff; }
.mmt-bg-ink { background: var(--ink); color: #fff; }
.mmt-bg-blueprint, .mmt-blueprint {
  background-color: var(--blueprint);
  background-image:
    linear-gradient(rgba(42, 62, 120, .55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 62, 120, .55) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  color: #fff;
}
.mmt-bg-navy .mmt-lead, .mmt-bg-blueprint .mmt-lead, .mmt-bg-navy p, .mmt-bg-blueprint p { color: var(--on-dark-muted); }
.mmt-bg-navy a:not(.mmt-btn), .mmt-bg-blueprint a:not(.mmt-btn) { color: #fff; }

.e-con.mmt-row, .mmt-row { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; align-items: center; padding: 0; }
.e-con.mmt-stack, .mmt-stack { display: flex; flex-direction: column; gap: 16px; padding: 0; }
.e-con.mmt-head, .mmt-head {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; padding: 0;
}
.e-con.mmt-head--stack { grid-template-columns: minmax(0, 1fr); max-width: 780px; }
.e-con.mmt-split, .mmt-split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 64px; align-items: center; padding: 0;
}
.e-con.mmt-split--side { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.e-con.mmt-grid, .mmt-grid { display: grid; gap: 24px; padding: 0; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.mmt-grid--2 { --cols: 2; }
.mmt-grid--3 { --cols: 3; }
.mmt-grid--4 { --cols: 4; }
@media (max-width: 1024px) {
  .mmt-grid--4 { --cols: 2; }
  .mmt-grid--3 { --cols: 2; }
  .e-con.mmt-split--side { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 768px) {
  .e-con.mmt-head > .elementor-widget-button, .e-con.mmt-head > .e-con.mmt-row, .e-con.mmt-head > .elementor-widget-shortcode { justify-self: end; }
}
@media (max-width: 767px) {
  .e-con.mmt-head, .mmt-head, .e-con.mmt-split, .mmt-split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .mmt-grid--4, .mmt-grid--3, .mmt-grid--2 { --cols: 1; }
  .mmt-grid--4.mmt-grid--keep2 { --cols: 2; }
}
/* Elementor widget wrappers inside our layouts: no auto margins, no overflow. */
.mmt .e-con .elementor-widget { margin: 0; min-width: 0; max-width: 100%; }
.mmt .e-con > .elementor-widget:not(:last-child) { margin-block-end: 0; }
.mmt .e-con { min-width: 0; }

.mmt-lead, .mmt .mmt-lead p { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); }
.mmt-small { font-size: var(--fs-small); }
.mmt-muted { color: var(--muted); }
.mmt-eyebrow, .mmt-spec {
  font-family: var(--mono); font-weight: 500; font-size: 13px; line-height: 1.4;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.mmt-bg-navy .mmt-eyebrow, .mmt-bg-blueprint .mmt-eyebrow { color: var(--on-dark-muted); }

/* ---------- Header ---------- */
.mmt-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.admin-bar .mmt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mmt-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .mmt-header { top: 0; } }
.mmt-header.is-scrolled { border-bottom-color: var(--line); }
.mmt-header__inner {
  max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h); display: flex; align-items: center; gap: 32px;
}
.mmt-header__brand { display: flex; align-items: center; flex: 0 0 auto; }
.mmt .mmt-logo { display: block; height: 44px; width: auto; max-width: none; }
.mmt-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.mmt-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.mmt-nav__item { position: relative; }
.mmt-nav__link, .mmt-nav__toggle {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 10px;
  font: 500 15px/1.2 var(--font); color: var(--ink); text-decoration: none; white-space: nowrap;
  background: none; border: 0; border-radius: 6px; cursor: pointer;
}
.mmt .mmt-nav__link { color: var(--ink); }
.mmt-nav__link:hover, .mmt-nav__toggle:hover, .mmt-nav__link[aria-current="page"] { color: var(--accent); }
.mmt-nav__link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.mmt-nav__toggle .mmt-icon { width: 16px; height: 16px; transition: transform .15s; }
.mmt-nav__toggle[aria-expanded="true"] .mmt-icon { transform: rotate(180deg); }
.mmt-nav__sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 4px); left: 0; min-width: 260px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  display: none;
}
.mmt-nav__toggle[aria-expanded="true"] + .mmt-nav__sub { display: block; }
.mmt-nav__sub a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.mmt-nav__sub a:hover, .mmt-nav__sub a[aria-current="page"] { background: var(--paper); color: var(--accent); }
.mmt-nav__mobile-actions { display: none; }
.mmt-header__actions { margin-left: auto; display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.mmt-header__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.mmt .mmt-header__phone { color: var(--ink); }
.mmt-header__phone:hover { color: var(--accent); }
.mmt-header__phone .mmt-icon { width: 18px; height: 18px; }
.mmt-header__cta.mmt-btn { min-height: 44px; padding: 10px 16px; font-size: 15px; }
.mmt-menu-btn {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: var(--r-btn); color: var(--ink); cursor: pointer; padding: 0;
}
.mmt-menu-btn .mmt-icon { width: 20px; height: 20px; }
.mmt-menu-btn__open { display: flex; }
.mmt-menu-btn__close { display: none; }
.mmt-menu-btn[aria-expanded="true"] .mmt-menu-btn__open { display: none; }
.mmt-menu-btn[aria-expanded="true"] .mmt-menu-btn__close { display: flex; }

@media (max-width: 1240px) {
  .mmt-header__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mmt-header__inner { gap: 20px; }
}
@media (max-width: 1100px) {
  .mmt-menu-btn { display: inline-flex; }
  .mmt-header__phone { display: none; }
  .mmt-nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--header-h);
    background: var(--surface); border-top: 1px solid var(--line);
    display: none; flex-direction: column; justify-content: space-between;
    padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; z-index: 59;
  }
  .admin-bar .mmt-nav { top: calc(var(--header-h) + 32px); }
  .mmt-menu-open .mmt-nav { display: flex; }
  .mmt-menu-open body { overflow: hidden; }
  .mmt-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .mmt-nav__item { border-bottom: 1px solid var(--line); }
  .mmt-nav__link, .mmt-nav__toggle { width: 100%; justify-content: space-between; font-size: 20px; font-weight: 600; min-height: 56px; padding: 12px 0; }
  .mmt-nav__sub { position: static; border: 0; padding: 0 0 12px; min-width: 0; }
  .mmt-nav__sub a { font-size: 17px; padding: 10px 12px; }
  .mmt-nav__mobile-actions { display: grid; grid-template-columns: 1fr; gap: 12px; padding-top: 24px; }
  .mmt-nav__mobile-actions .mmt-btn { width: 100%; }
}
@media (max-width: 767px) {
  .mmt .mmt-logo { height: 36px; }
  .mmt-header__cta.mmt-btn { display: none; }
  .admin-bar .mmt-nav { top: calc(var(--header-h) + 46px); }
}

/* ---------- Breadcrumb ---------- */
.mmt-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .02em; }
.mmt-breadcrumb li { display: inline-flex; align-items: center; color: var(--muted); }
.mmt-breadcrumb li + li::before { content: "/"; margin: 0 10px; color: var(--line); }
.mmt-breadcrumb a { color: var(--muted); text-decoration: none; }
.mmt-breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.mmt-breadcrumb [aria-current] { color: var(--ink); }
.mmt-breadcrumb--dark li, .mmt-breadcrumb--dark a { color: var(--on-dark-muted); }
.mmt-breadcrumb--dark [aria-current] { color: #fff; }
.mmt-breadcrumb--dark li + li::before { color: var(--blueprint-line); }

/* ---------- Hero carousel ---------- */
.mmt-hero {
  position: relative; display: grid; background: var(--ink); color: #fff; overflow: hidden;
  min-height: clamp(600px, 84vh, 780px);
}
.mmt-hero__slides { display: grid; grid-area: 1 / 1; }
.mmt-hero__slide {
  grid-area: 1 / 1; position: relative; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s;
}
.mmt-hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .mmt-hero__slide, .mmt-hero__slide.is-active { transition: none; } }
.mmt-hero__media { position: absolute; inset: 0; background: var(--navy); }
.mmt-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.mmt .mmt-hero__img { height: 100%; }
/* Legibility overlay (the one allowed gradient). */
.mmt-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14, 26, 56, .92) 0%, rgba(14, 26, 56, .80) 38%, rgba(19, 35, 79, .45) 70%, rgba(19, 35, 79, .25) 100%);
}
.mmt-hero__content {
  position: relative; width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto;
  padding: 96px var(--gutter) 168px;
}
.mmt-hero__title { max-width: 780px; font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: 700; letter-spacing: -0.024em; color: #fff; }
.mmt .mmt-hero__title { font-size: var(--fs-h1); line-height: var(--lh-h1); }
.mmt-hero__body { max-width: 600px; margin: 24px 0 0 !important; font-size: var(--fs-lead); line-height: 1.5; color: #E4E8F3; }
.mmt-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mmt-hero__controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 32px;
  display: flex; align-items: flex-end; gap: 24px;
}
.mmt-hero__tabs { flex: 1 1 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.mmt-hero__tab {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "bar bar" "num label"; gap: 10px 8px; align-items: center;
  background: none; border: 0; padding: 0 0 4px; margin: 0; color: var(--on-dark-muted); text-align: left; cursor: pointer; min-height: 44px; min-width: 0;
  font: 500 14px/1.3 var(--font);
}
.mmt-hero__tab:hover, .mmt-hero__tab.is-active { color: #fff; }
.mmt-hero__tab-num { grid-area: num; font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.mmt-hero__tab-label { grid-area: label; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mmt-hero__tab-bar { grid-area: bar; display: block; height: 2px; background: rgba(255, 255, 255, .28); overflow: hidden; border-radius: 2px; }
.mmt-hero__tab-fill { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left center; }
.mmt-hero__arrows { display: flex; gap: 8px; flex: 0 0 auto; }
.mmt-hero__btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0;
  background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); border-radius: var(--r-btn); cursor: pointer;
}
.mmt-hero__btn:hover { background: #fff; color: var(--ink); }
.mmt-hero__btn .mmt-icon { width: 18px; height: 18px; }
.mmt-hero__ico-play { display: none !important; }
.mmt-hero__btn.is-paused .mmt-hero__ico-play { display: block !important; }
.mmt-hero__btn.is-paused .mmt-hero__ico-pause { display: none !important; }
@media (max-width: 1024px) {
  .mmt-hero__tab-label { font-size: 13px; }
}
@media (max-width: 767px) {
  .mmt-hero { min-height: 0; }
  .mmt-hero__slide { align-items: flex-start; }
  .mmt-hero__content { padding: 48px var(--gutter) 128px; }
  .mmt-hero__body { margin-top: 16px !important; }
  .mmt-hero__actions { margin-top: 24px; }
  .mmt-hero__actions .mmt-btn { flex: 1 1 100%; }
  .mmt-hero__controls { padding-bottom: 20px; gap: 12px; flex-wrap: wrap; }
  .mmt-hero__tabs { gap: 8px; }
  .mmt-hero__tab { grid-template-columns: minmax(0, 1fr); grid-template-areas: "bar" "num"; }
  .mmt-hero__tab-label { display: none; }
  .mmt-hero__btn { width: 40px; height: 40px; }
  .mmt-hero__overlay { background: rgba(14, 26, 56, .78); }
}

/* ---------- Proof row ---------- */
.e-con.mmt-proof { padding-top: 40px; padding-bottom: 40px; }
.mmt-proof__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.mmt-proof__item { display: flex; flex-direction: column; gap: 6px; padding-left: 16px; border-left: 2px solid var(--line); }
.mmt-proof__num { font-size: 36px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.mmt-proof__label { font-size: var(--fs-small); color: var(--muted); line-height: 1.4; }
@media (max-width: 767px) {
  .mmt-proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .mmt-proof__num { font-size: 28px; }
}

/* ---------- Cards ---------- */
.e-con.mmt-card, .mmt-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: var(--card-pad); display: flex; flex-direction: column; gap: 0; overflow: hidden; min-width: 0;
}
.mmt-card .elementor-widget-image img, .mmt-card__img img, .mmt-card img.mmt-card__img {
  width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--r-inner); display: block;
}
.e-con.mmt-card__body, .mmt-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.mmt-card__body .mmt-textlink, .mmt-card__body .mmt-arrowlink { margin-top: auto; }
.mmt-card h3 { font-size: 22px; }
.mmt-card p { color: var(--muted); font-size: 16px; line-height: 1.55; }

.e-con.mmt-feature {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 0;
}
.mmt-feature .elementor-widget-image img { aspect-ratio: 5 / 3; height: 100%; }
.e-con.mmt-feature .mmt-card__body { padding: 40px 48px; gap: 16px; }
.mmt-feature h3 { font-size: 36px; line-height: 1.1; font-weight: 700; }
@media (max-width: 767px) {
  .e-con.mmt-feature { grid-template-columns: minmax(0, 1fr); }
  .e-con.mmt-feature .mmt-card__body { padding: 20px 20px 22px; }
  .mmt-feature h3 { font-size: 26px; }
  .mmt-feature .elementor-widget-image img { aspect-ratio: 2 / 1; }
}
.mmt-taglist { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }

/* Plain info tile (why grid, dealer points) */
.e-con.mmt-tile, .mmt-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.mmt-tile h3 { font-size: 20px; line-height: 1.25; }
.mmt-tile p { color: var(--muted); font-size: 16px; }
.mmt-bg-surface .mmt-tile, .mmt-bg-surface .e-con.mmt-tile { background: var(--paper); }

/* Steps */
.e-con.mmt-step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.mmt-bg-paper .e-con.mmt-step { background: var(--surface); }
.mmt-step__num { font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--navy); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.mmt-step h3 { font-size: 20px; }
.mmt-step p { color: var(--muted); font-size: 16px; }

/* ---------- Truss drawings ---------- */
.truss-drawing { display: block; width: 100%; height: auto; overflow: visible; color: var(--navy); }
.truss-drawing .m { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.truss-drawing .bearing { fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.truss-drawing .plate { fill: var(--plate, #fff); stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.mmt-blueprint .truss-drawing, .mmt-bg-blueprint .truss-drawing { color: var(--on-blueprint-drawing); --plate: var(--blueprint); }

/* Library wall (home) */
.mmt-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--blueprint-line); border-left: 1px solid var(--blueprint-line); }
.mmt-wall__cell {
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 148px; padding: 16px;
  border-right: 1px solid var(--blueprint-line); border-bottom: 1px solid var(--blueprint-line);
  color: #fff; text-decoration: none; background: rgba(19, 35, 79, .6); transition: background-color .15s;
}
.mmt .mmt-wall__cell { color: #fff; text-decoration: none; }
.mmt-wall__cell:hover { background: var(--navy); }
.mmt-wall__cell .truss-drawing { max-height: 72px; }
.mmt-wall__num { font-family: var(--mono); font-size: 12px; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.mmt-wall__name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.mmt-wall__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mmt .mmt-wall__cell--cta { background: var(--accent); justify-content: space-between; }
.mmt .mmt-wall__cell--cta:hover { background: var(--accent-hover); }
.mmt-wall__cta-text { font-size: 17px; font-weight: 700; line-height: 1.25; }
.mmt-wall__cta-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.mmt-wall__cta-link .mmt-icon { width: 16px; height: 16px; }
@media (max-width: 1024px) { .mmt-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .mmt-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mmt-wall__cell { min-height: 124px; padding: 12px; }
  .mmt-wall__name { font-size: 13px; }
}

/* Style cards (hub, product pages, related) */
.mmt-style-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 24px; }
.mmt-style-grid--4 { --cols: 4; }
.mmt-style-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--card-pad); min-width: 0;
  color: var(--ink); text-decoration: none; transition: border-color .15s;
}
.mmt .mmt-style-card { color: var(--ink); text-decoration: none; }
.mmt-style-card:hover { border-color: var(--navy); }
.mmt-style-card__art { position: relative; background: var(--paper); border-radius: var(--r-inner); padding: 36px 28px 24px; --plate: var(--paper); }
.mmt-style-card__art .truss-drawing { max-height: 112px; }
.mmt-style-card__num {
  position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--navy);
  border: 1px solid var(--navy); border-radius: 999px; min-width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; font-variant-numeric: tabular-nums;
}
.mmt-style-card__body { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.mmt-style-card__name { font-size: 20px; line-height: 1.25; font-weight: 600; }
.mmt .mmt-style-card__name { font-size: 20px; }
.mmt-style-card__desc { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0; }
.mmt-style-card__use {
  margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--navy);
}
.mmt-style-card__use .mmt-icon { width: 16px; height: 16px; color: var(--accent); }
.mmt-style-card--compact .mmt-style-card__art { padding: 24px 20px 16px; }
.mmt-style-card--compact .mmt-style-card__body { flex-direction: row; align-items: center; justify-content: space-between; }
.mmt-style-card--compact .mmt-style-card__name { font-size: 16px; }
.mmt-style-card--compact .mmt-icon { width: 16px; height: 16px; color: var(--accent); flex: 0 0 auto; }
@media (max-width: 1024px) { .mmt-style-grid, .mmt-style-grid--4 { --cols: 2; } }
@media (max-width: 560px) { .mmt-style-grid, .mmt-style-grid--4 { --cols: 1; } .mmt-style-grid.mmt-style-grid--compact { --cols: 2; } }

/* Hub header + filter chips */
.mmt-page-hero { padding: 56px var(--gutter) 64px; }
.mmt-page-hero .mmt-wrap { gap: 20px; }
.mmt-chipbar { background: var(--surface); border-bottom: 1px solid var(--line); padding: 14px var(--gutter); position: sticky; top: var(--header-h); z-index: 20; }
.admin-bar .mmt-chipbar { top: calc(var(--header-h) + 32px); }
.mmt-chips { max-width: var(--content); margin: 0 auto; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.mmt-chips::-webkit-scrollbar { display: none; }
.mmt-chip {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; min-height: 40px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--surface);
  color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.mmt .mmt-chip { color: var(--ink); text-decoration: none; }
.mmt-chip:hover { border-color: var(--ink); }
.mmt .mmt-chip--all { background: var(--ink); color: #fff; border-color: var(--ink); }
.mmt-chip__count { font-family: var(--mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mmt-chip--all .mmt-chip__count { color: var(--on-dark-muted); }
.mmt-cat { scroll-margin-top: calc(var(--header-h) + 90px); }
@media (max-width: 767px) { .mmt-chipbar { position: static; } }

/* Style detail page */
.mmt-sheet { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 48px 48px 20px; display: flex; flex-direction: column; gap: 24px; --plate: var(--surface); }
.mmt-sheet .truss-drawing { max-width: 880px; margin: 0 auto; }
.mmt-sheet__caption { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
@media (max-width: 767px) { .mmt-sheet { padding: 24px 12px 12px; } }
.mmt-prose h2 { font-size: 26px; line-height: 1.2; font-weight: 600; margin: 0 0 10px; }
.mmt-prose p { color: var(--muted); }
.mmt-prose section + section { margin-top: 32px; }
.mmt-specs { display: flex; flex-direction: column; gap: 12px; }
.mmt-specbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; }
.mmt-specbox .mmt-eyebrow { font-size: 11px; display: block; margin-bottom: 4px; }
.mmt-specbox__val { font-size: 18px; font-weight: 600; line-height: 1.3; }
.mmt-specbox__val a { color: var(--ink); }
.mmt-aside-cta { background: var(--navy); color: #fff; border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.mmt-aside-cta h2, .mmt .mmt-aside-cta h2 { font-size: 22px; line-height: 1.25; color: #fff; }
.mmt-aside-cta .mmt-btn { width: 100%; }
.mmt-aside-cta p { color: var(--on-dark-muted); font-size: 15px; margin: 0; }
.mmt-aside-cta p a { color: #fff; }

/* ---------- Checklist (Elementor icon-list with .mmt-checklist) ---------- */
.mmt-checklist .elementor-icon-list-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; list-style: none; margin: 0; padding: 0; }
.mmt-checklist .elementor-icon-list-item {
  display: flex !important; align-items: flex-start; gap: 12px; padding: 16px 18px; margin: 0 !important;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); font-size: 16px; line-height: 1.5;
}
.mmt-checklist .elementor-icon-list-item::after { display: none !important; }
.mmt-checklist .elementor-icon-list-item::before {
  content: ""; flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mmt-checklist .elementor-icon-list-icon { display: none; }
.mmt-checklist .elementor-icon-list-text { padding: 0 !important; color: var(--ink); }
.mmt-checklist .elementor-icon-list-text strong { display: block; font-weight: 600; }
.mmt-checklist .elementor-icon-list-text span { color: var(--muted); }
.mmt-bg-surface .mmt-checklist .elementor-icon-list-item { background: var(--paper); }
@media (max-width: 767px) { .mmt-checklist .elementor-icon-list-items { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ (details/summary) ---------- */
.mmt-faq { border-top: 1px solid var(--line); }
.mmt-faq details { border-bottom: 1px solid var(--line); }
.mmt-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 19px; font-weight: 600; line-height: 1.35;
}
.mmt-faq summary::-webkit-details-marker { display: none; }
.mmt-faq summary .mmt-icon { width: 20px; height: 20px; color: var(--accent); transition: transform .2s; }
.mmt-faq details[open] summary .mmt-icon { transform: rotate(45deg); }
.mmt-faq__a { padding: 0 40px 20px 0; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .mmt-faq summary .mmt-icon { transition: none; } }

/* ---------- Gallery (Elementor image-gallery with .mmt-gallery) ---------- */
.mmt-gallery .gallery { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 !important; }
.mmt-gallery .gallery-item { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.mmt-gallery .gallery-item .gallery-icon { padding: var(--card-pad); }
.mmt-gallery .gallery-item img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border: 0 !important; border-radius: var(--r-inner); display: block; }
.mmt-gallery .gallery-caption { padding: 8px 12px 12px; font-size: 14px; color: var(--muted); text-align: left; }
.mmt-gallery br { display: none; }
@media (max-width: 1024px) { .mmt-gallery .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mmt-gallery .gallery { grid-template-columns: minmax(0, 1fr); } }

/* Images inside sections */
.mmt-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--r-card); display: block; }

/* ---------- Team ---------- */
.mmt-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mmt-people--all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mmt-person { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 20px; min-width: 0; }
.mmt-person__avatar {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: #E3DED2; color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 500; font-size: 14px;
}
.mmt-person__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mmt-person__name { font-size: 19px; font-weight: 600; line-height: 1.3; }
.mmt-person__role { font-size: 14px; color: var(--muted); }
.mmt-person__line { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
.mmt-person__line .mmt-icon { width: 16px; height: 16px; }
@media (max-width: 1024px) { .mmt-people, .mmt-people--all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .mmt-people, .mmt-people--all { grid-template-columns: minmax(0, 1fr); } }

/* ---------- NAP / contact details ---------- */
.mmt-nap { font-style: normal; display: flex; flex-direction: column; gap: 4px; }
.mmt-contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.mmt-contact-card h2, .mmt .mmt-contact-card h2 { font-size: 20px; line-height: 1.3; }
.mmt-iconline { display: flex; align-items: flex-start; gap: 8px; margin: 0; line-height: 1.5; }
.mmt-iconline .mmt-icon { width: 18px; height: 18px; margin-top: 3px; color: var(--navy); }
.mmt-iconline a { font-weight: 600; }
.mmt-contact-card .mmt-person { padding: 0; border: 0; }
.mmt-contact-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }

/* Resource links */
.mmt-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mmt-links a { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); text-decoration: none; color: var(--ink); }
.mmt .mmt-links a { color: var(--ink); text-decoration: none; }
.mmt-links a:hover { border-color: var(--navy); }
.mmt-links .mmt-icon { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.mmt-links strong { display: block; font-weight: 600; color: var(--accent); }
.mmt-links span { color: var(--muted); font-size: 15px; }

/* Partners */
.mmt-partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.mmt-partners li { padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--surface); font-weight: 600; font-size: 15px; }

/* ---------- CTA band (blueprint) ---------- */
.e-con.mmt-section.mmt-cta-band > .e-con.mmt-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; }
.mmt-cta-band h2 { color: #fff; }
.mmt-cta-band .mmt-btns { justify-content: flex-end; }
@media (max-width: 900px) {
  .e-con.mmt-section.mmt-cta-band > .e-con.mmt-wrap { grid-template-columns: minmax(0, 1fr); }
  .mmt-cta-band .mmt-btns { justify-content: flex-start; }
}
@media (max-width: 767px) { .mmt-cta-band .mmt-btns .mmt-btn { flex: 1 1 100%; } }

/* Dealers band (navy) */
.mmt-bg-navy h2 { color: #fff; }

/* Service area */
.mmt-plant-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Forms (CF7) ---------- */
.mmt-form { width: 100%; }
.mmt-form form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; }
.mmt-form .mmt-field { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; }
.mmt-form .mmt-field--full { grid-column: 1 / -1; }
.mmt-form label { font-size: 15px; font-weight: 600; color: var(--ink); }
.mmt-form .req { color: var(--error); }
.mmt-form .opt { font-weight: 400; color: var(--muted); }
.mmt-form .wpcf7-form-control-wrap { display: block; }
.mmt-form input[type="text"], .mmt-form input[type="email"], .mmt-form input[type="tel"], .mmt-form select, .mmt-form textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px/1.4 var(--font); color: var(--ink);
  background: var(--surface); border: 1px solid #B9B3A5; border-radius: var(--r-btn); outline: none; box-shadow: none;
  transition: border-color .15s, box-shadow .15s;
}
.mmt-form select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230E1A38' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.mmt-form textarea { min-height: 160px; resize: vertical; }
.mmt-form input:focus, .mmt-form select:focus, .mmt-form textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy); }
.mmt-form input[type="file"] { width: 100%; padding: 12px; border: 1px dashed #B9B3A5; border-radius: var(--r-btn); background: var(--surface); font: 400 15px var(--font); }
.mmt-form input[type="file"]:focus { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy); }
.mmt-form .mmt-hint { font-size: 14px; color: var(--muted); }
.mmt-file-name { font-size: 14px; color: var(--ink); }
.mmt-form .wpcf7-not-valid { border-color: var(--error) !important; }
.mmt-form .wpcf7-not-valid:focus { box-shadow: 0 0 0 2px var(--error) !important; }
.mmt-form .wpcf7-not-valid-tip { display: block; margin-top: 6px; color: var(--error); font-size: 14px; font-weight: 500; }
.mmt-form .mmt-submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0; position: relative; }
.mmt-form input[type="submit"] {
  min-height: 52px; padding: 12px 28px; border: 0; border-radius: var(--r-btn); background: var(--accent); color: #fff;
  font: 600 16px/1.2 var(--font); cursor: pointer; transition: background-color .15s;
}
.mmt-form input[type="submit"]:hover { background: var(--accent-hover); }
.mmt-form input[type="submit"]:disabled { opacity: .85; cursor: progress; }
.mmt-form .mmt-submit.is-loading input[type="submit"] { padding-left: 52px; }
.mmt-form .mmt-submit.is-loading::before {
  content: ""; position: absolute; left: 20px; top: 50%; width: 18px; height: 18px; margin-top: -9px; z-index: 1;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: mmt-spin .7s linear infinite; pointer-events: none;
}
@keyframes mmt-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mmt-form .mmt-submit.is-loading::before { animation-duration: 2s; } }
.mmt-form .wpcf7-spinner { display: none !important; }
.mmt-form .wpcf7-response-output { grid-column: 1 / -1; margin: 0 !important; border-radius: var(--r-card); padding: 16px 20px !important; font-size: 16px; line-height: 1.5; }
.mmt-form form.init .wpcf7-response-output, .mmt-form .wpcf7-response-output:empty { display: none; }
.mmt-form form.sent .wpcf7-response-output {
  display: block; background: var(--success-bg); border: 1px solid var(--accent) !important; color: var(--ink);
  animation: mmt-rise .2s ease-out both;
}
.mmt-form form.invalid .wpcf7-response-output, .mmt-form form.unaccepted .wpcf7-response-output, .mmt-form form.failed .wpcf7-response-output, .mmt-form form.aborted .wpcf7-response-output, .mmt-form form.spam .wpcf7-response-output {
  display: block; background: #FDF0EE; border: 1px solid var(--error) !important; color: var(--error); animation: mmt-rise .2s ease-out both;
}
@keyframes mmt-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mmt-form .wpcf7-response-output { animation: none !important; } }
.mmt-form .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 767px) { .mmt-form form { grid-template-columns: minmax(0, 1fr); } .mmt-form input[type="submit"] { width: 100%; } }
.e-con.mmt-form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; }
@media (max-width: 767px) { .e-con.mmt-form-card { padding: 20px 16px; } }

/* ---------- Footer ---------- */
.mmt-footer { background: var(--ink); color: #fff; padding: 72px var(--gutter) 0; }
.mmt-footer__inner { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.mmt-footer__logo { display: inline-flex; background: #fff; padding: 8px 12px; border-radius: var(--r-btn); margin-bottom: 20px; }
.mmt .mmt-footer__logo .mmt-logo { height: 44px; }
.mmt-footer .mmt-nap { color: var(--on-dark-muted); font-size: 15px; line-height: 1.5; }
.mmt-footer .mmt-nap__name { color: #fff; font-weight: 600; }
.mmt .mmt-footer .mmt-nap__phone { color: #fff; font-size: 24px; font-weight: 700; text-decoration: none; margin: 6px 0 2px; }
.mmt-footer__h, .mmt .mmt-footer__h { font-size: 14px; line-height: 1.3; font-weight: 600; color: #fff; margin: 0 0 14px; letter-spacing: 0; }
.mmt .mmt-footer__h--social { margin-top: 28px; }
.mmt-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mmt .mmt-footer a { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; }
.mmt .mmt-footer a:hover { color: #fff; text-decoration: underline; }
.mmt-footer__social a { display: inline-flex; align-items: center; gap: 8px; }
.mmt-footer__social .mmt-icon { width: 18px; height: 18px; }
.mmt-footer__bar { max-width: var(--content); margin: 0 auto; border-top: 1px solid var(--blueprint-line); padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; font-size: 14px; color: var(--on-dark-muted); }
.mmt-footer__bar p { margin: 0; }
@media (max-width: 1024px) { .mmt-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .mmt-footer { padding-top: 48px; }
  .mmt-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* ---------- Mobile sticky action bar ---------- */
.mmt-sticky-bar { display: none; }
@media (max-width: 767px) {
  .mmt-sticky-bar {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .2s ease; visibility: hidden;
  }
  .mmt-sticky-bar.is-visible { transform: none; visibility: visible; }
  .mmt-sticky-bar .mmt-btn { width: 100%; min-height: 48px; padding: 10px 12px; }
  body.mmt-bar-visible { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .mmt-no-sticky-bar .mmt-sticky-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mmt-sticky-bar { transition: none; } }

/* Hello Elementor resets we override */
.mmt .site-main, .mmt .page-content { max-width: none; padding: 0; margin: 0; }
.mmt .elementor-widget-shortcode .elementor-shortcode { width: 100%; }

/* ---------- Fixes after visual QA ---------- */
.mmt-form .hidden-fields-container { display: none; }
.mmt .mmt-form-card h2 { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 600; }
.mmt .mmt-contact-card p { margin: 0; }
.mmt-sheet__caption { font-style: normal; }
.e-con.mmt-split--faq { grid-template-columns: 320px minmax(0, 1fr); align-items: start; }
@media (max-width: 1024px) { .e-con.mmt-split--faq { grid-template-columns: minmax(0, 1fr); } }
.mmt .mmt-checklist .elementor-icon-list-items .elementor-icon-list-item { padding: 16px 18px; align-items: flex-start; }
.mmt .mmt-checklist .elementor-icon-list-items .elementor-icon-list-item .elementor-icon-list-text { display: flex; flex-direction: column; gap: 2px; }
.mmt h2.mmt-eyebrow { font-family: var(--mono); font-size: 11px; line-height: 1.4; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }

/* Contact band (their "Contact Us" form at the foot of every page) */
.e-con.mmt-section.mmt-contact-band > .e-con.mmt-wrap { display: block; }
.e-con.mmt-contact-band .e-con.mmt-split--side { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: center; gap: 32px 64px; }
.mmt-contact-band .mmt-btns { justify-content: flex-start; }
.mmt-contact-band .mmt-stack p { color: var(--on-dark-muted, #B9C0D6); }
.mmt-contact-band .mmt-stack .mmt-lead { color: #fff; }
@media (max-width: 1024px) { .e-con.mmt-contact-band .e-con.mmt-split--side { grid-template-columns: minmax(0, 1fr); } }

/* Phone-first contact band (2026-11-16) */
@media (min-width: 1025px) { .e-con.mmt-contact-band .e-con.mmt-split--side { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); } }
@media (max-width: 767px) { .mmt-phone-card { padding: 20px; } }
.mmt-phone-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.mmt .mmt-phone-card__num { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: -.01em; }
.mmt .mmt-phone-card__num:hover { color: var(--accent); }
.mmt .mmt-phone-card p { margin: 0; color: var(--on-dark-muted, #B9C0D6); }
.mmt-form .mmt-submit .mmt-hint { color: var(--muted); }

/* Override Hello Elementor's pink button:hover/focus reset (#c36) on our own buttons */
button.mmt-nav__toggle:hover, button.mmt-nav__toggle:focus { background: none; color: var(--accent); }
button.mmt-nav__toggle:focus:not(:focus-visible) { color: var(--ink); }
button.mmt-nav__toggle:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
button.mmt-menu-btn:hover, button.mmt-menu-btn:focus { background: none; color: var(--ink); }
button.mmt-hero__tab:hover, button.mmt-hero__tab:focus { background: none; color: #fff; }
button.mmt-hero__btn:focus:not(:hover) { background: transparent; color: #fff; }
button.mmt-hero__btn:hover { background: #fff; color: var(--ink); }
.e-con.mmt-contact-band__inner { max-width: 760px; }
