/* About page — Figma 1440 / 390. Scoped to .mm-about so it does not leak. */

.mm-about-page {
  overflow-x: hidden;
}

/* About page: solid lavender nav like Figma, not the 40% overlay. */
body.mm-about-page .ps-navigation:before {
  background: #b1a9d5;
  opacity: 1;
}

.mm-about {
  --mm-text: #171526;
  --mm-muted: #6b6578;
  --mm-label: #8b8494;
  --mm-card: #f5f3f7;
  --mm-purple: #916394;
  --mm-btn: #ab5e90;
  --mm-link: #b0588f;
  --mm-white: #ffffff;
  --mm-radius: 24px;
  --mm-radius-sm: 20px;
  --mm-gap: 12px;
  --mm-pad: 96px;
  background: #fff;
  color: var(--mm-text);
  font-family: "DIN Pro", Arial, sans-serif;
  font-weight: 400;
}

.mm-about *,
.mm-about *::before,
.mm-about *::after {
  box-sizing: border-box;
}

.mm-about h1,
.mm-about h2,
.mm-about h3,
.mm-about p,
.mm-about ul,
.mm-about li {
  margin: 0;
  padding: 0;
  position: static;
}

.mm-about h1::after,
.mm-about h2::after,
.mm-about h3::after {
  content: none;
}

.mm-about .mm-sectionhead {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
}

.mm-about ul {
  list-style: none;
}

.mm-about a {
  color: inherit;
  text-decoration: none;
}

.mm-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

.mm-about .mm-video__img,
.mm-about .mm-team__img,
.mm-about .mm-craft__img,
.mm-about .mm-media__img,
.mm-about .mm-reviews__img,
.mm-about .mm-facts__sailor-img,
.mm-about .mm-clients__logo,
.mm-about .mm-why__icon {
  height: auto;
}

.mm-about .mm-video__img,
.mm-about .mm-team__img,
.mm-about .mm-craft__img,
.mm-about .mm-media__img,
.mm-about .mm-reviews__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-about a:focus-visible,
.mm-about button:focus-visible {
  outline: 2px solid var(--mm-purple);
  outline-offset: 3px;
}

.mm-wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--mm-pad);
}

/* ---------- Video ---------- */

.mm-video {
  padding: 16px 0 12px;
}

.mm-video__stage {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1248 / 800;
  background: #c9b8c4;
}

.mm-video__nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 52px;
  padding: 0 96px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #b1a9d5;
}

.mm-video__nav-left,
.mm-video__nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.mm-video__nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1 1 auto;
}

.mm-video__nav a {
  color: #fff;
}

.mm-video__burger {
  width: 18px;
  height: 12px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.mm-video__burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.mm-video__search {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  position: relative;
}

.mm-video__search::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  background: #fff;
  right: -5px;
  bottom: -2px;
  transform: rotate(45deg);
}

.mm-video__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-video__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  z-index: 2;
}

.mm-video__play:disabled {
  cursor: default;
}

.mm-video__play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #171526;
  margin-left: 3px;
}

.mm-about .mm-video__caption {
  position: absolute;
  left: 40px;
  bottom: 32px;
  z-index: 2;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Facts mosaic ---------- */

.mm-facts {
  padding: 12px 0 48px;
}

.mm-facts__grid {
  display: grid;
  grid-template-columns: 1.08fr 1.08fr 0.96fr;
  grid-template-rows: auto 1fr;
  gap: var(--mm-gap);
}

.mm-facts__card {
  position: relative;
  display: block;
  background: var(--mm-card);
  border-radius: var(--mm-radius);
  padding: 28px 32px 28px;
  min-height: 0;
  color: var(--mm-text);
}

.mm-facts__card--white {
  background: #fff;
  box-shadow: inset 0 0 0 1px #eceaf1;
}

.mm-facts__idea {
  grid-column: 1 / 3;
  grid-row: 1;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 8px;
  align-items: stretch;
  padding: 8px 32px 8px 12px;
  min-height: 240px;
  overflow: visible;
}

.mm-facts__sailor {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.mm-facts__sailor-img {
  max-height: 236px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center top;
}

.mm-facts__idea-copy {
  padding: 12px 8px 12px 16px;
}

.mm-facts__since {
  grid-column: 3;
  grid-row: 1;
  padding: 22px 24px;
}

.mm-facts__cycle {
  grid-column: 1;
  grid-row: 2;
  min-height: 220px;
  padding-right: 72px;
}

.mm-facts__geo {
  grid-column: 2;
  grid-row: 2;
  min-height: 220px;
}

.mm-facts__projects {
  grid-column: 3;
  grid-row: 2;
  background: var(--mm-purple);
  color: #fff;
  min-height: 220px;
  padding: 28px 28px 24px;
}

.mm-facts__label {
  display: none;
}

.mm-about .mm-facts__title {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.mm-facts__text {
  font-size: 15px;
  line-height: 1.45;
  color: var(--mm-muted);
  max-width: 36em;
}

.mm-facts__since-title {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.mm-about .mm-facts__metric {
  font-size: 56px;
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: #fff;
}

.mm-about .mm-facts__projects-title {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 48px;
  color: #fff;
}

.mm-about .mm-facts__projects-text {
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
  max-width: 18em;
  margin-top: auto;
}

.mm-facts__projects {
  display: flex;
  flex-direction: column;
}

.mm-facts__arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #171526;
}

.mm-facts__arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, 1px);
}

.mm-facts__arrow--light {
  background: #fff;
}

.mm-facts__arrow--light::after {
  border-color: var(--mm-purple);
}

/* ---------- Section chrome ---------- */

.mm-eyebrow {
  display: none;
}

.mm-about .mm-h2 {
  font-size: 48px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--mm-text);
}

.mm-h2--stack {
  max-width: 9em;
}

.mm-lead {
  font-size: 16px;
  line-height: 1.45;
  color: var(--mm-muted);
  max-width: 22em;
}

.mm-sectionhead {
  margin-bottom: 36px;
}

.mm-sectionhead__row,
.mm-sectionhead--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.mm-more {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
}

.mm-more a {
  color: var(--mm-link);
}

.mm-more a:hover {
  text-decoration: underline;
}

/* ---------- Team ---------- */

.mm-team {
  padding: 40px 0 24px;
}

.mm-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 16px;
}

.mm-team__card {
  display: block;
}

.mm-team__photo {
  position: relative;
  border-radius: var(--mm-radius-sm);
  overflow: hidden;
  background: #f3f1f5;
  aspect-ratio: 400 / 420;
}

.mm-team__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.mm-team__img--hover {
  opacity: 0;
  transition: opacity 300ms ease;
}

.mm-team__card:hover .mm-team__img--hover,
.mm-team__card:focus-visible .mm-team__img--hover {
  opacity: 1;
}

.mm-about .mm-team__name {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.mm-about .mm-team__role {
  margin-top: 4px;
  font-size: 14px;
  color: var(--mm-muted);
  line-height: 1.35;
}

@media (hover: none) {
  .mm-team__img--hover {
    display: none;
  }
}

/* ---------- Why ---------- */

.mm-why {
  padding: 48px 0 24px;
}

.mm-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}

.mm-why__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 18px;
}

.mm-why__title {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 10px;
}

.mm-why__text {
  font-size: 15px;
  line-height: 1.45;
  color: var(--mm-muted);
}

/* ---------- Craft ---------- */

.mm-craft {
  padding: 40px 0 24px;
}

.mm-craft__panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: center;
  background: var(--mm-card);
  border-radius: 28px;
  padding: 48px 40px;
}

.mm-craft .mm-h2 {
  font-size: 56px;
  margin-bottom: 20px;
}

.mm-about .mm-craft__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mm-about .mm-craft__text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--mm-muted);
  max-width: 28em;
  margin: 0 0 16px;
}

.mm-about .mm-craft__copy > .mm-btn {
  margin-top: 24px;
}

.mm-craft__features {
  margin-bottom: 28px;
}

.mm-craft__features li {
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--mm-text);
}

.mm-about .mm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 45px;
  min-height: 45px;
  padding: 0 24px;
  border: 0;
  border-radius: 44px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none !important;
  appearance: none;
}

.mm-about a.mm-btn,
.mm-about a.mm-btn--purple,
.mm-btn--purple {
  background: linear-gradient(90deg, #9c578c 0%, #0df2f6 100%);
  color: #fff !important;
}

.mm-about a.mm-btn:hover,
.mm-btn--purple:hover {
  filter: brightness(1.03);
}

.mm-craft__media {
  border-radius: 20px;
  overflow: hidden;
}

.mm-craft__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 11;
}

/* ---------- Clients ---------- */

.mm-clients {
  padding: 48px 0 24px;
}

.mm-clients .mm-h2 {
  margin-bottom: 16px;
}

.mm-clients__lead {
  font-size: 16px;
  line-height: 1.45;
  color: var(--mm-muted);
  max-width: 36em;
  margin-bottom: 28px;
}

.mm-clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #eceaf1;
  border-radius: 16px;
  overflow: hidden;
}

.mm-clients__item {
  border-right: 1px solid #eceaf1;
  border-bottom: 1px solid #eceaf1;
}

.mm-clients__item:nth-child(4n) {
  border-right: 0;
}

.mm-clients__item:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.mm-clients__card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 16px 20px;
  background: #fff;
}

.mm-clients__logo {
  max-height: 40px;
  width: auto;
  max-width: 70%;
  object-fit: contain;
  filter: none;
}

/* ---------- Media ---------- */

.mm-media {
  padding: 48px 0 24px;
}

.mm-media__grid,
.mm-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mm-media__card {
  display: block;
  background: var(--mm-card);
  border-radius: var(--mm-radius-sm);
  overflow: hidden;
  height: 100%;
}

.mm-media__cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #2a1840;
}

.mm-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-media__body {
  padding: 18px 20px 22px;
}

.mm-media__source {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mm-link);
  font-weight: 600;
  margin-bottom: 10px;
}

.mm-media__title {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 28px;
}

.mm-media__more {
  font-size: 14px;
  color: var(--mm-link);
  font-weight: 500;
}

/* ---------- Reviews ---------- */

.mm-reviews {
  padding: 40px 0 72px;
}

.mm-reviews__card {
  background: var(--mm-card);
  border-radius: var(--mm-radius-sm);
  padding: 16px 16px 20px;
  height: 100%;
}

.mm-reviews__preview {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin-bottom: 16px;
}

.mm-reviews__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.mm-reviews__name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.mm-reviews__open {
  font-size: 14px;
  color: var(--mm-muted);
}

.mm-reviews__open:hover {
  color: var(--mm-link);
}

/* ---------- Video dialog ---------- */

.mm-videodialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(960px, 92vw);
  width: 100%;
}

.mm-videodialog::backdrop {
  background: rgba(23, 21, 38, 0.72);
}

.mm-videodialog__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.mm-videodialog__frame iframe,
.mm-videodialog__frame video {
  width: 100%;
  height: 100%;
  border: 0;
}

.mm-videodialog__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* ---------- Snap carousels (mobile) ---------- */

.mm-snap__track {
  list-style: none;
}

/* ---------- Breakpoints ---------- */

@media (max-width: 1280px) {
  .mm-about {
    --mm-pad: 48px;
  }

  .mm-h2,
  .mm-craft .mm-h2 {
    font-size: clamp(32px, 4vw, 48px);
  }

  .mm-facts__title {
    font-size: clamp(24px, 2.6vw, 32px);
  }

  .mm-facts__idea {
    grid-template-columns: 260px 1fr;
  }
}

@media (max-width: 1024px) {
  .mm-about {
    --mm-pad: 24px;
  }

  .mm-facts__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .mm-facts__idea {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .mm-facts__since,
  .mm-facts__cycle,
  .mm-facts__geo,
  .mm-facts__projects {
    grid-column: auto;
    grid-row: auto;
  }

  .mm-why__grid {
    grid-template-columns: 1fr 1fr;
  }

  .mm-craft__panel {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .mm-sectionhead__row,
  .mm-sectionhead--split {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .mm-about {
    --mm-pad: 16px;
    --mm-radius: 20px;
  }

  .mm-video__stage {
    aspect-ratio: 4 / 5;
  }

  .mm-video__nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mm-video__nav-list {
    display: none;
  }

  .mm-facts__grid {
    grid-template-columns: 1fr;
  }

  .mm-facts__idea,
  .mm-facts__since,
  .mm-facts__cycle,
  .mm-facts__geo,
  .mm-facts__projects {
    grid-column: 1;
    grid-row: auto;
  }

  .mm-facts__idea {
    grid-template-columns: 1fr;
    padding: 12px 20px 20px;
    min-height: 0;
  }

  .mm-facts__sailor {
    min-height: 200px;
    height: auto;
    order: -1;
  }

  .mm-facts__sailor-img {
    max-height: 210px;
  }

  .mm-facts__idea-copy {
    padding: 0;
  }

  .mm-team__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 10px;
  }

  .mm-why__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mm-snap {
    margin-right: calc(var(--mm-pad) * -1);
  }

  .mm-snap__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-right: var(--mm-pad);
    scrollbar-width: none;
  }

  .mm-snap__track::-webkit-scrollbar {
    display: none;
  }

  .mm-snap__slide {
    flex: 0 0 72%;
    scroll-snap-align: start;
    min-width: 0;
  }

  .mm-media__grid,
  .mm-reviews__grid {
    display: flex;
  }
}

@media (max-width: 767px) {
  .mm-about {
    --mm-pad: 16px;
    --mm-radius: 20px;
  }

  .mm-video {
    padding-top: 8px;
  }

  .mm-video__stage {
    aspect-ratio: 4 / 5;
    border-radius: 20px;
  }

  .mm-video__caption {
    left: 16px;
    bottom: 16px;
    font-size: 13px;
  }

  .mm-video__play {
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
  }

  .mm-facts {
    padding-bottom: 32px;
  }

  .mm-facts__grid {
    gap: 10px;
  }

  .mm-facts__title {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .mm-facts__metric {
    font-size: 48px;
  }

  .mm-facts__projects-title {
    margin-bottom: 24px;
  }

  .mm-facts__cycle,
  .mm-facts__geo,
  .mm-facts__projects,
  .mm-facts__since {
    min-height: 0;
  }

  .mm-h2 {
    font-size: 32px;
  }

  .mm-h2--stack {
    max-width: none;
  }

  .mm-team__name,
  .mm-team__role {
    overflow: visible;
    white-space: normal;
  }

  .mm-clients__grid {
    grid-template-columns: 1fr 1fr;
  }

  .mm-clients__item:nth-child(4n) {
    border-right: 1px solid #eceaf1;
  }

  .mm-clients__item:nth-child(2n) {
    border-right: 0;
  }

  .mm-clients__item:nth-last-child(-n + 4) {
    border-bottom: 1px solid #eceaf1;
  }

  .mm-clients__item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .mm-reviews {
    padding-bottom: 48px;
  }
}

@media (max-width: 390px) {
  .mm-about {
    --mm-pad: 16px;
  }

  .mm-facts__title {
    font-size: 24px;
  }

  .mm-snap__slide {
    flex-basis: 82%;
  }
}
