/* ============================================================
   MSM Smart Expertise — main compliance homepage (WHITE identity)
   Font: TildaSans is proprietary → Manrope substitute.
   One spacing/type/motion system throughout.
   ============================================================ */
:root {
  --m-ink:      #1C231A;
  --m-ink-2:    #4F5A48;
  --m-ink-3:    #848D7B;
  --m-sage:     #7A9658;
  --m-sage-2:   #A3BD7F;
  --m-sage-3:   #C4CFA3;
  --m-forest:   #3A4E48;
  --m-dark:     #1C2417;
  --m-bg:       #FDFDFB;
  --m-tint:     #F6F5EF;
  --m-line:     rgba(28,35,26,.10);
  --m-line-2:   rgba(28,35,26,.18);
  --m-ease:     cubic-bezier(.22,.61,.36,1);
  --m-radius:   20px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { font-family: 'Manrope', system-ui, sans-serif; background: var(--m-bg); color: var(--m-ink); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; padding-top: 76px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--m-sage); }
::selection { background: rgba(122,150,88,.25); }

.mwrap { max-width: 1160px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 32px); }

/* ---------- reveal animation (all sections) ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--m-ease), transform .8s var(--m-ease); }
.rv.in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: .1s; }
.rv[data-d="2"] { transition-delay: .2s; }
.rv[data-d="3"] { transition-delay: .3s; }
.rv[data-d="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- 3D wave-grid — contained inside the hero block ---------- */
#wave-grid { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; }
.wave-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(253,253,251,.42) 0%, rgba(253,253,251,.6) 60%, #FDFDFB 100%); }

/* ---------- shared type ---------- */
.mlabel { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .2em; color: var(--m-sage); margin-bottom: 28px; }
.mlabel--light { color: var(--m-sage-3); }
.msec h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }

/* ---------- page-transition preloader ---------- */
.ploader { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; background: var(--m-bg); opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility .55s; }
.ploader.on { opacity: 1; visibility: visible; transition-duration: .3s; }
.ploader img { width: 64px; height: auto; animation: ploaderPulse 1.8s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes ploaderPulse { 0%, 100% { transform: scale(1); opacity: .65; } 50% { transform: scale(1.1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ploader img { animation: none; } }

/* ---------- toast popup (message sent) ---------- */
.toast { position: fixed; inset: 0; z-index: 998; display: grid; place-items: center; background: rgba(28,36,23,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
.toast.on { opacity: 1; visibility: visible; }
.toast__card { display: grid; justify-items: center; gap: 8px; text-align: center; max-width: 420px; margin: 20px; padding: 36px 32px 28px; background: rgba(253,253,251,.92); border: 1px solid rgba(255,255,255,.7); border-radius: 24px; box-shadow: 0 32px 80px rgba(28,35,26,.30); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transform: translateY(14px) scale(.97); transition: transform .35s var(--m-ease); }
.toast.on .toast__card { transform: none; }
.toast__ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--m-sage), var(--m-sage-2)); box-shadow: 0 10px 26px rgba(122,150,88,.4); margin-bottom: 6px; }
.toast__card b { font-size: 1.25rem; font-weight: 800; color: var(--m-ink); }
.toast__card p { color: var(--m-ink-2); font-size: .95rem; }
.toast__close { margin-top: 12px; padding: 11px 26px; }

/* ---------- nav (glass) ---------- */
/* fixed (not sticky): sticky headers glitch in in-app browsers (Telegram, Instagram) */
.mnav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: rgba(253,253,251,.55); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); border-bottom: 1px solid rgba(255,255,255,.5); box-shadow: 0 1px 0 var(--m-line); }
.mnav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.mnav__logo img { height: 34px; width: auto; }

/* burger */
.mburger { position: relative; z-index: 61; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.mburger span { display: block; width: 26px; height: 2px; background: var(--m-ink); border-radius: 2px; margin: 3px 0; transition: transform .35s var(--m-ease), opacity .25s, background .25s; }
.menu-open .mburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .mburger span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.menu-open .mburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mburger:hover span { background: var(--m-sage); }

/* ---------- menu overlay (glassmorphism) ---------- */
.mmenu { position: fixed; inset: 0; z-index: 55; background: linear-gradient(160deg, rgba(246,245,239,.55), rgba(226,229,214,.45)); backdrop-filter: blur(28px) saturate(1.5); -webkit-backdrop-filter: blur(28px) saturate(1.5); opacity: 0; visibility: hidden; transition: opacity .4s var(--m-ease), visibility .4s; overflow-y: auto; }
.menu-open .mmenu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mmenu__inner { display: flex; flex-direction: column; align-items: flex-start; padding-top: clamp(96px, 16vh, 150px); padding-bottom: 48px; }
.mmenu__link, .mmenu .mmenu__banner { width: 100%; max-width: 640px; }
.mmenu__link { display: flex; align-items: baseline; gap: 14px; padding: 16px 20px; margin-bottom: 10px; font-size: 1.1rem; font-weight: 700; letter-spacing: 0; background: rgba(255,255,255,.38); border: 1px solid rgba(255,255,255,.55); border-radius: 16px; box-shadow: 0 8px 32px rgba(28,35,26,.06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translateY(24px); transition: color .25s, background .25s, border-color .25s; }
.mmenu__link:hover { color: var(--m-sage); background: rgba(255,255,255,.62); border-color: rgba(255,255,255,.8); }
.mmenu__n { font-size: .78rem; font-weight: 800; color: var(--m-sage-2); letter-spacing: .1em; }
.menu-open .mmenu__link { animation: menuIn .55s var(--m-ease) forwards; }
.menu-open .mmenu__link:nth-child(1) { animation-delay: .08s; }
.menu-open .mmenu__link:nth-child(2) { animation-delay: .15s; }
.menu-open .mmenu__link:nth-child(3) { animation-delay: .22s; }
.menu-open .mmenu__link:nth-child(4) { animation-delay: .29s; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* ---------- ATLAS product banner (menu + footer, one format) ---------- */
.mmenu__banner { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 14px 18px 14px 14px; background: rgba(255,255,255,.38); border: 1px solid rgba(255,255,255,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 18px; box-shadow: 0 8px 32px rgba(28,35,26,.06); transition: background .3s, transform .3s var(--m-ease), box-shadow .3s; }
.mmenu .mmenu__banner { opacity: 0; transform: translateY(24px); }
.menu-open .mmenu__banner { animation: menuIn .55s var(--m-ease) .38s forwards; }
.mmenu__banner:hover { background: rgba(255,255,255,.62); box-shadow: 0 12px 32px rgba(28,35,26,.10); color: inherit; transform: translateY(-2px); }
.mmenu__banner:hover .mmenu__arrow { transform: translateX(4px); color: var(--m-sage); }
.mmenu__appicon { width: 52px; height: 52px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--m-sage) 0%, var(--m-sage-2) 55%, var(--m-sage-3) 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 6px 16px rgba(122,150,88,.35); }
.mmenu__appicon svg { width: 28px; height: 28px; }
.mmenu__bannertext { display: grid; gap: 2px; flex: 1; }
.mmenu__bannertext b { font-size: 1rem; font-weight: 800; }
.mmenu__bannertext small { font-size: .82rem; color: var(--m-ink-3); font-weight: 600; }
.mmenu__arrow { font-size: 1.2rem; color: var(--m-ink-3); transition: transform .3s, color .3s; }
/* dark (footer) variant */
.mmenu__banner--dark { margin-top: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); max-width: 420px; }
.mmenu__banner--dark:hover { background: rgba(255,255,255,.10); box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.mmenu__banner--dark .mmenu__bannertext b { color: #fff; }
.mmenu__banner--dark .mmenu__bannertext small { color: rgba(255,255,255,.55); }
.mmenu__banner--dark .mmenu__arrow { color: rgba(255,255,255,.55); }

/* ---------- hero ---------- */
.mhero { position: relative; overflow: hidden; min-height: calc(88vh - 76px); display: flex; align-items: center; padding-block: clamp(64px, 8vw, 110px); }
.mhero .mwrap { width: 100%; position: relative; z-index: 2; }
.mhero__copy h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.mhero__copy h1 em { font-style: normal; color: var(--m-sage); }
.mhero__copy p { margin-top: 28px; font-size: clamp(1.05rem, 1.5vw, 1.35rem); max-width: 44ch; color: var(--m-ink-2); }

/* ---------- buttons ---------- */
.mbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border-radius: 999px; background: var(--m-sage); color: #fff; font-weight: 800; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: transform .25s var(--m-ease), box-shadow .25s, background .25s; }
.mbtn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(122,150,88,.30); color: #fff; }
.mbtn--sage { background: var(--m-sage-3); color: #26301F; }
.mbtn--sage:hover { box-shadow: 0 12px 30px rgba(196,207,163,.28); color: #26301F; }
.mbtn--ghostlight { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.mbtn--ghostlight:hover { border-color: var(--m-sage-3); color: #fff; box-shadow: none; }

/* ---------- sections ---------- */
.msec { padding-block: clamp(80px, 10vw, 130px); }
.msec--tint { background: var(--m-tint); border-block: 1px solid var(--m-line); }
.mgrid-2 { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.mgrid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }

/* ---------- about — equal columns, depth inside the photo ---------- */
.mabout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: stretch; }
.mabout { display: flex; flex-direction: column; justify-content: center; }
.mabout p { margin-bottom: 22px; color: var(--m-ink-2); }
.mabout p:last-child { margin-bottom: 0; }
.mabout__lede { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 600; color: var(--m-ink) !important; line-height: 1.45; }
.mnote { border-left: 3px solid #A18D7F; padding-left: 18px; font-size: .92rem; color: #6E5F54 !important; }
.mabout__photo { position: relative; border-radius: var(--m-radius); overflow: hidden; margin: 0; min-height: 440px; height: 100%; box-shadow: 0 24px 64px rgba(28,35,26,.16); }
.mabout__photo img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; transform: scale(1.14); will-change: transform; }
.mabout__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(130% 90% at 50% 20%, transparent 55%, rgba(28,36,23,.34) 100%), linear-gradient(180deg, rgba(255,255,255,.10), transparent 30%); box-shadow: inset 0 0 60px rgba(28,36,23,.28), inset 0 1px 0 rgba(255,255,255,.35); border-radius: var(--m-radius); }
.mabout__photo figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(28,35,26,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 999px; }

/* ---------- what we do — full-width card grid: 3 + 2 ---------- */
.mwork { margin-top: 8px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: stretch; }
.mwork__item { grid-column: span 2; position: relative; overflow: hidden; display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--m-line); border-radius: var(--m-radius); padding: 28px; transition: border-color .3s, transform .3s var(--m-ease), box-shadow .3s; }
.mwork__item:nth-child(4), .mwork__item:nth-child(5) { grid-column: span 3; }
.mwork__item::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(120deg, var(--m-sage), var(--m-sage-2)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--m-ease); }
.mwork__item:hover { border-color: rgba(122,150,88,.45); transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(122,150,88,.45), 0 16px 48px rgba(122,150,88,.18); }
.mwork__item:hover::before { transform: scaleX(1); }
/* icon animation: springy pop + ring pulse (no fill swap) */
.mwork__ic { width: 56px; height: 56px; border-radius: 14px; background: var(--m-tint); border: 1px solid var(--m-line); display: grid; place-items: center; color: var(--m-sage); margin-bottom: 20px; transition: border-color .3s, color .3s; }
.mwork__ic svg { width: 28px; height: 28px; }
.mwork__item:hover .mwork__ic { border-color: rgba(122,150,88,.5); color: var(--m-forest); animation: icRing .7s var(--m-ease); }
.mwork__item:hover .mwork__ic svg { animation: icPop .55s var(--m-ease); }
@keyframes icPop {
  0% { transform: scale(1) rotate(0); }
  40% { transform: scale(1.22) rotate(-8deg); }
  70% { transform: scale(.94) rotate(4deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes icRing {
  0% { box-shadow: 0 0 0 0 rgba(122,150,88,.35); }
  100% { box-shadow: 0 0 0 16px rgba(122,150,88,0); }
}
.mwork__head { display: flex; align-items: baseline; gap: 12px; }
.mwork__n { font-size: .74rem; font-weight: 800; color: var(--m-sage-2); letter-spacing: .08em; }
.mwork__head h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; transition: color .25s; }
.mwork__item:hover .mwork__head h3 { color: var(--m-sage); }
.mwork__item p { margin-top: 10px; color: var(--m-ink-2); font-size: .92rem; }

/* ---------- why — numbered feature cards ---------- */
.mwhy__head { display: grid; gap: 0; }
.mwhy { position: relative; overflow: hidden; background: #FFFFFF; border: 1px solid var(--m-line); border-radius: var(--m-radius); padding: 32px 28px 28px; transition: border-color .3s, transform .3s var(--m-ease), box-shadow .3s; }
.mwhy::after { content: attr(data-num); position: absolute; top: 6px; right: 18px; font-size: 5.5rem; font-weight: 800; line-height: 1; color: rgba(122,150,88,.10); letter-spacing: -.04em; transition: color .35s, transform .35s var(--m-ease); pointer-events: none; }
.mwhy:hover { border-color: rgba(122,150,88,.45); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(28,35,26,.10); }
.mwhy:hover::after { color: rgba(122,150,88,.22); transform: translateY(-4px); }
.mwhy h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 12px; color: var(--m-forest); line-height: 1.35; }
.mwhy p { font-size: .95rem; color: var(--m-ink-2); }
/* line-art illustration — 3D scene: tilt, floating orbs, layered depth */
.mwhy { perspective: 900px; }
.mwhy__art { position: relative; height: 130px; margin-bottom: 22px; border-radius: 14px; background: linear-gradient(150deg, #F9F8F2 0%, #EFEFE3 100%); border: 1px solid var(--m-line); display: grid; place-items: center; transform-style: preserve-3d; transition: border-color .3s, transform .35s var(--m-ease), box-shadow .35s; }
.mwhy__art::before { content: ""; position: absolute; inset: 0; border-radius: 14px; background-image: linear-gradient(var(--m-line) 1px, transparent 1px), linear-gradient(90deg, var(--m-line) 1px, transparent 1px); background-size: 22px 22px; opacity: .55; mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 90%); -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 90%); }
.mwhy__art svg { position: relative; z-index: 2; width: 78%; height: 80%; transform: translateZ(30px); filter: drop-shadow(0 12px 14px rgba(28,35,26,.18)); }
.mwhy__orb { position: absolute; z-index: 1; border-radius: 50%; background: radial-gradient(circle at 32% 30%, rgba(163,189,127,.65), rgba(122,150,88,.14) 70%); box-shadow: inset 0 1px 2px rgba(255,255,255,.6), 0 8px 18px rgba(122,150,88,.22); }
.mwhy__orb--a { width: 34px; height: 34px; top: 12px; left: 16px; transform: translateZ(16px); animation: orbFloat 5.5s ease-in-out infinite; }
.mwhy__orb--b { width: 20px; height: 20px; right: 18px; bottom: 14px; background: radial-gradient(circle at 32% 30%, rgba(196,207,163,.75), rgba(161,141,127,.16) 70%); transform: translateZ(10px); animation: orbFloat 7s ease-in-out infinite reverse; }
@keyframes orbFloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -8px; }
}
.mwhy:hover .mwhy__art { border-color: rgba(122,150,88,.5); box-shadow: 0 18px 44px rgba(122,150,88,.16); }
@media (prefers-reduced-motion: reduce) { .mwhy__orb { animation: none; } }

/* ---------- combined banner: financial analytics + contact (dark, node-network canvas) ---------- */
.mbanner { position: relative; background: linear-gradient(120deg, var(--m-dark) 0%, #26301F 55%, var(--m-forest) 100%); color: #fff; padding-block: clamp(80px, 10vw, 120px); overflow: hidden; }
#mbanner-net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mbanner__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.mbanner .mlabel { margin-bottom: 16px; }
.mbanner h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.mbanner__pitch p { margin-top: 16px; max-width: 50ch; color: rgba(255,255,255,.75); }
.mbanner__cta { display: flex; flex-direction: row; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- footer ---------- */
.mfoot { background: var(--m-dark); color: rgba(255,255,255,.65); padding-block: clamp(48px, 6vw, 72px) 36px; }
.mform { display: grid; gap: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: clamp(24px, 3.5vw, 36px); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 64px rgba(0,0,0,.25); }
.mform__title { color: #fff; font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 4px; }
.mform input, .mform textarea { font-family: inherit; font-size: .95rem; padding: 14px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical; }
.mform input::placeholder, .mform textarea::placeholder { color: rgba(255,255,255,.45); }
.mform input:focus, .mform textarea:focus { outline: none; border-color: var(--m-sage-2); background: rgba(255,255,255,.09); box-shadow: 0 0 0 3px rgba(163,189,127,.18); }
.mform .mbtn { margin-top: 4px; }
.mform__ok { display: none; color: var(--m-sage-3); font-weight: 800; }
.mform.sent .mform__ok { display: block; }
.mfoot__brand { display: grid; gap: 14px; align-content: start; }
.mfoot__logo { height: 38px; width: auto; }
.mfoot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 0 44px; }
.mfoot__col { display: grid; gap: 12px; font-size: .92rem; align-content: start; }
.mfoot__col b { color: var(--m-sage-3); letter-spacing: .18em; font-size: .72rem; text-transform: uppercase; font-weight: 800; margin-bottom: 4px; }
.mfoot__col a { display: flex; align-items: baseline; gap: 10px; font-weight: 700; color: rgba(255,255,255,.8); }
.mfoot__col a:hover { color: var(--m-sage-3); }
.mfoot__col a .mmenu__n { color: rgba(163,189,127,.6); }
.mfoot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.10); font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: rgba(255,255,255,.45); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .mgrid-2, .mgrid-3, .mabout-grid { grid-template-columns: 1fr; }
  .mgrid-2 .mlabel { margin-bottom: 0; }
  .mabout__photo { min-height: 260px; height: 260px; }
  .mgrid-3 { margin-top: 32px; gap: 16px; }
  .mhero { min-height: 64vh; }
  .mwork { grid-template-columns: 1fr; gap: 16px; }
  .mwork__item, .mwork__item:nth-child(4), .mwork__item:nth-child(5) { grid-column: auto; padding: 24px; }
  .mbanner__grid { grid-template-columns: 1fr; }
  .mfoot__grid { grid-template-columns: 1fr; gap: 28px; }
  .mform .mbtn { width: 100%; }
}
@media (max-width: 520px) {
  body { font-size: 16px; padding-top: 64px; }
  html { scroll-padding-top: 80px; }
  .mnav__inner { height: 64px; }
  .mnav__logo img { height: 28px; }
  .mhero__copy h1 { font-size: 2.5rem; }
  .msec { padding-block: 64px; }
  .mlabel { margin-bottom: 20px; }
  .mmenu__inner { padding-top: 96px; }
}
