/* Compact illustrations support the cost comparison and its reading rhythm. */
.heritage-section#threat { padding-top: clamp(64px, 6vw, 88px); padding-bottom: clamp(64px, 6vw, 88px); }
#threat .sec-inner { max-width: 1320px; }
#threat .threat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 60px); align-items: center; }
#threat .threat-copy { min-width: 0; }
.heritage-section#threat h2 { max-width: 15ch; font-size: clamp(40px, 4.35vw, 66px); line-height: 1.04; letter-spacing: -.048em; }
#threat .threat-grid p.lead { max-width: 43ch; margin-top: 20px; font-size: 17px; line-height: 1.55; text-wrap: pretty; }
#threat .cost-comparison { max-width: 620px; padding: 0; border: 0; background: transparent; }
#threat .cost-comparison .band { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
#threat .cost-comparison .led-tag { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; text-align: left; color: #575951; }
#threat .cost-comparison .led-tag .lbl { font-size: 10px; letter-spacing: .045em; }
#threat .cost-comparison .num { margin: 0; font-family: var(--sans); font-size: clamp(27px, 2.4vw, 35px); font-weight: 500; line-height: 1.1; letter-spacing: -.045em; }
#threat .cost-comparison .cnt { color: #a5522e; }
#threat .missile-stage { display: grid; place-items: center; min-width: 0; height: 104px; overflow: hidden; }
#threat .cost-comparison .msl { display: block; width: 72%; max-width: 440px; height: auto; margin: 0; filter: drop-shadow(0 6px 4px #23291c16); clip-path: none; opacity: 1; transform: none; transition: opacity .75s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1); }
#threat .cost-comparison:not(.on) .msl { opacity: 0; transform: translateX(-26%); }
#threat .cost-comparison .eq { margin: 0 0 16px; gap: 14px; color: #777970; }
#threat .cost-comparison .eq .lbl { font-size: 9px; letter-spacing: .08em; }
#threat .cost-comparison .eq i { background: #d3d5cb; }
#threat .swarm-stage { container-type: inline-size; overflow: hidden; margin: 12px 0 0; padding: 8px 0 2px; }
#threat .cost-comparison .uas-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 12px; max-width: none; width: 100%; }
#threat .cost-comparison .u { display: block; justify-self: center; max-width: 54px; width: 72%; aspect-ratio: 1.3; opacity: 1; transform: none; transition: none; filter: drop-shadow(0 4px 3px #23291c15); }
#threat .cost-comparison .u img { display: block; width: 100%; height: 100%; object-fit: contain; }
#threat .cost-comparison.has-formation-motion .u { animation: cost-formation-pass 7.2s cubic-bezier(.22,.65,.25,1) both infinite; animation-delay: calc(var(--i) * 35ms); animation-play-state: paused; }
#threat .cost-comparison.is-in-view .u { animation-play-state: running; }
#threat .cost-comparison .ledger-note { padding-top: 12px; margin-top: 10px; border-color: #d3d5cb; font-size: 11px; text-transform: none; letter-spacing: 0; line-height: 1.5; }
@keyframes cost-formation-pass {
  0% { opacity: 0; transform: translate3d(-720px, 0, 0); transform: translate3d(-110cqw, 0, 0); }
  4% { opacity: 1; }
  27%, 65% { opacity: 1; transform: translate3d(0, 0, 0); }
  86%, 100% { opacity: 0; transform: translate3d(720px, 0, 0); transform: translate3d(110cqw, 0, 0); }
}
@media (max-width: 900px) {
  #threat .threat-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  #threat .threat-copy { max-width: 620px; }
  #threat .cost-comparison { justify-self: start; max-width: 620px; }
  .heritage-section#threat h2 { max-width: 18ch; font-size: clamp(36px, 5.7vw, 48px); }
  #threat .threat-grid p.lead { max-width: 54ch; margin-top: 18px; }
  #threat .cost-comparison .num { font-size: 31px; }
}
@media (max-width: 540px) {
  .heritage-section#threat { padding-top: 52px; padding-bottom: 52px; }
  #threat .threat-grid { gap: 28px; }
  .heritage-section#threat h2 { max-width: 17ch; font-size: clamp(34px, 8.6vw, 42px); }
  #threat .threat-grid p.lead { margin-top: 16px; font-size: 16px; line-height: 1.5; }
  #threat .cost-comparison .num { font-size: clamp(24px, 6.7vw, 29px); }
  #threat .cost-comparison .led-tag { gap: 6px 12px; }
  #threat .cost-comparison .led-tag .lbl { font-size: 9px; }
  #threat .missile-stage { height: 76px; }
  #threat .cost-comparison .eq { margin-bottom: 14px; gap: 12px; }
  #threat .cost-comparison .uas-grid { gap: 6px 8px; }
  #threat .swarm-stage { margin-top: 10px; padding-top: 6px; padding-bottom: 2px; }
}
@media (prefers-reduced-motion: reduce), print {
  #threat .cost-comparison .u,
  #threat .cost-comparison.on .u,
  #threat .cost-comparison .msl,
  #threat .cost-comparison:not(.on) .msl { animation: none; opacity: 1; transform: none; transition: none; }
  #threat .cost-comparison .eq i { transform: none; transition: none; }
}
