/* =====================================================================
   Master Tech Diving Services - site design
   Palette: logo navy + diving-helmet yellow (single accent)
   Type: Barlow Condensed (display, echoes the condensed logotype) + Plus Jakarta Sans (text)
   Radius system: buttons/inputs 10px, cards 16px, chips pill
   ===================================================================== */
/* Self-hosted fonts (SIL OFL) so cache/optimisation plugins cannot strip them */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-var.woff2") format("woff2"); }

:root {
	--navy-950: #050f24;
	--navy-900: #0a1f44;
	--navy-800: #0f2a5c;
	--navy-700: #173a78;
	--brand: #062158;
	--accent: #f4b41a;
	--accent-600: #e0a008;
	--accent-50: #fff6dc;
	--ink: #0b1a33;
	--text: #26364d;
	--muted: #506079;
	--line: #dbe2ec;
	--tint: #f2f5f9;
	--surface: #ffffff;
	--on-dark: #eef3fb;
	--on-dark-muted: #b8c5da;
	--focus: #0f2a5c;
	--r-sm: 10px;
	--r-md: 16px;
	--shadow-sm: 0 1px 2px rgba(10, 31, 68, .06), 0 2px 8px rgba(10, 31, 68, .05);
	--shadow-md: 0 10px 30px -12px rgba(10, 31, 68, .25);
	--shadow-lg: 0 30px 60px -24px rgba(5, 15, 36, .45);
	--ease: cubic-bezier(.16, 1, .3, 1);
	--f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
	--f-text: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--sec: clamp(64px, 8vw, 112px);
	--adminbar: 0px;
}
body.admin-bar { --adminbar: 32px; }
@media (max-width: 782px) { body.admin-bar { --adminbar: 46px; } }

/* ---------- Reset (scoped, low specificity) ---------- */
.mt-site *, .mt-site *::before, .mt-site *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.mt-site {
	margin: 0; background: var(--surface); color: var(--text);
	font: 400 16px/1.65 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}
.mt-site :where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.mt-site :where(ul, ol) { padding: 0; list-style: none; }
.mt-site :where(img, svg, video, iframe) { display: block; max-width: 100%; }
.mt-site :where(img) { height: auto; }
.mt-site :where(a) { color: inherit; text-decoration: none; }
.mt-site :where(button, input, select, textarea) { font: inherit; color: inherit; }
.mt-site :where(button) { cursor: pointer; background: none; border: 0; padding: 0; }
.mt-site :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
#mt-main:focus { outline: none; }
.mt-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--accent); color: var(--navy-950); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.mt-skip:focus { top: calc(var(--adminbar) + 12px); }
.mt-ico { flex: none; }

.mt-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mt-sec { padding-block: var(--sec); }
.mt-sec--tint { background: var(--tint); }

/* ---------- Type ---------- */
.mt-h2, .mt-h3, .mt-hero__title, .mt-phero__title, .mt-posthead__title {
	font-family: var(--f-display); font-weight: 700; color: var(--ink); letter-spacing: .003em; text-wrap: balance;
}
.mt-h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); line-height: 1.04; }
.mt-h3 { font-size: clamp(1.55rem, 1.2rem + 1vw, 2rem); line-height: 1.1; }
.mt-h2--light { color: #fff; }
.mt-h2 a { color: inherit; }
.mt-h2 a:hover { color: var(--navy-700); }
.mt-lead { font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); color: var(--muted); max-width: 62ch; }
.mt-eyebrow { font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.mt-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 760px; }
.mt-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.mt-head--row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; }
.mt-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-800); border-bottom: 2px solid var(--accent); padding-bottom: 2px; transition: gap .25s var(--ease), color .2s; white-space: nowrap; }
.mt-link:hover { gap: 12px; color: var(--navy-950); }

/* ---------- Buttons ---------- */
.mt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
	border-radius: var(--r-sm); font-weight: 700; font-size: .98rem; line-height: 1.1; white-space: nowrap; border: 2px solid transparent;
	transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s; touch-action: manipulation;
}
.mt-btn:active { transform: translateY(1px) scale(.985); }
.mt-btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1.02rem; }
.mt-btn--block { width: 100%; }
.mt-btn--accent { background: var(--accent); color: var(--navy-950); box-shadow: 0 8px 20px -10px rgba(244, 180, 26, .7); }
.mt-btn--accent:hover { background: #ffc53d; }
.mt-btn--primary { background: var(--navy-800); color: #fff; }
.mt-btn--primary:hover { background: var(--navy-900); }
.mt-btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(5, 15, 36, .25); }
.mt-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.mt-btn--ghost-dark { border-color: var(--navy-800); color: var(--navy-800); }
.mt-btn--ghost-dark:hover { background: var(--navy-800); color: #fff; }
.mt-btn .mt-ico { transition: transform .25s var(--ease); }
.mt-btn:hover .mt-ico { transform: translateX(3px); }

.mt-chip { display: inline-flex; align-self: start; width: fit-content; padding: 6px 14px; border-radius: 999px; background: rgba(244, 180, 26, .16); color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: 1px solid rgba(244, 180, 26, .4); }
.mt-chip--dark { background: var(--accent-50); color: #7a5600; border-color: #f3dc9c; }

/* ---------- Top bar ---------- */
.mt-topbar { background: var(--navy-950); color: var(--on-dark-muted); font-size: .84rem; }
.mt-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.mt-topbar__lead { display: flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; }
.mt-topbar__links { display: flex; gap: 22px; }
.mt-topbar__links a { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark); }
.mt-topbar__links a:hover { color: var(--accent); }
@media (max-width: 900px) { .mt-topbar__links li:nth-child(n+2) { display: none; } }
@media (max-width: 560px) { .mt-topbar__lead { display: none; } .mt-topbar__in { justify-content: center; } }

/* ---------- Header / nav ---------- */
.mt-header { position: sticky; top: var(--adminbar); z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
@supports (backdrop-filter: blur(8px)) { .mt-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(12px); } }
.mt-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(10, 31, 68, .5); }
.mt-header__in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.mt-logo img { width: auto; height: 56px; }
.mt-nav { margin-left: auto; }
.mt-nav__list { display: flex; align-items: center; gap: 2px; }
.mt-nav__item { position: relative; display: flex; align-items: center; }
.mt-nav__item.is-mega { position: static; }
.mt-nav__link { display: block; padding: 10px 12px; font-weight: 600; font-size: .95rem; color: var(--ink); border-radius: 8px; position: relative; }
.mt-nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.mt-nav__link:hover::after, .mt-nav__link[aria-current="page"]::after, .mt-nav__item:focus-within > .mt-nav__link::after { transform: scaleX(1); }
.mt-nav__item.has-sub .mt-nav__link { padding-right: 2px; }
.mt-nav__toggle { display: grid; place-items: center; width: 26px; height: 36px; color: var(--muted); border-radius: 6px; }
.mt-nav__toggle .mt-ico { transition: transform .25s var(--ease); }
.mt-nav__item.is-open > .mt-nav__toggle .mt-ico { transform: rotate(180deg); }
.mt-header__cta { min-height: 44px; padding: 10px 18px; }

.mt-drop, .mt-mega { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .25s var(--ease), visibility 0s linear .25s; }
.mt-drop { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: 8px; }
.mt-drop a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .94rem; color: var(--text); }
.mt-drop a:hover { background: var(--tint); color: var(--ink); }
.mt-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(10, 31, 68, .45); }
.mt-mega__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 260px; gap: 28px; padding-block: 28px 32px; }
.mt-mega__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; color: var(--ink); padding-bottom: 10px; margin-bottom: 8px; border-bottom: 2px solid var(--accent); }
.mt-mega__head:hover { color: var(--navy-700); }
.mt-mega__col a:not(.mt-mega__head) { display: block; padding: 6px 0; font-size: .92rem; color: var(--text); transition: color .2s, transform .2s var(--ease); }
.mt-mega__col a:not(.mt-mega__head):hover { color: var(--navy-700); transform: translateX(3px); }
.mt-mega__card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 220px; padding: 20px; border-radius: var(--r-md); overflow: hidden; color: #fff; background: linear-gradient(180deg, rgba(5, 15, 36, .1), rgba(5, 15, 36, .9)), var(--img) center/cover; }
.mt-mega__card-t { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; }
.mt-mega__card-d { font-size: .88rem; color: var(--on-dark-muted); }
@media (hover: hover) and (min-width: 1101px) {
	.mt-nav__item:hover > .mt-drop, .mt-nav__item:hover > .mt-mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.mt-nav__item.is-open > .mt-drop, .mt-nav__item.is-open > .mt-mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.mt-burger { display: none; width: 48px; height: 48px; place-items: center; border-radius: var(--r-sm); color: var(--ink); margin-left: auto; }
.mt-burger:hover { background: var(--tint); }
@media (max-width: 1100px) {
	.mt-nav, .mt-header__cta { display: none; }
	.mt-burger { display: grid; }
	.mt-logo img { height: 46px; }
	.mt-header__in { min-height: 68px; }
}

/* ---------- Mobile drawer ---------- */
.mt-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(5, 15, 36, .55); }
.mt-drawer[hidden] { display: none; }
.mt-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; animation: mt-slide .35s var(--ease); }
@keyframes mt-slide { from { transform: translateX(100%); } }
.mt-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.mt-drawer__head img { height: 40px; width: auto; }
.mt-drawer__close { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r-sm); }
.mt-mnav { padding: 8px 12px; flex: 1; }
.mt-mnav li { border-bottom: 1px solid var(--line); }
.mt-mnav ul { padding-left: 14px; border-left: 2px solid var(--accent-50); margin: 0 0 10px 8px; }
.mt-mnav ul li { border: 0; }
.mt-mnav__row { display: flex; align-items: center; justify-content: space-between; }
.mt-mnav__row a { flex: 1; padding: 13px 8px; font-weight: 600; color: var(--ink); }
.mt-mnav ul .mt-mnav__row a { font-weight: 500; font-size: .95rem; padding-block: 10px; color: var(--text); }
.mt-mnav__tog { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); }
.mt-mnav__tog[aria-expanded="true"] .mt-ico { transform: rotate(180deg); }
.mt-drawer__foot { display: grid; gap: 10px; padding: 16px 20px 24px; border-top: 1px solid var(--line); }

/* ---------- Hero (home) ---------- */
.mt-hero { position: relative; isolation: isolate; color: var(--on-dark); background: var(--navy-950); overflow: hidden; }
.mt-hero__media { position: absolute; inset: 0; z-index: -2; }
.mt-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.mt-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
	linear-gradient(90deg, rgba(5, 15, 36, .93) 0%, rgba(5, 15, 36, .74) 40%, rgba(5, 15, 36, .12) 100%),
	linear-gradient(0deg, rgba(5, 15, 36, .92) 0%, rgba(5, 15, 36, 0) 40%); }
.mt-hero__in { min-height: min(78dvh, 720px); display: flex; align-items: center; padding-block: clamp(64px, 9vw, 96px) 40px; }
.mt-hero__copy { display: grid; gap: 22px; max-width: 680px; }
.mt-hero__title { color: #fff; font-size: clamp(2.7rem, 1.6rem + 4.2vw, 4.75rem); line-height: .98; }
.mt-hero__lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem); color: var(--on-dark-muted); max-width: 54ch; }
.mt-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.mt-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: clamp(28px, 4vw, 44px); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-md); background: rgba(10, 31, 68, .55); overflow: hidden; }
@supports (backdrop-filter: blur(8px)) { .mt-stats { background: rgba(10, 31, 68, .38); backdrop-filter: blur(14px) saturate(140%); } }
.mt-stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; padding: 22px 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.mt-stats__item:first-child { border-left: 0; }
.mt-stats dd { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.mt-stats dt { font-size: .9rem; color: var(--on-dark-muted); }
@media (max-width: 760px) {
	.mt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mt-stats__item:nth-child(3) { border-left: 0; }
	.mt-stats__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
	.mt-stats__item { padding: 18px; }
	.mt-hero::before { background: linear-gradient(0deg, rgba(5, 15, 36, .96) 10%, rgba(5, 15, 36, .72) 100%); }
}

/* Hero background video (YouTube, injected by JS over the photo; photo stays as poster/fallback) */
.mt-hero__media { container-type: size; overflow: hidden; }
.mt-hero__media iframe {
	position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none; max-width: none;
	width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw);
	transform: translate(-50%, -50%) scale(1.18);   /* scale hides YouTube's edge chrome */
	opacity: 0; transition: opacity 1.2s ease;
}
.mt-hero__media.is-playing iframe { opacity: 1; }
/* The film has its own on-screen titles: darken more while it plays so the H1 stays readable */
.mt-hero.has-video::before { background:
	linear-gradient(90deg, rgba(5, 15, 36, .95) 0%, rgba(5, 15, 36, .84) 45%, rgba(5, 15, 36, .45) 100%),
	linear-gradient(0deg, rgba(5, 15, 36, .92) 0%, rgba(5, 15, 36, 0) 40%); }
@media (max-width: 760px) { .mt-hero.has-video::before { background: rgba(5, 15, 36, .82); } }
.mt-hero__vbtn { position: absolute; right: max(16px, calc((100% - var(--wrap)) / 2 + var(--gutter))); top: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: #fff; background: rgba(5, 15, 36, .55); border: 1px solid rgba(255, 255, 255, .3); --focus: var(--accent); }
.mt-hero__vbtn:hover { background: rgba(5, 15, 36, .8); border-color: #fff; }
.mt-hero__vbtn[hidden] { display: none; }

/* ---------- Company film (click-to-play YouTube facade) ---------- */
.mt-film__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.mt-film__copy { display: grid; gap: 18px; justify-items: start; }
.mt-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--navy-950); box-shadow: var(--shadow-lg); padding: 0; }
.mt-yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; opacity: .9; }
.mt-yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 15, 36, .85), rgba(5, 15, 36, 0) 50%); pointer-events: none; }
.mt-yt:hover img { transform: scale(1.03); opacity: 1; }
.mt-yt__play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center; padding-left: 5px; background: var(--accent); color: var(--navy-950); box-shadow: 0 0 0 10px rgba(244, 180, 26, .25), 0 18px 40px -12px rgba(5, 15, 36, .7); transition: transform .3s var(--ease), box-shadow .3s; }
.mt-yt:hover .mt-yt__play { transform: scale(1.07); box-shadow: 0 0 0 16px rgba(244, 180, 26, .2), 0 18px 40px -12px rgba(5, 15, 36, .7); }
.mt-yt__cap { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; text-align: left; font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; color: #fff; }
.mt-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mt-yt.is-live::after, .mt-yt.is-live .mt-yt__play, .mt-yt.is-live .mt-yt__cap { display: none; }
@media (max-width: 900px) { .mt-film__grid { grid-template-columns: minmax(0, 1fr); } .mt-yt__play { width: 68px; height: 68px; margin: -34px 0 0 -34px; } }

/* ---------- Logo marquee ---------- */
.mt-logos { background: #fff; border-bottom: 1px solid var(--line); }
.mt-logos__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding-block: 26px; }
.mt-logos__label { font-weight: 700; color: var(--ink); font-size: .95rem; max-width: 12ch; line-height: 1.3; }
.mt-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mt-marquee__track { display: flex; align-items: center; gap: 56px; width: max-content; animation: mt-marquee 45s linear infinite; }
.mt-marquee__track img { height: 60px; width: auto; max-width: 170px; object-fit: contain; }
.mt-marquee:hover .mt-marquee__track, .mt-marquee.is-paused .mt-marquee__track, .mt-marquee:focus-within .mt-marquee__track { animation-play-state: paused; }
@keyframes mt-marquee { to { transform: translateX(-50%); } }
.mt-marquee__pause { font-size: .82rem; font-weight: 600; color: var(--muted); padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; min-height: 36px; }
.mt-marquee__pause:hover { color: var(--ink); border-color: var(--muted); }
@media (max-width: 760px) { .mt-logos__in { grid-template-columns: minmax(0, 1fr); gap: 14px; } .mt-logos__label { max-width: none; } .mt-marquee__pause { justify-self: start; } }
@media (prefers-reduced-motion: reduce) {
	.mt-marquee { -webkit-mask-image: none; mask-image: none; }
	.mt-marquee__track { animation: none; flex-wrap: wrap; width: auto; gap: 28px 40px; justify-content: center; }
	.mt-marquee__track img[aria-hidden="true"] { display: none; }
	.mt-marquee__pause { display: none; }
}

/* ---------- Services bento (home) ---------- */
.mt-bento { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 20px; }
.mt-bento__cell { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-md); min-height: 340px; display: flex; align-items: flex-end; color: #fff; background: var(--navy-900); box-shadow: var(--shadow-md); }
.mt-bento__cell--0 { grid-row: span 2; min-height: 640px; }
.mt-bento__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.mt-bento__cell::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 15, 36, .15) 0%, rgba(5, 15, 36, .7) 45%, rgba(5, 15, 36, .96) 100%); }
.mt-bento__cell:hover .mt-bento__img { transform: scale(1.04); }
.mt-bento__body { display: grid; gap: 12px; padding: clamp(22px, 3vw, 34px); width: 100%; }
.mt-bento__t { font-family: var(--f-display); font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.02; }
.mt-bento__t a { color: #fff; }
.mt-bento__t a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.mt-bento__x { color: var(--on-dark-muted); max-width: 52ch; font-size: .98rem; }
.mt-bento__list { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; margin-top: 4px; }
.mt-bento__list a { display: inline-block; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: .84rem; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.mt-bento__list a:hover { background: var(--accent); border-color: var(--accent); color: var(--navy-950); }
.mt-bento__more { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; color: var(--accent); width: fit-content; }
.mt-bento__more:hover { gap: 12px; }
@media (max-width: 900px) {
	.mt-bento { grid-template-columns: minmax(0, 1fr); }
	.mt-bento__cell--0 { grid-row: auto; min-height: 520px; }
	.mt-bento__cell { min-height: 420px; }
}

/* ---------- Split / collage (home) ---------- */
.mt-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.mt-split__copy { display: grid; gap: 22px; }
.mt-collage { position: relative; padding: 0 12% 14% 0; }
.mt-collage__a { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow-md); }
.mt-collage__b { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.mt-collage__badge { position: absolute; left: 20px; top: 20px; background: var(--accent); color: var(--navy-950); padding: 12px 16px; border-radius: var(--r-sm); font-weight: 600; font-size: .9rem; line-height: 1.2; box-shadow: var(--shadow-md); }
.mt-collage__badge strong { display: block; font-family: var(--f-display); font-size: 2rem; line-height: 1; }
.mt-pillars { display: grid; gap: 18px; margin-block: 6px; }
.mt-pillars li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; }
.mt-pillars__ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-900); color: var(--accent); }
.mt-pillars h3 { font-size: 1.05rem; color: var(--ink); font-weight: 700; margin-bottom: 2px; }
.mt-pillars p { color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .mt-split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Safety band ---------- */
.mt-safety { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: var(--on-dark); --focus: var(--accent); padding-block: var(--sec); }
.mt-safety__bg { position: absolute; inset: 0 0 0 45%; z-index: -1; background: var(--img) center/cover; opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.mt-safety__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.mt-safety__copy { display: grid; gap: 18px; }
.mt-safety__copy p { color: var(--on-dark-muted); max-width: 56ch; font-size: 1.05rem; }
.mt-safety__list { display: grid; gap: 12px; }
.mt-safety__list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: rgba(5, 15, 36, .6); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-sm); font-weight: 500; }
@supports (backdrop-filter: blur(8px)) { .mt-safety__list li { background: rgba(5, 15, 36, .45); backdrop-filter: blur(10px); } }
.mt-safety__list .mt-ico { color: var(--accent); margin-top: 2px; }
@media (max-width: 900px) { .mt-safety__in { grid-template-columns: minmax(0, 1fr); } .mt-safety__bg { inset: 0; opacity: .22; -webkit-mask-image: none; mask-image: none; } }

/* ---------- Process steps ---------- */
.mt-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; counter-reset: step; }
.mt-steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 32px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.mt-steps__item { position: relative; display: grid; gap: 10px; justify-items: center; align-content: start; text-align: center; }
.mt-steps__ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy-800); border: 2px solid var(--line); box-shadow: 0 0 0 8px #fff; transition: background .3s, color .3s, border-color .3s; }
.mt-steps__item:hover .mt-steps__ico { background: var(--navy-800); color: var(--accent); border-color: var(--navy-800); }
.mt-steps h3 { font-family: var(--f-display); font-size: 1.5rem; color: var(--ink); margin-top: 6px; }
.mt-steps p { color: var(--muted); font-size: .95rem; max-width: 30ch; }
@media (max-width: 900px) {
	.mt-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.mt-steps::before { left: 31px; right: auto; top: 32px; bottom: 32px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 10px, transparent 10px 18px); }
	.mt-steps__item { grid-template-columns: 64px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 18px; row-gap: 2px; }
	.mt-steps__ico { grid-row: span 2; }
	.mt-steps h3 { margin-top: 8px; }
}

/* ---------- Blog feed (home) & cards ---------- */
.mt-feed { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 20px; }
.mt-feed .mt-pcard--wide { grid-row: span 2; }
.mt-pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.mt-pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.mt-pcard__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); }
.mt-pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mt-pcard:hover .mt-pcard__img img { transform: scale(1.04); }
.mt-pcard__body { display: grid; gap: 10px; padding: 22px 24px 26px; align-content: start; }
.mt-pcard__meta { display: flex; flex-wrap: wrap; gap: 10px 14px; font-size: .82rem; color: var(--muted); }
.mt-pcard__meta span { color: #7a5600; font-weight: 700; }
.mt-pcard__t { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.12; color: var(--ink); }
.mt-pcard__t a::after { content: ""; position: absolute; inset: 0; }
.mt-pcard__t a:hover { color: var(--navy-700); }
.mt-pcard__x { color: var(--muted); font-size: .95rem; }
.mt-pcard--wide .mt-pcard__img { aspect-ratio: 16 / 10; }
.mt-pcard--wide .mt-pcard__t { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.mt-pcard--row { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); }
.mt-pcard--row .mt-pcard__img { aspect-ratio: auto; height: 100%; min-height: 180px; }
.mt-pcard--row .mt-pcard__x { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) {
	.mt-feed { grid-template-columns: minmax(0, 1fr); }
	.mt-feed .mt-pcard--wide { grid-row: auto; }
}
@media (max-width: 560px) { .mt-pcard--row { grid-template-columns: minmax(0, 1fr); } .mt-pcard--row .mt-pcard__img { aspect-ratio: 16 / 9; min-height: 0; } }

.mt-bloggrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mt-pcard--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.mt-pcard--feature .mt-pcard__img { aspect-ratio: auto; height: 100%; min-height: 320px; }
.mt-pcard--feature .mt-pcard__body { align-content: center; padding: clamp(24px, 4vw, 48px); }
.mt-pcard--feature .mt-pcard__t { font-size: clamp(1.8rem, 1.4rem + 1.3vw, 2.5rem); }
@media (max-width: 1000px) { .mt-bloggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.mt-bloggrid { grid-template-columns: minmax(0, 1fr); }
	.mt-pcard--feature { grid-template-columns: minmax(0, 1fr); }
	.mt-pcard--feature .mt-pcard__img { aspect-ratio: 16 / 9; min-height: 0; }
}

/* ---------- Service cards ---------- */
.mt-sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 22px; }
.mt-scard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.mt-scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.mt-scard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-900); }
.mt-scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mt-scard:hover .mt-scard__img img { transform: scale(1.05); }
.mt-scard__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.mt-scard__t { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; line-height: 1.1; color: var(--ink); }
.mt-scard__x { color: var(--muted); font-size: .93rem; flex: 1; }
.mt-scard__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--navy-800); margin-top: 6px; transition: gap .25s var(--ease); }
.mt-scard:hover .mt-scard__more { gap: 12px; }

/* ---------- Inner page hero ---------- */
.mt-phero { position: relative; isolation: isolate; color: var(--on-dark); background: var(--navy-950); overflow: hidden; --focus: var(--accent); }
.mt-phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 15, 36, .95) 0%, rgba(5, 15, 36, .78) 55%, rgba(5, 15, 36, .45) 100%), var(--img) center/cover; }
.mt-phero__in { display: grid; gap: 16px; padding-block: clamp(48px, 7vw, 88px); min-height: 340px; align-content: center; }
.mt-phero__title { color: #fff; font-size: clamp(2.3rem, 1.5rem + 3vw, 3.8rem); line-height: 1; max-width: 22ch; }
.mt-phero__lead { color: var(--on-dark-muted); max-width: 62ch; font-size: 1.08rem; }
.mt-phero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.mt-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--on-dark-muted); }
.mt-crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .6; }
.mt-crumbs a { color: var(--on-dark); }
.mt-crumbs a:hover { color: var(--accent); }
.mt-crumbs [aria-current] { color: var(--on-dark-muted); }

/* ---------- Article layout (service) ---------- */
.mt-article { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.mt-aside { display: grid; gap: 18px; position: sticky; top: calc(var(--adminbar) + 96px); }
.mt-aside__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; display: grid; gap: 12px; }
.mt-aside__card--dark { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark-muted); --focus: var(--accent); }
.mt-aside__card--dark .mt-aside__h { color: #fff; }
.mt-aside__h { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.1; color: var(--ink); }
.mt-aside__tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--accent); padding: 6px; }
.mt-aside__list a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .93rem; color: var(--text); border-left: 3px solid transparent; }
.mt-aside__list a:hover { background: var(--tint); color: var(--ink); }
.mt-aside__list a[aria-current] { background: var(--accent-50); border-left-color: var(--accent); color: var(--ink); font-weight: 700; }
.mt-aside__certs p { font-size: .92rem; color: var(--muted); }
@media (max-width: 1000px) { .mt-article { grid-template-columns: minmax(0, 1fr); } .mt-aside { position: static; } }

/* ---------- Prose (the_content) ---------- */
.mt-prose { color: var(--text); font-size: 1.04rem; line-height: 1.75; min-width: 0; }
.mt-prose--center { max-width: 820px; margin-inline: auto; }
.mt-prose--intro { max-width: 820px; margin-bottom: 40px; }
.mt-prose > * + * { margin-top: 1.1em; }
.mt-prose :where(h2, h3, h4, h5) { font-family: var(--f-display); color: var(--ink); line-height: 1.12; margin-top: 1.6em; }
.mt-prose h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); }
.mt-prose h3 { font-size: 1.5rem; }
.mt-prose h4, .mt-prose h5 { font-size: 1.25rem; }
.mt-prose > :first-child { margin-top: 0; }
.mt-prose a { color: var(--navy-700); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mt-prose a:hover { color: var(--navy-950); }
.mt-prose strong { color: var(--ink); }
.mt-prose ul, .mt-prose ol { padding-left: 0; display: grid; gap: .5em; }
.mt-prose ul > li { position: relative; padding-left: 28px; }
.mt-prose ul > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.mt-prose ol { counter-reset: li; }
.mt-prose ol > li { position: relative; padding-left: 38px; counter-increment: li; }
.mt-prose ol > li::before { content: counter(li); position: absolute; left: 0; top: .15em; width: 26px; height: 26px; border-radius: 50%; background: var(--navy-900); color: var(--accent); font-size: .8rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.mt-prose img { border-radius: var(--r-sm); height: auto; }
.mt-prose figure { margin-inline: 0; }
.mt-prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.mt-prose blockquote { border-left: 4px solid var(--accent); background: var(--tint); padding: 18px 22px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 1.08rem; color: var(--ink); }
.mt-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.mt-prose th, .mt-prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.mt-prose th { background: var(--navy-900); color: #fff; font-weight: 600; }
.mt-prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2em; }
.mt-prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-sm); }
.mt-prose__lead-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); margin-bottom: 8px; }
.mt-prose .wp-block-image, .mt-prose .aligncenter { margin-inline: auto; }
.mt-prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.mt-prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.mt-prose::after { content: ""; display: table; clear: both; }
/* Accordions / FAQ blocks written with <details> */
.mt-prose details { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 18px; background: #fff; }
.mt-prose summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--ink); }
/* Contact Form 7 or other forms inside content */
.mt-prose :where(input[type="text"], input[type="email"], input[type="tel"], textarea, select) { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; background: #fff; }
.mt-prose :where(input[type="submit"], button[type="submit"]) { background: var(--accent); color: var(--navy-950); font-weight: 700; border: 0; border-radius: var(--r-sm); padding: 13px 24px; cursor: pointer; }
.mt-elementor { min-width: 0; }
/* Neutralise legacy inline styles pasted into old posts (justify, font-size:large, padded wrappers) */
.mt-prose [style*="text-align: justify"], .mt-prose [style*="text-align:justify"] { text-align: left !important; }
.mt-prose span[style*="font-size"], .mt-prose p[style*="font-size"] { font-size: inherit !important; }
.mt-prose > div[style*="padding"] { padding: 0 !important; width: auto !important; }
.mt-prose > div > * + * { margin-top: 1.1em; }
.mt-prose [style*="font-family"] { font-family: inherit !important; }

.mt-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2.2em !important; padding-top: 1.4em; border-top: 1px solid var(--line); }
.mt-tags li { padding: 0 !important; }
.mt-tags li::before { display: none; }
.mt-tags a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--tint); font-size: .85rem; color: var(--text); text-decoration: none; }
.mt-tags a:hover { background: var(--accent-50); }

/* ---------- Single post ---------- */
.mt-posthead { background: var(--tint); padding-top: clamp(36px, 5vw, 64px); }
.mt-posthead__in { display: grid; gap: 16px; max-width: 980px; padding-bottom: clamp(28px, 4vw, 44px); }
.mt-posthead .mt-crumbs ol { color: var(--muted); }
.mt-posthead .mt-crumbs a { color: var(--navy-800); }
.mt-posthead .mt-crumbs [aria-current] { color: var(--muted); display: inline-block; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.mt-posthead__title { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); line-height: 1.02; }
.mt-posthead__meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: .92rem; }
.mt-posthead__meta span { display: inline-flex; align-items: center; gap: 6px; }
.mt-posthead__img { margin-bottom: -80px; position: relative; }
.mt-posthead__img img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.mt-sec--post { padding-top: calc(var(--sec) + 40px); }
.mt-postgrid { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.mt-toc { position: sticky; top: calc(var(--adminbar) + 100px); font-size: .9rem; }
.mt-toc__h { font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.mt-toc ol { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.mt-toc a { display: block; padding: 6px 12px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.35; }
.mt-toc a:hover { color: var(--ink); }
.mt-toc a.is-active { color: var(--ink); border-left-color: var(--accent); font-weight: 600; }
.mt-aside--post { top: calc(var(--adminbar) + 100px); }
@media (max-width: 1200px) { .mt-postgrid { grid-template-columns: minmax(0, 1fr) 300px; } .mt-toc { display: none; } }
@media (max-width: 1000px) { .mt-postgrid { grid-template-columns: minmax(0, 1fr); } .mt-posthead__img { margin-bottom: -40px; } .mt-sec--post { padding-top: calc(var(--sec) + 10px); } }

/* ---------- Services index ---------- */
.mt-jump { position: sticky; top: calc(var(--adminbar) + 76px); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.mt-jump__in { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.mt-jump__in::-webkit-scrollbar { display: none; }
.mt-jump a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--ink); min-height: 40px; }
.mt-jump a span { background: var(--tint); border-radius: 999px; padding: 1px 8px; font-size: .78rem; color: var(--muted); }
.mt-jump a:hover { border-color: var(--navy-800); }
@media (max-width: 1100px) { .mt-jump { top: calc(var(--adminbar) + 68px); } }
.mt-divhead { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; margin-bottom: 36px; }
.mt-divhead img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.mt-divhead > div { display: grid; gap: 10px; }
@media (max-width: 700px) { .mt-divhead { grid-template-columns: minmax(0, 1fr); gap: 18px; } .mt-divhead img { aspect-ratio: 16 / 7; } }
.mt-divlinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; margin-top: 28px; }
.mt-divlink { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: box-shadow .3s, transform .3s var(--ease); }
.mt-divlink:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.mt-divlink img { width: 120px; height: 90px; object-fit: cover; border-radius: var(--r-sm); }
.mt-divlink span { display: grid; gap: 4px; color: var(--muted); font-size: .9rem; }
.mt-divlink strong { font-family: var(--f-display); font-size: 1.35rem; color: var(--ink); line-height: 1.1; }
.mt-divlink .mt-ico { display: inline; vertical-align: -3px; }

/* ---------- About ---------- */
.mt-story { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.mt-story__copy { display: grid; gap: 18px; }
.mt-story__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mt-story__facts > div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 22px; border-radius: var(--r-md); background: var(--navy-900); color: var(--on-dark-muted); }
.mt-story__facts > div:nth-child(2), .mt-story__facts > div:nth-child(3) { background: var(--tint); color: var(--muted); }
.mt-story__facts dd { font-family: var(--f-display); font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.mt-story__facts > div:nth-child(2) dd, .mt-story__facts > div:nth-child(3) dd { color: var(--navy-800); }
.mt-story__facts dt { font-size: .9rem; }
@media (max-width: 900px) { .mt-story { grid-template-columns: minmax(0, 1fr); } }
.mt-chapters { display: grid; gap: clamp(40px, 6vw, 72px); }
.mt-chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.mt-chapter.is-flip .mt-chapter__img { order: 2; }
.mt-chapter__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow-md); }
.mt-chapter__copy { display: grid; gap: 14px; }
.mt-chapter__copy p { color: var(--text); }
@media (max-width: 900px) { .mt-chapter { grid-template-columns: minmax(0, 1fr); } .mt-chapter.is-flip .mt-chapter__img { order: 0; } }

/* ---------- Contact ---------- */
.mt-cards4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.mt-ccard { display: grid; gap: 10px; align-content: start; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.mt-ccard h2 { font-family: var(--f-display); font-size: 1.45rem; color: var(--ink); }
.mt-ccard p { color: var(--muted); font-size: .95rem; }
.mt-ccard a { color: var(--navy-800); font-weight: 600; }
.mt-ccard a:hover { color: var(--navy-950); text-decoration: underline; }
.mt-ccard a .mt-ico { display: inline; vertical-align: -2px; }
.mt-ccard__ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--navy-800); }
.mt-ccard--hot { background: var(--navy-900); border-color: var(--navy-900); --focus: var(--accent); }
.mt-ccard--hot h2 { color: #fff; }
.mt-ccard--hot p { color: var(--on-dark-muted); }
.mt-ccard--hot .mt-ccard__ico { background: var(--accent); color: var(--navy-950); }
.mt-ccard__big { font-family: var(--f-display); font-size: 2.1rem !important; font-weight: 700; color: var(--accent) !important; line-height: 1; }
.mt-map iframe { width: 100%; height: 440px; border: 0; filter: grayscale(.3) contrast(1.05); }

/* ---------- Quote / enquiry ---------- */
.mt-quote { background: var(--tint); padding-block: var(--sec); }
.mt-quote__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.mt-quote__side { background: var(--navy-900) radial-gradient(120% 80% at 0% 0%, rgba(23, 58, 120, .9), transparent 60%); color: var(--on-dark-muted); padding: clamp(28px, 4vw, 52px); display: grid; gap: 20px; align-content: start; --focus: var(--accent); }
.mt-quote__side > p { max-width: 44ch; }
.mt-quote__hot { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s, border-color .2s; }
.mt-quote__hot:hover { background: rgba(244, 180, 26, .12); border-color: var(--accent); }
.mt-quote__hot-ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--navy-950); flex: none; }
.mt-quote__hot small { display: block; font-size: .82rem; color: var(--on-dark-muted); }
.mt-quote__hot strong { display: block; font-family: var(--f-display); font-size: 1.9rem; line-height: 1; color: #fff; }
.mt-quote__list { display: grid; gap: 12px; font-size: .95rem; }
.mt-quote__list li { display: flex; gap: 10px; align-items: flex-start; }
.mt-quote__list .mt-ico { color: var(--accent); margin-top: 3px; }
.mt-quote__list a { color: var(--on-dark); }
.mt-quote__list a:hover { color: var(--accent); }
.mt-quote__form { background: #fff; padding: clamp(24px, 4vw, 52px); display: grid; gap: 18px; align-content: start; }
@media (max-width: 900px) { .mt-quote__grid { grid-template-columns: minmax(0, 1fr); } }

.mt-form { display: grid; gap: 16px; }
.mt-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .mt-form__row { grid-template-columns: minmax(0, 1fr); } }
.mt-field { display: grid; gap: 6px; min-width: 0; }
.mt-field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.mt-field label span { color: #b42318; }
.mt-field input, .mt-field select, .mt-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #c3cddb; border-radius: var(--r-sm); background: #fff; color: var(--ink); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.mt-field textarea { min-height: 120px; resize: vertical; }
.mt-field input::placeholder, .mt-field textarea::placeholder { color: #6b7a90; }
.mt-field input:focus, .mt-field select:focus, .mt-field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(23, 58, 120, .15); }
.mt-field.is-invalid input, .mt-field.is-invalid textarea { border-color: #b42318; }
.mt-field__hint { font-size: .84rem; color: var(--muted); }
.mt-field__err { font-size: .85rem; color: #b42318; font-weight: 600; }
.mt-field__err:empty { display: none; }
.mt-form button[type="submit"] { justify-self: start; }
.mt-form button[disabled] { opacity: .6; cursor: progress; }
.mt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mt-alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-sm); font-size: .95rem; }
.mt-alert--ok { background: #ecfdf3; color: #05603a; border: 1px solid #abefc6; }
.mt-alert--err { background: #fef3f2; color: #912018; border: 1px solid #fecdca; }

/* ---------- Listing tools ---------- */
.mt-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.mt-filter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-filter__chips a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--text); min-height: 38px; }
.mt-filter__chips a:hover, .mt-filter__chips a[aria-current] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.mt-search { display: flex; align-items: stretch; border: 1.5px solid #c3cddb; border-radius: var(--r-sm); overflow: hidden; background: #fff; min-width: min(100%, 300px); }
.mt-search:focus-within { border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(23, 58, 120, .15); }
.mt-search input { flex: 1; min-width: 0; border: 0; padding: 11px 14px; outline: none; background: transparent; }
.mt-search button { width: 48px; display: grid; place-items: center; background: var(--navy-900); color: #fff; }
.mt-search--lg { max-width: 520px; width: 100%; }
.mt-pager { margin-top: 48px; }
.mt-pager ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.mt-pager a, .mt-pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 14px; border-radius: var(--r-sm); border: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.mt-pager a:hover { border-color: var(--navy-800); }
.mt-pager .current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.mt-empty { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 56px 20px; border: 1.5px dashed var(--line); border-radius: var(--r-md); }
.mt-empty__ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--navy-800); }
.mt-empty p { color: var(--muted); }

/* ---------- Media gallery + lightbox ---------- */
.mt-gallery { columns: 3 280px; column-gap: 18px; }
.mt-gallery figure { break-inside: avoid; margin-bottom: 18px; }
.mt-gallery a { display: block; border-radius: var(--r-md); overflow: hidden; }
.mt-gallery img { width: 100%; transition: transform .8s var(--ease); }
.mt-gallery a:hover img { transform: scale(1.03); }
.mt-gallery figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.mt-lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 90vh; }
.mt-lightbox::backdrop { background: rgba(5, 15, 36, .88); }
.mt-lightbox img { max-height: 84vh; width: auto; margin-inline: auto; border-radius: var(--r-sm); }
.mt-lightbox button { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }

/* ---------- 404 ---------- */
.mt-404 { padding-block: clamp(72px, 10vw, 140px); background: var(--tint); }
.mt-404__in { display: grid; justify-items: center; text-align: center; gap: 20px; }
.mt-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.mt-404__links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--ink); }
.mt-404__links a:hover { border-color: var(--navy-800); }

/* ---------- Footer ---------- */
.mt-footer { background: var(--navy-950); color: var(--on-dark-muted); padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; --focus: var(--accent); }
.mt-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.3fr); gap: 40px; padding-bottom: 48px; }
.mt-footer__brand { display: grid; gap: 18px; align-content: start; }
.mt-footer__brand img { width: 200px; height: auto; }
.mt-footer__brand p { max-width: 46ch; }
.mt-footer__h { font-family: var(--f-display); font-size: 1.3rem; color: #fff; margin-bottom: 14px; }
.mt-footer__list { display: grid; gap: 8px; }
.mt-footer a { color: var(--on-dark); transition: color .2s; }
.mt-footer a:hover { color: var(--accent); }
.mt-footer__contact { display: grid; gap: 14px; }
.mt-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.mt-footer__contact .mt-ico { color: var(--accent); margin-top: 3px; }
.mt-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
@media (max-width: 1000px) { .mt-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mt-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .mt-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Floating call button (small screens) */
.mt-fab { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: none; place-items: center; background: var(--accent); color: var(--navy-950); box-shadow: 0 12px 28px -8px rgba(5, 15, 36, .55); }
@media (max-width: 900px) { .mt-fab { display: grid; } }

/* Hide leftovers some plugins print into wp_footer outside our layout */
.mt-site #back_top, .mt-site .tx-scroll-progress, .mt-site .tx-preloader, .mt-site #tx-preloader { display: none !important; }

/* ---------- Motion (JS adds .mt-js; everything is visible without JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.mt-js [data-rv] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
	.mt-js [data-rv].is-in { opacity: 1; transform: none; }
	.mt-hero__media img { animation: mt-settle 2.4s var(--ease) both; }
	@keyframes mt-settle { from { transform: scale(1.08); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
	.mt-site *, .mt-site *::before, .mt-site *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Print */
@media print {
	.mt-topbar, .mt-header, .mt-drawer, .mt-fab, .mt-quote, .mt-footer, .mt-aside, .mt-toc, .mt-logos { display: none !important; }
	.mt-phero, .mt-hero { background: none; color: #000; }
	.mt-phero::before, .mt-hero::before { display: none; }
}
