/* =========================================
   VIDEO STAGE
========================================= */
.video-stage {
  position: relative;
  padding: clamp(76px, 8vw, 124px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(226, 0, 82, 0.045), transparent 18%),
    radial-gradient(circle at 88% 84%, rgba(0, 182, 240, 0.04), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 54%, #fafbfd 100%);
}

.video-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.7), transparent 16%),
    radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.45), transparent 14%);
}

.video-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.065;
  background-image:
    url("../../images/graphical-separator-red.svg"),
    url("../../images/graphical-separator-red.svg");
  background-repeat: no-repeat, no-repeat;
  background-size: 180px 180px, 220px 220px;
  background-position: left -26px bottom -22px, right -40px top 84px;
  filter: saturate(0.9);
}

.video-stage__inner {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.video-stage__intro {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.video-stage__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(226, 0, 82, 0.07);
  color: #b60d4d;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-stage__title {
  margin: 18px 0 12px;
  color: #11141b;
  font-size: clamp(1.9rem, 3vw, 2.95rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.video-stage__lead {
  margin: 0 auto;
  max-width: 62ch;
  color: #667085;
  font-size: clamp(0.98rem, 1.15vw, 1.05rem);
  line-height: 1.8;
}

/* =========================================
   SHELL
========================================= */
.video-stage__shell {
  position: relative;
  padding: clamp(16px, 2vw, 22px);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.74) 100%);
  border: 1px solid rgba(17, 20, 27, 0.08);
  box-shadow:
    0 26px 52px rgba(7, 12, 20, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  overflow: hidden;
}

.video-stage__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 34%),
    radial-gradient(circle at 14% 12%, rgba(226, 0, 82, 0.04), transparent 20%),
    radial-gradient(circle at 88% 82%, rgba(5, 175, 98, 0.03), transparent 18%);
}

.video-stage__shell::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(226, 0, 82, 0.78) 0%,
      rgba(226, 0, 82, 0.78) 33.333%,
      rgba(0, 182, 240, 0.78) 33.333%,
      rgba(0, 182, 240, 0.78) 66.666%,
      rgba(5, 175, 98, 0.78) 66.666%,
      rgba(5, 175, 98, 0.78) 100%
    );
  opacity: 0.92;
}

.video-stage__mark {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
}

.video-stage__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-stage__mark--left {
  left: -24px;
  bottom: -24px;
  width: 132px;
  height: 132px;
}

.video-stage__mark--right {
  right: -28px;
  top: -18px;
  width: 138px;
  height: 138px;
}

/* =========================================
   GRID STATES
========================================= */
.video-stage__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.5vw, 22px);
  transition: none;
}

.video-stage__grid.is-a1 {
  grid-template-areas:
    "a1 a1"
    "b1 b2";
  grid-template-rows:
    clamp(340px, 38vw, 620px)
    clamp(220px, 22vw, 340px);
}

.video-stage__grid.is-b1 {
  grid-template-areas:
    "a1 b2"
    "b1 b1";
  grid-template-rows:
    clamp(220px, 22vw, 300px)
    clamp(340px, 38vw, 620px);
}

.video-stage__grid.is-b2 {
  grid-template-areas:
    "b1 a1"
    "b2 b2";
  grid-template-rows:
    clamp(220px, 22vw, 300px)
    clamp(340px, 38vw, 620px);
}

/* =========================================
   CARD
========================================= */
.stage-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #0c1017;
  border: 1px solid rgba(17, 20, 27, 0.08);
  box-shadow:
    0 18px 34px rgba(7, 12, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transform-origin: top left;
}

.stage-card--a1 {
  grid-area: a1;
}

.stage-card--b1 {
  grid-area: b1;
}

.stage-card--b2 {
  grid-area: b2;
}

.stage-card__media,
.stage-card__video,
.stage-card__shade,
.stage-card__trigger {
  position: absolute;
  inset: 0;
}

.stage-card__media {
  isolation: isolate;
}

.stage-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0c1017;
  transform: scale(1.01);
}

.stage-card__shade {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 8, 14, 0.08), rgba(5, 8, 14, 0.18) 42%, rgba(5, 8, 14, 0.82)),
    linear-gradient(90deg, rgba(5, 8, 14, 0.28), rgba(5, 8, 14, 0.02) 38%, rgba(5, 8, 14, 0.32));
}

.stage-card__trigger {
  z-index: 3;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* =========================================
   PLAY BUTTON
========================================= */
.stage-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(76px, 7vw, 108px);
  height: clamp(76px, 7vw, 108px);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: clamp(1.7rem, 2vw, 2.25rem);
  background:
    radial-gradient(circle at 35% 32%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0.06) 100%);
  border: 2px solid rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 8px rgba(255, 255, 255, 0.08),
    0 0 0 18px rgba(255, 255, 255, 0.04);
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;
  isolation: isolate;
}

.stage-card__play::before,
.stage-card__play::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.stage-card__play::before {
  inset: -12px;
  border: 2px solid rgba(255, 255, 255, 0.34);
  animation: stagePlayPulse 2.4s ease-out infinite;
}

.stage-card__play::after {
  inset: -24px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  animation: stagePlayPulseOuter 2.4s ease-out infinite;
}

.stage-card__play i {
  position: relative;
  z-index: 2;
  transform: translateX(2px);
  animation: stagePlayGlyph 2.2s ease-in-out infinite;
}

.stage-card:hover .stage-card__play {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow:
    0 22px 40px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 10px rgba(255, 255, 255, 0.10),
    0 0 0 22px rgba(255, 255, 255, 0.045);
}

.stage-card.is-active .stage-card__play {
  background: radial-gradient(circle at 35% 32%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.11) 42%, rgba(255, 255, 255, 0.08) 100%);
  transform: translate(-50%, -50%) scale(1.08);
}

.stage-card:hover .stage-card__play,
.stage-card:focus-within .stage-card__play {
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0.96;
}

.stage-card:hover .stage-card__play::before,
.stage-card:focus-within .stage-card__play::before,
.stage-card:hover .stage-card__play::after,
.stage-card:focus-within .stage-card__play::after {
  animation-duration: 1.8s;
}

.stage-card.is-active .stage-card__play::before,
.stage-card.is-active .stage-card__play::after {
  animation-play-state: paused;
  opacity: 0.5;
}

/* =========================================
   STATUS
========================================= */
.stage-card__status {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.stage-card.is-active .stage-card__status {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   META
========================================= */
.stage-card__meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  max-width: min(560px, 88%);
  padding: 22px 0 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.32s ease,
    transform 0.42s cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
}

.stage-card__meta::before {
  content: "";
  position: absolute;
  inset: -56px -28px -18px -28px;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(5, 8, 14, 0) 0%,
      rgba(5, 8, 14, 0.10) 26%,
      rgba(5, 8, 14, 0.34) 62%,
      rgba(5, 8, 14, 0.72) 100%
    );
  border-radius: 0 0 24px 24px;
  z-index: -1;
}

.stage-card:hover .stage-card__meta,
.stage-card:focus-within .stage-card__meta {
  opacity: 1;
  transform: translateY(0);
}

.stage-card__meta .stage-card__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 0 0 12px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.stage-card--a1 .stage-card__meta .stage-card__eyebrow {
  background: rgba(226, 0, 82, 0.18);
  border-color: rgba(226, 0, 82, 0.26);
}

.stage-card--b1 .stage-card__meta .stage-card__eyebrow {
  background: rgba(0, 182, 240, 0.18);
  border-color: rgba(0, 182, 240, 0.26);
}

.stage-card--b2 .stage-card__meta .stage-card__eyebrow {
  background: rgba(5, 175, 98, 0.18);
  border-color: rgba(5, 175, 98, 0.26);
}

.stage-card__title {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 2.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.18),
    0 10px 24px rgba(0, 0, 0, 0.22);
}

.stage-card__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  line-height: 1.72;
  max-width: 54ch;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.22);
}

/* =========================================
   PLAY KEYFRAMES
========================================= */
@keyframes stagePlayPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.16);
    opacity: 0;
  }
  100% {
    transform: scale(1.16);
    opacity: 0;
  }
}

@keyframes stagePlayPulseOuter {
  0% {
    transform: scale(0.88);
    opacity: 0.34;
  }
  75% {
    transform: scale(1.28);
    opacity: 0;
  }
  100% {
    transform: scale(1.28);
    opacity: 0;
  }
}

@keyframes stagePlayGlyph {
  0%,
  100% {
    transform: translateX(2px) scale(1);
  }
  50% {
    transform: translateX(2px) scale(1.06);
  }
}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 992px) {
  .video-stage__grid,
  .video-stage__grid.is-a1,
  .video-stage__grid.is-b1,
  .video-stage__grid.is-b2 {
    grid-template-areas:
      "a1"
      "b1"
      "b2";
    grid-template-columns: 1fr;
    grid-template-rows:
      clamp(280px, 54vw, 420px)
      clamp(220px, 44vw, 320px)
      clamp(220px, 44vw, 320px);
  }

  .stage-card__meta {
    max-width: calc(100% - 36px);
  }

  .stage-card__title {
    font-size: clamp(1.2rem, 4vw, 1.9rem);
  }
}

@media (max-width: 768px) {
  .video-stage {
    padding: 64px 0;
  }

  .video-stage::after {
    background-size: 120px 120px, 150px 150px;
    background-position: left -18px bottom -14px, right -26px top 116px;
    opacity: 0.05;
  }

  .video-stage__inner {
    width: min(100% - 32px, 1440px);
  }

  .video-stage__intro {
    margin-bottom: 32px;
  }

  .video-stage__shell {
    padding: 14px;
    border-radius: 26px;
  }

  .video-stage__shell::after {
    left: 14px;
    right: 14px;
  }

  .video-stage__mark--left,
  .video-stage__mark--right {
    display: none;
  }

  .stage-card {
    border-radius: 22px;
  }

  .stage-card__meta {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 16px 0 0;
  }

  .stage-card__meta::before {
    inset: -44px -18px -14px -18px;
    border-radius: 0 0 18px 18px;
  }

  .stage-card__status {
    top: 14px;
    left: 14px;
  }

  .stage-card__play {
    width: 68px;
    height: 68px;
    font-size: 1.45rem;
    box-shadow:
      0 16px 28px rgba(0, 0, 0, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 0 0 6px rgba(255, 255, 255, 0.08),
      0 0 0 14px rgba(255, 255, 255, 0.04);
  }

  .stage-card__play::before {
    inset: -10px;
  }

  .stage-card__play::after {
    inset: -18px;
  }

  .stage-card__text {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage-card,
  .stage-card__play,
  .stage-card__status,
  .stage-card__meta {
    transition: none !important;
  }

  .stage-card__play::before,
  .stage-card__play::after,
  .stage-card__play i {
    animation: none !important;
  }
}