/*
  Landing page (index.php) redesign.
  Everything is scoped under .mh so no other page is affected. Colours and font
  come from the site's own variables in style.css (--rv-*).
*/
.mh {
  --mh-primary: var(--rv-primary, #0b689e);
  --mh-primary-2: #3aa6d8;
  --mh-navy: var(--rv-secondary, #173a63);
  --mh-ink: var(--rv-heading-color, #11111b);
  --mh-text: var(--rv-text-color, #595d5f);
  --mh-muted: #7a8794;
  --mh-light: var(--rv-primary-light, #f2fcff);
  --mh-light-2: var(--rv-primary-light-two, #d5f4ff);
  --mh-line: rgba(23, 58, 99, 0.1);
  --mh-card: #fff;
  --mh-radius: 20px;
  --mh-shadow: 0 12px 32px -14px rgba(23, 58, 99, 0.22);
  --mh-shadow-sm: 0 6px 16px -8px rgba(23, 58, 99, 0.18);
  --mh-up: #138a4b;
  --mh-up-bg: #e5f6ec;
  --mh-down: #c23a3a;
  --mh-down-bg: #fdeaea;
  --mh-star: #f5a524;
  color: var(--mh-text);
  font-family: var(--rv-body-font, "Poppins"), sans-serif;
}
.mh *,
.mh *::before,
.mh *::after { box-sizing: border-box; }
/* :where() keeps these resets at zero specificity, so section styles win. */
.mh :where(img) { max-width: 100%; display: block; }
.mh :where(a) { text-decoration: none; }
.mh :where(h1, h2, h3, h4, p, ul, ol, blockquote) { margin: 0; }
.mh :where(ul, ol) { padding: 0; list-style: none; }

/* ---------- Shared pieces ---------- */
.mh-section { padding: 88px 0; }
.mh-section.is-tinted { background: var(--mh-light); }
.mh-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.mh-head.is-left { margin-left: 0; text-align: left; }
.mh-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mh-primary);
}
.mh-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--mh-ink);
}
.mh-title span { color: var(--mh-primary); }
.mh-lead { margin-top: 14px; font-size: 16px; line-height: 1.7; color: var(--mh-text); }

.mh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.mh-btn svg { width: 20px; height: 20px; flex: none; }
.mh-btn-wa {
  background: var(--mh-primary);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(11, 104, 158, 0.7);
}
.mh-btn-wa:hover { background: var(--mh-navy); color: #fff; transform: translateY(-1px); }
.mh-wa-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: -10px;
  border-radius: 50%;
  background: #25d366;
}
.mh-btn .mh-wa-badge svg { width: 16px; height: 16px; color: #fff; }
.mh-btn-ghost {
  background: #fff;
  border-color: rgba(23, 58, 99, 0.18);
  color: var(--mh-navy);
}
.mh-btn-ghost:hover { border-color: var(--mh-primary); color: var(--mh-primary); }
.mh-btn-ghost svg { color: var(--mh-primary); width: 18px; height: 18px; }
.mh-btn-light { background: #fff; color: var(--mh-navy); }
.mh-btn-light:hover { background: var(--mh-light-2); color: var(--mh-navy); }
.mh-btn-outline-light { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.mh-btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); color: #fff; }
.mh-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.mh-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mh-primary);
}
.mh-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.mh-link:hover { color: var(--mh-navy); }
.mh-link:hover svg { transform: translateX(3px); }

.mh-stars { display: inline-flex; gap: 2px; color: var(--mh-star); }
.mh-stars svg { width: 16px; height: 16px; }

.mh-card {
  background: var(--mh-card);
  border: 1px solid var(--mh-line);
  border-radius: var(--mh-radius);
  box-shadow: var(--mh-shadow-sm);
}

/* Horizontal swipe rows (phones) */
.mh-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.mh-rail::-webkit-scrollbar { display: none; }
.mh-rail > * { scroll-snap-align: start; flex: none; }

.mh-rail-nav { display: flex; gap: 8px; }
.mh-rail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--mh-line);
  border-radius: 50%;
  background: #fff;
  color: var(--mh-navy);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.mh-rail-btn:hover { border-color: var(--mh-primary); color: var(--mh-primary); }
.mh-rail-btn svg { width: 18px; height: 18px; }

/* ---------- 1. Hero (same background as the current banner) ---------- */
.mh-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 0;
  background: linear-gradient(90deg, var(--mh-light-2) 0%, rgba(144, 213, 236, 0) 60%);
}
.mh-hero::after {
  content: "";
  position: absolute;
  top: -200px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--mh-light);
  z-index: 0;
}
.mh-hero > .container { position: relative; z-index: 1; }
.mh-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: start; /* panel top lines up with the headline */
  gap: 96px;
  padding-bottom: 56px;
}

.mh-hero-title {
  margin-top: 20px;
  padding-top: 0;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--mh-ink);
}
.mh-hero-sub { margin-top: 18px; max-width: 520px; font-size: 17px; line-height: 1.7; color: var(--mh-text); }
.mh-hero .mh-cta-row { margin-top: 28px; }

/* Centred hero (the credentials sit in their own band below) */
.mh-hero-grid.is-centered { grid-template-columns: 1fr; justify-items: center; padding-bottom: 64px; text-align: center; }
.is-centered .mh-hero-copy { width: 100%; max-width: 880px; container-type: inline-size; }
.is-centered .mh-hero-title { margin-top: 12px; font-size: 52px; }
.is-centered .mh-hero-sub { max-width: 600px; margin-left: auto; margin-right: auto; }
.is-centered .mh-cta-row { justify-content: center; }

/* Headline words fade in one after another when the page opens */
.mh-w { display: inline-block; animation: mh-word-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes mh-word-in {
  from { opacity: 0; filter: blur(8px); transform: translateY(0.35em); }
  to { opacity: 1; filter: none; transform: none; }
}
/* Goal line: one phrase at a time, sliding up (driven by home.js) */
.mh-goal {
  display: block;
  height: 1.3em;
  overflow: hidden;
  font-size: min(1em, 7.2cqi); /* longest phrase still fits on one line */
  color: var(--mh-primary);
  animation: mh-word-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: 800ms;
}
.mh-goal-track { display: block; transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1); }
.mh-goal-track > span { display: block; height: 1.3em; line-height: 1.3em; white-space: nowrap; }
.mh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Credentials panel on the right of the hero: compact {
  width: 100%;
  max-width: 440px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -24px rgba(23, 58, 99, 0.3);
}

/* Credentials below the hero: title on the left, tiles on the right, no outer box */
.mh-cred-band { padding: 44px 0 48px; }
.mh-cred { display: grid; grid-template-columns: 0.75fr 2.25fr; align-items: center; gap: 24px; }
.mh-cred-title { font-size: 22px; font-weight: 600; line-height: 1.3; color: var(--mh-ink); }
.mh-cred-title span { color: var(--mh-primary); }
.mh-cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mh-cred-tile { position: relative; overflow: hidden; min-height: 92px; padding: 16px; border-radius: 16px; background: var(--mh-light); }
.mh-cred-tile strong { display: block; font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--mh-navy); }
.mh-cred-tile > span:not(.mh-cred-art):not(.mh-cred-badge),
.mh-cred-tile > div > span { display: block; position: relative; z-index: 1; margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--mh-text); }
.mh-cred-tile.is-wide { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.mh-cred-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--mh-primary), var(--mh-navy));
  color: #fff;
  box-shadow: 0 8px 16px -8px rgba(11, 104, 158, 0.55);
}
.mh-cred-badge svg { width: 22px; height: 22px; }
.mh-cred-art { position: absolute; right: -6px; bottom: -8px; width: 48px; height: 48px; color: var(--mh-light-2); pointer-events: none; }
.mh-cred-art svg { width: 100%; height: 100%; }

/* Registration line under the hero buttons */
.mh-reg { margin-top: 20px; font-size: 13px; line-height: 1.5; color: var(--mh-muted); }
.mh-reg span { white-space: nowrap; }

/* Market ticker: one sliding line instead of a block of rows */
.mh-ticker {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--mh-line);
  border-bottom: 1px solid var(--mh-line);
  background: rgba(255, 255, 255, 0.85);
}
.mh-ticker .container { display: flex; align-items: center; gap: 16px; min-height: 56px; }
.mh-ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mh-navy);
}
.mh-ticker-label .mh-live { width: 8px; height: 8px; border-radius: 50%; background: var(--mh-up); animation: mh-pulse 2s ease-out infinite; }
@keyframes mh-pulse {
  0% { box-shadow: 0 0 0 0 rgba(19, 138, 75, 0.5); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(19, 138, 75, 0); }
}
.mh-ticker-window {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.mh-ticker-window .ticker { margin: 0; padding: 0; background: none; box-shadow: none; }
.mh-ticker-window ul.tickers {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mh-ticker-window.is-moving ul.tickers { animation: mh-marquee var(--mh-ticker-time, 50s) linear infinite; }
.mh-ticker-window:hover ul.tickers { animation-play-state: paused; }
@keyframes mh-marquee { to { transform: translateX(-50%); } }
.mh-ticker-window li.ticker_item {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  width: auto !important;
  margin: 0 !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-right: 1px solid var(--mh-line) !important;
  background: none !important;
  box-shadow: none !important;
  white-space: nowrap;
}
.mh-ticker-window li.ticker_item .name { font-size: 13px; font-weight: 600; color: var(--mh-navy); text-transform: uppercase; }
.mh-ticker-window li.ticker_item .price { font-size: 14px; color: var(--mh-ink); }
.mh-ticker-window li.ticker_item .difference_percent {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: var(--mh-up-bg) !important;
  color: var(--mh-up) !important;
  font-size: 12px !important;
  font-weight: 500;
}
.mh-ticker-window li.ticker_item .difference_percent::before { content: "\25B2"; font-size: 8px; }
.mh-ticker-window li.ticker_item .difference_percent.negative { background: var(--mh-down-bg) !important; color: var(--mh-down) !important; }
.mh-ticker-window li.ticker_item .difference_percent.negative::before { content: "\25BC"; }
.mh-ticker-window li.ticker_item .difference_percent::after,
.mh-ticker-window li.ticker_item::after,
.mh-ticker-window li.ticker_item::before { display: none !important; }
.mh-ticker-empty { font-size: 13px; color: var(--mh-muted); }

/* ---------- 4. Who we help + offerings ---------- */

.mh-services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.mh-service { grid-column: span 2; display: flex; flex-direction: column; overflow: hidden; color: inherit; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.mh-service:nth-child(4) { grid-column: 2 / span 2; }
.mh-service:hover { transform: translateY(-4px); box-shadow: var(--mh-shadow); color: inherit; }
.mh-service-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mh-light); }
.mh-service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.mh-service:hover .mh-service-img img { transform: scale(1.04); }
.mh-service-body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 34px 22px 22px; }
.mh-service-icon {
  position: absolute;
  top: -26px;
  left: 22px;
  width: 52px;
  height: 52px;
  padding: 11px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--mh-primary), var(--mh-navy));
  box-shadow: 0 8px 16px -6px rgba(11, 104, 158, 0.6);
}
.mh-service-icon img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.mh-service h3 { font-size: 18px; font-weight: 600; color: var(--mh-ink); }
.mh-service p { margin: 8px 0 18px; font-size: 14.5px; line-height: 1.6; }
.mh-service .mh-link { margin-top: auto; }

/* ---------- 5. Founder ---------- */
.mh-founder { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 56px; padding: 44px; }
.mh-founder-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--mh-light-2), var(--mh-light));
}
.mh-founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.mh-founder-tag {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  color: var(--mh-text);
}
.mh-founder-tag strong { display: block; font-size: 15px; color: var(--mh-ink); }
.mh-quote { display: block; width: 34px; height: 26px; margin: 6px 0 14px; color: var(--mh-light-2); }
.mh-note p { font-size: 17px; line-height: 1.8; color: var(--mh-ink); }
.mh-note p + p { margin-top: 14px; }
.mh-sign { margin-top: 20px; padding-left: 16px; border-left: 3px solid var(--mh-primary); }
.mh-sign strong { display: block; font-size: 17px; font-weight: 600; color: var(--mh-ink); }
.mh-sign span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--mh-muted); }
.mh-founder-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 28px; }
.mh-fact { padding: 14px 16px; border-radius: 14px; background: var(--mh-light); font-size: 14px; line-height: 1.5; color: var(--mh-navy); }
.mh-fact strong { display: block; font-size: 18px; font-weight: 700; color: var(--mh-primary); }

/* Team strip under the founder's note */
.mh-team { margin-top: 56px; }
.mh-team-head { margin-bottom: 22px; text-align: center; }
.mh-team-head h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--mh-ink); }
/* Two groups: EUIN holders, then operations & support. Same card size in both. */
.mh-team-group + .mh-team-group { margin-top: 40px; }
.mh-team-label { margin-bottom: 16px; text-align: center; }
.mh-team-label strong { display: block; font-size: 16px; font-weight: 600; color: var(--mh-navy); }
.mh-team-label span { display: block; margin-top: 2px; font-size: 13px; color: var(--mh-muted); }
.mh-team-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 18px; }
.mh-team-row > .mh-person-card { width: 168px; }
.mh-person-card { text-align: center; }
.mh-person-photo { overflow: hidden; aspect-ratio: 3 / 4; margin-bottom: 12px; border-radius: 18px; background: #fff; box-shadow: var(--mh-shadow-sm); }
.mh-person-photo img { width: 100%; height: 100%; object-fit: cover; }
.mh-person-photo.is-monogram { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--mh-light-2), var(--mh-light)); }
.mh-person-photo.is-monogram span { font-size: 40px; font-weight: 600; letter-spacing: 0.02em; color: var(--mh-primary); }
.mh-person-card strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--mh-ink); }
.mh-person-card span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--mh-muted); }
.mh-euin { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: var(--mh-light-2); font-size: 11.5px; font-style: normal; font-weight: 600; color: var(--mh-navy); }

/* ---------- 6. Reviews ---------- */
.mh-reviews-track { min-width: 0; }
.mh-reviews-track .mh-rail > .mh-review { width: calc((100% - 32px) / 3); }
.mh-review { display: flex; flex-direction: column; padding: 24px; }
.mh-review-top { display: flex; align-items: center; justify-content: space-between; }
.mh-source { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--mh-muted); }
.mh-source .mh-g { width: 16px; height: 16px; }
.mh-source svg:not(.mh-g) { width: 14px; height: 14px; color: var(--mh-primary); }
.mh-review blockquote {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--mh-ink);
}
.mh-review.is-open blockquote { -webkit-line-clamp: unset; }
.mh-more { align-self: flex-start; margin-top: 8px; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 500; color: var(--mh-primary); cursor: pointer; }
.mh-more[hidden] { display: none; }
.mh-person { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; }
.mh-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mh-primary), var(--mh-navy));
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.mh-person strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--mh-ink); }
.mh-person small { display: block; font-size: 12.5px; color: var(--mh-muted); }
.mh-reviews-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }

/* Client video stories: a slow sliding row */
.mh-stories { margin-top: 64px; }
.mh-stories-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.mh-stories-head h3 { font-size: 22px; font-weight: 600; color: var(--mh-ink); }
.mh-stories-head p { margin-top: 4px; font-size: 14px; }
.mh-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.mh-marquee-track { display: flex; gap: 18px; width: max-content; animation: mh-marquee 45s linear infinite; }
.mh-marquee:hover .mh-marquee-track,
.mh-marquee:focus-within .mh-marquee-track { animation-play-state: paused; }
.mh-story {
  position: relative;
  display: block;
  width: 200px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  flex: none;
  border-radius: 18px;
  background: #0d1b2a;
  box-shadow: var(--mh-shadow);
}
.mh-story img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: transform 0.4s ease; }
.mh-story:hover img { transform: scale(1.05); }
.mh-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), transparent 40%, rgba(0, 0, 0, 0.8)); }
.mh-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--mh-primary);
  transition: transform 0.2s ease;
}
.mh-play svg { width: 18px; height: 18px; margin-left: 3px; }
.mh-story:hover .mh-play { transform: scale(1.1); }
.mh-story-name { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; color: #fff; }
.mh-story-name strong { display: block; font-size: 14px; font-weight: 600; }
.mh-story-name small { display: block; font-size: 12px; opacity: 0.8; }

/* ---------- 7. Social (Plan with Partha) ---------- */
/* One post per platform, same card shape, a single quiet link each. */
.mh-feeds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mh-feed { display: flex; flex-direction: column; overflow: hidden; color: inherit; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.mh-feed:hover { transform: translateY(-4px); box-shadow: var(--mh-shadow); color: inherit; }
.mh-feed-media { position: relative; height: 230px; overflow: hidden; background: #0d1b2a; }
.mh-feed-media img { width: 100%; height: 100%; object-fit: cover; }
.mh-feed-media.is-portrait img { object-position: center 30%; }
.mh-feed-media.is-fb img { object-position: center 42%; }
.mh-feed-media .mh-play { color: var(--mh-navy); }
.mh-feed-body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.mh-feed-src { display: flex; align-items: center; gap: 10px; }
.mh-feed-src img { width: 32px; height: 32px; padding: 6px; flex: none; border-radius: 10px; background: var(--mh-light); object-fit: contain; }
.mh-feed-src strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--mh-ink); }
.mh-feed-src small { display: block; font-size: 12.5px; color: var(--mh-muted); }
.mh-feed-body p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--mh-ink);
}

/* ---------- 8. Tools ---------- */
.mh-tabs { display: inline-flex; gap: 4px; margin: 0 auto 28px; padding: 5px; border-radius: 999px; background: var(--mh-light); }
.mh-tabs-wrap { text-align: center; }
.mh-tab {
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--mh-navy);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.mh-tab[aria-selected="true"] { background: #fff; color: var(--mh-primary); box-shadow: var(--mh-shadow-sm); }
.mh-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mh-tools[hidden] { display: none; }
.mh-tool {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--mh-navy);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.35;
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.mh-tool:hover { border-color: rgba(11, 104, 158, 0.35); transform: translateY(-2px); color: var(--mh-primary); }
.mh-tool img { width: 38px; height: 38px; padding: 6px; flex: none; border-radius: 10px; background: var(--mh-light); object-fit: contain; }
.mh-tools-note { margin-top: 20px; text-align: center; }
.mh-tools-error { grid-column: 1 / -1; padding: 16px; border-radius: 14px; background: var(--mh-down-bg); color: var(--mh-down); font-size: 14px; text-align: center; }

/* ---------- 9. App ---------- */
.mh-app { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; }
.mh-app-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 30px; }
.mh-app-feature { display: flex; gap: 12px; padding: 16px; }
.mh-app-feature img { width: 40px; height: 40px; padding: 7px; flex: none; border-radius: 12px; background: var(--mh-light); object-fit: contain; }
.mh-app-feature strong { display: block; font-size: 15px; font-weight: 600; color: var(--mh-ink); }
.mh-app-feature span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--mh-text); }
.mh-store { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mh-store img { height: 48px; width: auto; }
.mh-store small { font-size: 13px; color: var(--mh-muted); }
.mh-app-media { position: relative; }
.mh-app-media::before {
  content: "";
  position: absolute;
  inset: 8% 4% 0;
  border-radius: 32px;
  background: linear-gradient(160deg, var(--mh-light-2), var(--mh-light));
}
.mh-app-media img { position: relative; width: 100%; max-width: 330px; height: auto; margin: 0 auto; }

/* ---------- 10. Blog ---------- */
.mh-blog-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.mh-blog-head .mh-head { margin: 0; }
.mh-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mh-post { display: flex; flex-direction: column; overflow: hidden; color: inherit; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.mh-post:hover { transform: translateY(-4px); box-shadow: var(--mh-shadow); color: inherit; }
.mh-post-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mh-light); }
.mh-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.mh-post:hover .mh-post-img img { transform: scale(1.04); }
.mh-post-body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; }
.mh-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--mh-muted); }
.mh-chip { padding: 4px 10px; border-radius: 999px; background: var(--mh-light); font-weight: 500; color: var(--mh-primary); }
.mh-post h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 12px 0 18px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--mh-ink);
}
.mh-post .mh-link { margin-top: auto; }

/* ---------- 11. Group company ---------- */
.mh-group { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 20px 28px; text-align: left; }
.mh-group-logo { width: 150px; height: auto; flex: none; }
.mh-group p { padding-left: 24px; border-left: 1px solid var(--mh-line); }
.mh-group p { font-size: 14.5px; line-height: 1.55; color: var(--mh-navy); }
.mh-group small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mh-muted); }

/* ---------- 12. Closing call to action ---------- */
.mh-final {
  position: relative;
  overflow: hidden;
  padding: 52px 56px;
  border-radius: 28px;
  background: linear-gradient(120deg, var(--mh-navy) 0%, var(--mh-primary) 100%);
  color: #fff;
}
.mh-final::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.mh-final-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.mh-final h2 { font-size: 32px; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; color: #fff; }
.mh-final p { margin-top: 10px; max-width: 520px; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, 0.85); }
.mh-final .mh-cta-row { flex: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1199.98px) {
  .is-centered .mh-hero-title { font-size: 44px; }
  .mh-hero-grid { gap: 56px; }
  .mh-hero-title { font-size: 40px; }
  .mh-reviews-track .mh-rail > .mh-review { width: calc((100% - 16px) / 2); }
  .mh-tools { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
  .mh-cred { grid-template-columns: 1fr; gap: 14px; }

  .mh-section { padding: 64px 0; }
  .mh-title { font-size: 30px; }
  .mh-hero { padding-top: 150px; }
  .mh-hero-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .mh-app { grid-template-columns: 1fr; gap: 36px; }

  .mh-feeds { grid-template-columns: 1fr 1fr; }
  .mh-founder { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .mh-founder-photo { max-width: 360px; }
  .mh-services { grid-template-columns: repeat(2, 1fr); }
  .mh-service,
  .mh-service:nth-child(4) { grid-column: auto; }
  .mh-final { padding: 40px 32px; }
  .mh-final-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Phones ---------- */
@media (max-width: 767.98px) {
  .mh-section { padding: 44px 0; }
  .mh-head { margin-bottom: 28px; }
  .mh-title { font-size: 26px; }
  .mh-lead { font-size: 15px; }
  .mh-hero { padding-top: 156px; }
  .mh-hero-title { font-size: 31px; line-height: 1.2; }
  .mh-hero-sub { font-size: 15.5px; }
  .mh-hero .mh-cta-row .mh-btn { flex: 1 1 100%; }

  .mh-ticker .container { gap: 10px; min-height: 50px; padding-right: 0; }
  .mh-ticker-label span:last-child { display: none; }
  .mh-ticker-window li.ticker_item { padding: 0 14px !important; }

  /* Offerings, reviews and articles swipe sideways instead of stacking. */
  .mh-services,
  .mh-posts {
    display: flex;
    gap: 14px;
    margin: 0 -12px;
    padding: 4px 12px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .mh-services::-webkit-scrollbar,
  .mh-posts::-webkit-scrollbar { display: none; }
  .mh-service,
  .mh-post { flex: none; width: 82%; scroll-snap-align: start; }
  .mh-reviews-track .mh-rail { margin: 0 -12px; padding: 4px 12px 8px; }
  .mh-reviews-track .mh-rail > .mh-review { width: 86%; }
  .mh-rail-nav { display: none; }
  .mh-swipe-hint { display: block !important; }

  .mh-feeds {
    display: flex;
    gap: 14px;
    margin: 0 -12px;
    padding: 4px 12px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .mh-feeds::-webkit-scrollbar { display: none; }
  .mh-feed { flex: none; width: 82%; scroll-snap-align: start; }
  .mh-feed-media { height: 200px; }

  .mh-note p { font-size: 15.5px; line-height: 1.75; }
  .mh-founder { gap: 20px; padding: 18px; border-radius: 22px; }
  .mh-founder-photo { max-width: none; aspect-ratio: 1 / 1; }
  .mh-founder-tag { display: none; } /* name and role are right below */
  .mh-founder-facts { grid-template-columns: 1fr; gap: 8px; margin: 18px 0 20px; }
  .mh-fact { padding: 12px; font-size: 12.5px; }
  .mh-fact strong { font-size: 15px; }
  .mh-founder-copy .mh-btn { width: 100%; }

  .mh-stories { margin-top: 44px; }
  .mh-story { width: 150px; border-radius: 14px; }
  .mh-play { width: 40px; height: 40px; margin: -20px 0 0 -20px; }

  .mh-tabs { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .mh-tab { flex: 1 1 auto; padding: 0 6px; font-size: 12.5px; }
  .mh-tools { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mh-tool { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; font-size: 13.5px; }
  .mh-tool img { width: 34px; height: 34px; }

  .mh-app-media { display: none; }
  .mh-app-features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mh-app-feature { flex-direction: column; gap: 8px; padding: 14px; }
  .mh-app-feature span { display: none; }

  .mh-blog-head { display: block; margin-bottom: 24px; }
  .mh-blog-head > .mh-link { margin-top: 12px; }

  .mh-group { flex-direction: column; gap: 14px; text-align: center; }
  .mh-group-logo { width: 130px; }
  .mh-group p { padding-left: 0; border-left: 0; }

  .mh-reg { margin-top: 16px; font-size: 12px; }
  .mh-team { margin-top: 40px; }
  .mh-team-group + .mh-team-group { margin-top: 28px; }
  .mh-team-label { margin-bottom: 10px; }
  .mh-team-head h3 { font-size: 19px; }
  .mh-team-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
    margin: 0 -12px;
    padding: 4px 12px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .mh-team-row::-webkit-scrollbar { display: none; }
  .mh-team-row > .mh-person-card { flex: none; width: 42%; scroll-snap-align: start; }
  .mh-cred-band { padding: 24px 0 32px; }
  .mh-cred-title { font-size: 17px; }
  .mh-cred-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mh-cred-tile { min-height: 80px; padding: 12px; border-radius: 14px; }
  .mh-cred-tile.is-wide { grid-column: 1 / -1; }
  .mh-cred-tile strong { font-size: 19px; }
  .mh-cred-tile.is-wide strong { font-size: 24px; }
  .mh-cred-badge { width: 40px; height: 40px; border-radius: 12px; }
  .mh-cred-badge svg { width: 20px; height: 20px; }
  .mh-cred-art { width: 40px; height: 40px; }
  .is-centered .mh-hero-title { font-size: 31px; }
  .mh-hero-grid.is-centered { padding-bottom: 40px; }

  .mh-final { padding: 32px 22px; border-radius: 22px; }
  .mh-final h2 { font-size: 25px; }
  .mh-final .mh-cta-row { width: 100%; }
  .mh-final .mh-cta-row .mh-btn { flex: 1 1 100%; }
  .mh-final-space { height: 70px; } /* room for the bottom "Need help?" bar */
}
.mh-swipe-hint { display: none; margin-top: 12px; font-size: 12.5px; color: var(--mh-muted); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .mh-w,
  .mh-goal { animation: none; }
  .mh-goal-track { transition: none; }
  .mh-ticker-window.is-moving ul.tickers,
  .mh-marquee-track,
  .mh-ticker-label .mh-live { animation: none; }
  .mh-ticker-window,
  .mh-marquee { overflow-x: auto; }
}
