/* Homepage continuity pass: softer pacing, contained feature surfaces and cinematic section handoffs. */
.home-mp {
  --home-canvas: #f5f5f7;
  --home-ink: #1d1d1f;
  --home-line: rgba(29, 29, 31, 0.08);
  --home-soft-shadow: 0 28px 80px rgba(18, 18, 22, 0.09);
  overflow-x: clip;
  background: #111;
}

.home-mp main {
  color: var(--home-ink);
  background: var(--home-canvas);
}

/* The opening visual starts contained, then uses the existing scroll motion to grow into the viewport. */
.home-mp .home-showcase-hero {
  background: var(--home-canvas);
}

.home-mp .home-showcase-stage {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 49, 92, 0.035), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fff 72%, var(--home-canvas) 100%);
}

.home-mp .home-showcase-copy {
  opacity: var(--home-copy-opacity, 1);
  will-change: transform, opacity;
}

.home-mp .home-showcase-carousel {
  position: absolute;
  inset: auto 0 var(--home-carousel-bottom, 0);
  width: 100%;
  height: var(--home-carousel-height, min(calc(100svh - var(--home-header-height)), 28.125vw));
  min-height: 0;
  max-height: none;
  margin-top: 0;
  align-self: stretch;
  justify-self: stretch;
  margin-right: auto;
  margin-left: auto;
  border: 1px solid rgba(20, 20, 24, 0.08);
  border-radius: var(--home-carousel-radius, 30px);
  box-shadow: 0 34px 90px rgba(15, 15, 20, 0.13), 0 2px 8px rgba(15, 15, 20, 0.06);
}

.home-mp .home-showcase-carousel .home-showcase-visual {
  border-radius: inherit;
}

/* Preserve the source aspect ratio on both the live video and the 3DGS still. */
.home-mp .home-showcase-real,
.home-mp .home-showcase-model,
.home-mp .home-showcase-model-surface {
  background-size: cover;
  background-position: center;
}

/* A quiet neutral canvas carries the audience section into the editorial update. */
.home-mp .home-audiences {
  padding-top: clamp(112px, 9vw, 156px);
  padding-bottom: clamp(116px, 9vw, 164px);
}

.home-mp .home-section-heading {
  margin-bottom: clamp(34px, 3.2vw, 52px);
}

.home-mp .home-audience-grid {
  gap: 18px;
}

.home-mp .home-audience-card {
  min-height: 374px;
  padding: 34px 30px;
  display: grid;
  grid-template-rows: auto auto minmax(110px, 1fr) auto;
  align-content: start;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.home-mp .home-audience-card .home-card-icon {
  margin-bottom: 28px;
}

.home-mp .home-audience-card h3 {
  margin: 0 0 20px;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.home-mp .home-audience-card .home-audience-copy {
  max-width: 29ch;
  min-height: 0;
  margin: 0;
  display: grid;
  align-content: start;
  gap: 9px;
  line-height: 1.65;
}

.home-mp .home-audience-copy strong,
.home-mp .home-audience-copy span {
  display: block;
}

.home-mp .home-audience-copy strong {
  color: #343438;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
  letter-spacing: -0.008em;
}

.home-mp .home-audience-copy span {
  color: #757579;
  font-size: 12px;
  font-weight: 430;
  line-height: 1.72;
  letter-spacing: 0.008em;
}

.home-mp .home-audience-card > span {
  align-self: end;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
  font-size: 12px;
  line-height: 1.25;
}

.home-mp .home-audience-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 54px rgba(18, 18, 22, 0.09);
}

.home-mp .home-updates {
  padding-top: clamp(96px, 8vw, 138px);
  padding-bottom: clamp(118px, 9vw, 166px);
  background: linear-gradient(180deg, var(--home-canvas) 0%, #fff 28%, #fff 100%);
}

.home-mp .home-updates-carousel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  box-shadow: var(--home-soft-shadow);
}

/* The proof becomes one continuous product card, with breathing room before the dark chapter. */
.home-mp .home-proof-product {
  padding-top: clamp(28px, 3vw, 50px);
  padding-bottom: clamp(168px, 13vw, 230px);
  background: linear-gradient(180deg, #fff 0%, #fff 68%, #f0f0f2 100%);
}

.home-mp .home-proof-grid {
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(18, 18, 22, 0.08);
}

.home-mp .home-proof-copy {
  padding-right: clamp(42px, 4vw, 70px);
}

/*
 * The grey-to-black handoff stays intact. A second, continuous glow layer
 * crosses the handoff so the muted red-violet light does not start abruptly
 * at the top edge of the dark chapter.
 */
.home-mp .home-capabilities {
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding-top: clamp(112px, 9vw, 154px);
  padding-bottom: clamp(116px, 9vw, 154px);
  border-radius: 0;
  background: #171717;
  box-shadow: none;
}

.home-mp .home-capabilities::before {
  z-index: 0;
  top: -180px;
  height: 180px;
  display: block;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(23, 23, 23, 0), rgba(23, 23, 23, 0.34) 38%, #171717 100%);
}

.home-mp .home-capabilities::after {
  position: absolute;
  z-index: 0;
  top: -180px;
  right: 0;
  left: 0;
  height: clamp(500px, 42vw, 650px);
  content: "";
  pointer-events: none;
  background: radial-gradient(
    ellipse 50% 68% at 76% 53%,
    rgba(203, 47, 94, 0.105) 0%,
    rgba(154, 39, 82, 0.052) 42%,
    rgba(98, 31, 68, 0.018) 58%,
    transparent 74%
  );
}

.home-mp .home-capabilities > .shell {
  position: relative;
  z-index: 1;
}

.home-mp .home-capability-grid {
  margin-top: clamp(52px, 5vw, 76px);
}

.home-mp .home-capability-grid > div {
  min-height: 254px;
  padding-top: 34px;
}

.home-mp .home-capability-grid h3 {
  margin: 42px 0 19px;
  font-size: 19px;
  line-height: 1.32;
  letter-spacing: -0.012em;
}

.home-mp .home-capability-copy {
  display: grid;
  gap: 9px;
  max-width: 30ch;
  margin: 0;
}

.home-mp .home-capability-copy strong,
.home-mp .home-capability-copy span {
  display: block;
}

.home-mp .home-capability-copy strong {
  color: #f2f2f3;
  font-size: 14px;
  font-weight: 620;
  line-height: 1.55;
  letter-spacing: -0.006em;
}

.home-mp .home-capability-copy span {
  color: #99999e;
  font-size: 12px;
  font-weight: 430;
  line-height: 1.72;
  letter-spacing: 0.006em;
}

.home-mp .home-final-cta {
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: 0 0 clamp(84px, 8vw, 126px);
  background: #171717 !important;
}

.home-mp .home-final-cta::before {
  position: absolute;
  z-index: 0;
  top: -205px;
  left: 50%;
  width: min(1640px, 90vw);
  height: 540px;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(246, 58, 113, 0.17) 0%, rgba(181, 43, 96, 0.075) 46%, rgba(108, 39, 82, 0.025) 63%, transparent 76%);
  filter: blur(92px);
  mix-blend-mode: screen;
  opacity: 0.66;
  transform: translateX(-50%);
}

.home-mp .home-final-cta .shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(48px, 6vw, 82px);
  min-height: 244px;
  padding: clamp(46px, 4.8vw, 70px) clamp(48px, 5.2vw, 78px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 50% -22%, rgba(255, 255, 255, 0.14), transparent 48%),
    linear-gradient(90deg, rgba(250, 46, 89, 0.97) 0%, rgba(237, 39, 82, 0.96) 54%, rgba(216, 31, 72, 0.96) 100%);
  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.26),
    0 0 110px rgba(231, 48, 101, 0.11),
    0 0 190px rgba(126, 42, 91, 0.055);
}

.home-mp .home-final-copy {
  min-width: 0;
}

.home-mp .home-final-kicker {
  display: block;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.15em;
}

.home-mp .home-final-copy h2 {
  max-width: 620px;
  font-size: clamp(22px, 1.55vw, 28px);
  font-weight: 550;
  line-height: 1.35;
  letter-spacing: -0.018em;
}

.home-mp .home-final-cta .shell > .home-final-actions {
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.home-mp .home-final-cta .btn {
  min-width: 176px;
  border-radius: 999px;
}

.home-mp .home-final-cta .home-btn-outline {
  background: rgba(75, 10, 31, 0.3);
  border-color: rgba(255, 255, 255, 0.76);
}

.home-mp .home-footer {
  margin-top: -1px;
  background: #111;
}

/* Lightweight scroll reveals: motion is progressive enhancement and never blocks content. */
.home-mp.home-motion .home-reveal {
  opacity: 0;
  translate: 0 30px;
  filter: blur(5px);
  transition-property: opacity, translate, filter, transform, box-shadow;
  transition-duration: 720ms, 820ms, 720ms, 320ms, 320ms;
  transition-delay: var(--home-reveal-delay, 0ms);
  transition-timing-function: cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, translate, filter;
}

.home-mp.home-motion .home-reveal.is-visible {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
}

@media (max-width: 1000px) {
  .home-mp .home-proof-grid {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .home-mp .home-proof-visual {
    overflow: hidden;
    border-radius: 26px;
    box-shadow: var(--home-soft-shadow);
  }

  .home-mp .home-proof-copy {
    padding-right: 0;
  }
}

@media (max-width: 800px) {
  .home-mp .home-showcase-stage {
    padding-bottom: 46px;
  }

  .home-mp .home-showcase-carousel {
    position: relative;
    inset: auto;
    width: calc(100% - 24px);
    height: 650px;
    min-height: 0;
    max-height: none;
    margin-top: 50px;
    border-radius: 20px;
  }

  .home-mp .home-audiences {
    padding-top: 88px;
    padding-bottom: 104px;
  }

  .home-mp .home-section-heading {
    margin-bottom: 30px;
  }

  .home-mp .home-audience-card {
    min-height: 320px;
    border-radius: 20px;
  }

  .home-mp .home-audience-card .home-audience-copy {
    max-width: 34ch;
  }

  .home-mp .home-updates {
    padding-top: 82px;
    padding-bottom: 112px;
  }

  .home-mp .home-updates-carousel {
    min-height: 0;
    border-radius: 22px;
  }

  .home-mp .home-updates-single .home-update-slide {
    min-height: 0;
    grid-template-rows: auto clamp(230px, 60vw, 280px);
  }

  .home-mp .home-proof-product {
    padding-top: 12px;
    padding-bottom: 150px;
  }

  .home-mp .home-proof-visual {
    border-radius: 22px;
  }

  .home-mp .home-capability-grid {
    margin-top: 42px;
  }

  .home-mp .home-capability-grid > div {
    min-height: 226px;
    padding: 26px 18px 30px !important;
  }

  .home-mp .home-capability-grid h3 {
    margin-top: 34px;
  }

  .home-mp .home-capability-copy {
    max-width: 36ch;
  }

  .home-mp .home-capabilities::before,
  .home-mp .home-capabilities::after {
    top: -130px;
  }

  .home-mp .home-capabilities::before {
    height: 130px;
  }

  .home-mp .home-capabilities::after {
    height: 450px;
    background: radial-gradient(
      ellipse 72% 62% at 76% 48%,
      rgba(203, 47, 94, 0.09) 0%,
      rgba(154, 39, 82, 0.04) 44%,
      transparent 74%
    );
  }

  .home-mp .home-final-cta {
    padding: 0 17px 78px;
  }

  .home-mp .home-final-cta::before {
    top: -135px;
    width: 100%;
    height: 430px;
    filter: blur(70px);
  }

  .home-mp .home-final-cta .shell {
    width: 100%;
    grid-template-columns: 1fr;
    row-gap: 30px;
    min-height: 0;
    padding: 44px 28px;
    border-radius: 24px;
  }

  .home-mp .home-final-kicker {
    margin-bottom: 14px;
  }

  .home-mp .home-final-copy h2 {
    max-width: 340px;
    font-size: clamp(23px, 7vw, 27px);
    line-height: 1.35;
  }

  .home-mp .home-final-cta .shell > .home-final-actions {
    justify-content: stretch;
  }
}

@media (max-width: 480px) {
  .home-mp .home-capability-grid > div {
    min-height: auto;
    padding: 28px 0 32px !important;
  }

  .home-mp .home-capability-grid h3 {
    margin: 30px 0 16px;
  }

  .home-mp .home-capability-copy {
    max-width: 34ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-mp .home-showcase-carousel {
    position: relative;
    inset: auto;
    height: min(620px, 62svh);
    margin-top: 32px;
  }

  .home-mp.home-motion .home-reveal {
    opacity: 1;
    translate: none;
    filter: none;
    transition: none;
  }
}

/* Interaction pass: denser mobile choices and a complete four-path final decision. */
.home-mp .home-audience-card{
  grid-template-rows:auto auto minmax(92px,1fr) auto;
}

.home-mp .home-final-cta .shell{
  background:
    radial-gradient(ellipse at 50% -22%,rgba(255,255,255,.13),transparent 48%),
    linear-gradient(90deg,#dc2852 0%,#d1244c 54%,#c21f43 100%);
}
.home-mp .home-final-cta .shell>.home-final-actions{
  width:min(520px,46vw);
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.home-mp .home-final-cta .btn{
  min-width:0;
  padding-right:18px;
  padding-left:18px;
  white-space:nowrap;
}
.home-mp .home-final-actions .btn{
  display:grid;
  grid-template-columns:36px minmax(0,1fr) 16px;
  min-height:58px;
  padding:9px 14px 9px 10px;
  align-items:center;
  justify-content:stretch;
  gap:10px;
  border-radius:14px;
  text-align:left;
  transition:transform .22s ease,background-color .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.home-mp .home-final-actions .home-btn-light{
  border-color:rgba(255,255,255,.96);
  background:linear-gradient(135deg,#fff 0%,#fff8fa 100%);
  box-shadow:0 10px 24px rgba(71,5,24,.12);
}
.home-mp .home-final-actions .home-btn-outline{
  border-color:rgba(255,255,255,.56);
  background:linear-gradient(135deg,rgba(85,7,33,.34),rgba(89,9,34,.22));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.home-mp .home-final-action-icon{
  display:grid;
  width:36px;
  height:36px;
  place-items:center;
  border:1px solid rgba(255,255,255,.2);
  border-radius:10px;
  color:#fff;
  background:rgba(255,255,255,.1);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  transition:transform .22s ease,background-color .22s ease;
}
.home-mp .home-final-action-icon::before{
  content:"";
  width:18px;
  height:18px;
  background:currentColor;
  -webkit-mask:var(--home-card-icon) center / contain no-repeat;
  mask:var(--home-card-icon) center / contain no-repeat;
}
.home-mp .home-final-actions .home-btn-light .home-final-action-icon{
  border-color:rgba(197,30,70,.12);
  color:#c9214a;
  background:#f9e9ed;
  box-shadow:none;
}
.home-mp .home-final-actions .btn>b{
  overflow:hidden;
  font-size:13px;
  font-weight:750;
  line-height:1.25;
  letter-spacing:0;
  text-overflow:ellipsis;
}
.home-mp .home-final-actions .home-morph-link-icon{
  justify-self:end;
}
.home-mp .home-final-actions .btn:focus-visible{
  outline:2px solid #fff;
  outline-offset:4px;
}
@media (hover:hover){
  .home-mp .home-final-actions .btn:hover{
    transform:translateY(-2px);
  }
  .home-mp .home-final-actions .home-btn-light:hover{
    box-shadow:0 14px 30px rgba(71,5,24,.18);
  }
  .home-mp .home-final-actions .home-btn-outline:hover{
    border-color:rgba(255,255,255,.92);
    background:linear-gradient(135deg,rgba(83,5,31,.5),rgba(98,9,38,.34));
    box-shadow:0 10px 22px rgba(71,5,24,.13),inset 0 1px 0 rgba(255,255,255,.12);
  }
  .home-mp .home-final-actions .btn:hover .home-final-action-icon{
    transform:scale(1.05);
    background-color:rgba(255,255,255,.15);
  }
  .home-mp .home-final-actions .home-btn-light:hover .home-final-action-icon{
    background-color:#f7dfe5;
  }
}
.home-mp .home-final-partner{
  grid-column:1/-1;
  width:max-content;
  min-height:44px;
  margin:5px auto 0;
  padding:12px 8px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#fff;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
}
.home-mp .home-final-partner .home-morph-icon{width:16px;height:16px}
.home-mp .home-final-partner:focus-visible{outline:2px solid #fff;outline-offset:5px}

@media (max-width:1000px){
  .home-mp .home-final-cta .shell{grid-template-columns:1fr;row-gap:32px}
  .home-mp .home-final-cta .shell>.home-final-actions{width:100%}
}

@media (max-width:800px){
  .home-mp .home-audience-card{
    min-height:270px;
    padding:22px 20px;
    grid-template-rows:auto auto auto auto;
  }
  .home-mp .home-audience-card .home-card-icon{margin-bottom:0}
  .home-mp .home-audience-card h3{margin:16px 0 12px}
  .home-mp .home-audience-card>.home-morph-link-copy{margin-top:20px;padding-top:15px}
  .home-mp .home-final-cta .shell>.home-final-actions{grid-template-columns:1fr}
  .home-mp .home-final-partner{grid-column:auto}
}

@media (max-width:480px){
  .home-mp .home-audience-card{min-height:258px}
}

@media (prefers-reduced-motion:reduce){
  .home-mp .home-final-actions .btn,
  .home-mp .home-final-action-icon{transition:none}
}
