.motion-shell {
  --stage-gutter: clamp(24px,6vw,96px);
  --stage-height: clamp(528px,74svh,760px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #080e1b;
  color: #f5f6f7;
  font-family: "PingFang SC","Microsoft YaHei",system-ui,sans-serif;
}
.motion-backdrop,.motion-backdrop::after,.motion-backdrop picture,.motion-backdrop img,.motion-backdrop video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.motion-backdrop { z-index: -1; pointer-events: none; }
.motion-backdrop img,.motion-backdrop video { display: block; object-fit: contain; object-position: right center; }
.motion-backdrop video { opacity: 0; }
.motion-backdrop.motion-active video { opacity: 1; }
.motion-backdrop::after {
  content: "";
  background: linear-gradient(90deg,#080e1bf3,#080e1bab 28%,#080e1b30 49%,transparent 69%),
    linear-gradient(0deg,#080e1b9e,transparent 20%);
}
.motion-shell .motion-content,.motion-shell .motion-meta { width: min(1280px,calc(100% - var(--stage-gutter) * 2)); }
.motion-content {
  position: relative;
  min-height: var(--stage-height);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 72px;
}
.motion-content .motion-brand {
  display: flex;
  align-items: center;
  gap: clamp(12px,1.5vw,20px);
  margin: 0;
  font-family: inherit;
  font-size: clamp(3rem,5.8vw,5.2rem);
  font-weight: 650;
  line-height: 1.13;
  letter-spacing: -0.035em;
}
.motion-brand img { display: block; flex: none; width: clamp(36px,4.15vw,60px); height: auto; }
.motion-purpose { max-width: none; margin: 16px 0 0; color: #d5dee6; font-size: clamp(1rem,1.55vw,1.35rem); line-height: 1.56; letter-spacing: 0.01em; }
.motion-purpose span { display: block; }
.motion-content .actions,.motion-content .flagship-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px 20px; margin:24px 0 0; }
.motion-shell .primary,.motion-shell .drone-button {
  min-height: 48px;
  padding-inline: 20px;
  border: 0;
  border-radius: 999px;
  background: #b8edf0;
  color: #10252e;
  font-weight: 650;
  white-space: nowrap;
}
.motion-shell .primary:hover,.motion-shell .drone-button:hover { background:#d4f8f8; box-shadow:none; }
.motion-secondary { display:inline-flex; align-items:center; min-height:44px; color:#c4e9ec; font-size:.95rem; text-decoration:none; }
.motion-secondary:hover { text-decoration:underline; text-underline-offset:4px; color:#fff; }
.motion-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: #b6c1cd;
  font-size: .8rem;
}
.motion-toggle {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #a7c4d069;
  border-radius: 999px;
  background: #111c2ad9;
  color: #ecf6f8;
  cursor: pointer;
  white-space: nowrap;
}
.motion-toggle:hover { background: #273b50; }
.motion-toggle:active { transform: scale(.975); }
.motion-shell :focus-visible { outline: 2px solid #a9f4e9; outline-offset: 4px; }
.motion-sample { display:grid; background:#0b1423; border:1px solid #afcacf38; }
.motion-sample img,.motion-sample video { grid-area:1 / 1; display:block; width:100%; height:auto; aspect-ratio:880/560; }
.motion-sample video { opacity:0; }
.motion-sample.motion-active video { opacity:1; }
.sample-toggle { margin-top:16px; }

@media (min-width: 681px) and (max-width: 960px) and (orientation: portrait) {
  .motion-shell { --stage-height:clamp(600px,68svh,700px); }
  .motion-content { align-items:center; justify-content:flex-start; text-align:center; padding-block:48px; }
  .motion-content .actions,.motion-content .flagship-actions { justify-content:center; }
  .motion-backdrop img,.motion-backdrop video {
    width:135%; height:auto; aspect-ratio:16/9;
    inset:112px auto auto -44%;
    mask-image:linear-gradient(180deg,transparent,#000 14%,#000 82%,transparent);
  }
  .motion-backdrop::after { background:linear-gradient(180deg,#080e1bfa 2%,#080e1bab 21%,transparent 52%,#080e1b9d); }
}
@media (max-width: 680px) {
  .motion-shell { --stage-height:clamp(512px,calc(100svh - 96px),650px); }
  .motion-content { align-items:center; justify-content:flex-start; text-align:center; padding:32px 0 80px; }
  .motion-content .motion-brand { font-size:clamp(2.4rem,9vw,3.25rem); }
  .motion-purpose { margin-top:12px; }
  .motion-content .actions,.motion-content .flagship-actions { justify-content:center; margin-top:16px; gap:4px 12px; }
  .motion-backdrop img,.motion-backdrop video { object-position:center bottom; bottom:28px; top:auto; }
  .motion-backdrop::after { background:linear-gradient(180deg,#080e1bfa 0%,#080e1bdc 23%,transparent 52%,#080e1b33 83%,#080e1bba); }
  .motion-meta { bottom:8px; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-toggle:active { transform: none; }
}

@media (min-width: 681px) and (max-height: 520px) and (orientation: landscape) {
  .motion-shell { --stage-height:max(248px,calc(100svh - 74px)); }
  .motion-content { padding-block:16px 56px; }
  .motion-backdrop img,.motion-backdrop video {
    width:min(100%,calc(var(--stage-height) * 16 / 9));
    left:auto;
    mask-image:linear-gradient(90deg,transparent,#000 22%);
  }
  .motion-content .motion-brand { font-size:clamp(2rem,5vw,3rem); }
  .motion-purpose { margin-top:8px; font-size:1rem; }
  .motion-content .actions,.motion-content .flagship-actions { margin-top:12px; }
  .motion-meta { bottom:8px; }
}
@media (min-width: 681px) and (max-width: 760px) and (max-height: 520px) and (orientation: landscape) {
  .chapter-drone.motion-shell { --stage-height:max(248px,calc(100svh - 96px)); }
}
@media (max-width: 680px) and (max-height: 600px) and (orientation: portrait) {
  .motion-shell { --stage-height:max(456px,calc(100svh - 96px)); }
  .motion-content { padding-block:24px 64px; }
}

@media (max-width:680px) and (max-height:520px) and (orientation:landscape) {
  .motion-shell { --stage-height:max(188px,calc(100svh - 96px)); }
  .flagship-hero { --stage-height:max(188px,calc(100svh - 57px)); }
  .motion-content { align-items:flex-start; justify-content:center; text-align:left; padding-block:8px 44px; }
  .motion-content .motion-brand { font-size:clamp(1.85rem,5vw,2.4rem); }
  .motion-brand img { width:32px; }
  .motion-content .motion-purpose { margin-top:6px; font-size:.9rem; }
  .motion-content .actions,.motion-content .flagship-actions { justify-content:flex-start; margin-top:8px; gap:4px 12px; }
  .motion-shell .primary,.motion-shell .drone-button { min-height:44px; padding-inline:14px; }
  .motion-backdrop img,.motion-backdrop video {
    width:min(100%,calc(var(--stage-height) * 16 / 9)); height:100%;
    inset:0 0 auto auto; object-position:right center;
    mask-image:linear-gradient(90deg,transparent,#000 22%);
  }
  .motion-backdrop::after { background:linear-gradient(90deg,#080e1bf3,#080e1b75 42%,transparent 68%); }
}
