/*
Theme Name: MT Edge
Theme URI: https://manishtomar.com/
Author: Manish Tomar / OpenAI
Description: Minimal, editorial, high-performance portfolio theme for healthcare, medico, Ayurveda, web, app and software development work.
Version: 1.9.2
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: mt-edge
Tags: block-theme, portfolio, blog, accessibility-ready, full-site-editing, one-column, custom-logo
*/

:root {
  --mt-ink: #111318;
  --mt-muted: #667085;
  --mt-line: #e8e9ec;
  --mt-paper: #ffffff;
  --mt-soft: #f6f7f8;
  --mt-signal: #16c7a3;
  --mt-signal-2: #5a67ff;
  --mt-radius: 22px;
  --mt-shadow: 0 18px 60px rgba(17, 19, 24, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { text-underline-offset: .18em; }

::selection { background: rgba(22,199,163,.22); }

.mt-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(232,233,236,.9);
}

.mt-nav-shell { min-height: 76px; }
.mt-brand-lockup .wp-block-site-title { letter-spacing: -.045em; }

.mt-pill,
.wp-block-button.mt-pill .wp-block-button__link,
.mt-pill .wp-block-button__link {
  border-radius: 999px;
}

.mt-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.mt-hero::before {
  content: "";
  position: absolute;
  width: min(54vw, 680px);
  aspect-ratio: 1;
  right: -12%;
  top: -22%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(22,199,163,.24), rgba(90,103,255,.10) 44%, transparent 70%);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}

.mt-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--mt-muted);
}

.mt-kicker::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--mt-signal);
  box-shadow: 0 0 0 6px rgba(22,199,163,.11);
}

.mt-display {
  max-width: 14ch;
  letter-spacing: -.065em;
  line-height: .92;
  text-wrap: balance;
}

.mt-gradient-word {
  background: linear-gradient(120deg, var(--mt-ink) 8%, var(--mt-signal-2) 52%, var(--mt-signal) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mt-lead {
  max-width: 64ch;
  color: var(--mt-muted);
  line-height: 1.75;
}

.mt-card {
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-radius);
  background: rgba(255,255,255,.88);
  box-shadow: 0 1px 0 rgba(17,19,24,.02);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.mt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(90,103,255,.22);
  box-shadow: var(--mt-shadow);
}

.mt-card-dark {
  color: white;
  background: #111318;
  border-color: #111318;
}

.mt-card-dark p { color: rgba(255,255,255,.72); }

.mt-number {
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .12em;
  color: var(--mt-signal-2);
}

.mt-section-title { letter-spacing: -.045em; text-wrap: balance; }

.mt-tech-row {
  overflow: hidden;
  border-block: 1px solid var(--mt-line);
}

.mt-tech-row .wp-block-group {
  flex-wrap: wrap;
}

.mt-chip {
  display: inline-flex;
  padding: .52rem .78rem;
  border: 1px solid var(--mt-line);
  border-radius: 999px;
  color: #3f4652;
  background: #fff;
  font-size: .85rem;
  line-height: 1;
}

.mt-project-card .wp-block-post-featured-image img {
  border-radius: calc(var(--mt-radius) - 6px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mt-project-card .wp-block-post-title a { text-decoration: none; }
.mt-project-card .wp-block-post-title a:hover { text-decoration: underline; }

.mt-meta {
  color: var(--mt-muted);
  font-size: .84rem;
}

.mt-prose :where(p,li) { line-height: 1.82; }
.mt-prose :where(h2,h3,h4) { letter-spacing: -.035em; }
.mt-prose img { border-radius: 18px; }

.mt-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  font-size: .82rem;
  color: var(--mt-muted);
}
.mt-breadcrumbs a { color: inherit; }
.mt-breadcrumbs .sep { opacity: .45; }

.mt-cta {
  position: relative;
  overflow: hidden;
  background: #111318;
  color: white;
  border-radius: 30px;
}
.mt-cta::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,199,163,.42), rgba(90,103,255,.18) 45%, transparent 70%);
}
.mt-cta p { color: rgba(255,255,255,.72); }
.mt-cta > * { position: relative; z-index: 1; }

.mt-footer { border-top: 1px solid var(--mt-line); }

.wp-block-post-terms a,
.wp-block-tag-cloud a {
  text-decoration: none;
  border: 1px solid var(--mt-line);
  border-radius: 999px;
  padding: .38rem .62rem;
  font-size: .78rem !important;
}

.wp-block-query-pagination a { text-decoration: none; }

input:not([type="submit"]), textarea, select {
  width: 100%;
  border: 1px solid var(--mt-line);
  border-radius: 12px;
  padding: .85rem 1rem;
  background: #fff;
  color: var(--mt-ink);
  font: inherit;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(90,103,255,.22);
  outline-offset: 1px;
  border-color: var(--mt-signal-2);
}

@media (max-width: 781px) {
  .mt-site-header { position: relative; }
  .mt-nav-shell { min-height: 64px; }
  .mt-display { font-size: clamp(3rem, 15vw, 5rem) !important; max-width: 11ch; }
  .mt-hero { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
  .mt-cta { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}


/* v1.1 service architecture */
.mt-service-card .wp-block-post-title a { text-decoration:none; }
.mt-service-card .wp-block-post-title a:hover { text-decoration:underline; }
.mt-arrow-link { font-weight:650; text-decoration:none; }
.mt-arrow-link:hover { text-decoration:underline; }
.mt-section-intro { max-width:68ch; color:var(--mt-muted); }
.mt-service-archive-intro { max-width:820px; }
.mt-callout { border-left:3px solid var(--mt-signal); padding-left:1.25rem; }

/* WhatsApp-first enquiry UI */
.mt-whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: 999px;
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--paper) !important;
  text-decoration: none;
  font-weight: 650;
  line-height: 1;
  padding: .9rem 1.15rem;
  border: 1px solid var(--wp--preset--color--ink);
  transition: transform .18s ease, opacity .18s ease;
}
.mt-whatsapp-button::before {
  content: "↗";
  font-size: .85em;
}
.mt-whatsapp-button:hover {
  transform: translateY(-1px);
  opacity: .88;
}
.mt-cta .mt-whatsapp-button {
  background: var(--wp--preset--color--paper);
  color: var(--wp--preset--color--ink) !important;
  border-color: var(--wp--preset--color--paper);
}
.mt-site-header .mt-whatsapp-button {
  padding: .72rem 1rem;
  font-size: .88rem;
  white-space: nowrap;
}
.mt-case-note {
  border-left: 3px solid var(--wp--preset--color--accent);
  padding: .9rem 1rem;
  background: var(--wp--preset--color--soft);
  border-radius: 0 .75rem .75rem 0;
}
@media (max-width: 720px) {
  .mt-site-header .mt-whatsapp-button { padding: .65rem .8rem; font-size: .8rem; }
}


/* v1.3 — full-width editorial internal pages */
.mt-internal-page { background: var(--mt-soft); }
.mt-internal-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 12%, rgba(22,199,163,.14), transparent 28rem),
    radial-gradient(circle at 12% 92%, rgba(90,103,255,.09), transparent 30rem),
    #fff;
  border-bottom: 1px solid var(--mt-line);
}
.mt-internal-hero::after {
  content:"";
  position:absolute;
  right:-9rem;
  top:-11rem;
  width:28rem;
  height:28rem;
  border:1px solid rgba(90,103,255,.09);
  border-radius:50%;
  pointer-events:none;
}
.mt-internal-hero > * { position:relative; z-index:1; }
.mt-internal-title {
  max-width: 19ch;
  margin-top: 1rem;
  margin-bottom: 1rem;
  letter-spacing: -.058em;
  line-height: .98;
  text-wrap: balance;
}
.mt-internal-lead { max-width: 72ch; line-height:1.7; }
.mt-internal-body { background:var(--mt-soft); }
.mt-editorial-panel {
  background:rgba(255,255,255,.96);
  border:1px solid var(--mt-line);
  border-radius:30px;
  box-shadow:0 24px 70px rgba(17,19,24,.055);
}
.mt-editorial-panel :where(p,li) { line-height:1.82; }
.mt-editorial-panel :where(h2,h3,h4) { letter-spacing:-.04em; text-wrap:balance; }
.mt-editorial-panel h2 { margin-top:2.8rem; }
.mt-editorial-panel h2:first-child { margin-top:0; }
.mt-internal-feature,
.mt-project-feature {
  margin-bottom:2.25rem;
  overflow:hidden;
  border-radius:30px;
  border:1px solid rgba(17,19,24,.08);
  background:#fff;
  box-shadow:0 28px 80px rgba(17,19,24,.08);
}
.mt-internal-feature img { width:100%; height:auto; display:block; }
.mt-project-visual-wrap {
  background:linear-gradient(180deg,#fff 0%,var(--mt-soft) 100%);
}
.mt-project-feature {
  padding:clamp(.55rem,1vw,.85rem);
  background:linear-gradient(135deg,#f1f4f5,#fff 48%,#eef0ff);
}
.mt-project-feature img {
  display:block;
  width:100%;
  height:auto;
  border-radius:22px;
}
.mt-live-project-link {
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  margin-top:.55rem;
  padding:.82rem 1.08rem;
  border:1px solid var(--mt-line);
  border-radius:999px;
  background:#fff;
  color:var(--mt-ink);
  text-decoration:none;
  font-weight:650;
  box-shadow:0 8px 28px rgba(17,19,24,.05);
}
.mt-live-project-link:hover { transform:translateY(-1px); box-shadow:0 12px 34px rgba(17,19,24,.08); }
.mt-project-terms { margin-top:1.4rem; }
.mt-project-tech { margin-top:1.6rem; }
.mt-case-note { border-left-color:var(--mt-signal); }
@media (max-width: 781px) {
  .mt-internal-hero { padding-top:3.2rem !important; padding-bottom:3rem !important; }
  .mt-internal-title { font-size:clamp(2.55rem,12vw,4.1rem) !important; max-width:100%; }
  .mt-internal-body { padding-top:1.25rem !important; padding-bottom:3.5rem !important; }
  .mt-editorial-panel { border-radius:22px; }
  .mt-project-visual-wrap { padding-top:1.2rem !important; padding-bottom:1.2rem !important; }
  .mt-project-feature,.mt-internal-feature { border-radius:20px; margin-bottom:1.3rem; }
  .mt-project-feature img { border-radius:15px; }
}

/* v1.4 — portfolio reset: live device visuals + full-width case study design */
.mt-project-v2,.mt-work-v2{background:#f6f7f8}.mt-project-v2-hero,.mt-work-v2-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 90% 10%,rgba(22,199,163,.13),transparent 30rem),radial-gradient(circle at 7% 95%,rgba(90,103,255,.10),transparent 32rem),#fff;border-bottom:1px solid var(--mt-line)}
.mt-project-v2-hero::after,.mt-work-v2-hero::after{content:"";position:absolute;width:34rem;height:34rem;right:-17rem;top:-17rem;border:1px solid rgba(90,103,255,.08);border-radius:50%;pointer-events:none}.mt-project-v2-hero>* ,.mt-work-v2-hero>*{position:relative;z-index:1}
.mt-project-v2-grid{align-items:center}.mt-project-v2-title{margin:.85rem 0 1.2rem;max-width:14ch;letter-spacing:-.06em;line-height:.96;text-wrap:balance}.mt-project-v2-lead{max-width:58ch;line-height:1.65}.mt-project-v2-terms{margin-bottom:.8rem}.mt-project-v2-terms a{display:inline-flex;margin:0 .35rem .35rem 0;padding:.42rem .68rem;border:1px solid var(--mt-line);border-radius:999px;background:rgba(255,255,255,.78);text-decoration:none}
.mt-project-v2-body{background:linear-gradient(180deg,#f6f7f8,#fbfbfc)}.mt-project-v2-content-grid{align-items:flex-start}.mt-project-v2-editorial{background:#fff;border:1px solid var(--mt-line);border-radius:30px;box-shadow:0 22px 70px rgba(17,19,24,.055)}.mt-project-v2-editorial :where(p,li){line-height:1.82}.mt-project-v2-editorial :where(h2,h3){letter-spacing:-.04em;text-wrap:balance}.mt-project-v2-editorial h2{margin-top:2.8rem}.mt-project-v2-editorial h2:first-child{margin-top:0}.mt-project-v2-aside{position:sticky;top:106px}.mt-project-v2-cta{border-radius:30px}
.mt-work-v2-title{max-width:17ch;margin:.8rem 0 1.2rem;letter-spacing:-.06em;line-height:.98;text-wrap:balance}.mt-work-v2-lead{max-width:70ch;line-height:1.7}.mt-work-v2-list{background:linear-gradient(180deg,#f6f7f8,#fbfbfc)}.mt-work-v2-grid{gap:2rem}.mt-work-v2-card{overflow:hidden;padding:.8rem;border:1px solid rgba(17,19,24,.075);border-radius:28px;background:#fff;box-shadow:0 18px 60px rgba(17,19,24,.055);transition:transform .22s ease,box-shadow .22s ease}.mt-work-v2-card:hover{transform:translateY(-4px);box-shadow:0 26px 72px rgba(17,19,24,.09)}.mt-work-v2-card-copy{padding:1.25rem 1rem 1.15rem}.mt-work-v2-card .wp-block-post-title{margin:.55rem 0 .7rem;letter-spacing:-.035em}.mt-work-v2-card .wp-block-post-title a{text-decoration:none}.mt-work-v2-card .wp-block-post-title a:hover{text-decoration:underline}.mt-work-v2-card .wp-block-post-excerpt{line-height:1.6}.mt-work-v2-card .mt-arrow-link{text-decoration:none;font-weight:700}
.mt-project-card .mt-device-showcase{margin-bottom:.9rem}
@media(max-width:900px){.mt-project-v2-grid{gap:2.5rem}.mt-project-v2-title{max-width:18ch}.mt-project-v2-aside{position:static}.mt-project-v2-content-grid{gap:1.5rem}.mt-work-v2-grid{grid-template-columns:1fr!important}}
@media(max-width:781px){.mt-project-v2-hero,.mt-work-v2-hero{padding-top:3rem!important;padding-bottom:3.2rem!important}.mt-project-v2-grid{display:flex;flex-direction:column}.mt-project-v2-grid>.wp-block-column{flex-basis:auto!important;width:100%}.mt-project-v2-title,.mt-work-v2-title{font-size:clamp(2.55rem,12vw,4.1rem)!important;max-width:100%}.mt-project-v2-body{padding-top:1.5rem!important;padding-bottom:3.5rem!important}.mt-project-v2-content-grid{display:block}.mt-project-v2-content-grid>.wp-block-column{width:100%!important;flex-basis:auto!important}.mt-project-v2-aside{margin-top:1.4rem}.mt-project-v2-editorial{border-radius:22px}.mt-project-v2-cta{border-radius:22px}.mt-work-v2-list{padding-top:1.5rem!important;padding-bottom:3.5rem!important}.mt-work-v2-card{border-radius:22px}}

/* v1.4.2 — true full-width portfolio hero */
.mt-project-v2-hero > .mt-project-v2-hero-inner {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: clamp(1.5rem, 4vw, 5rem);
  padding-right: clamp(1.5rem, 4vw, 5rem);
  box-sizing: border-box;
}
.mt-project-v2-hero .mt-project-v2-grid {
  width: 100%;
  max-width: none;
}
.mt-project-v2-title {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: pretty;
}

@media (min-width: 1100px) {
  .mt-project-v2-hero {
    min-height: min(780px, calc(100vh - 80px));
    display: flex;
    align-items: center;
  }
  .mt-project-v2-hero > .mt-project-v2-hero-inner {
    padding-left: clamp(2.5rem, 4.25vw, 5.75rem);
    padding-right: clamp(2.5rem, 4.25vw, 5.75rem);
  }
  .mt-project-v2-grid {
    gap: clamp(2.75rem, 5vw, 6.5rem) !important;
  }
  .mt-project-v2-grid > .wp-block-column:first-child {
    flex-basis: 45% !important;
    min-width: 0;
  }
  .mt-project-v2-grid > .wp-block-column:last-child {
    flex-basis: 55% !important;
    min-width: 0;
  }
  .mt-project-v2-title {
    max-width: 12.5ch;
    font-size: clamp(3.75rem, 5vw, 6.25rem) !important;
    line-height: .92;
    letter-spacing: -.06em;
  }
  .mt-project-v2-lead {
    max-width: 54ch;
    font-size: clamp(1.08rem, 1.25vw, 1.34rem) !important;
  }
  .mt-project-v2-grid .mt-device-showcase {
    width: 100%;
    min-height: 600px;
  }
}

@media (min-width: 1600px) {
  .mt-project-v2-hero > .mt-project-v2-hero-inner {
    padding-left: clamp(4rem, 5vw, 7rem);
    padding-right: clamp(4rem, 5vw, 7rem);
  }
  .mt-project-v2-grid > .wp-block-column:first-child { flex-basis: 43% !important; }
  .mt-project-v2-grid > .wp-block-column:last-child { flex-basis: 57% !important; }
}

@media (min-width: 782px) and (max-width: 1099px) {
  .mt-project-v2-hero > .mt-project-v2-hero-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .mt-project-v2-grid { gap: 2rem !important; }
  .mt-project-v2-grid > .wp-block-column:first-child { flex-basis: 48% !important; }
  .mt-project-v2-grid > .wp-block-column:last-child { flex-basis: 52% !important; }
  .mt-project-v2-title {
    max-width: none;
    font-size: clamp(3rem, 6vw, 4.6rem) !important;
  }
}

@media (max-width: 781px) {
  .mt-project-v2-hero > .mt-project-v2-hero-inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .mt-project-v2-title {
    max-width: 100%;
  }
}

/* v1.5 — Insights editorial + SEO content system */
.mt-insights-v2,.mt-article-v2{background:#f6f7f8}
.mt-insights-v2-hero,.mt-article-v2-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 88% 8%,rgba(22,199,163,.14),transparent 29rem),radial-gradient(circle at 9% 92%,rgba(90,103,255,.09),transparent 31rem),#fff;border-bottom:1px solid var(--mt-line)}
.mt-insights-v2-hero::after,.mt-article-v2-hero::after{content:"";position:absolute;right:-13rem;top:-16rem;width:34rem;height:34rem;border:1px solid rgba(90,103,255,.08);border-radius:50%;pointer-events:none}.mt-insights-v2-hero>*,.mt-article-v2-hero>*{position:relative;z-index:1}
.mt-insights-v2-title{max-width:17ch;margin:.8rem 0 1.25rem;letter-spacing:-.062em;line-height:.95;text-wrap:balance}.mt-insights-v2-lead{max-width:72ch;line-height:1.68}
.mt-insight-topic-nav{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:2rem}.mt-insight-topic-nav a{display:inline-flex;align-items:center;gap:.55rem;padding:.66rem .82rem;border:1px solid var(--mt-line);border-radius:999px;background:rgba(255,255,255,.76);text-decoration:none;font-size:.88rem;font-weight:620;box-shadow:0 7px 24px rgba(17,19,24,.025);transition:transform .18s ease,box-shadow .18s ease}.mt-insight-topic-nav a span{display:inline-grid;place-items:center;min-width:1.5rem;height:1.5rem;padding:0 .35rem;border-radius:999px;background:var(--mt-soft);font-size:.72rem;color:var(--mt-muted)}.mt-insight-topic-nav a:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(17,19,24,.055)}
.mt-insights-v2-body{background:linear-gradient(180deg,#f6f7f8,#fbfbfc)}.mt-insights-v2-grid{gap:2rem}.mt-insight-card{overflow:hidden;border:1px solid rgba(17,19,24,.075);border-radius:28px;background:#fff;box-shadow:0 18px 58px rgba(17,19,24,.05);transition:transform .22s ease,box-shadow .22s ease}.mt-insight-card:hover{transform:translateY(-4px);box-shadow:0 26px 72px rgba(17,19,24,.085)}.mt-insight-card-image{margin:0;overflow:hidden;background:linear-gradient(135deg,#eef7f5,#eef0ff)}.mt-insight-card-image img{transition:transform .35s ease}.mt-insight-card:hover .mt-insight-card-image img{transform:scale(1.015)}.mt-insight-card-copy{padding:1.55rem 1.6rem 1.7rem}.mt-insight-card-category a{text-decoration:none;color:var(--mt-muted)}.mt-insight-card .wp-block-post-title{margin:.55rem 0 .8rem;letter-spacing:-.04em;line-height:1.04}.mt-insight-card .wp-block-post-title a{text-decoration:none}.mt-insight-card .wp-block-post-excerpt{line-height:1.65}.mt-insight-card-meta{display:flex;flex-wrap:wrap;gap:.8rem;margin:.85rem 0 1rem;color:var(--mt-muted);font-size:.78rem}.mt-insight-card-meta span+span::before{content:"·";margin-right:.8rem;color:#b7bac1}.mt-insight-card .mt-arrow-link{text-decoration:none;font-weight:700}.mt-insights-empty{padding:3rem;border:1px solid var(--mt-line);border-radius:28px;background:#fff}

.mt-article-v2-hero-inner{max-width:1240px}.mt-article-v2-category{margin-top:1.55rem}.mt-article-v2-category a{display:inline-flex;margin:0 .4rem .35rem 0;padding:.42rem .7rem;border:1px solid var(--mt-line);border-radius:999px;background:rgba(255,255,255,.8);text-decoration:none}.mt-article-v2-title{max-width:17ch;margin:.85rem 0 1.2rem;letter-spacing:-.062em;line-height:.95;text-wrap:balance}.mt-article-v2-lead{max-width:68ch;line-height:1.65}.mt-insight-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.05rem;margin-top:1.7rem;color:var(--mt-muted);font-size:.84rem}.mt-insight-meta span+span::before{content:"·";margin-right:1.05rem;color:#b7bac1}.mt-insight-meta-topic{color:var(--mt-ink);font-weight:650}
.mt-article-v2-body{background:linear-gradient(180deg,#f6f7f8,#fbfbfc)}.mt-article-v2-feature{overflow:hidden;border-radius:30px;border:1px solid rgba(17,19,24,.07);background:#fff;box-shadow:0 24px 70px rgba(17,19,24,.06)}.mt-article-v2-feature img{width:100%;height:auto;display:block}.mt-article-v2-grid{align-items:flex-start}.mt-article-v2-aside{position:sticky;top:104px}.mt-insight-toc{padding:1.35rem;border:1px solid var(--mt-line);border-radius:22px;background:rgba(255,255,255,.9);box-shadow:0 14px 48px rgba(17,19,24,.04)}.mt-insight-toc-title{margin:0 0 .85rem;font-size:.74rem;font-weight:750;letter-spacing:.14em;text-transform:uppercase;color:var(--mt-muted)}.mt-insight-toc ol{list-style:none;margin:0;padding:0}.mt-insight-toc li{margin:.15rem 0}.mt-insight-toc li.level-3{padding-left:.8rem}.mt-insight-toc a{display:block;padding:.42rem .35rem;border-radius:8px;text-decoration:none;color:#525866;font-size:.88rem;line-height:1.38}.mt-insight-toc a:hover{background:var(--mt-soft);color:var(--mt-ink)}
.mt-article-v2-editorial{background:#fff;border:1px solid var(--mt-line);border-radius:30px;box-shadow:0 22px 70px rgba(17,19,24,.055)}.mt-article-v2-editorial :where(p,li){line-height:1.84}.mt-article-v2-editorial :where(h2,h3,h4){letter-spacing:-.04em;text-wrap:balance;scroll-margin-top:120px}.mt-article-v2-editorial h2{margin-top:3rem}.mt-article-v2-editorial h2:first-child{margin-top:0}.mt-article-v2-editorial h3{margin-top:2rem}.mt-article-v2-editorial blockquote{margin:2rem 0;padding:1.2rem 1.4rem;border-left:3px solid var(--mt-signal);background:var(--mt-soft);border-radius:0 14px 14px 0}.mt-article-v2-tags{margin-top:1.3rem}.mt-article-v2-tags a{display:inline-flex;margin:.25rem;padding:.38rem .65rem;border:1px solid var(--mt-line);border-radius:999px;text-decoration:none;font-size:.82rem}
.mt-insight-connections{padding:clamp(1.5rem,4vw,3rem);border:1px solid var(--mt-line);border-radius:30px;background:#fff;box-shadow:0 20px 64px rgba(17,19,24,.05)}.mt-insight-connections-head{max-width:760px;margin-bottom:1.6rem}.mt-insight-connections-head h2{margin:.45rem 0 .6rem;font-size:clamp(1.75rem,3vw,2.6rem);letter-spacing:-.045em}.mt-insight-connections-head p{margin:0;color:var(--mt-muted)}.mt-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.mt-related-card{padding:1.25rem;border:1px solid var(--mt-line);border-radius:20px;background:linear-gradient(180deg,#fff,#fbfbfc)}.mt-related-label{display:inline-flex;margin-bottom:.7rem;font-size:.7rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:var(--mt-muted)}.mt-related-card h3{margin:0 0 .65rem;font-size:1.08rem;line-height:1.18;letter-spacing:-.025em}.mt-related-card h3 a{text-decoration:none}.mt-related-card p{margin:0 0 .8rem;color:var(--mt-muted);font-size:.88rem;line-height:1.55}.mt-related-link{text-decoration:none;font-size:.86rem;font-weight:700}.mt-article-v2-cta{border-radius:30px}

@media(max-width:960px){.mt-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mt-article-v2-grid{display:block}.mt-article-v2-grid>.wp-block-column{width:100%!important;flex-basis:auto!important}.mt-article-v2-aside{position:static;margin-bottom:1.4rem}.mt-insight-toc ol{columns:2;column-gap:1rem}}
@media(max-width:781px){.mt-insights-v2-hero,.mt-article-v2-hero{padding-top:3.2rem!important;padding-bottom:3.2rem!important}.mt-insights-v2-title,.mt-article-v2-title{font-size:clamp(2.55rem,12vw,4.1rem)!important;max-width:100%}.mt-insights-v2-body,.mt-article-v2-body{padding-top:1.5rem!important;padding-bottom:3.5rem!important}.mt-insights-v2-grid{grid-template-columns:1fr!important}.mt-insight-card{border-radius:22px}.mt-insight-card-copy{padding:1.3rem}.mt-article-v2-feature{border-radius:20px}.mt-article-v2-grid{margin-top:1.4rem!important}.mt-article-v2-editorial,.mt-insight-connections,.mt-article-v2-cta{border-radius:22px}.mt-related-grid{grid-template-columns:1fr}.mt-insight-toc ol{columns:1}.mt-insight-meta span+span::before{display:none}.mt-insight-meta{gap:.5rem 1rem}.mt-insight-meta span{flex:0 0 auto}}

/* v1.6 — automatic visual fallbacks */
.mt-article-v2-feature-wrap,.mt-internal-feature-wrap{margin-bottom:2.4rem}
.mt-article-v2-feature-wrap .mt-auto-visual,.mt-internal-feature-wrap .mt-auto-visual,.mt-article-v2-feature-wrap .mt-auto-visual-real,.mt-internal-feature-wrap .mt-auto-visual-real{width:100%}
.mt-insight-card>.wp-block-shortcode,.mt-work-v2-card>.wp-block-shortcode{margin:0}
.mt-service-card{overflow:hidden;padding:0!important}.mt-service-card>.wp-block-shortcode{margin:0}.mt-service-card>.wp-block-post-title,.mt-service-card>.wp-block-post-excerpt,.mt-service-card>.wp-block-read-more{margin-left:1.7rem;margin-right:1.7rem}.mt-service-card>.wp-block-post-title{margin-top:1.35rem}.mt-service-card>.wp-block-read-more{display:inline-block;margin-bottom:1.7rem}
.mt-card>.wp-block-shortcode:first-child{margin:-1.5rem -1.5rem 1.25rem}
@media(max-width:781px){.mt-article-v2-feature-wrap,.mt-internal-feature-wrap{margin-bottom:1.5rem}.mt-service-card>.wp-block-post-title,.mt-service-card>.wp-block-post-excerpt,.mt-service-card>.wp-block-read-more{margin-left:1.3rem;margin-right:1.3rem}.mt-service-card>.wp-block-read-more{margin-bottom:1.3rem}}


/* v1.7.0 — linked expertise chips + authority/About layer */
.mt-tech-row .mt-chip {
  margin: 0;
}
.mt-tech-row a.mt-chip {
  color: var(--mt-muted);
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.mt-tech-row a.mt-chip:hover,
.mt-tech-row a.mt-chip:focus-visible {
  color: var(--mt-ink);
  border-color: rgba(90,103,255,.24);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(17,19,24,.07);
}
.mt-tech-row a.mt-chip:focus-visible {
  outline: 3px solid rgba(22,199,163,.22);
  outline-offset: 3px;
}

.mt-home-principles {
  border-top: 1px solid var(--mt-line);
  border-bottom: 1px solid var(--mt-line);
  background: linear-gradient(180deg,#fff,#fafafa);
}
.mt-home-principle-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  background:var(--mt-line);
  border:1px solid var(--mt-line);
  border-radius:22px;
  overflow:hidden;
}
.mt-home-principle {
  background:#fff;
  padding:1.35rem 1.4rem;
  min-height:145px;
}
.mt-home-principle strong {display:block;font-size:1.02rem;letter-spacing:-.025em;margin-bottom:.4rem}
.mt-home-principle span {display:block;color:var(--mt-muted);font-size:.88rem;line-height:1.6}
.mt-home-principle .mt-number {margin-bottom:1.25rem}

.mt-about-v3 {background:#f7f8f9;}
.mt-about-v3-hero {
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 88% 10%,rgba(22,199,163,.14),transparent 31rem),
    radial-gradient(circle at 8% 92%,rgba(90,103,255,.09),transparent 30rem),#fff;
  border-bottom:1px solid var(--mt-line);
}
.mt-about-v3-hero::after {
  content:"";position:absolute;right:-13rem;top:-14rem;width:34rem;height:34rem;
  border:1px solid rgba(90,103,255,.08);border-radius:50%;pointer-events:none;
}
.mt-about-v3-hero > * {position:relative;z-index:1}
.mt-about-v3-grid {align-items:center;gap:clamp(2.2rem,6vw,6rem)!important}
.mt-about-v3-title {max-width:12ch;letter-spacing:-.065em;line-height:.93;text-wrap:balance;margin:.7rem 0 1.2rem}
.mt-about-v3-intro {max-width:62ch;color:var(--mt-muted);line-height:1.72}
.mt-authority-visual {
  position:relative;min-height:460px;border:1px solid rgba(17,19,24,.08);border-radius:32px;overflow:hidden;
  background:linear-gradient(145deg,#f5f7ff 0%,#eefbf8 58%,#fff 100%);
  box-shadow:0 28px 80px rgba(17,19,24,.08);
}
.mt-authority-visual::before {content:"";position:absolute;inset:8% 8% auto auto;width:55%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(22,199,163,.17),transparent 68%)}
.mt-authority-panel {position:absolute;left:9%;right:9%;top:14%;bottom:14%;border:1px solid rgba(17,19,24,.09);border-radius:24px;background:rgba(255,255,255,.86);backdrop-filter:blur(12px);padding:1.5rem;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 22px 55px rgba(17,19,24,.07)}
.mt-authority-panel-top {display:flex;justify-content:space-between;align-items:center;gap:1rem;color:var(--mt-muted);font-size:.72rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase}
.mt-authority-orbit {display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}
.mt-authority-orbit span {display:flex;align-items:center;min-height:78px;padding:1rem;border:1px solid var(--mt-line);border-radius:18px;background:#fff;font-size:1rem;font-weight:680;letter-spacing:-.025em}
.mt-authority-line {height:1px;background:linear-gradient(90deg,var(--mt-signal),var(--mt-signal-2),transparent);margin:1rem 0}
.mt-authority-caption {color:var(--mt-muted);line-height:1.55;font-size:.86rem;max-width:34ch}

.mt-about-v3-body {padding-top:clamp(2.2rem,5vw,5rem)!important;padding-bottom:clamp(3.5rem,7vw,7rem)!important}
.mt-about-story {max-width:1180px;margin:0 auto}
.mt-about-story > .wp-block-group {margin-top:1.3rem}
.mt-authority-lead {font-size:clamp(1.3rem,2.6vw,2rem);line-height:1.45;letter-spacing:-.035em;max-width:32ch}
.mt-authority-section {margin-top:clamp(3.5rem,7vw,6.5rem)!important}
.mt-authority-section-title {max-width:19ch;letter-spacing:-.055em;line-height:.98}
.mt-authority-card-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem!important;margin-top:2rem!important}
.mt-authority-card {border:1px solid var(--mt-line);border-radius:24px;background:#fff;padding:1.6rem;box-shadow:0 14px 45px rgba(17,19,24,.035)}
.mt-authority-card h3 {margin:.65rem 0 .6rem;letter-spacing:-.035em}
.mt-authority-card p {color:var(--mt-muted);line-height:1.7;margin-bottom:0}
.mt-authority-path {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem!important;margin-top:2rem!important}
.mt-authority-path > div {padding:1.5rem;border-top:2px solid var(--mt-ink);background:#fff;border-radius:0 0 20px 20px}
.mt-authority-path strong {display:block;font-size:1.05rem;margin-bottom:.5rem}.mt-authority-path p{color:var(--mt-muted);line-height:1.65;font-size:.92rem;margin:0}
.mt-profile-links {display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.4rem}.mt-profile-links a{display:inline-flex;padding:.58rem .8rem;border:1px solid var(--mt-line);border-radius:999px;text-decoration:none;background:#fff;font-size:.84rem;font-weight:650}.mt-profile-links a:hover{border-color:rgba(90,103,255,.25);transform:translateY(-1px)}

@media(max-width:900px){
  .mt-home-principle-grid{grid-template-columns:repeat(2,1fr)}
  .mt-authority-card-grid{grid-template-columns:1fr!important}
  .mt-authority-path{grid-template-columns:1fr!important}
}
@media(max-width:781px){
  .mt-about-v3-hero{padding-top:3rem!important;padding-bottom:3.2rem!important}
  .mt-about-v3-grid{display:flex!important;flex-direction:column!important}
  .mt-about-v3-grid>.wp-block-column{width:100%!important;flex-basis:auto!important}
  .mt-about-v3-title{font-size:clamp(2.7rem,13vw,4.4rem)!important;max-width:100%}
  .mt-authority-visual{min-height:370px;border-radius:24px;width:100%}
  .mt-authority-panel{left:6%;right:6%;top:9%;bottom:9%}
}
@media(max-width:540px){
  .mt-home-principle-grid{grid-template-columns:1fr}
  .mt-authority-orbit{grid-template-columns:1fr 1fr}
  .mt-authority-orbit span{min-height:64px;font-size:.9rem;padding:.8rem}
}


/* v1.7.1 — complete mobile navigation */
@media (max-width: 781px) {
  .mt-site-header .wp-block-navigation__responsive-container.is-menu-open {
    padding: 1.25rem clamp(1.1rem, 5vw, 1.75rem) 2rem;
    background: rgba(255,255,255,.98);
  }
  .mt-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    width: 100%;
    align-items: stretch;
    padding-top: 4.5rem;
  }
  .mt-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    width: 100%;
    gap: 0;
    align-items: stretch;
  }
  .mt-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100%;
    border-bottom: 1px solid var(--mt-line);
  }
  .mt-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display: block;
    width: 100%;
    padding: 1rem .15rem;
    font-size: clamp(1.25rem, 6vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -.035em;
    text-decoration: none;
  }
  .mt-site-header .wp-block-navigation__responsive-container-close {
    top: 1.25rem;
    right: clamp(1.1rem, 5vw, 1.75rem);
  }
}

/* v1.8.0 — Apps directory, WhatsApp contact hub, ecosystem linking */
.mt-contact-v2,.mt-apps-v1{background:#f7f8f9}
.mt-contact-hero,.mt-apps-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 88% 10%,rgba(22,199,163,.14),transparent 30rem),radial-gradient(circle at 8% 92%,rgba(90,103,255,.09),transparent 30rem),#fff;border-bottom:1px solid var(--mt-line)}
.mt-contact-hero::after,.mt-apps-hero::after{content:"";position:absolute;right:-12rem;top:-15rem;width:34rem;height:34rem;border:1px solid rgba(90,103,255,.08);border-radius:50%;pointer-events:none}.mt-contact-hero>*,.mt-apps-hero>*{position:relative;z-index:1}
.mt-contact-title,.mt-apps-title{max-width:15ch;margin:.8rem 0 1.25rem;letter-spacing:-.064em;line-height:.94;text-wrap:balance}.mt-contact-lead,.mt-apps-lead{max-width:70ch;line-height:1.7;color:var(--mt-muted)}
.mt-contact-body,.mt-apps-body{background:linear-gradient(180deg,#f7f8f9,#fff)}
.mt-contact-hub{max-width:1240px;margin:0 auto}.mt-contact-hub-head{max-width:760px;margin-bottom:2rem}.mt-contact-hub-head h2{font-size:clamp(1.9rem,3.5vw,3rem);letter-spacing:-.05em;margin:.4rem 0 .8rem}.mt-contact-hub-head p{color:var(--mt-muted);line-height:1.7}
.mt-contact-intents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.mt-contact-intent{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;min-height:98px;padding:1.2rem 1.3rem;border:1px solid var(--mt-line);border-radius:22px;background:#fff;text-decoration:none;box-shadow:0 14px 45px rgba(17,19,24,.035);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.mt-contact-intent:hover{transform:translateY(-3px);border-color:rgba(90,103,255,.22);box-shadow:0 20px 55px rgba(17,19,24,.07)}.mt-contact-index{display:grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:50%;background:var(--mt-soft);font-size:.72rem;font-weight:750;color:var(--mt-muted)}.mt-contact-intent strong{font-size:1.08rem;letter-spacing:-.025em}.mt-contact-arrow{font-size:1.1rem}
.mt-contact-brief{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:2rem;margin-top:2rem;padding:2rem;border-radius:26px;background:#111318;color:#fff}.mt-contact-brief h3{color:#fff;font-size:clamp(1.5rem,2.4vw,2.1rem);letter-spacing:-.04em;margin:.45rem 0}.mt-contact-brief ul{margin:0;padding-left:1.2rem;color:#c8cbd2;line-height:1.75}.mt-contact-general{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem;padding:1rem 1.15rem;border:1px solid var(--mt-line);border-radius:16px;background:#fff;color:var(--mt-muted)}.mt-contact-general a{text-decoration:none;font-weight:700;color:var(--mt-ink)}

.mt-app-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;max-width:1240px;margin:0 auto}.mt-app-card{overflow:hidden;border:1px solid rgba(17,19,24,.08);border-radius:28px;background:#fff;box-shadow:0 18px 58px rgba(17,19,24,.05)}.mt-app-card-visual{background:linear-gradient(145deg,#f4f5fb,#ecf8f5);padding:.45rem}.mt-app-card-visual .mt-device-showcase{min-height:310px}.mt-app-card-copy{padding:1.45rem 1.5rem 1.6rem}.mt-app-card-meta{display:flex;justify-content:space-between;gap:1rem;color:var(--mt-muted);font-size:.74rem;font-weight:720;letter-spacing:.08em;text-transform:uppercase}.mt-app-card h3{font-size:clamp(1.35rem,2vw,1.8rem);letter-spacing:-.04em;margin:.55rem 0 .65rem}.mt-app-card h3 a{text-decoration:none}.mt-app-card p{color:var(--mt-muted);line-height:1.65;margin-bottom:1rem}.mt-app-card-actions{display:flex;flex-wrap:wrap;gap:.7rem 1rem;align-items:center}.mt-app-card-actions a{text-decoration:none;font-weight:700;font-size:.88rem}.mt-app-card-actions .mt-app-primary{display:inline-flex;padding:.62rem .85rem;border-radius:999px;background:#111318;color:#fff}.mt-apps-empty{padding:2rem;border:1px solid var(--mt-line);border-radius:24px;background:#fff}.mt-apps-empty p{color:var(--mt-muted);margin-bottom:0}
.mt-home-apps{color:#fff}.mt-home-apps .mt-kicker{color:#98a0ae}.mt-home-apps code{color:#dce0e8;background:rgba(255,255,255,.08);padding:.15rem .35rem;border-radius:5px}.mt-home-apps>.wp-block-shortcode{max-width:1240px;margin:2.4rem auto 0}.mt-home-apps .mt-app-directory{grid-template-columns:repeat(3,minmax(0,1fr))}.mt-home-apps .mt-app-card{background:#181b21;border-color:rgba(255,255,255,.09);box-shadow:none}.mt-home-apps .mt-app-card-copy h3 a,.mt-home-apps .mt-app-card-actions a:not(.mt-app-primary){color:#fff}.mt-home-apps .mt-app-card-copy p,.mt-home-apps .mt-app-card-meta{color:#aeb4bf}.mt-home-apps .mt-app-card-actions .mt-app-primary{background:#fff;color:#111318}.mt-arrow-light{color:#fff!important}

.mt-ecosystem-related{padding:2rem;border:1px solid var(--mt-line);border-radius:28px;background:#fff;box-shadow:0 18px 58px rgba(17,19,24,.04)}.mt-ecosystem-related-head{max-width:760px}.mt-ecosystem-related-head h2{font-size:clamp(1.7rem,3vw,2.5rem);letter-spacing:-.05em;margin:.4rem 0 .65rem}.mt-ecosystem-related-head p{color:var(--mt-muted);line-height:1.65}.mt-ecosystem-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.5rem}.mt-ecosystem-card{padding:1.2rem;border:1px solid var(--mt-line);border-radius:18px;background:#fbfbfc}.mt-ecosystem-card h3{font-size:1.05rem;line-height:1.18;letter-spacing:-.03em;margin:.45rem 0 .55rem}.mt-ecosystem-card h3 a{text-decoration:none}.mt-ecosystem-card p{color:var(--mt-muted);font-size:.86rem;line-height:1.55;margin:0 0 .75rem}
.mt-home-insight-card{overflow:hidden}.mt-home-insight-card>.wp-block-mtve-content-visual,.mt-home-insight-card>.mt-auto-visual,.mt-home-insight-card>.mt-auto-visual-real{margin:-1.5rem -1.5rem 1.15rem}

@media(max-width:980px){.mt-home-apps .mt-app-directory,.mt-ecosystem-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mt-app-card-visual .mt-device-showcase{min-height:270px}}
@media(max-width:781px){.mt-contact-hero,.mt-apps-hero{padding-top:3.2rem!important;padding-bottom:3.2rem!important}.mt-contact-title,.mt-apps-title{font-size:clamp(2.55rem,12vw,4rem)!important;max-width:100%}.mt-contact-body,.mt-apps-body{padding-top:2rem!important;padding-bottom:4rem!important}.mt-contact-intents,.mt-app-directory,.mt-home-apps .mt-app-directory,.mt-ecosystem-grid{grid-template-columns:1fr}.mt-contact-brief{grid-template-columns:1fr;padding:1.5rem}.mt-contact-general{align-items:flex-start;flex-direction:column}.mt-app-card{border-radius:22px}.mt-app-card-visual .mt-device-showcase{min-height:240px}.mt-ecosystem-related{padding:1.35rem;border-radius:22px}}
.mt-app-coming{color:var(--mt-muted);font-size:.8rem;font-weight:650}
.mt-home-apps .mt-app-coming{color:#aeb4bf}

/* v1.9.0 — launch QA: search, 404 and generic archive surfaces */
.mt-error-v2,.mt-search-v2,.mt-generic-archive{background:#f7f8f9}
.mt-error-v2-hero,.mt-search-v2-hero,.mt-generic-archive-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 86% 12%,rgba(22,199,163,.15),transparent 29rem),radial-gradient(circle at 7% 94%,rgba(90,103,255,.09),transparent 28rem),#fff;border-bottom:1px solid var(--mt-line)}
.mt-error-v2-title,.mt-search-v2-title,.mt-generic-archive-title{max-width:15ch;letter-spacing:-.064em;line-height:.95;text-wrap:balance;margin:.7rem 0 1.25rem}
.mt-search-box{max-width:720px;margin-top:1.6rem}.mt-search-box .wp-block-search__inside-wrapper{padding:.35rem;border:1px solid var(--mt-line);border-radius:999px;background:#fff;box-shadow:0 14px 45px rgba(17,19,24,.045)}.mt-search-box input{border:0!important;border-radius:999px!important;padding:.85rem 1rem!important;background:transparent}.mt-search-box button{border:0!important;border-radius:999px!important;background:#111318!important;color:#fff!important;padding:.82rem 1.15rem!important;font-weight:700}
.mt-error-v2-grid{gap:4rem}.mt-error-orbit{position:relative;min-height:360px;border:1px solid rgba(17,19,24,.08);border-radius:36px;background:linear-gradient(145deg,#f5f6fb,#edf9f6);overflow:hidden;box-shadow:0 24px 80px rgba(17,19,24,.06)}.mt-error-orbit:before,.mt-error-orbit:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(90,103,255,.12)}.mt-error-orbit:before{width:300px;height:300px;right:-90px;top:-100px}.mt-error-orbit:after{width:180px;height:180px;left:-55px;bottom:-60px}.mt-error-orbit>span{position:absolute;left:10%;top:16%;font-size:clamp(6rem,11vw,10rem);font-weight:820;letter-spacing:-.09em;line-height:.8}.mt-error-orbit>i{position:absolute;width:110px;height:110px;border-radius:28px;background:rgba(22,199,163,.18);right:15%;bottom:17%;transform:rotate(12deg)}.mt-error-orbit>b{position:absolute;right:21%;top:25%;font-size:4rem;line-height:1}.mt-error-orbit>em{position:absolute;left:23%;bottom:16%;font-style:normal;font-size:2.1rem}
.mt-error-v2-links,.mt-search-v2-body,.mt-generic-archive-body{background:linear-gradient(180deg,#f7f8f9,#fff)}.mt-route-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.9rem;margin-top:1.2rem}.mt-route-grid a{display:flex;min-height:150px;flex-direction:column;justify-content:space-between;padding:1.25rem;border:1px solid var(--mt-line);border-radius:22px;background:#fff;text-decoration:none;box-shadow:0 14px 45px rgba(17,19,24,.035);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.mt-route-grid a:hover{transform:translateY(-3px);border-color:rgba(90,103,255,.22);box-shadow:0 20px 55px rgba(17,19,24,.065)}.mt-route-grid small{color:var(--mt-muted);font-weight:720}.mt-route-grid strong{font-size:1.22rem;letter-spacing:-.03em}.mt-route-grid span{color:var(--mt-muted);font-size:.84rem;font-weight:650}
.mt-search-query-title{margin-bottom:1.8rem!important;letter-spacing:-.045em}.mt-search-result-grid{gap:1.2rem!important}.mt-search-result-card{overflow:hidden;border:1px solid var(--mt-line);border-radius:26px;background:#fff;box-shadow:0 16px 52px rgba(17,19,24,.045)}.mt-search-result-copy{padding:1.4rem 1.5rem 1.55rem}.mt-search-result-copy h2,.mt-search-result-copy h3{letter-spacing:-.04em;line-height:1.08;margin:.2rem 0 .65rem}.mt-search-result-copy h2 a,.mt-search-result-copy h3 a{text-decoration:none}.mt-search-result-copy p{line-height:1.65}.mt-search-empty{padding:2rem;border:1px solid var(--mt-line);border-radius:24px;background:#fff}.mt-generic-archive-title{margin-bottom:.8rem!important}
@media(max-width:1100px){.mt-route-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:781px){.mt-error-v2-hero,.mt-search-v2-hero,.mt-generic-archive-hero{padding-top:3.3rem!important;padding-bottom:3.3rem!important}.mt-error-v2-grid{display:flex!important;flex-direction:column!important;gap:2rem}.mt-error-v2-grid>.wp-block-column{width:100%!important;flex-basis:auto!important}.mt-error-v2-title,.mt-search-v2-title,.mt-generic-archive-title{font-size:clamp(2.55rem,12vw,4.2rem)!important;max-width:100%}.mt-error-orbit{min-height:270px;border-radius:26px}.mt-route-grid,.mt-search-result-grid{grid-template-columns:1fr!important}.mt-route-grid a{min-height:120px}.mt-search-v2-body,.mt-generic-archive-body{padding-top:2.5rem!important;padding-bottom:4rem!important}}
@media(max-width:520px){.mt-route-grid{grid-template-columns:1fr}.mt-search-box .wp-block-search__inside-wrapper{border-radius:22px;align-items:stretch}.mt-search-box button{padding:.78rem .9rem!important}}


/* v1.9.1: ensure CTAs remain visible on dark capability cards. */
.mt-card-dark .mt-arrow-link,
.mt-card-dark .mt-arrow-link:visited { color:#fff; }
.mt-card-dark .mt-arrow-link:hover,
.mt-card-dark .mt-arrow-link:focus { color:#fff; text-decoration:underline; }


/* v1.9.2 — mobile viewport navigation + universal mobile gutters */
@media (max-width: 781px) {
  :root { --mt-mobile-gutter: clamp(1rem, 5vw, 1.35rem); }

  /* Do not let backdrop-filter/stale positioning become the containing block
     for WordPress' fixed responsive navigation dialog. */
  .mt-site-header {
    position: sticky !important;
    top: 0;
    z-index: 99990 !important;
    overflow: visible !important;
    background: #fff;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .mt-site-header .wp-block-navigation,
  .mt-site-header .wp-block-navigation__responsive-dialog {
    position: static;
  }

  .mt-site-header .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100vh !important;
    min-height: 100vh !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    z-index: 999999 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    padding: max(1.15rem, env(safe-area-inset-top))
             max(var(--mt-mobile-gutter), env(safe-area-inset-right))
             max(1.5rem, env(safe-area-inset-bottom))
             max(var(--mt-mobile-gutter), env(safe-area-inset-left)) !important;
    background: #fff !important;
  }

  .mt-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog,
  .mt-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    width: 100% !important;
    min-height: calc(100dvh - 2.5rem) !important;
  }

  .mt-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding-top: clamp(4.25rem, 12vh, 6rem) !important;
  }

  .mt-site-header .wp-block-navigation__responsive-container-close {
    position: fixed !important;
    top: max(1.1rem, env(safe-area-inset-top)) !important;
    right: max(var(--mt-mobile-gutter), env(safe-area-inset-right)) !important;
    z-index: 1000000 !important;
  }

  html.has-modal-open { overflow: hidden !important; }

  /* Give all major wide content containers a reliable phone gutter. Full-width
     section backgrounds remain edge-to-edge; only their content is inset. */
  main .alignwide {
    width: calc(100% - (2 * var(--mt-mobile-gutter))) !important;
    max-width: calc(100% - (2 * var(--mt-mobile-gutter))) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* The project hero intentionally uses an alignfull inner wrapper, so it needs
     an explicit content gutter rather than the generic alignwide rule. */
  .mt-project-v2-hero-inner {
    width: 100% !important;
    padding-left: var(--mt-mobile-gutter) !important;
    padding-right: var(--mt-mobile-gutter) !important;
  }

  /* HTML-rendered directory containers do not always carry alignwide. */
  .mt-contact-hub,
  .mt-app-directory,
  .mt-home-apps .mt-app-directory,
  .mt-route-grid,
  .mt-search-result-grid {
    width: calc(100% - (2 * var(--mt-mobile-gutter))) !important;
    max-width: calc(100% - (2 * var(--mt-mobile-gutter))) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Avoid text or long URLs visually pressing against card edges. */
  main p,
  main h1,
  main h2,
  main h3,
  main h4,
  main a {
    overflow-wrap: break-word;
  }
}
