#md-intro {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: #020508;
  color: #f4f7f8;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  opacity: 1;
  transition: opacity 900ms ease;
}
#md-intro.md-intro--closing { opacity: 0; pointer-events: none; }
#md-intro * { box-sizing: border-box; }
#md-intro .md-intro__scene {
  position: absolute;
  inset: -2%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1100ms ease;
  will-change: opacity, transform;
}
#md-intro .md-intro__scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(1,5,8,.20) 0%, rgba(1,5,8,.20) 42%, rgba(1,5,8,.86) 100%),
    radial-gradient(circle at 50% 46%, rgba(0,0,0,0) 18%, rgba(0,0,0,.56) 100%);
}
#md-intro .md-intro__scene.is-active {
  opacity: 1;
  animation: mdKenBurns 6.2s ease-out both;
}
#md-intro .md-intro__scene:nth-child(even).is-active {
  animation-name: mdKenBurnsAlt;
}
@keyframes mdKenBurns {
  from { transform: scale(1.025) translate3d(0,0,0); }
  to   { transform: scale(1.095) translate3d(-.7%,-.5%,0); }
}
@keyframes mdKenBurnsAlt {
  from { transform: scale(1.02) translate3d(0,0,0); }
  to   { transform: scale(1.09) translate3d(.8%,-.4%,0); }
}
#md-intro .md-intro__chrome {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}
#md-intro .md-intro__brand {
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  top: clamp(18px, 3.5vw, 42px);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 750;
  text-shadow: 0 2px 20px rgba(0,0,0,.85);
}
#md-intro .md-intro__brand span { opacity: .52; font-weight: 500; }
#md-intro .md-intro__skip {
  position: absolute;
  right: clamp(16px, 3vw, 42px);
  top: clamp(15px, 3vw, 34px);
  z-index: 40;
  pointer-events: auto;
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.78);
  background: rgba(3,7,10,.42);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 9px 14px;
  font: inherit;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
#md-intro .md-intro__copy {
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: clamp(56px, 9vh, 110px);
  width: min(920px, calc(100% - 36px));
  transform: translateX(-50%);
  text-align: center;
  text-shadow: 0 2px 30px rgba(0,0,0,.95);
}
#md-intro .md-intro__eyebrow {
  margin: 0 0 10px;
  color: #62efff;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: clamp(11px, 1.4vw, 14px);
  font-weight: 800;
}
#md-intro .md-intro__headline {
  margin: 0;
  font-size: clamp(30px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 850;
}
#md-intro .md-intro__sub {
  margin: 14px auto 0;
  max-width: 760px;
  color: rgba(244,247,248,.82);
  font-size: clamp(14px, 2vw, 20px);
  line-height: 1.45;
}
#md-intro .md-intro__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, rgba(98,239,255,.45), #62efff);
  box-shadow: 0 0 18px rgba(98,239,255,.55);
  z-index: 40;
}
#md-intro.md-intro--playing .md-intro__progress {
  animation: mdIntroProgress 27s linear forwards;
}
@keyframes mdIntroProgress { from { width:0 } to { width:100% } }
#md-intro .md-intro__gate {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 38%, rgba(19,107,121,.18), transparent 32%),
    #020508;
  transition: opacity 650ms ease, visibility 650ms ease;
}
#md-intro .md-intro__gate.is-hidden { opacity:0; visibility:hidden; pointer-events:none; }
#md-intro .md-intro__gate-inner { width:min(680px, 100%); text-align:center; }
#md-intro .md-intro__mark {
  width: 88px;
  height: 88px;
  margin: 0 auto 30px;
  border-radius: 50%;
  border: 1px solid rgba(98,239,255,.6);
  box-shadow: 0 0 50px rgba(98,239,255,.22), inset 0 0 30px rgba(98,239,255,.12);
  position: relative;
}
#md-intro .md-intro__mark::before,
#md-intro .md-intro__mark::after {
  content:""; position:absolute; border-radius:50%; inset:13px; border:1px solid rgba(98,239,255,.32);
}
#md-intro .md-intro__mark::after { inset:28px; background:#62efff; box-shadow:0 0 24px #62efff; border:0; }
#md-intro .md-intro__gate h1 {
  margin:0;
  font-size:clamp(34px,7vw,74px);
  line-height:1;
  letter-spacing:-.04em;
}
#md-intro .md-intro__gate p {
  margin:18px auto 0;
  max-width:560px;
  color:rgba(244,247,248,.66);
  font-size:clamp(14px,2vw,18px);
  line-height:1.55;
}
#md-intro .md-intro__start {
  margin-top:30px;
  border:1px solid rgba(98,239,255,.48);
  border-radius:999px;
  background:rgba(98,239,255,.08);
  color:#eaffff;
  padding:13px 24px;
  font:inherit;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
  box-shadow:0 0 28px rgba(98,239,255,.11);
}
#md-intro .md-intro__start:active { transform:scale(.985); }
#md-intro .md-intro__soundnote { margin-top:14px !important; font-size:11px !important; opacity:.55; }
@media (max-width: 640px) {
  #md-intro .md-intro__copy { bottom: 64px; }
  #md-intro .md-intro__headline { font-size: clamp(31px, 10.8vw, 52px); }
  #md-intro .md-intro__sub { font-size: 14px; }
  #md-intro .md-intro__scene { background-position:center; }
}
@media (prefers-reduced-motion: reduce) {
  #md-intro .md-intro__scene.is-active { animation:none; }
}


/* ============================================================
   0.1.1 — LANGUAGE-NEUTRAL IMAGE MASKS
   Existing cinematic frames stay in place, but any baked-in
   copy is visually removed. The only readable copy is HTML.
   ============================================================ */

/* common lower safe zone: removes captions baked into frames */
#md-intro .md-intro__scene::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
}

/* 01 — contract: remove lower Polish caption + screen copy */
#md-intro .md-intro__scene[data-scene="0"]::before {
  background:
    linear-gradient(180deg,
      rgba(2,5,8,0) 0%,
      rgba(2,5,8,0) 51%,
      rgba(2,5,8,.78) 70%,
      rgba(2,5,8,.98) 100%),
    linear-gradient(120deg,
      rgba(2,5,8,0) 42%,
      rgba(2,5,8,.18) 56%,
      rgba(2,5,8,.88) 100%);
}

/* 02 — event build: remove caption / truck copy */
#md-intro .md-intro__scene[data-scene="1"]::before {
  background:
    linear-gradient(180deg,
      rgba(2,5,8,0) 0%,
      rgba(2,5,8,0) 49%,
      rgba(2,5,8,.72) 67%,
      rgba(2,5,8,.98) 100%),
    linear-gradient(90deg,
      rgba(2,5,8,.50) 0%,
      rgba(2,5,8,.12) 28%,
      rgba(2,5,8,0) 58%);
}

/* 03 — risk: cover the baked "3 DAYS..." block completely.
   We keep storm, stage and tents as the cinematic background. */
#md-intro .md-intro__scene[data-scene="2"] {
  background-size:132%;
  background-position:74% center;
}
#md-intro .md-intro__scene[data-scene="2"]::before {
  background:
    radial-gradient(ellipse at 42% 48%,
      rgba(2,5,8,.99) 0%,
      rgba(2,5,8,.98) 17%,
      rgba(2,5,8,.91) 28%,
      rgba(2,5,8,.54) 39%,
      rgba(2,5,8,0) 54%),
    linear-gradient(180deg,
      rgba(2,5,8,0) 54%,
      rgba(2,5,8,.76) 75%,
      rgba(2,5,8,.98) 100%);
}

/* 04 — weather screens: blur tiny screen labels and remove bottom copy.
   Weather imagery remains visible, text on monitors becomes non-readable. */
#md-intro .md-intro__scene[data-scene="3"]::before {
  background:rgba(2,5,8,.08);
  backdrop-filter:blur(3.2px);
  -webkit-backdrop-filter:blur(3.2px);
  mask-image:linear-gradient(180deg,#000 0%,#000 70%,transparent 100%);
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 70%,transparent 100%);
}
#md-intro .md-intro__scene[data-scene="3"]::after {
  background:
    linear-gradient(180deg,
      rgba(1,5,8,.18) 0%,
      rgba(1,5,8,.22) 42%,
      rgba(1,5,8,.98) 100%),
    radial-gradient(circle at 50% 46%,
      rgba(0,0,0,0) 18%,
      rgba(0,0,0,.62) 100%);
}

/* 05 — decision: keep the glowing ring, erase the Polish center.
   HTML decision headline sits above the image and becomes the only copy. */
#md-intro .md-intro__scene[data-scene="4"]::before {
  background:
    radial-gradient(circle at 42% 50%,
      rgba(1,4,7,.995) 0%,
      rgba(1,4,7,.995) 18%,
      rgba(1,4,7,.985) 26%,
      rgba(1,4,7,.76) 31%,
      rgba(1,4,7,.16) 38%,
      rgba(1,4,7,0) 43%),
    linear-gradient(180deg,
      rgba(2,5,8,.18) 0%,
      rgba(2,5,8,.06) 48%,
      rgba(2,5,8,.84) 76%,
      rgba(2,5,8,.99) 100%),
    linear-gradient(90deg,
      rgba(2,5,8,0) 0%,
      rgba(2,5,8,0) 32%,
      rgba(2,5,8,.32) 60%,
      rgba(2,5,8,.72) 100%);
}

/* 06 — monitoring dashboard: this frame contains many baked labels.
   Turn it into a deliberately soft operational background. */
#md-intro .md-intro__scene[data-scene="5"] {
  background-size:112%;
  background-position:center;
}
#md-intro .md-intro__scene[data-scene="5"]::before {
  background:rgba(2,5,8,.18);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
#md-intro .md-intro__scene[data-scene="5"]::after {
  background:
    linear-gradient(180deg,
      rgba(1,5,8,.36) 0%,
      rgba(1,5,8,.30) 42%,
      rgba(1,5,8,.98) 100%),
    radial-gradient(circle at 50% 46%,
      rgba(0,0,0,.02) 10%,
      rgba(0,0,0,.66) 100%);
}

/* Pseudo masks stay below the shared dark overlay/copy. */
#md-intro .md-intro__scene::after { z-index:2; }

@media (max-width:640px) {
  #md-intro .md-intro__scene[data-scene="2"] {
    background-size:170%;
    background-position:72% center;
  }

  #md-intro .md-intro__scene[data-scene="4"]::before {
    background:
      radial-gradient(circle at 42% 48%,
        rgba(1,4,7,.995) 0%,
        rgba(1,4,7,.995) 20%,
        rgba(1,4,7,.96) 29%,
        rgba(1,4,7,.52) 36%,
        rgba(1,4,7,0) 44%),
      linear-gradient(180deg,
        rgba(2,5,8,.15) 0%,
        rgba(2,5,8,.10) 44%,
        rgba(2,5,8,.91) 73%,
        rgba(2,5,8,.995) 100%);
  }
}
