/* ==========================================================================
   MIND MIAMI — HOME v4
   Editorial collage direction: Miami culture + strategic clarity + intelligent
   systems. This file is intentionally self-contained and replaces the layered
   v2/v3 overrides.
   ========================================================================== */

body.home-v4 {
  --navy: #000c1f;
  --navy-2: #06182d;
  --cyan: #08cdd9;
  --cyan-bright: #24e1e8;
  --paper: #f6f1ea;
  --paper-2: #eee8df;
  --ink: #080b0f;
  --muted: #56616b;
  --hairline: rgba(0, 12, 31, .18);
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --body: "Montserrat", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

body.home-v4 main {
  background-color: var(--paper);
  background-image: url("/assets/textures/offwhite-paper-texture.webp");
  background-size: 640px;
}

.home-v4 .accent { color: var(--cyan); }
.home-v4 .site-header { background: rgba(246, 241, 234, .94); color: var(--navy); }
.home-v4 .site-header .brand { color: var(--navy); }
.home-v4 .site-header .brand em { color: #56616b; }
.home-v4 .site-header nav a { color: var(--navy); }
.home-v4 .site-header .menu-button { color: var(--navy); }

.mm-scrollbar {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 80;
  width: 0;
  height: 3px;
  background: var(--cyan);
  pointer-events: none;
}

.mm-container {
  width: min(100%, 1500px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mm-paper { position: relative; }

.mm-label {
  margin: 0 0 12px;
  color: #286b70;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.mm-label.is-cyan { color: var(--cyan); }

.mm-section-title h2,
.mm-systems-copy h2,
.mm-partner-copy h2,
.mm-cta h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(44px, 5.2vw, 78px);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: .88;
  text-transform: uppercase;
}

.mm-section-title h2 span,
.mm-partner-copy h2 span { color: var(--cyan); }

.mm-scribble {
  width: min(250px, 70%);
  height: 18px;
  margin-top: 13px;
  background: url("/assets/vector/scribble-underline.svg") no-repeat left center / contain;
}

.mm-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 2px solid currentColor;
  border-radius: 3px;
  padding: 13px 22px 10px;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: .055em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform .22s ease, box-shadow .22s ease, color .22s ease, background .22s ease;
}

.mm-button:hover { transform: translate(-2px, -2px); }
.mm-button-cyan { border-color: var(--cyan); background: var(--cyan); color: var(--navy); }
.mm-button-cyan:hover { box-shadow: 6px 6px 0 rgba(255, 255, 255, .9); }
.mm-button-outline-light { border-color: rgba(255,255,255,.78); color: #fff; }
.mm-button-outline-light:hover { border-color: #fff; background: #fff; color: var(--navy); }
.mm-button-navy { border-color: var(--navy); background: var(--navy); color: #fff; }
.mm-button-navy:hover { box-shadow: 6px 6px 0 rgba(0,12,31,.22); }

.mm-text-link {
  display: inline-flex;
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 4px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Header: editorial paper instead of a dark app bar. */
body.home-v4 .site-header {
  height: 88px;
  border-bottom: 1px solid rgba(0,12,31,.12);
  box-shadow: none;
  grid-template-columns: 230px 1fr auto auto;
  transition: height .25s ease, background .25s ease, box-shadow .25s ease;
}

body.home-v4.is-scrolled .site-header {
  height: 74px;
  background: rgba(246,241,234,.96);
  box-shadow: 0 12px 30px rgba(0,12,31,.09);
}

body.home-v4 .lang-toggle {
  border-color: rgba(0,12,31,.22);
  background: rgba(0,12,31,.04);
}

body.home-v4 .lang-toggle button { color: #4b5963; }
body.home-v4 .lang-toggle button:not(.is-on):hover { color: var(--navy); }
body.home-v4 .top-cta {
  border-radius: 3px;
  background: var(--cyan);
  color: var(--navy);
  padding: 15px 22px;
}

/* Hero */
.mm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 30%, rgba(8,205,217,.12), transparent 30%),
    linear-gradient(120deg, var(--navy) 0%, #00152d 58%, #000914 100%);
  color: #fff;
}

.mm-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 52%;
  background:
    url("/assets/vector/newspaper-pattern.svg") repeat center / 260px,
    radial-gradient(circle at 50% 45%, rgba(8,205,217,.2), transparent 48%);
  opacity: .17;
  transform: rotate(2deg) scale(1.12);
}

.mm-hero::after {
  content: "";
  position: absolute;
  z-index: 7;
  right: -1%;
  bottom: -1px;
  left: -1%;
  height: 34px;
  background: var(--paper);
  clip-path: polygon(0 62%, 3% 36%, 8% 58%, 13% 29%, 19% 66%, 26% 43%, 32% 74%, 38% 31%, 44% 57%, 51% 38%, 57% 71%, 64% 40%, 70% 61%, 77% 33%, 84% 69%, 91% 42%, 96% 63%, 100% 35%, 100% 100%, 0 100%);
}

.mm-hero-inner {
  width: min(100%, 1500px);
  min-height: 715px;
  margin-inline: auto;
  padding: clamp(58px, 6.5vw, 104px) var(--gutter) clamp(86px, 8vw, 124px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  gap: clamp(35px, 5vw, 88px);
  align-items: center;
}

.mm-hero-copy { position: relative; z-index: 4; }

.mm-kicker {
  display: inline-flex;
  margin: 0 0 24px;
  border-left: 4px solid var(--cyan);
  background: #fff;
  color: var(--navy);
  padding: 10px 15px 8px;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: .09em;
  line-height: 1;
}

.mm-hero h1 {
  max-width: 730px;
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(70px, 7.1vw, 118px);
  font-weight: 400;
  letter-spacing: .005em;
  line-height: .83;
  text-transform: uppercase;
}

.mm-hero h1 span { display: block; }
.mm-hero h1 .accent { color: var(--cyan); }

.mm-hero-statement {
  margin: 25px 0 13px;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(23px, 2.4vw, 35px);
  letter-spacing: .035em;
  line-height: 1;
  text-transform: uppercase;
}

.mm-hero-lead {
  max-width: 600px;
  margin: 0;
  color: #cbd8df;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
}

.mm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.mm-hero-proof {
  max-width: 700px;
  margin: 42px 0 0;
  padding: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.17);
  list-style: none;
}

.mm-hero-proof li {
  min-height: 54px;
  padding-right: 17px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 9px;
  border-right: 1px solid rgba(255,255,255,.17);
}

.mm-hero-proof li + li { padding-left: 17px; }
.mm-hero-proof li:last-child { border-right: 0; }
.mm-hero-proof b {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
}
.mm-hero-proof span {
  color: #aebec8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.mm-hero-visual {
  min-width: 0;
  position: relative;
  z-index: 2;
  padding: 24px 10px 26px 28px;
}

.mm-hero-collage {
  margin: 0;
  position: relative;
  transform: rotate(1.2deg);
}

.mm-hero-collage::before {
  content: "";
  position: absolute;
  inset: 6% -4% -5% 4%;
  z-index: -1;
  background: var(--cyan);
  clip-path: polygon(2% 8%, 94% 0, 100% 86%, 91% 100%, 0 92%);
  transform: rotate(-2.4deg);
}

.mm-hero-collage::after {
  content: "";
  position: absolute;
  inset: -16px 12% auto 8%;
  height: 35px;
  background: rgba(246,241,234,.78);
  box-shadow: 0 2px 5px rgba(0,0,0,.22);
  transform: rotate(-4deg);
}

.mm-hero-collage img {
  width: 100%;
  display: block;
  border: 1px solid rgba(255,255,255,.19);
  filter: contrast(1.04);
  box-shadow: 24px 30px 0 rgba(0,0,0,.16);
}

.mm-bolt-card {
  position: absolute;
  top: 0;
  right: -4%;
  width: clamp(76px, 8vw, 118px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--paper);
  clip-path: polygon(5% 8%, 92% 0, 100% 87%, 82% 100%, 0 94%);
  transform: rotate(7deg);
  filter: drop-shadow(8px 10px 0 rgba(0,0,0,.3));
}

.mm-bolt-card svg { width: 48%; height: 68%; }

.mm-growth-stamp {
  position: absolute;
  right: 0;
  bottom: -4%;
  width: clamp(124px, 13vw, 175px);
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(0,12,31,.92);
  color: #fff;
  text-align: center;
  transform: rotate(-9deg);
  box-shadow: 0 0 0 7px rgba(8,205,217,.18);
}

.mm-growth-stamp span {
  font-family: var(--display);
  font-size: clamp(15px, 1.4vw, 21px);
  letter-spacing: .03em;
  line-height: .9;
}

.mm-art-formula {
  position: absolute;
  left: -2%;
  bottom: -2%;
  margin: 0;
  background: var(--cyan);
  color: var(--navy);
  padding: 9px 13px 7px;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: .06em;
  transform: rotate(-4deg);
}

/* Ribbon */
.mm-ribbon {
  overflow: hidden;
  border-block: 2px solid var(--navy);
  background: var(--cyan);
  color: var(--navy);
}

.mm-ribbon-track {
  width: max-content;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 3px;
  animation: mm-ribbon 32s linear infinite;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: .06em;
}

.mm-ribbon-track i { font-style: normal; font-size: 13px; }
@keyframes mm-ribbon { to { transform: translateX(-50%); } }

/* Intro */
.mm-intro { padding: clamp(90px, 10vw, 158px) 0 clamp(72px, 8vw, 120px); }

.mm-intro-grid {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
  gap: clamp(45px, 8vw, 130px);
  align-items: start;
}

.mm-large-copy {
  max-width: 780px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(20px, 2.1vw, 31px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.42;
}

.mm-principles {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--hairline);
}

.mm-principles article { padding: 25px 24px 25px 0; }
.mm-principles article + article {
  border-left: 1px solid var(--hairline);
  padding-left: 24px;
}

.mm-principles b {
  color: var(--navy);
  font-size: 11px;
  letter-spacing: .18em;
}

.mm-principles p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Services */
.mm-services { padding: clamp(70px, 8vw, 125px) 0 clamp(92px, 10vw, 158px); }

.mm-heading-row {
  margin-bottom: clamp(44px, 5vw, 78px);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 8vw, 130px);
  align-items: end;
}

.mm-heading-copy {
  max-width: 520px;
  justify-self: end;
}

.mm-heading-copy p {
  margin: 0 0 23px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.mm-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--navy);
  border-left: 1px solid var(--navy);
}

.mm-service-card {
  min-height: 510px;
  position: relative;
  padding: 24px 24px 28px;
  display: grid;
  grid-template-rows: auto 220px 1fr;
  border-right: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
  background: rgba(255,255,255,.34);
  color: inherit;
  transition: background .28s ease, transform .28s ease, box-shadow .28s ease;
}

.mm-service-card:hover {
  z-index: 2;
  background: #fff;
  transform: translate(-5px, -5px);
  box-shadow: 8px 8px 0 var(--cyan);
}

.mm-service-number {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 27px;
}

.mm-service-art {
  position: relative;
  margin: 5px 0 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--paper-2);
  clip-path: polygon(2% 5%, 98% 0, 100% 92%, 94% 100%, 0 96%);
}

.mm-service-art::before {
  content: "";
  position: absolute;
  inset: 10% 14%;
  background: var(--cyan);
  clip-path: polygon(4% 35%, 14% 8%, 42% 0, 66% 9%, 96% 2%, 100% 42%, 91% 77%, 100% 95%, 64% 100%, 34% 90%, 4% 100%, 0 62%);
  transform: rotate(-3deg);
}

.mm-service-art.is-dark { background: var(--navy); }
.mm-service-art.is-dark::before { background: rgba(8,205,217,.3); }
.mm-service-art.is-cyan { background: var(--cyan); }
.mm-service-art.is-cyan::before { background: var(--paper); opacity: .7; }

.mm-service-art img {
  position: relative;
  z-index: 1;
  max-width: 88%;
  max-height: 190px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05) drop-shadow(6px 8px 0 rgba(0,12,31,.18));
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}

.mm-service-art.is-dark img { filter: none; }
.mm-service-card:hover .mm-service-art img { transform: translateY(-5px) rotate(-2deg) scale(1.045); }

.mm-tape {
  position: absolute;
  z-index: 3;
  top: -4px;
  left: 50%;
  width: 78px;
  height: 23px;
  background: rgba(246,241,234,.8);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transform: translateX(-50%) rotate(-4deg);
}

.mm-service-tag {
  margin: 0 0 5px;
  color: #247078;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .22em;
}

.mm-service-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(28px, 2.7vw, 39px);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: .95;
}

.mm-service-card > div:last-of-type > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.mm-card-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: var(--navy);
  font-size: 22px;
  transition: color .2s ease, transform .2s ease;
}

.mm-service-card:hover .mm-card-arrow { color: var(--cyan); transform: translate(2px, -2px); }

/* Systems */
.mm-systems {
  position: relative;
  overflow: hidden;
  padding: clamp(120px, 12vw, 180px) 0 clamp(95px, 10vw, 150px);
  background:
    linear-gradient(rgba(8,205,217,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,205,217,.045) 1px, transparent 1px),
    var(--navy);
  background-size: 58px 58px;
  color: #fff;
}

.mm-systems::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -30%;
  width: 58%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(8,205,217,.16), transparent 62%);
  pointer-events: none;
}

.mm-torn-top {
  position: absolute;
  inset: -1px -1% auto;
  height: 36px;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% 32%, 96% 65%, 91% 29%, 85% 70%, 78% 35%, 71% 66%, 64% 31%, 57% 73%, 50% 38%, 43% 68%, 35% 30%, 29% 72%, 22% 35%, 14% 69%, 8% 30%, 3% 63%, 0 36%);
}

.mm-systems-grid {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  gap: clamp(50px, 8vw, 125px);
  align-items: center;
}

.mm-systems-copy h2 { color: #fff; font-size: clamp(48px, 5.7vw, 84px); }
.mm-systems-copy h2 span { color: var(--cyan); }
.mm-systems-copy > p:not(.mm-label) {
  max-width: 590px;
  margin: 26px 0 30px;
  color: #b9c8d1;
  font-size: 16px;
  line-height: 1.75;
}

.mm-product-stack {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: end;
}

.mm-product-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  background: #08192b;
  box-shadow: 16px 18px 0 rgba(0,0,0,.18);
  transform: rotate(-1.5deg);
}

.mm-product-card.is-neuron { transform: translateY(36px) rotate(1.5deg); }

.mm-product-head {
  padding: 16px 18px 13px;
  display: grid;
  grid-template-columns: 9px 1fr;
  gap: 9px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.mm-live-dot {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.mm-product-head p {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: .07em;
}

.mm-product-head small {
  grid-column: 2;
  color: #8fa4b0;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .17em;
}

.mm-product-card > img {
  width: 100%;
  aspect-ratio: 1.15;
  display: block;
  object-fit: cover;
}

.mm-product-foot {
  padding: 13px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mm-product-foot span {
  border: 1px solid rgba(8,205,217,.28);
  padding: 5px 7px;
  color: #a7bbc5;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .12em;
}

/* Work */
.mm-work { padding: clamp(100px, 10vw, 155px) 0; }

.mm-work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.mm-work-card {
  min-height: 435px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  border: 1px solid var(--navy);
  background: rgba(255,255,255,.45);
  transition: transform .28s ease, box-shadow .28s ease;
}

.mm-work-card:hover { transform: translateY(-5px); box-shadow: 8px 9px 0 var(--cyan); }

.mm-work-card.is-wide { grid-column: span 2; grid-template-columns: 1.25fr .75fr; }

.mm-work-media {
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    url("/assets/vector/newspaper-pattern.svg") repeat center / 230px,
    var(--paper-2);
}

.mm-work-media.is-navy { background: var(--navy); }
.mm-work-media.is-cyan { background: var(--cyan); }
.mm-work-media.is-night { background: #05070b; }

.mm-work-media img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: contain;
  padding: 25px;
  transition: transform .55s ease;
}

.mm-work-card:hover .mm-work-media img { transform: scale(1.045) rotate(-1deg); }

.mm-work-info {
  padding: clamp(28px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mm-work-info p {
  margin: 0 0 10px;
  color: #29717a;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .22em;
}

.mm-work-info h3 {
  margin: 0 0 13px;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: .9;
}

.mm-work-info span { color: var(--muted); font-size: 12px; line-height: 1.5; }

.mm-work-note {
  max-width: 780px;
  margin: 24px 0 0 auto;
  color: #727b82;
  font-size: 10px;
  font-style: italic;
  line-height: 1.55;
  text-align: right;
}

/* Process */
.mm-process { padding: clamp(90px, 9vw, 145px) 0; border-top: 1px solid var(--hairline); }
.mm-process .mm-section-title { max-width: 800px; }

.mm-process-grid {
  margin: clamp(52px, 6vw, 88px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
  list-style: none;
}

.mm-process-step {
  min-height: 290px;
  position: relative;
  padding: 30px 28px;
  border-right: 1px solid var(--navy);
}

.mm-process-step:last-child { border-right: 0; }
.mm-process-step::after {
  content: "→";
  position: absolute;
  top: 35px;
  right: -13px;
  z-index: 2;
  width: 26px;
  background: var(--paper);
  color: var(--navy);
  text-align: center;
}
.mm-process-step:last-child::after { display: none; }

.mm-process-step b {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 47px;
  font-weight: 400;
}

.mm-process-step h3 {
  margin: 55px 0 10px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 29px;
  font-weight: 400;
  letter-spacing: .04em;
}

.mm-process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* Industries */
.mm-industries {
  padding: clamp(90px, 9vw, 142px) 0;
  background: var(--navy);
  color: #fff;
}

.mm-industries-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}

.mm-industries .mm-section-title h2 { color: #fff; }
.mm-industries .mm-section-title > p:last-child {
  max-width: 530px;
  margin: 25px 0 0;
  color: #aebec8;
  font-size: 15px;
  line-height: 1.7;
}

.mm-industry-cloud {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: center;
  list-style: none;
}

.mm-industry-cloud li {
  border: 1px solid rgba(255,255,255,.3);
  padding: 15px 18px 12px;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 29px);
  letter-spacing: .045em;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.mm-industry-cloud li:nth-child(3n + 1) { transform: rotate(-1.5deg); }
.mm-industry-cloud li:nth-child(3n + 2) { transform: rotate(1.2deg); }
.mm-industry-cloud li:hover {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--navy);
  transform: translateY(-3px);
}

/* Partner */
.mm-partner { padding: clamp(105px, 11vw, 170px) 0; }

.mm-partner-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: clamp(55px, 8vw, 125px);
  align-items: center;
}

.mm-partner-art { min-height: 560px; position: relative; display: grid; place-items: center; }
.mm-cyan-swipe {
  position: absolute;
  inset: 15% 3% 18% 1%;
  background: var(--cyan);
  clip-path: polygon(0 30%, 13% 6%, 43% 0, 68% 8%, 96% 2%, 100% 36%, 91% 72%, 100% 94%, 64% 100%, 31% 90%, 5% 100%);
  transform: rotate(-4deg);
}

.mm-partner-art img {
  width: 94%;
  position: relative;
  z-index: 2;
  filter: grayscale(1) contrast(1.08) drop-shadow(13px 16px 0 rgba(0,12,31,.2));
  transform: rotate(-2deg);
}

.mm-partner-art blockquote {
  position: absolute;
  right: -2%;
  bottom: 3%;
  z-index: 3;
  max-width: 230px;
  margin: 0;
  border: 2px solid var(--navy);
  background: var(--paper);
  box-shadow: 7px 8px 0 var(--navy);
  padding: 21px 23px 18px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 29px;
  line-height: .9;
  text-transform: uppercase;
  transform: rotate(4deg);
}

.mm-partner-copy h2 { font-size: clamp(46px, 5.4vw, 80px); }

.mm-partner-copy ul {
  margin: 38px 0 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
  list-style: none;
}

.mm-partner-copy li {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  border-bottom: 1px solid var(--hairline);
}

.mm-partner-copy li b {
  color: var(--navy);
  font-size: 10px;
  letter-spacing: .16em;
}

.mm-partner-copy li span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* CTA */
.mm-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(75px, 8vw, 120px) 0;
  background:
    url("/assets/textures/cyan-paper-texture.webp") repeat center / 640px,
    var(--cyan);
  color: var(--navy);
}

.mm-cta::after {
  content: "";
  position: absolute;
  right: -2%;
  bottom: -42%;
  width: 34%;
  height: 120%;
  background: url("/assets/vector/newspaper-pattern.svg") repeat center / 250px;
  opacity: .24;
  transform: rotate(-7deg);
}

.mm-cta-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(45px, 8vw, 125px);
  align-items: center;
}

.mm-cta h2 { font-size: clamp(52px, 6.5vw, 96px); }
.mm-cta h2 span {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 3px 11px 0;
}

.mm-cta-copy > p {
  max-width: 560px;
  margin: 0;
  color: #083a40;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.mm-cta-copy .mm-actions { align-items: center; }
.mm-email-link {
  border-bottom: 2px solid var(--navy);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}

.mm-cta-copy small {
  display: block;
  margin-top: 16px;
  color: #17636a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Footer */
body.home-v4 .mm-footer {
  background: var(--navy);
  color: #cbd8df;
}

body.home-v4 .mm-footer .brand { color: #fff; }
body.home-v4 .mm-footer .brand em { color: #91a5b0; }
body.home-v4 .mm-footer nav a { color: #dce6eb; }
body.home-v4 .mm-footer .footer-meta {
  color: #8fa3ae;
  border-top-color: rgba(255,255,255,.12);
}

.mm-mobile-cta { display: none; }

/* Motion: content remains visible without JS. */
.js-motion .mm-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .65s cubic-bezier(.22,.61,.36,1), transform .72s cubic-bezier(.22,.61,.36,1);
}

.js-motion .mm-reveal.is-revealed { opacity: 1; transform: none; }
.js-motion [data-stagger] .mm-reveal:nth-child(2) { transition-delay: .07s; }
.js-motion [data-stagger] .mm-reveal:nth-child(3) { transition-delay: .14s; }
.js-motion [data-stagger] .mm-reveal:nth-child(4) { transition-delay: .21s; }
.js-motion [data-stagger] .mm-reveal:nth-child(5) { transition-delay: .28s; }
.js-motion [data-stagger] .mm-reveal:nth-child(6) { transition-delay: .35s; }

.js-motion .mm-hero-copy > * {
  opacity: 0;
  animation: mm-rise .62s cubic-bezier(.22,.61,.36,1) forwards;
}
.js-motion .mm-hero-copy > *:nth-child(1) { animation-delay: .04s; }
.js-motion .mm-hero-copy > *:nth-child(2) { animation-delay: .13s; }
.js-motion .mm-hero-copy > *:nth-child(3) { animation-delay: .22s; }
.js-motion .mm-hero-copy > *:nth-child(4) { animation-delay: .31s; }
.js-motion .mm-hero-copy > *:nth-child(5) { animation-delay: .4s; }
.js-motion .mm-hero-copy > *:nth-child(6) { animation-delay: .49s; }

@keyframes mm-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1120px) {
  .mm-hero-inner { grid-template-columns: 1fr 1fr; }
  .mm-hero h1 { font-size: clamp(64px, 8vw, 92px); }
  .mm-service-card { min-height: 485px; }
  .mm-systems-grid { grid-template-columns: 1fr; }
  .mm-product-stack { max-width: 820px; }
  .mm-partner-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  body.home-v4 .site-header { grid-template-columns: 205px 1fr auto; }
  body.home-v4 .site-header nav { gap: 18px; }
  body.home-v4 .top-cta { display: none; }

  .mm-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 70px;
  }
  .mm-hero-copy { max-width: 760px; }
  .mm-hero-visual { max-width: 760px; }
  .mm-intro-grid,
  .mm-heading-row,
  .mm-industries-grid,
  .mm-partner-grid,
  .mm-cta-grid { grid-template-columns: 1fr; }
  .mm-heading-copy { justify-self: start; }
  .mm-service-grid { grid-template-columns: repeat(2, 1fr); }
  .mm-work-card,
  .mm-work-card.is-wide { grid-column: span 1; grid-template-columns: 1fr; }
  .mm-work-media { min-height: 270px; }
  .mm-process-grid { grid-template-columns: repeat(2, 1fr); }
  .mm-process-step:nth-child(2) { border-right: 0; }
  .mm-process-step:nth-child(-n+2) { border-bottom: 1px solid var(--navy); }
  .mm-process-step:nth-child(2)::after { display: none; }
  .mm-partner-art { max-width: 720px; }
}

@media (max-width: 760px) {
  body.home-v4 { padding-bottom: 58px; }
  body.home-v4 .site-header {
    height: 72px;
    grid-template-columns: 1fr auto auto;
    padding-inline: 18px;
  }
  body.home-v4.is-scrolled .site-header { height: 68px; }
  body.home-v4 .site-header nav {
    top: 72px;
    background: rgba(0,12,31,.985);
  }
  body.home-v4 .site-header nav a { color: #fff; }
  body.home-v4 .site-header .lang-toggle { order: 2; }
  body.home-v4 .site-header .menu-button { order: 3; }

  .mm-container { padding-inline: 20px; }
  .mm-hero-inner { padding: 54px 20px 86px; gap: 52px; }
  .mm-hero::before { inset: 45% 0 0; }
  .mm-hero h1 { font-size: clamp(59px, 19vw, 88px); }
  .mm-kicker { font-size: 13px; }
  .mm-hero-statement { font-size: 24px; }
  .mm-hero-lead { font-size: 15px; }
  .mm-actions { align-items: stretch; }
  .mm-hero .mm-button { width: 100%; }
  .mm-hero-proof { grid-template-columns: 1fr; gap: 13px; }
  .mm-hero-proof li,
  .mm-hero-proof li + li {
    min-height: 0;
    padding: 0 0 13px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.13);
  }
  .mm-hero-proof li:last-child { border-bottom: 0; }
  .mm-hero-visual { padding: 10px 14px 34px 5px; }
  .mm-bolt-card { right: -2%; }
  .mm-growth-stamp { right: -2%; bottom: -7%; }
  .mm-art-formula { left: 0; bottom: -4%; font-size: 13px; }

  .mm-ribbon-track { min-height: 46px; font-size: 17px; }
  .mm-intro { padding-top: 82px; }
  .mm-section-title h2,
  .mm-systems-copy h2,
  .mm-partner-copy h2,
  .mm-cta h2 { font-size: clamp(43px, 14vw, 64px); }
  .mm-large-copy { font-size: 19px; }
  .mm-principles { grid-template-columns: 1fr; }
  .mm-principles article,
  .mm-principles article + article {
    padding: 20px 0;
    border-left: 0;
    border-bottom: 1px solid var(--hairline);
  }
  .mm-principles article:last-child { border-bottom: 0; }

  .mm-service-grid { grid-template-columns: 1fr; }
  .mm-service-card { min-height: 470px; }
  .mm-service-art { height: 205px; }
  .mm-product-stack { grid-template-columns: 1fr; gap: 20px; }
  .mm-product-card,
  .mm-product-card.is-neuron { transform: none; }
  .mm-systems { padding-top: 115px; }

  .mm-work-grid { grid-template-columns: 1fr; }
  .mm-work-card { min-height: 0; }
  .mm-work-info { min-height: 210px; }
  .mm-work-note { text-align: left; }

  .mm-process-grid { grid-template-columns: 1fr; }
  .mm-process-step,
  .mm-process-step:nth-child(-n+2) {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--navy);
  }
  .mm-process-step:last-child { border-bottom: 0; }
  .mm-process-step::after { display: none; }
  .mm-process-step h3 { margin-top: 32px; }

  .mm-industry-cloud li { padding: 12px 14px 9px; font-size: 21px; }
  .mm-partner-art { min-height: 390px; }
  .mm-partner-art blockquote { right: 0; max-width: 170px; font-size: 23px; }
  .mm-partner-copy li { grid-template-columns: 1fr; gap: 8px; }
  .mm-cta-copy .mm-actions { display: grid; }
  .mm-email-link { justify-self: start; }

  .mm-mobile-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 70;
    height: 58px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    border-top: 2px solid var(--navy);
    background: var(--paper);
  }
  .mm-mobile-cta a {
    display: grid;
    place-items: center;
    color: var(--navy);
    font-family: var(--display);
    font-size: 15px;
    letter-spacing: .05em;
  }
  .mm-mobile-cta a:first-child { background: var(--cyan); }
  .mm-mobile-cta a + a { border-left: 2px solid var(--navy); }
}

@media (prefers-reduced-motion: reduce) {
  .mm-ribbon-track,
  .js-motion .mm-hero-copy > * { animation: none !important; }
  .js-motion .mm-reveal,
  .js-motion .mm-hero-copy > * { opacity: 1 !important; transform: none !important; }
}
