/* Mai Xuan Toan — homepage refinement v9 */
:root { --mt-glow: rgba(83, 222, 170, .24); }
.mxt-editorial-page { overflow-x: hidden; }
.mxt-editorial-page::before {
  content: "";
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mint), #5bd3a7, #d4f88a);
  pointer-events: none;
}
.mt-header {
  background: rgba(247, 247, 243, .86);
  backdrop-filter: blur(22px) saturate(1.2);
}
.mt-header.mt-scrolled { background: rgba(247, 247, 243, .94); }
.mt-nav-cta { background: linear-gradient(135deg, #0b1f2a, #0e684d); }
.mt-nav-cta:hover { box-shadow: 0 12px 28px rgba(14, 104, 77, .22); transform: translateY(-2px); }

.mt-hero { isolation: isolate; }
.mt-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 4%;
  bottom: -300px;
  width: 660px;
  height: 660px;
  border: 1px solid rgba(155, 230, 193, .11);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(155, 230, 193, .022), 0 0 0 116px rgba(155, 230, 193, .015);
  pointer-events: none;
}
.mt-hero-copy { z-index: 3; }
.mt-label { backdrop-filter: blur(14px); }
.mt-hero h1 { text-shadow: 0 6px 36px rgba(0, 0, 0, .12); }
.mt-executive-visual {
  transform: perspective(1200px) rotateY(-1.4deg);
  transform-origin: right center;
  transition: transform .5s ease, box-shadow .5s ease;
}
.mt-executive-visual:hover {
  transform: perspective(1200px) rotateY(0) translateY(-5px);
  box-shadow: 0 50px 130px rgba(0, 0, 0, .4), inset 0 1px rgba(255, 255, 255, .12);
}
.mt-executive-visual>img { transition: transform .7s ease, filter .4s ease; }
.mt-executive-visual:hover>img { transform: scale(1.025); filter: saturate(.92) contrast(1.05); }
.mt-executive-badge { box-shadow: 0 10px 35px rgba(0, 0, 0, .16); }

.mt-metrics div { position: relative; overflow: hidden; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.mt-metrics div::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 2px; background: linear-gradient(90deg, var(--mint), transparent); opacity: .45; }
.mt-metrics div:hover { border-color: rgba(155, 230, 193, .32); background: rgba(255, 255, 255, .055); transform: translateY(-3px); }

.mt-trust { position: relative; z-index: 4; background: rgba(247, 247, 243, .9); backdrop-filter: blur(16px); }
.mt-about-copy a,.mt-contact-page-link { transition: color .2s ease, border-color .2s ease; }
.mt-about-copy a:hover { color: var(--green); border-color: var(--green); }
.mt-career-track article,.mt-service-grid article,.mt-mandates-grid article,.mt-process li { will-change: transform; }
.mt-outcomes-band article { transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.mt-outcomes-band article:hover { transform: translateY(-4px); border-color: rgba(155, 230, 193, .42); background: rgba(255, 255, 255, .05); }
.mt-service-grid article,.mt-mandates-grid article { isolation: isolate; }
.mt-service-grid article::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -110px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(14, 104, 77, .08);
  border-radius: 50%;
  transition: transform .35s ease, border-color .35s ease;
}
.mt-service-grid article:hover::after { border-color: rgba(14, 104, 77, .18); transform: translate(-10px, -10px) scale(1.05); }
.mt-process li { box-shadow: 0 8px 26px rgba(10, 64, 49, .035); }
.mt-digital-card { box-shadow: 0 42px 110px rgba(0, 28, 23, .32), inset 0 1px rgba(255, 255, 255, .12); }
.mt-dialog { max-height: calc(100svh - 30px); overflow: auto; }
.mt-hero,.mt-about,.mt-career,.mt-expertise,.mt-mandates,.mt-process,.mt-cta { scroll-margin-top: 80px; }

@media (max-width: 1000px) {
  .mt-hero { gap: 42px; padding-top: 56px; padding-bottom: 56px; }
  .mt-hero-copy { max-width: 760px; }
  .mt-executive-visual { width: min(100%, 680px); height: min(560px, 68svh); min-height: 470px; transform: none; }
  .mt-executive-visual:hover { transform: translateY(-4px); }
  .mt-metrics { margin-top: 46px; }
}

@media (max-width: 760px) {
  body.mxt-editorial-page { padding-bottom: 78px; }
  .mt-header { height: 72px; }
  .mt-header.mt-scrolled { height: 66px; }
  .mt-nav { top: 72px; max-height: calc(100svh - 72px); overflow: auto; }
  .mt-header.mt-scrolled .mt-nav { top: 66px; }
  .mt-hero { min-height: auto; padding: 50px 22px 42px; }
  .mt-hero h1 { font-size: clamp(40px, 10vw, 53px); }
  .mt-lead { font-size: 15px; line-height: 1.68; }
  .mt-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .mt-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 38px; }
  .mt-metrics div { min-width: 0; padding: 13px 10px; }
  .mt-metrics strong { font-size: 20px; }
  .mt-metrics span { font-size: 7px; letter-spacing: .05em; }
  .mt-executive-visual { height: min(500px, 70svh); min-height: 420px; border-radius: 20px; }
  .mt-executive-visual>img { object-position: 67% center; }
  .mt-executive-visual figcaption { right: 22px; bottom: 22px; left: 22px; }
  .mt-mobile-dock { display: grid; }
  .mt-outcomes-band article:hover,.mt-service-grid article:hover,.mt-mandates-grid article:hover { transform: none; }
}

@media (max-width: 420px) {
  .mt-hero { padding-right: 18px; padding-left: 18px; }
  .mt-hero h1 { font-size: 39px; }
  .mt-label { max-width: 100%; font-size: 7px; letter-spacing: .11em; }
  .mt-executive-visual { min-height: 390px; }
}

@media (prefers-reduced-motion: reduce) {
  .mt-executive-visual,.mt-executive-visual>img { transform: none !important; }
}
