/* 3MHZ Solutions website. Generated from the Motto design system (tokens.json + bundle.css). */
:root{--almond-cream:#F3E9C8;--petrol-teal:#075359;--electric-violet:#A66CFF;--petrol-ink:#032326;--almond-tile:#E8DCB2;--canvas:var(--almond-cream);--surface-tile:var(--almond-tile);--surface-inverse:var(--petrol-teal);--ink:var(--petrol-teal);--ink-inverse:var(--almond-cream);--accent:var(--electric-violet);--on-accent:var(--petrol-ink);--line:var(--petrol-teal);--focus:var(--petrol-teal);--space-4:4px;--space-8:8px;--space-12:12px;--space-16:16px;--space-24:24px;--space-32:32px;--space-48:48px;--space-64:64px;--space-96:96px;--radius-sm:8px;--radius-tile:24px;--radius-pill:999px;--page-max:1280px;--nav-height:96px;--font-display:"Unbounded", "Arial Black", system-ui, sans-serif;--font-sans:"Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;}
html { scroll-behavior: smooth; }

/* 3MHZ Solutions · Motto: component styles. Colours, spacing and radii come from tokens.css. */

.mt, .mt * { box-sizing: border-box; }
.mt { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; font-weight: 500; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.mt h1, .mt h2, .mt h3, .mt h4 { margin: 0; font-family: var(--font-display); font-weight: 600; }
.mt p { margin: 0; }
.mt a { color: inherit; }
.mt :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.mt-skip { position: absolute; left: var(--space-16); top: -100px; z-index: 50; background: var(--petrol-teal); color: var(--almond-cream); padding: 12px 20px; border-radius: var(--radius-pill); font-weight: 700; text-decoration: none; }
.mt-skip:focus { top: var(--space-16); }
.mt-stack { display: flex; flex-direction: column; gap: var(--space-24); }
.mt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-inverse { background: var(--surface-inverse); color: var(--ink-inverse); }
.mt-inverse :focus-visible { outline-color: var(--almond-cream); }

/* ---------- type ---------- */
.mt-display { font-family: var(--font-display); font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; font-weight: 600; letter-spacing: -0.03em; }
.mt-h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -0.025em; }
.mt-h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -0.02em; }
.mt-h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.mt-index { font: 500 13px/1 var(--font-display); letter-spacing: .06em; }
.mt-lead { font-size: 20px; line-height: 1.5; font-weight: 500; }
.mt-small { font-size: 14px; line-height: 1.5; }
.mt-label { font-size: 12px; line-height: 1.2; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mt-label::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); margin-right: 10px; vertical-align: 1px; }

/* ---------- layout ---------- */
.mt-wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--space-32); }
.mt-section { padding: var(--space-96) 0; }
@media (max-width: 700px) { .mt-wrap { padding: 0 var(--space-16); } .mt-section { padding: var(--space-64) 0; } }

/* ---------- Logo (stacked: icon, name under) ---------- */
.mt-logo { display: inline-flex; line-height: 0; color: var(--ink); text-decoration: none; }
.mt-logo svg { display: block; height: 84px; width: auto; }
.mt-inverse .mt-logo { color: var(--ink-inverse); }

/* ---------- Button ---------- */
.mt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: var(--radius-pill); border: 1.5px solid transparent; font: 700 16px/1 var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.mt-btn:active { transform: translateY(1px); }
.mt-btn--violet { background: var(--accent); color: var(--on-accent); }
.mt-btn--violet:hover { background: var(--petrol-ink); color: var(--almond-cream); }
.mt-btn--teal { background: var(--petrol-teal); color: var(--almond-cream); }
.mt-btn--teal:hover { background: var(--petrol-ink); }
.mt-btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.mt-btn--outline:hover { background: var(--petrol-teal); color: var(--almond-cream); }
.mt-inverse .mt-btn--outline { color: var(--almond-cream); border-color: var(--almond-cream); }
.mt-inverse .mt-btn--outline:hover { background: var(--almond-cream); color: var(--petrol-teal); }
.mt-btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }
.mt-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Icon (futuristic line icons) ---------- */
.mt-icon { width: 56px; height: 56px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--canvas); }
.mt-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mt-icon svg .node { fill: var(--accent); stroke: none; }
.mt-inverse .mt-icon { background: color-mix(in srgb, var(--almond-cream) 10%, transparent); }
.mt-inverse .mt-icon svg { stroke: var(--almond-cream); }

/* ---------- Chip ---------- */
.mt-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); font-size: 14px; font-weight: 700; }
.mt-chip i { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.mt-inverse .mt-chip { border-color: var(--almond-cream); }

/* ---------- Nav ---------- */
.mt-nav { height: var(--nav-height); display: flex; align-items: center; position: relative; z-index: 20; }
.mt-nav__inner { width: 100%; max-width: var(--page-max); margin: 0 auto; padding: 0 var(--space-32); display: flex; align-items: center; gap: var(--space-24); }
.mt-nav__links { display: flex; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.mt-nav__links a { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: var(--radius-pill); text-decoration: none; font-weight: 700; font-size: 15px; }
.mt-nav__links a:hover { background: var(--surface-tile); }
.mt-nav__menu { display: none; width: 48px; height: 48px; padding: 0; }
.mt-nav__cta { display: none; }
@media (max-width: 900px) {
  .mt-nav__links, .mt-nav__inner > .mt-btn--violet { display: none; }
  .mt-nav__menu { display: inline-flex; margin-left: auto; }
  .mt-nav__inner { padding: 0 var(--space-16); }
  .mt-logo svg { height: 64px; }
  .mt-nav.is-open .mt-nav__links { display: flex; flex-direction: column; gap: 2px; position: absolute; top: calc(var(--nav-height) - 8px); left: var(--space-16); right: var(--space-16); margin: 0; padding: var(--space-12); background: var(--surface-inverse); border-radius: var(--radius-tile); }
  .mt-nav.is-open .mt-nav__links a { height: 52px; padding: 0 var(--space-16); color: var(--ink-inverse); font-size: 17px; }
  .mt-nav.is-open .mt-nav__links a:hover { background: color-mix(in srgb, var(--almond-cream) 12%, transparent); }
  .mt-nav.is-open .mt-nav__links :focus-visible { outline-color: var(--almond-cream); outline-offset: -3px; }
  .mt-nav.is-open .mt-nav__cta { display: block; margin-top: var(--space-8); }
  .mt-nav.is-open .mt-nav__cta a { display: flex; justify-content: center; background: var(--accent); color: var(--on-accent); }
}

/* ---------- Bento ---------- */
.mt-bento { display: grid; gap: var(--space-12); }
.mt-tile { background: var(--surface-tile); border-radius: var(--radius-tile); padding: var(--space-32); position: relative; overflow: hidden; }
.mt-tile.mt-inverse { background: var(--surface-inverse); }
@media (max-width: 700px) { .mt-tile { padding: var(--space-24); } }

/* ---------- Hero ---------- */
.mt-hero { padding: var(--space-16) 0 var(--space-64); }
.mt-hero__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: auto auto; }
.mt-hero__main { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-48); min-height: 520px; padding: var(--space-48); }
.mt-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-12); }
.mt-hero__id { display: grid; place-items: center; min-height: 330px; }
.mt-hero__id svg { width: 62%; max-width: 260px; height: auto; }
.mt-hero__id .mt-index { position: absolute; left: var(--space-24); top: var(--space-24); }
.mt-hero__id .mt-index.r { left: auto; right: var(--space-24); }
.mt-hero__meta { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-16); }
.mt-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) { .mt-hero__grid { grid-template-columns: 1fr; } .mt-hero__main { grid-row: auto; min-height: 0; padding: var(--space-32) var(--space-24); } .mt-hero__id { min-height: 260px; } }

/* ---------- Section head ---------- */
.mt-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: var(--space-32); align-items: end; margin-bottom: var(--space-48); }
.mt-head__t { display: flex; flex-direction: column; gap: var(--space-16); }
@media (max-width: 800px) { .mt-head { grid-template-columns: 1fr; } }

/* ---------- Service tiles ---------- */
.mt-services { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.mt-service { display: flex; flex-direction: column; gap: var(--space-16); min-height: 300px; text-decoration: none; color: var(--ink); grid-column: span 2; transition: background-color .15s ease; }
.mt-service:nth-child(4), .mt-service:nth-child(5) { grid-column: span 3; }
a.mt-service:hover { background: var(--canvas); outline: 1.5px solid var(--line); outline-offset: -1.5px; }
.mt-service__top { display: flex; justify-content: space-between; align-items: flex-start; }
.mt-service p { flex: 1; }
.mt-service__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.mt-service__more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
a.mt-service:hover .mt-service__more svg { transform: translateX(4px); }
.mt-start { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--space-24); flex-wrap: wrap; }
@media (max-width: 1000px) { .mt-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mt-service, .mt-service:nth-child(4), .mt-service:nth-child(5) { grid-column: span 1; } }
@media (max-width: 640px) { .mt-services { grid-template-columns: 1fr; } .mt-service { min-height: 0; } }

/* ---------- Outcomes band ---------- */
.mt-band { padding: var(--space-96) 0; }
.mt-band__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-64); align-items: start; }
.mt-band__points { display: grid; gap: var(--space-12); }
.mt-point { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-16); align-items: center; padding: var(--space-16) 0; border-top: 1.5px solid color-mix(in srgb, var(--almond-cream) 35%, transparent); }
.mt-point:last-child { border-bottom: 1.5px solid color-mix(in srgb, var(--almond-cream) 35%, transparent); }
.mt-point b { font: 600 18px/1.25 var(--font-display); display: block; margin-bottom: 4px; }
@media (max-width: 900px) { .mt-band__grid { grid-template-columns: 1fr; gap: var(--space-32); } }

/* ---------- Contact ---------- */
.mt-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.mt-contact__text { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-32); min-height: 380px; padding: var(--space-48); }
.mt-form { display: flex; flex-direction: column; gap: var(--space-12); padding: var(--space-48); }
.mt-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.mt-input { height: 54px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: var(--canvas); color: var(--ink); padding: 0 22px; font: 500 16px/1 var(--font-sans); width: 100%; }
.mt-input::placeholder { color: var(--petrol-teal); opacity: .85; }
.mt-input:hover { background: var(--almond-cream); border-width: 2px; }
.mt-input:user-invalid { border-color: var(--petrol-ink); border-style: dashed; }
.mt-form__status { min-height: 1.5em; font-size: 14px; }
.mt-direct { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.mt-direct a { text-decoration: none; }
.mt-direct a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .mt-contact { grid-template-columns: 1fr; } .mt-contact__text, .mt-form { padding: var(--space-32) var(--space-24); min-height: 0; } }

/* ---------- Footer ---------- */
.mt-footer { padding: var(--space-64) 0 var(--space-32); }
.mt-footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: var(--space-48); padding-bottom: var(--space-48); border-bottom: 1.5px solid color-mix(in srgb, var(--almond-cream) 35%, transparent); }
.mt-footer__h { font: 700 12px/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--space-16); }
.mt-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mt-footer li, .mt-footer li a { font-size: 15px; text-decoration: none; }
.mt-footer li { padding: 5px 0; }
.mt-footer li a { display: inline-block; padding: 5px 0; margin: -5px 0; }
.mt-footer__brand { display: flex; flex-direction: column; gap: var(--space-16); align-items: flex-start; }
.mt-footer li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mt-footer__legal { display: flex; justify-content: space-between; gap: var(--space-16); flex-wrap: wrap; padding-top: var(--space-24); font-size: 14px; }
@media (max-width: 900px) { .mt-footer__top { grid-template-columns: 1fr 1fr; } .mt-footer__top > :first-child { grid-column: 1 / -1; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .mt-btn:active { transform: none; }
  a.mt-service:hover .mt-service__more svg { transform: none; }
}

/* ---------- Audit additions ---------- */
.mt-section--tight { padding-top: var(--space-48); }
.mt-section--flush { padding-top: 0; }
.mt-direct__addr { font-weight: 500; }
.mt-form__submit { margin-top: var(--space-8); }
.mt-start__t { max-width: 640px; font-family: var(--font-display); font-weight: 600; }
.mt-nav__menu .m1 { transition: d .15s ease; }
.mt-nav.is-open .mt-nav__menu .m1 { d: path("M5 5l10 10M15 5L5 15"); }

/* ---------- Hero / footer helpers ---------- */
.mt-hero__lead { max-width: 35ch; }
.mt-hero__mark { color: var(--almond-cream); }
.mt-footer__tag { max-width: 300px; }
.mt-footer__links { display: flex; gap: var(--space-16); }
.mt-footer__legal a { text-decoration: none; }
.mt-footer__legal a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Contact form ---------- */
.mt-form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-12); }
.mt-field__opt { font-weight: 500; }
.mt-textarea { height: auto; min-height: 132px; border-radius: 22px; padding: 16px 22px; line-height: 1.5; resize: vertical; }
.mt-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.mt-captcha { min-height: 65px; }
.mt-captcha:empty { display: grid; place-items: center; border: 1.5px dashed var(--line); border-radius: var(--radius-sm); font: 500 11px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.mt-captcha:empty::before { content: "Spam check · Cloudflare Turnstile"; }
.mt-form__note { font-size: 14px; }
.mt-form__note a { text-underline-offset: 3px; }
.mt-form__status[data-kind="error"] { font-weight: 700; }
.mt-form__status[data-kind="error"]::before { content: "! "; }
.mt-form__status[data-kind="ok"] { font-weight: 700; }
.mt-btn[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 640px) { .mt-form__row { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.mt-legal { padding: var(--space-16) 0 var(--space-96); }
.mt-legal__head { display: flex; flex-direction: column; gap: var(--space-16); padding: var(--space-48); margin-bottom: var(--space-48); }
.mt-legal__head .mt-lead { max-width: 60ch; }
.mt-simple { min-height: 420px; justify-content: center; }
.mt-legal__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--space-64); align-items: start; }
.mt-legal__toc { position: sticky; top: var(--space-24); display: flex; flex-direction: column; gap: var(--space-16); }
.mt-legal__toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; border-left: 1.5px solid var(--line); }
.mt-legal__toc a { display: block; padding: 6px 0 6px var(--space-16); font-size: 14px; font-weight: 700; text-decoration: none; }
.mt-legal__toc a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mt-prose { max-width: 72ch; }
.mt-prose section { padding-bottom: var(--space-32); scroll-margin-top: var(--space-24); }
.mt-prose section + section { padding-top: var(--space-32); border-top: 1.5px solid var(--surface-tile); }
.mt-prose h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: var(--space-16); }
.mt-prose p, .mt-prose li { font-size: 17px; line-height: 1.65; }
.mt-prose p + p, .mt-prose ul + p, .mt-prose p + ul { margin-top: var(--space-16); }
.mt-prose ul { margin: 0; padding-left: 1.2em; }
.mt-prose li + li { margin-top: 6px; }
.mt-prose li::marker { color: var(--accent); }
.mt-prose a { text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.mt-table { overflow-x: auto; border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.mt-table table { width: 100%; border-collapse: collapse; min-width: 560px; }
.mt-table th, .mt-table td { text-align: left; vertical-align: top; padding: 12px 16px; font-size: 15px; line-height: 1.5; }
.mt-table th { font: 700 12px/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; background: var(--surface-tile); }
.mt-table tr + tr td { border-top: 1.5px solid var(--surface-tile); }
@media (max-width: 900px) { .mt-legal__grid { grid-template-columns: 1fr; gap: var(--space-32); } .mt-legal__toc { position: static; } .mt-legal__head { padding: var(--space-32) var(--space-24); } }
@media print { .mt-nav, .mt-footer, .mt-legal__toc, .mt-skip { display: none; } .mt-legal__head { background: none; padding: 0; } }
