.m12 {
  --m12-ease: cubic-bezier(.16,.75,.24,1);
  isolation: isolate;
  overflow: clip;
  scroll-margin-top: 84px;
  padding-block: clamp(32px,4.2vw,68px) clamp(50px,7vw,108px);
  padding-inline: clamp(24px,3.2vw,72px);
  background:
    radial-gradient(ellipse 61% 54% at 12% 43%, #78849720, transparent 82%),
    radial-gradient(ellipse 54% 45% at 90% 34%, #b47f3c21, transparent 84%),
    linear-gradient(180deg,#090a0c 0%,#15171c 48%,#090a0c 100%);
}

.m12-inner { max-width: 1440px; margin-inline: auto; }
.m12 + .m03 { padding-block-start: clamp(18px,2.4vw,40.8px); }
.m12-heading {
  --m12-title-size: clamp(48px,6.15vw,94px);
  position: relative;
  isolation: isolate;
  text-align: center;
  perspective: 800px;
  margin: 0 auto clamp(32px,5vw,74px);
}

.m12-heading h2 {
  font-size: var(--m12-title-size);
  line-height: 1.04;
  letter-spacing: -.072em;
}

.m12-line { display: block; }
.m12-line:nth-child(2) { --m12-line-delay: 140ms; }
.m12-line:nth-child(3) { --m12-line-delay: 280ms; }
.m12-word { display: inline-block; }
.m12-metal {
  display: inline-block;
  padding-inline: .045em;
  margin-inline: -.045em;
  background-size: 255% 100%;
  background-position: 100% 50%;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.m12-silver {
  color: #e4e3e3;
  background-image: linear-gradient(108deg,#aeb8c8 15%,#f9fcff 34%,#e0e2e7 36%,#9ea7b5 41%,#e8e7e5 65%,#c4c7ce);
}

.m12-gold {
  color: #edc792;
  background-image: linear-gradient(108deg,#a36c31 15%,#ffecc8 34%,#fff8e5 36%,#b78245 41%,#f4d4a7 65%,#e4ad66);
}

.m12-heading[data-m12-entered] .m12-metal {
  animation: m12-sheen 1500ms cubic-bezier(.36,.11,.42,1) calc(1660ms + var(--m12-line-delay,0ms));
}

.m12-subtitle {
  max-width: 62ch;
  margin: clamp(17px,2.2vw,32px) auto 0;
  color: #cdd0d7;
  font-size: calc(var(--m12-title-size) / 2);
  line-height: 1.65;
  text-wrap: balance;
}

.m12-dust {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  transform-style: preserve-3d;
}

.m12-dust i {
  position: absolute;
  display: block;
  width: var(--m12-size);
  aspect-ratio: 1;
  border-radius: 50%;
  color: #c8d4e4;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
  opacity: 0;
}

.m12-dust i:nth-child(even) { color: #efc690; }

.m12-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  grid-auto-rows: 1fr;
  gap: clamp(15px,2vw,29px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.m12-panel { display: grid; min-width: 0; perspective: 1000px; }
.m12-arrival, .m12-float { display: grid; min-width: 0; }
.m12-float { perspective: 900px; }

.m12-glass {
  --m12-edge: #cdd7e35e;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(20px,1.65vw,29px);
  padding: clamp(19px,1.65vw,29px);
  border: 1px solid var(--m12-edge);
  border-radius: clamp(11px,1.25vw,19px);
  background:
    radial-gradient(ellipse at var(--m12-light-x,17%) var(--m12-light-y,0%),#a6bbd42d,transparent 68%),
    linear-gradient(145deg,#303741f0 0%,#252b33f5 37%,#181c23f7 72%,#2b2521f5);
  box-shadow: inset 0 1px 1px #e2ebff22, inset 0 -1px 0 #d0ae791e, 0 3px 0 #0a0b0e,
    0 4px 0 #bcc7d429, 0 20px 34px -18px #020204eb;
  transition: transform .52s var(--m12-ease), border-color .45s, box-shadow .45s;
  transform: translate3d(0,0,0) rotateX(var(--m12-rx,0deg)) rotateY(var(--m12-ry,0deg));
}

.m12-glass::before,
.m12-glass::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
}

.m12-glass::before {
  inset: 3px;
  border: 1px solid #d5e0ef17;
  background: linear-gradient(160deg,#d1def208,transparent 38%);
}

.m12-glass::after {
  inset: 0;
  background:
    radial-gradient(ellipse 62% 65% at var(--m12-light-x,20%) var(--m12-light-y,12%),#d4e5ff20,transparent),
    radial-gradient(ellipse 38% 55% at 94% 100%,#ffcb7836,transparent);
  opacity: .42;
  transition: opacity .5s;
}

.m12-glass blockquote { margin: 0; }
.m12-glass blockquote p {
  max-width: none;
  color: #eeeef1;
  font-size: clamp(.94rem,1.12vw,1.04rem);
  line-height: 1.55;
  overflow-wrap: break-word;
}

.m12-client {
  --m12-portrait: clamp(48px,4.1vw,62px);
  position: static;
  display: grid;
  grid-template-columns: var(--m12-portrait) minmax(0,1fr);
  align-items: center;
  gap: clamp(12px,1.25vw,17px);
  padding-top: clamp(14px,1.3vw,19px);
  border-top: 1px solid #c5d3e328;
  font: 500 .85rem/1.42 var(--ui);
  letter-spacing: 0;
  text-transform: none;
}

.m12-client img {
  width: var(--m12-portrait);
  height: var(--m12-portrait);
  object-fit: cover;
  border: 1px solid #dce6ef9e;
  border-radius: 50%;
  background-color: #343b45;
  box-shadow: 0 0 13px #bdc9db1e;
}

.m12-client span { display: block; }
.m12-client-name { color: #f2efe9; font-size: 1.04rem; font-weight: 750; }
.m12-client-role { margin-top: 2px; color: #d2d6df; }
.m12-client-country { margin-top: 3px; color: #e7c89f; font-size: .79rem; }

.m12-panel[data-m12-visible] .m12-float {
  animation: m12-float 8s ease-in-out infinite alternate;
}

.m12-panel:nth-child(even) .m12-float { animation-delay: -3.1s; }
.m12[data-m12-suspended] .m12-float { animation-play-state: paused; }

@media (hover: hover) and (pointer: fine) {
  .m12-panel[data-m12-hover] .m12-glass {
    --m12-edge: #e4e8eb96;
    transform: translate3d(0,-3px,14px) rotateX(var(--m12-rx,0deg)) rotateY(var(--m12-ry,0deg));
    box-shadow: inset 0 1px 1px #e2ebff3b, inset 0 -1px 0 #d0ae7944, 0 3px 0 #0a0b0e,
      0 4px 0 #bcc7d44c, 0 26px 42px -20px #020204f2;
  }

  .m12-panel[data-m12-hover] .m12-glass::after { opacity: .86; }
}

@keyframes m12-sheen {
  0%, 100% { background-position: 100% 50%; }
  64% { background-position: 0% 50%; }
}

@keyframes m12-float {
  from { transform: translateY(0); }
  to { transform: translateY(-2px); }
}

@media (min-width: 1280px) and (max-width: 1359px) {
  .m12 { padding-inline: 28px; }
  .m12-grid { gap: 19px; }
  .m12-glass { padding: 19px; }
}

@media (max-width: 1279px) {
  .m12-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 660px) {
  .m12-heading { --m12-title-size: clamp(26px,8vw,52px); }
  .m12-grid { grid-template-columns: minmax(0,1fr); grid-auto-rows: auto; }
}

@media (forced-colors: active) {
  .m12-metal { -webkit-text-fill-color: currentColor; background: none; }
}

.motion-off .m12 .m12-float,
.motion-off .m12 .m12-metal { animation: none; }
.motion-off .m12 .m12-glass { transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  .m12 .m12-float, .m12 .m12-metal { animation: none; }
  .m12 .m12-glass { transform: none; transition: none; }
}
