/* ==========================================================================
   Makhmal — About page
   ========================================================================== */

.mk-about-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(480px, 62vw, 640px);
  display: flex;
  align-items: center;
  padding-block: 120px 64px;
  overflow: hidden;
  background: var(--mk-color-bg);
}

.mk-about-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.mk-about-hero__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.02);
}

.mk-about-hero__media-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 15%, color-mix(in srgb, var(--mk-blue-highlight) 45%, transparent) 0%, transparent 55%),
    linear-gradient(195deg, color-mix(in srgb, var(--mk-indigo) 60%, transparent) 0%, rgba(19, 15, 36, 0.72) 55%, rgba(15, 12, 28, 0.9) 100%);
}

.mk-about-hero__deco {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.mk-about-hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.28);
}

.mk-about-hero__ring--1 { width: 340px; height: 340px; top: -120px; inset-inline-end: -80px; animation: mk-a-spin 46s linear infinite; }
.mk-about-hero__ring--2 { width: 220px; height: 220px; bottom: -90px; inset-inline-start: 4%; animation: mk-a-spin 34s linear infinite reverse; }

.mk-about-hero__deco-item {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  color: #fff;
  box-shadow: 0 8px 22px rgba(15, 12, 28, 0.25);
  animation: mk-a-float 5.5s ease-in-out infinite;
}

.mk-about-hero__deco-item svg { width: 46%; height: 46%; }

.mk-about-hero__deco-item--1 { width: 54px; height: 54px; top: 18%; inset-inline-start: 8%; color: var(--mk-pastel-lemon); animation-delay: 0.2s; }
.mk-about-hero__deco-item--2 { width: 40px; height: 40px; top: 62%; inset-inline-start: 14%; color: var(--mk-pastel-rose); animation-delay: 1.4s; }
.mk-about-hero__deco-item--3 { width: 46px; height: 46px; top: 22%; inset-inline-end: 10%; color: var(--mk-pastel-sky); animation-delay: 0.8s; }
.mk-about-hero__deco-item--4 { width: 34px; height: 34px; top: 72%; inset-inline-end: 16%; color: var(--mk-pastel-lemon); animation-delay: 2.1s; }
.mk-about-hero__deco-item--5 { width: 30px; height: 30px; top: 42%; inset-inline-end: 4%; color: var(--mk-pastel-peach); animation-delay: 1.7s; }

.mk-about-hero .mk-container {
  position: relative;
  z-index: 1;
}

.mk-about-hero__wave {
  position: absolute;
  bottom: -1px;
  inset-inline: 0;
  width: 100%;
  height: 56px;
  z-index: 1;
}

.mk-about-hero__wave path { fill: var(--mk-bg-base); }

.mk-about-hero__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.mk-about-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: var(--mk-radius-pill);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: var(--mk-fs-xs);
  font-weight: 700;
}

.mk-about-hero__kicker svg { width: 15px; height: 15px; }

.mk-about-hero__title {
  font-size: clamp(2.1rem, 4.6vw, 3rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 6px 26px rgba(15, 12, 28, 0.4);
}

.mk-about-hero__lede {
  font-size: var(--mk-fs-lg);
  line-height: 2;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 14px rgba(15, 12, 28, 0.35);
}

.mk-about-hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.mk-about-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--mk-radius-pill);
  background: rgba(255, 255, 255, 0.94);
  color: var(--mk-color-primary-hover);
  font-size: var(--mk-fs-xs);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(15, 12, 28, 0.22);
  transition: transform var(--mk-transition);
}

.mk-about-hero__badge:hover { transform: translateY(-3px); }
.mk-about-hero__badge svg { width: 15px; height: 15px; color: var(--mk-color-accent); }

/* ---- Timeline story ---- */
.mk-timeline {
  padding-block: 20px 44px;
  position: relative;
}

.mk-timeline::before {
  content: '';
  position: absolute;
  top: 80px;
  bottom: 80px;
  inset-inline-start: 50%;
  width: 0;
  border-inline-start: 2px dashed var(--mk-color-border);
  transform: translateX(-50%);
  z-index: 1;
}

.mk-timeline__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 34px;
}

.mk-timeline__row--reverse .mk-timeline__media { order: 2; }

.mk-timeline__step {
  position: absolute;
  z-index: 3;
  top: 50%;
  inset-inline-start: 49%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mk-gradient-cta);
  color: #fff;
  font-family: var(--mk-font-heading);
  font-weight: 700;
  font-size: var(--mk-fs-base);
  box-shadow: var(--mk-shadow-md);
  border: 4px solid var(--mk-color-bg);
}

.mk-timeline__step.first {
  inset-inline-start: 44%;
}

.mk-timeline__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.mk-timeline__ring {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 48% 52% 53% 47% / 50% 48% 52% 50%;
  border: 2px dashed var(--mk-blue-highlight);
  opacity: 0.5;
  animation: mk-a-spin 30s linear infinite;
}

.mk-timeline__frame {
  position: relative;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 54% 46% 48% 52% / 46% 53% 47% 54%;
  overflow: hidden;
  box-shadow: var(--mk-shadow-lg);
  animation: mk-a-wobble 14s ease-in-out infinite;
}

.mk-timeline__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-timeline__sticker {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: var(--mk-radius-pill);
  background: var(--mk-color-surface);
  box-shadow: var(--mk-shadow-md);
  font-size: var(--mk-fs-xs);
  font-weight: 700;
  color: var(--mk-color-text);
  white-space: nowrap;
  animation: mk-a-float 4.6s ease-in-out infinite;
}

.mk-timeline__sticker svg { width: 16px; height: 16px; color: var(--mk-color-accent); }
.mk-timeline__sticker--top { top: 4%; inset-inline-start: -2%; }
.mk-timeline__sticker--bottom { bottom: 6%; inset-inline-end: -2%; animation-delay: 1.4s; }

.mk-timeline__kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 6px 15px;
  border-radius: var(--mk-radius-pill);
  background: var(--mk-color-bg-muted);
  color: var(--mk-color-primary-hover);
  font-size: var(--mk-fs-xs);
  font-weight: 700;
  margin-bottom: 14px;
}

.mk-timeline__kicker svg { width: 15px; height: 15px; }

.mk-timeline__title {
  font-size: var(--mk-fs-2xl);
  font-weight: 700;
  margin-bottom: 14px;
}

.mk-timeline__text {
  font-size: var(--mk-fs-base);
  line-height: 2.05;
  color: var(--mk-color-text-soft);
}

.mk-timeline__text + .mk-timeline__text { margin-top: 14px; }

/* ---- Commitments (bento) ---- */
.mk-commitments {
  padding-block: 44px;
}

.mk-commitments__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  margin-bottom: 32px;
}

.mk-commitments__title { font-size: var(--mk-fs-2xl); font-weight: 700; }
.mk-commitments__subtitle { max-width: 60ch; line-height: 1.9; }

.mk-commitments__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.mk-commitments__sticky {
  position: sticky;
  top: calc(var(--mk-header-height) + 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 8px;
}

.mk-commitments__sticky .mk-commitments__title { text-align: start; }
.mk-commitments__sticky .mk-commitments__subtitle { text-align: start; max-width: 44ch; }

.mk-commitments__cards {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-block: 8px 20px;
}

.mk-commitments__cards .mk-law-card { rotate: 0deg !important; }
.mk-commitments__cards .mk-law-card:hover { transform: translateY(-4px); }

.mk-law-card {
  --mk-c: var(--mk-color-primary);
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--mk-radius-lg);
  background: var(--mk-color-surface);
  box-shadow: var(--mk-shadow-md);
  transition: transform var(--mk-transition), box-shadow var(--mk-transition);
}

.mk-law-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--mk-shadow-lg);
}

.mk-law-card__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: linear-gradient(120deg, var(--mk-c) 0%, color-mix(in srgb, var(--mk-c) 60%, var(--mk-indigo)) 100%);
  border-radius: var(--mk-radius-lg) var(--mk-radius-lg) 0 0;
  overflow: hidden;
}

.mk-law-card--1 .mk-law-card__head { flex-direction: row; }
.mk-law-card--2 .mk-law-card__head,
.mk-law-card--3 .mk-law-card__head,
.mk-law-card--4 .mk-law-card__head { flex-direction: row; }

.mk-law-card__num {
  position: absolute;
  top: -8px;
  inset-inline-end: 6px;
  font-family: var(--mk-font-heading);
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.22);
  line-height: 1;
  pointer-events: none;
}

.mk-law-card__icon {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 38% 62% 55% 45% / 52% 44% 56% 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.mk-law-card__icon svg { width: 22px; height: 22px; }

.mk-law-card__head-title {
  position: relative;
  z-index: 1;
  padding-inline-end: 44px;
  font-family: var(--mk-font-heading);
  font-size: var(--mk-fs-base);
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
}

.mk-law-card__perforation {
  position: relative;
  height: 0;
  border-top: 2px dashed rgba(255, 255, 255, 0.55);
}

.mk-law-card__perforation::before,
.mk-law-card__perforation::after {
  content: '';
  position: absolute;
  top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mk-color-bg);
}

.mk-law-card__perforation::before { inset-inline-start: 2px; }
.mk-law-card__perforation::after { inset-inline-end: 2px; }

.mk-law-card__body {
  flex: 1;
  padding: 20px 24px 24px;
}

.mk-law-card__text {
  font-size: var(--mk-fs-sm);
  line-height: 1.9;
  color: var(--mk-color-text-soft);
}

.mk-law-card--1 { --mk-c: var(--mk-blue); }
.mk-law-card--2 { --mk-c: var(--mk-magenta); }
.mk-law-card--3 { --mk-c: var(--mk-pastel-mint); }
.mk-law-card--4 { --mk-c: var(--mk-pastel-peach); }

/* ---- Promise chip cloud ---- */
.mk-promises {
  padding-block: 44px;
}

.mk-promises__masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 132px;
  grid-auto-flow: dense;
  gap: 16px;
}

.mk-promise-tile {
  --mk-c: var(--mk-color-primary);
  position: relative;
  grid-column: span 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 20px;
  border-radius: var(--mk-radius-lg);
  background: color-mix(in srgb, var(--mk-c) 6%, var(--mk-color-surface));
  border: 1px solid color-mix(in srgb, var(--mk-c) 20%, var(--mk-color-border));
  overflow: hidden;
  animation: mk-a-tile-glow 8s ease-in-out infinite;
  transition: transform var(--mk-transition), box-shadow var(--mk-transition);
}

.mk-promise-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--mk-c) 45%, transparent) 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  opacity: 0.18;
  mask-image: radial-gradient(circle at 100% 100%, #000 0%, transparent 62%);
  pointer-events: none;
}

.mk-promise-tile:hover {
  transform: translateY(-4px) rotate(-0.6deg);
  box-shadow: var(--mk-shadow-md);
}

.mk-promise-tile--wide { grid-column: span 2; }

.mk-promise-tile:nth-child(8n+1) { --mk-c: var(--mk-blue); animation-delay: 0s; }
.mk-promise-tile:nth-child(8n+2) { --mk-c: var(--mk-magenta); animation-delay: 1.1s; }
.mk-promise-tile:nth-child(8n+3) { --mk-c: var(--mk-pastel-mint); animation-delay: 2.3s; }
.mk-promise-tile:nth-child(8n+4) { --mk-c: var(--mk-pastel-peach); animation-delay: 0.6s; }
.mk-promise-tile:nth-child(8n+5) { --mk-c: var(--mk-indigo); animation-delay: 3s; }
.mk-promise-tile:nth-child(8n+6) { --mk-c: var(--mk-pastel-sky); animation-delay: 1.8s; }
.mk-promise-tile:nth-child(8n+7) { --mk-c: var(--mk-purple); animation-delay: 2.6s; }
.mk-promise-tile:nth-child(8n+8) { --mk-c: var(--mk-pastel-rose); animation-delay: 0.3s; }

@keyframes mk-a-tile-glow {
  0%, 100% {
    background: color-mix(in srgb, var(--mk-c) 6%, var(--mk-color-surface));
    box-shadow: none;
  }
  50% {
    background: color-mix(in srgb, var(--mk-c) 16%, var(--mk-color-surface));
    box-shadow: var(--mk-shadow-md);
  }
}

.mk-promise__icon {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mk-c);
  color: #fff;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--mk-c) 45%, transparent);
  transition: transform var(--mk-transition);
}

.mk-promise-tile:hover .mk-promise__icon { transform: scale(1.1) rotate(-6deg); }

.mk-promise__icon svg { width: 17px; height: 17px; }

.mk-promise__text {
  position: relative;
  z-index: 1;
  font-size: var(--mk-fs-sm);
  font-weight: 700;
  color: var(--mk-color-text);
  line-height: 1.65;
}

.mk-promise__paw {
  position: absolute;
  bottom: 10px;
  inset-inline-end: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mk-c);
  opacity: 0.16;
  animation: mk-a-float 5s ease-in-out infinite;
}

.mk-promise__paw svg { width: 100%; height: 100%; }

/* ---- Founder note ---- */
.mk-founder {
  padding-block: 48px;
  overflow: hidden;
  padding-top: 76px;
}

.mk-founder__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.mk-founder__content {
  position: relative;
  padding: 8px;
}

.mk-founder__quote-mark {
  position: absolute;
  top: -18px;
  inset-inline-start: -4px;
  width: 64px;
  height: 64px;
  color: var(--mk-color-bg-muted);
  transform: rotate(180deg);
  z-index: 0;
}

.mk-founder__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.mk-founder__media-blob {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 42% 58% 55% 45% / 50% 44% 56% 50%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--mk-blue-highlight) 55%, transparent) 0%, color-mix(in srgb, var(--mk-purple) 45%, transparent) 100%);
  filter: blur(2px);
  animation: mk-a-wobble 16s ease-in-out infinite;
}

.mk-founder__media-ring {
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed var(--mk-blue-highlight);
  opacity: 0.5;
  animation: mk-a-spin 34s linear infinite;
}

.mk-founder__avatar {
  position: relative;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 54% 46% 48% 52% / 46% 53% 47% 54%;
  overflow: hidden;
  box-shadow: var(--mk-shadow-lg);
  animation: mk-a-wobble 14s ease-in-out infinite;
}

.mk-founder__avatar-art { width: 100%; height: 100%; display: block; }

.mk-founder__avatar-badge {
  position: absolute;
  bottom: 8%;
  inset-inline-end: 21%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mk-color-surface);
  color: var(--mk-color-accent);
  box-shadow: var(--mk-shadow-md);
}

.mk-founder__avatar-badge svg { width: 20px; height: 20px; }

.mk-founder__media-deco {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mk-color-surface);
  box-shadow: var(--mk-shadow-md);
  color: var(--mk-color-accent);
  animation: mk-a-float 5s ease-in-out infinite;
}

.mk-founder__media-deco svg { width: 18px; height: 18px; }
.mk-founder__media-deco--1 { top: 6%; inset-inline-start: 4%; color: var(--mk-pastel-rose); }
.mk-founder__media-deco--2 { bottom: 14%; inset-inline-start: -2%; width: 34px; height: 34px; color: var(--mk-pastel-lemon); animation-delay: 1.2s; }
.mk-founder__media-deco--2 svg { width: 15px; height: 15px; }
.mk-founder__media-deco--3 { top: 14%; inset-inline-end: 2%; width: 32px; height: 32px; color: var(--mk-pastel-sky); animation-delay: 0.6s; }
.mk-founder__media-deco--3 svg { width: 14px; height: 14px; }

.mk-founder__kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 15px;
  border-radius: var(--mk-radius-pill);
  background: var(--mk-color-bg-muted);
  color: var(--mk-color-primary-hover);
  font-size: var(--mk-fs-xs);
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.mk-founder__kicker svg { width: 15px; height: 15px; }

.mk-founder__quote {
  position: relative;
  z-index: 1;
  font-size: var(--mk-fs-base);
  line-height: 2.05;
  color: var(--mk-color-text-soft);
  margin-bottom: 18px;
}

.mk-founder__name {
  position: relative;
  z-index: 1;
  font-family: var(--mk-font-heading);
  font-size: var(--mk-fs-lg);
  font-weight: 700;
  color: var(--mk-color-text);
}

.mk-founder__role {
  display: block;
  margin-top: 3px;
  font-size: var(--mk-fs-sm);
  color: var(--mk-color-text-muted);
}

/* ---- Roadmap banner ---- */
.mk-roadmap {
  padding-block: 40px;
  padding-top: 76px;
}

.mk-roadmap__box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 34px 190px 34px 34px;
  border-radius: var(--mk-radius-lg);
  background: linear-gradient(120deg, var(--mk-blue) 0%, var(--mk-indigo) 55%, var(--mk-purple) 100%);
  box-shadow: var(--mk-shadow-md);
}

.mk-roadmap__dashes {
  position: absolute;
  inset-inline: 24px;
  bottom: 14px;
  height: 2px;
  border-top: 2px dashed rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.mk-roadmap__glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  bottom: -80px;
  inset-inline-start: 12%;
  background: color-mix(in srgb, var(--mk-pastel-lemon) 55%, transparent);
  filter: blur(46px);
  opacity: 0.55;
  pointer-events: none;
}

.mk-roadmap__mascot {
  position: absolute;
  bottom: 3px;
  inset-inline-start: 26px;
  width: 168px;
  pointer-events: none;
  animation: mk-a-float 5s ease-in-out infinite;
}

.mk-roadmap__mascot img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 22px rgba(15, 12, 28, 0.35));
  transform: rotate(-4deg);
}

.mk-roadmap__shine {
  position: absolute;
  inset: 0;
  offset-path: inset(0 round 22px);
  offset-anchor: center;
  animation: mk-a-roadmap-travel 6s linear infinite;
  pointer-events: none;
  z-index: 3;
}

.mk-roadmap__shine-dot {
  position: absolute;
  top: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, var(--mk-pastel-lemon) 55%, transparent 76%);
  box-shadow: 0 0 16px 4px rgba(255, 255, 255, 0.85), 0 0 28px 9px color-mix(in srgb, var(--mk-pastel-lemon) 65%, transparent);
  color: var(--mk-indigo);
  animation: mk-a-roadmap-pulse 6s linear infinite;
}

.mk-roadmap__shine-dot svg { width: 13px; height: 13px; }

@keyframes mk-a-roadmap-travel {
  0%   { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}

@keyframes mk-a-roadmap-pulse {
  0%, 88% { transform: translate(-50%, -50%) scale(1); opacity: 0.95; }
  94%     { transform: translate(-50%, -50%) scale(1.9); opacity: 1; }
  100%    { transform: translate(-50%, -50%) scale(1); opacity: 0.95; }
}

.mk-roadmap__icon {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.mk-roadmap__icon svg { width: 24px; height: 24px; }

.mk-roadmap__body { position: relative; }

.mk-roadmap__kicker {
  display: inline-block;
  font-size: var(--mk-fs-xs);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 4px;
}

.mk-roadmap__text {
  font-size: var(--mk-fs-base);
  line-height: 1.9;
  color: #fff;
}

/* ---- Reach-out CTA ---- */
.mk-about-cta {
  padding-block: 44px;
}

.mk-about-cta__box {
  position: relative;
}

.mk-about-cta__media {
  position: relative;
  width: 90%;
  margin-inline-start: auto;
  border-radius: var(--mk-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  min-height: 360px;
  max-height: 560px;
  box-shadow: var(--mk-shadow-lg);
}

.mk-about-cta__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.mk-about-cta__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 12, 28, 0.82) 0%, rgba(15, 12, 28, 0.5) 32%, rgba(15, 12, 28, 0.08) 58%, rgba(15, 12, 28, 0.32) 100%);
}

/* Sit on the seam where .mk-about-cta__card overlaps .mk-about-cta__media —
   anchored off the card's own inline-start edge (its width) so the rings
   straddle that boundary line instead of floating loose on the photo.
   z-index:1 keeps them above the image but below the card (z-index:2), so
   where a ring crosses under the card it's simply covered, not overlapping
   the card's text. .mk-about-cta__box has no overflow clipping, so this
   works even though the rings live outside .mk-about-cta__media now. */
.mk-about-cta__ring {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.mk-about-cta__ring--1 {
  width: 130px;
  height: 130px;
  bottom: calc(24px + 34%);
  inset-inline-start: calc(min(380px, 92%) - 55px);
  animation: mk-a-spin 40s linear infinite;
}

.mk-about-cta__ring--2 {
  width: 78px;
  height: 78px;
  bottom: calc(24px + 8%);
  inset-inline-start: calc(min(380px, 92%) - 24px);
  animation: mk-a-spin 26s linear infinite reverse;
}

.mk-about-cta__deco {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  color: #fff;
  animation: mk-a-float 5.5s ease-in-out infinite;
}

.mk-about-cta__deco svg { width: 48%; height: 48%; }
.mk-about-cta__deco--1 { width: 46px; height: 46px; top: 14%; inset-inline-end: 14%; color: var(--mk-pastel-lemon); }
.mk-about-cta__deco--2 { width: 34px; height: 34px; top: 38%; inset-inline-end: 32%; color: var(--mk-pastel-rose); animation-delay: 1.2s; }
.mk-about-cta__deco--3 { width: 40px; height: 40px; top: 20%; inset-inline-end: 44%; color: var(--mk-pastel-sky); animation-delay: 0.6s; }

.mk-about-cta__card {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  inset-inline-start: 0;
  width: min(380px, 92%);
  padding: 24px 26px;
  border-radius: var(--mk-radius-lg);
  background: var(--mk-color-surface);
  box-shadow: var(--mk-shadow-lg);
}

.mk-about-cta__card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--mk-radius-pill);
  background: var(--mk-color-bg-muted);
  color: var(--mk-color-primary-hover);
  font-size: var(--mk-fs-xs);
  font-weight: 700;
  margin-bottom: 12px;
}

.mk-about-cta__card-kicker svg { width: 14px; height: 14px; }

.mk-about-cta__title { font-size: var(--mk-fs-xl); font-weight: 700; margin-bottom: 14px; }
.mk-about-cta__list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }

.mk-about-cta__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--mk-fs-sm);
  line-height: 1.7;
  color: var(--mk-color-text-soft);
}

.mk-about-cta__item svg { width: 16px; height: 16px; margin-top: 3px; color: var(--mk-color-primary); flex-shrink: 0; }

.mk-about-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--mk-radius-pill);
  background: var(--mk-gradient-cta);
  color: #fff;
  font-weight: 700;
  font-size: var(--mk-fs-base);
  box-shadow: var(--mk-shadow-md);
  white-space: nowrap;
  transition: transform var(--mk-transition);
}

.mk-about-cta__btn:hover { transform: translateY(-2px); }
.mk-about-cta__btn svg { width: 18px; height: 18px; }

/* ---- Testimonials carousel ---- */
.mk-reviews {
  padding-block: 44px 60px;
  position: relative;
  overflow: hidden;
}

.mk-reviews .mk-container { position: relative; z-index: 1; }

.mk-reviews__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  margin-bottom: 30px;
}

.mk-reviews__kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 15px;
  border-radius: var(--mk-radius-pill);
  background: var(--mk-color-bg-muted);
  color: var(--mk-color-primary-hover);
  font-size: var(--mk-fs-xs);
  font-weight: 700;
}

.mk-reviews__kicker svg { width: 15px; height: 15px; }

.mk-reviews__title { font-size: var(--mk-fs-2xl); font-weight: 700; }

.mk-reviews__carousel { position: relative; }

.mk-reviews__viewport {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-anchor: none;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 4px 10px;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(to left, transparent 0, #000 24px calc(100% - 24px), transparent 100%);
}

.mk-reviews__viewport::-webkit-scrollbar { display: none; }

.mk-review {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: var(--mk-radius-lg);
  /* z-index:0 makes the card its own stacking context. Without it the
     z-index:-1 pet image escapes to the page stacking context and paints
     BEHIND the card's own opaque background (i.e. invisible); with it,
     painting order becomes: card background → negative-z child → content. */
  z-index: 0;
  background: var(--mk-color-surface);
  border: 1px solid var(--mk-color-border);
  box-shadow: var(--mk-shadow-sm);
  position: relative;
  overflow: hidden;
}

.mk-review__pet-bg {
  position: absolute;
  left: -6%;
  bottom: -8%;
  width: 58%;
  max-width: 150px;
  height: auto;
  /* 0.16 was tuned on the dark dog photo; the light-furred cats washed out
     to invisible on the white card at that level. contrast+brightness pull
     the light fur down so both read at the same perceived weight. */
  opacity: 0.3;
  filter: brightness(0.82) contrast(1.1);
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.mk-review__quote-mark {
  position: absolute;
  top: 12px;
  inset-inline-end: 16px;
  width: 34px;
  height: 34px;
  color: var(--mk-color-bg-muted);
  transform: rotate(180deg);
}

.mk-review__stars {
  display: flex;
  gap: 3px;
  color: var(--mk-pastel-lemon);
}

.mk-review__stars svg { width: 15px; height: 15px; }

.mk-review__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mk-review__avatar {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mk-gradient-cta);
  color: #fff;
  font-family: var(--mk-font-heading);
  font-weight: 700;
  box-shadow: var(--mk-shadow-sm);
}

.mk-review__who { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mk-review__name { font-size: var(--mk-fs-sm); font-weight: 700; color: var(--mk-color-text); }
.mk-review__pet { font-size: var(--mk-fs-xs); color: var(--mk-color-text-muted); }
.mk-review__text { font-size: var(--mk-fs-sm); line-height: 1.9; color: var(--mk-color-text-soft); position: relative; z-index: 1; }

.mk-reviews__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}

.mk-reviews__arrow {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mk-color-surface);
  border: 1px solid var(--mk-color-border);
  color: var(--mk-color-primary);
  box-shadow: var(--mk-shadow-sm);
  cursor: pointer;
  transition: background var(--mk-transition), color var(--mk-transition), transform var(--mk-transition);
}

.mk-reviews__arrow:hover {
  background: var(--mk-gradient-cta);
  color: #fff;
  transform: scale(1.06);
}

.mk-reviews__arrow svg { width: 18px; height: 18px; }
.mk-reviews__arrow--next svg { transform: scaleX(-1); }

.mk-reviews__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mk-reviews__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mk-color-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--mk-transition), width var(--mk-transition);
}

.mk-reviews__dot.is-active {
  width: 22px;
  border-radius: var(--mk-radius-pill);
  background: var(--mk-gradient-cta);
}

/* ---- Animations ---- */
@keyframes mk-a-spin { to { transform: rotate(360deg); } }
@keyframes mk-a-wobble {
  0%, 100% { border-radius: 54% 46% 48% 52% / 46% 53% 47% 54%; }
  50%      { border-radius: 46% 54% 55% 45% / 54% 46% 52% 48%; }
}
@keyframes mk-a-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .mk-about-hero__deco-item, .mk-about-hero__ring, .mk-timeline__ring, .mk-timeline__frame,
  .mk-timeline__sticker, .mk-roadmap__mascot, .mk-about-cta__deco,
  .mk-roadmap__shine, .mk-roadmap__shine-dot,
  .mk-founder__media-blob, .mk-founder__media-ring, .mk-founder__avatar, .mk-founder__media-deco {
    animation: none;
  }
  .mk-roadmap__shine { display: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991px) {
  .mk-timeline::before {
    content: '';
    display: none;
  }

  .mk-timeline__step {
    display: none;
  }

  .mk-timeline__spine { display: none; }

  .mk-timeline__row,
  .mk-timeline__row--reverse {
    grid-template-columns: 1fr;
    gap: 24px;

  }

  .mk-timeline__row--reverse .mk-timeline__media { order: -1; }
  .mk-timeline__media { order: -1; padding: 6px; }
  .mk-timeline__frame { width: min(260px, 60%); }
  .mk-timeline__ring { width: min(290px, 68%); }
  .mk-timeline__badge { display: none; }

  .mk-promises__masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 128px; }

  .mk-commitments__layout { grid-template-columns: 1fr; }
  .mk-commitments__sticky { position: static; }
  .mk-law-card--1 .mk-law-card__head { flex-direction: column; align-items: flex-start; }

  .mk-founder__grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .mk-founder__media { order: -1; padding: 12px; }
  .mk-founder__avatar { width: 52%; }
  .mk-founder__content { padding: 0; padding-top: 74px}
  .mk-founder__quote-mark { top: -10px; inset-inline-start: 50%; transform: translateX(-50%) rotate(180deg); }
  .mk-founder__kicker { margin-top: 8px; }

  .mk-review { flex: 0 0 calc((100% - 20px) / 2); }

  .mk-roadmap__box { padding-inline-end: 150px; }
  .mk-roadmap__mascot { width: 130px; }
}

@media (max-width: 620px) {
  .mk-about-hero { min-height: clamp(420px, 90vw, 520px); padding-block: 96px 48px; }
  .mk-about-hero__ring--1, .mk-about-hero__ring--2 { display: none; }
  .mk-about-hero__deco-item--3, .mk-about-hero__deco-item--4, .mk-about-hero__deco-item--5 { display: none; }
  .mk-promises__masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .mk-promise-tile { min-height: 118px; }
  .mk-review { flex: 0 0 100%; }
  .mk-reviews__viewport { mask-image: none; -webkit-mask-image: none; }

  .mk-roadmap__box {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    overflow: hidden;
  }
  .mk-roadmap__mascot {
    position: absolute;
    inset: 0;
    bottom: auto;
    inset-inline-start: auto;
    width: auto;
    display: flex;
    justify-content: flex-end;
    opacity: 0.22;
    animation: none;
    z-index: 0;
  }
  .mk-roadmap__mascot img {
    width: 150px;
    transform: none;
    filter: none;
    mix-blend-mode: luminosity;
  }
  .mk-roadmap__icon,
  .mk-roadmap__body { position: relative; z-index: 1; }
  .mk-roadmap__glow { display: none; }

  .mk-about-cta__media { width: 100%; aspect-ratio: auto; min-height: 420px; }
  .mk-about-cta__card { inset-inline-start: 16px; bottom: 16px; width: calc(100% - 32px); padding: 20px 22px; }
  /* card's geometry changed above (full-width, 16px offsets) — re-anchor
     ring--1 to the same seam instead of the desktop min(380px, 92%) math. */
  .mk-about-cta__ring--1 { bottom: calc(16px + 34%); inset-inline-start: calc(100% - 16px - 55px); }
  .mk-about-cta__ring--2 { display: none; }
}
