.redsky-visual-command {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(92px, 10vw, 148px) 0;
  background:
    radial-gradient(circle at 17% 48%, rgba(176, 20, 34, .2), transparent 29%),
    radial-gradient(circle at 81% 37%, rgba(89, 10, 22, .18), transparent 31%),
    linear-gradient(118deg, #04070b 0%, #080a0f 49%, #05070b 100%);
}

.redsky-visual-command::before,
.redsky-visual-command::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.redsky-visual-command::before {
  z-index: -3;
  opacity: .62;
  background:
    radial-gradient(ellipse at 22% 64%, rgba(225, 34, 48, .12), transparent 23%),
    radial-gradient(ellipse at 53% 16%, rgba(139, 151, 168, .07), transparent 27%),
    radial-gradient(ellipse at 72% 75%, rgba(103, 113, 129, .055), transparent 26%);
}

.redsky-visual-command::after {
  z-index: -2;
  opacity: .15;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, transparent 2%, #000 46%, #000 82%, transparent 100%);
}

.visual-command-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.visual-command-haze,
.visual-command-light-sweep,
.visual-command-radar {
  position: absolute;
  display: block;
  will-change: transform, opacity;
}

.visual-command-haze {
  width: 62vw;
  height: 48%;
  border-radius: 50%;
  opacity: .2;
  background: radial-gradient(ellipse, rgba(143, 153, 169, .2), rgba(42, 50, 63, .08) 42%, transparent 72%);
}

.visual-command-haze--near {
  left: -12%;
  bottom: -16%;
  animation: visualCommandHazeNear 18s ease-in-out infinite alternate;
}

.visual-command-haze--far {
  top: -20%;
  right: -19%;
  opacity: .13;
  animation: visualCommandHazeFar 24s ease-in-out infinite alternate;
}

.visual-command-light-sweep {
  top: -35%;
  left: 28%;
  width: 12%;
  height: 170%;
  opacity: .12;
  transform: rotate(17deg) translate3d(-360%, 0, 0);
  background: linear-gradient(90deg, transparent, rgba(255, 49, 64, .45), transparent);
  animation: visualCommandSweep 13s ease-in-out infinite;
}

.visual-command-radar {
  width: min(54vw, 760px);
  aspect-ratio: 1;
  right: -20%;
  top: 7%;
  border: 1px solid rgba(255, 87, 99, .11);
  border-radius: 50%;
  opacity: .35;
  background:
    repeating-radial-gradient(circle, transparent 0 58px, rgba(255, 255, 255, .07) 59px 60px),
    conic-gradient(from 12deg, transparent 0 78%, rgba(230, 43, 58, .14) 88%, transparent 94%);
  animation: visualCommandRadar 28s linear infinite;
}

.redsky-visual-command .showcase-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(360px, .9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
}

.redsky-visual-command .showcase-image {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 530px;
  margin: 0;
  justify-self: center;
}

.redsky-visual-command .showcase-image::before {
  content: "";
  position: absolute;
  inset: 9% -7% -6% 8%;
  z-index: -1;
  border-radius: 42px;
  opacity: .58;
  background: radial-gradient(ellipse at 50% 68%, rgba(220, 25, 43, .32), transparent 66%);
  animation: visualCommandOuterGlow 7s ease-in-out infinite alternate;
}

.redsky-visual-command .showcase-frame {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 944 / 1360;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: clamp(24px, 3vw, 36px);
  background: #030609;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, .58),
    0 0 0 1px rgba(218, 31, 46, .08),
    0 0 58px rgba(180, 18, 33, .12);
}

.redsky-visual-command .showcase-frame::before,
.redsky-visual-command .showcase-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.redsky-visual-command .showcase-frame::before {
  background:
    linear-gradient(180deg, rgba(1, 4, 8, .04), transparent 44%, rgba(0, 0, 0, .2)),
    radial-gradient(circle at 71% 44%, rgba(235, 52, 54, .12), transparent 29%);
}

.redsky-visual-command .showcase-frame::after {
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, .16), transparent 16%, transparent 77%, rgba(222, 37, 51, .2));
  mix-blend-mode: screen;
}

.redsky-visual-command .showcase-frame picture {
  position: absolute;
  inset: 0;
  display: block;
}

.redsky-visual-command .showcase-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.04) brightness(.9) saturate(.93);
  transform: scale(1.015);
  will-change: transform;
  animation: visualCommandImageDrift 14s ease-in-out infinite alternate;
}

.visual-command-image-glow {
  position: absolute;
  inset: 24% -8% -9% 18%;
  z-index: 2;
  opacity: .16;
  pointer-events: none;
  background: radial-gradient(ellipse at 58% 56%, rgba(255, 51, 43, .5), transparent 60%);
  animation: visualCommandImageGlow 6s ease-in-out infinite alternate;
}

.visual-command-scan {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: -24%;
  height: 20%;
  opacity: .13;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 72, 82, .34), transparent);
  animation: visualCommandScan 10s linear infinite;
}

.visual-command-corners {
  position: absolute;
  inset: 17px;
  z-index: 4;
  opacity: .48;
  pointer-events: none;
  background:
    linear-gradient(#ff5c69, #ff5c69) left top / 42px 1px no-repeat,
    linear-gradient(#ff5c69, #ff5c69) left top / 1px 42px no-repeat,
    linear-gradient(#ff5c69, #ff5c69) right bottom / 42px 1px no-repeat,
    linear-gradient(#ff5c69, #ff5c69) right bottom / 1px 42px no-repeat;
}

.redsky-visual-command .showcase-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 4.4vw, 58px);
  border: 1px solid rgba(255, 255, 255, .105);
  border-radius: clamp(26px, 3vw, 38px);
  background:
    radial-gradient(circle at 100% 0%, rgba(192, 24, 39, .14), transparent 32%),
    linear-gradient(145deg, rgba(16, 20, 27, .93), rgba(8, 11, 16, .82));
  box-shadow:
    0 30px 90px rgba(0, 0, 0, .45),
    inset 0 1px 0 rgba(255, 255, 255, .045);
  backdrop-filter: blur(14px);
}

.redsky-visual-command .showcase-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 9%;
  width: 42%;
  height: 1px;
  opacity: .8;
  background: linear-gradient(90deg, transparent, #ee3d4d, transparent);
}

.redsky-visual-command .showcase-copy::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -130px;
  bottom: -150px;
  border-radius: 50%;
  opacity: .2;
  background: radial-gradient(circle, rgba(220, 33, 48, .5), transparent 68%);
  pointer-events: none;
  animation: visualCommandCardGlow 7s ease-in-out infinite alternate;
}

.redsky-visual-command .section-kicker {
  color: #ff6875;
  letter-spacing: .2em;
  text-shadow: 0 0 20px rgba(240, 53, 69, .24);
}

.redsky-visual-command .showcase-copy h2 {
  max-width: 720px;
  margin: 17px 0 27px;
  color: #fff;
  font: 850 clamp(2.25rem, 3.5vw, 3.9rem) / 1 Orbitron, Inter, sans-serif;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.redsky-visual-command .showcase-copy h2 span {
  display: block;
}

.redsky-visual-command .showcase-prose {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 15px;
  max-width: 680px;
}

.redsky-visual-command .showcase-prose p {
  margin: 0;
  color: #b9c0cb;
  font-size: clamp(.96rem, 1.15vw, 1.06rem);
  line-height: 1.75;
}

.redsky-visual-command .showcase-prose .showcase-lead {
  color: #eef1f5;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  font-weight: 650;
  line-height: 1.62;
}

.redsky-visual-command .showcase-prose .showcase-signature {
  margin-top: 4px;
  color: #f5f6f8;
  font-weight: 750;
}

.redsky-visual-command .showcase-tags {
  position: relative;
  z-index: 1;
  gap: 9px;
  margin-top: 28px;
}

.redsky-visual-command .showcase-tags span {
  min-height: 38px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  border-color: rgba(255, 92, 105, .18);
  color: #f0f2f6;
  background: linear-gradient(180deg, rgba(190, 26, 42, .11), rgba(255, 255, 255, .025));
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
}

@keyframes visualCommandHazeNear {
  from { transform: translate3d(-4%, 2%, 0) scale(1); opacity: .14; }
  to { transform: translate3d(10%, -5%, 0) scale(1.12); opacity: .25; }
}

@keyframes visualCommandHazeFar {
  from { transform: translate3d(6%, -3%, 0) scale(1.08); }
  to { transform: translate3d(-10%, 7%, 0) scale(.98); }
}

@keyframes visualCommandSweep {
  0%, 18% { transform: rotate(17deg) translate3d(-430%, 0, 0); opacity: 0; }
  35% { opacity: .14; }
  67% { opacity: .1; }
  82%, 100% { transform: rotate(17deg) translate3d(650%, 0, 0); opacity: 0; }
}

@keyframes visualCommandRadar {
  to { transform: rotate(360deg); }
}

@keyframes visualCommandOuterGlow {
  from { transform: scale(.97); opacity: .38; }
  to { transform: scale(1.04); opacity: .68; }
}

@keyframes visualCommandImageDrift {
  from { transform: scale(1.015) translate3d(0, 0, 0); }
  to { transform: scale(1.035) translate3d(-.45%, -.45%, 0); }
}

@keyframes visualCommandImageGlow {
  from { opacity: .1; transform: scale(.96); }
  to { opacity: .22; transform: scale(1.05); }
}

@keyframes visualCommandScan {
  0%, 15% { transform: translate3d(0, -150%, 0); opacity: 0; }
  28% { opacity: .13; }
  72% { opacity: .09; }
  88%, 100% { transform: translate3d(0, 660%, 0); opacity: 0; }
}

@keyframes visualCommandCardGlow {
  from { transform: scale(.92); opacity: .12; }
  to { transform: scale(1.08); opacity: .24; }
}

@media (max-width: 1080px) {
  .redsky-visual-command .showcase-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .redsky-visual-command .showcase-image {
    max-width: 580px;
  }

  .redsky-visual-command .showcase-copy {
    width: min(100%, 780px);
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .redsky-visual-command {
    padding: 78px 0;
  }

  .redsky-visual-command::after {
    opacity: .1;
    background-size: 48px 48px;
  }

  .visual-command-haze--far,
  .visual-command-radar {
    display: none;
  }

  .visual-command-haze {
    width: 115vw;
    height: 36%;
  }

  .redsky-visual-command .showcase-grid {
    gap: 26px;
  }

  .redsky-visual-command .showcase-image {
    max-width: 500px;
  }

  .redsky-visual-command .showcase-frame {
    border-radius: 24px;
  }

  .redsky-visual-command .showcase-frame img {
    animation-duration: 17s;
  }

  .visual-command-corners {
    inset: 12px;
  }

  .redsky-visual-command .showcase-copy {
    padding: 28px 22px;
    border-radius: 24px;
    backdrop-filter: none;
  }

  .redsky-visual-command .showcase-copy h2 {
    margin: 15px 0 23px;
    font-size: clamp(1.8rem, 8.2vw, 2.45rem);
    line-height: 1.02;
    letter-spacing: -.035em;
  }

  .redsky-visual-command .showcase-prose {
    gap: 13px;
  }

  .redsky-visual-command .showcase-prose p {
    font-size: .94rem;
    line-height: 1.65;
  }

  .redsky-visual-command .showcase-prose .showcase-lead {
    font-size: 1rem;
  }

  .redsky-visual-command .showcase-tags {
    gap: 8px;
    margin-top: 24px;
  }

  .redsky-visual-command .showcase-tags span {
    min-height: 36px;
    padding: 8px 10px;
    font-size: .63rem;
    letter-spacing: .065em;
  }
}

@media (max-width: 360px) {
  .redsky-visual-command .showcase-copy {
    padding: 25px 18px;
  }

  .redsky-visual-command .showcase-copy h2 {
    font-size: 1.74rem;
  }

  .redsky-visual-command .showcase-tags span {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .redsky-visual-command *,
  .redsky-visual-command *::before,
  .redsky-visual-command *::after {
    animation: none !important;
    transition: none !important;
  }

  .redsky-visual-command .showcase-frame img {
    transform: none;
  }
}
