@font-face {
  font-family:WorkshopIntro;
  src:url(fonts/oswald-cyrillic-wght-normal.woff2) format("woff2");
  font-weight:200 700;
  font-display:swap;
}

.workshop-intro[hidden] { display:none; }

@media screen {
  html[data-workshop-intro] .workshop-intro[hidden] {
    position:fixed;
    inset:0;
    z-index:200;
    display:grid !important;
    place-items:center;
    overflow:hidden;
    pointer-events:none;
    user-select:none;
    background:linear-gradient(138deg,#dce5d8,#bfcebe);
    color:#202b25;
    visibility:hidden;
    animation:workshop-intro-life 1.18s steps(1,end) both;
  }
  .workshop-intro .intro-sign { display:flex; align-items:center; gap:clamp(13px,2vw,24px); }
  .workshop-intro .intro-sign svg { display:block; width:clamp(74px,7vw,108px); overflow:visible; }
  .workshop-intro .intro-name {
    overflow:hidden;
    font:650 clamp(30px,3.1vw,48px)/1.04 WorkshopIntro,sans-serif;
    letter-spacing:-.035em;
    text-transform:uppercase;
  }
  .workshop-intro .intro-name span { display:block; }
  @keyframes workshop-intro-life { from { visibility:visible; } to { visibility:hidden; } }
}

@media screen and (prefers-reduced-motion:no-preference) {
  html[data-workshop-intro] .workshop-intro[hidden] {
    animation:workshop-intro-life 1.18s steps(1,end) both,
      workshop-intro-out .42s .76s cubic-bezier(.66,0,.22,1) forwards;
  }
  .workshop-intro .intro-name span { animation:workshop-intro-type .52s .16s cubic-bezier(.2,.7,.22,1) both; }
  .workshop-intro .intro-sign svg { animation:workshop-intro-mark .4s cubic-bezier(.16,.8,.24,1) both; }
  @keyframes workshop-intro-out { from { clip-path:inset(0); } to { clip-path:inset(0 0 100% 0); } }
  @keyframes workshop-intro-type { from { transform:translateY(85%); opacity:.2; } to { transform:translateY(0); opacity:1; } }
  @keyframes workshop-intro-mark { from { transform:translateY(6px); opacity:0; } to { transform:translateY(0); opacity:1; } }
}

@media screen and (prefers-reduced-motion:reduce) {
  html[data-workshop-intro] .workshop-intro[hidden] {
    animation:workshop-intro-life 1.18s steps(1,end) both !important;
  }
}
