/* V22: last targeted font, pacing, cursor and mobile improvements. */
@font-face {
  font-family: "Yermii Great Vibes";
  src: url("fonts/GreatVibes-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root { --hand: "Yermii Great Vibes", cursive; }
/* Uploaded Great Vibes, including Ukrainian Cyrillic, for red calligraphy only. */
.handtype,
.hero-signature .handtype,
.manifesto-quote,
.outro-type,
.accent-hand,
.about-hand {
  font-family: "Yermii Great Vibes", cursive !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-synthesis: none !important;
}
.hero-signature .handtype, .manifesto-quote, .outro-type {
  overflow: visible;
}
/* Previously this one sentence inherited an old condensed title font. */
.about-intro h2.about-title {
  font-family: "Yermii Unbounded", sans-serif !important;
  font-weight: 600 !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  line-height: 1.5 !important;
}
/* Show each short information block together, rather than its heading
   suddenly appearing and its text taking a long time to catch up. */
.about-info .about-block[data-scroll-type] > h3,
.about-info .about-block[data-scroll-type] > p {
  opacity: 0;
  transform: translate3d(0,8px,0);
  transition: opacity .32s ease-out, transform .45s cubic-bezier(.2,.7,.25,1);
}
.about-info .about-block[data-scroll-type] > .info-ink-visible {
  opacity: 1;
  transform: none;
}
/* A single gentle reveal per paragraph and no inherited animated opacity
   applied to individual words inside the education / experience blocks. */
.about-info .about-block .about-type-word { opacity: 1; }
@media (hover:hover) and (pointer:fine) {
  html.yermii-cursor-active, html.yermii-cursor-active body,
  html.yermii-cursor-active body * { cursor: none !important; }
  .yermii-custom-cursor {
    position: fixed;
    top: 0; left: 0;
    z-index: 2147483647;
    pointer-events: none;
    opacity: 0;
    width: 12px; height: 14px;
    transform: translate3d(-90px,-90px,0);
  }
  html.yermii-cursor-active .yermii-custom-cursor {opacity:1;}
  .yermii-cursor-triangle {
    display:block;
    width: 12px; height: 14px;
    background: #FDCA00;
    clip-path: polygon(0% 4%,100% 4%,50% 100%);
    filter:drop-shadow(0 0 1px rgba(0,0,0,.35));
    transform-origin:50% 50%;
    transition:transform .24s cubic-bezier(.2,.75,.2,1);
  }
  .yermii-custom-cursor.cursor-on-art .yermii-cursor-triangle {transform:rotate(-25deg);}
  .yermii-custom-cursor.cursor-point-left .yermii-cursor-triangle {transform:rotate(90deg);}
  .yermii-custom-cursor.cursor-pressed .yermii-cursor-triangle {transform:scale(.84);}
  .yermii-custom-cursor.cursor-point-left.cursor-pressed .yermii-cursor-triangle {transform:rotate(90deg) scale(.84);}
}
@media (hover:none), (pointer:coarse) {.yermii-custom-cursor{display:none!important;}}
@media (max-width:700px) {
  .about-intro h2.about-title {font-size:16px!important;line-height:1.55!important;}
  /* Great Vibes has a naturally small x-height, so increase only its mobile
     visual size without disturbing the approved layout or ink colours. */
  .hero-signature .handtype {font-size:clamp(38px,11vw,57px)!important;line-height:1.35!important;}
  .manifesto-quote {font-size:clamp(30px,8vw,42px)!important;line-height:1.42!important;}
  .outro-type {font-size:clamp(43px,10vw,64px)!important;line-height:1.42!important;}
  .about-info .about-block[data-scroll-type] > h3,
  .about-info .about-block[data-scroll-type] > p {transition-duration:.3s,.4s;}
}
@media (prefers-reduced-motion:reduce) {
  .about-info .about-block[data-scroll-type] > h3,
  .about-info .about-block[data-scroll-type] > p {opacity:1!important;transform:none!important;transition:none!important;}
  .yermii-cursor-triangle {transition:none!important;}
}

/* V23: the small closing caption uses the same Unbounded as black copy,
   for both Ukrainian and English translations. Keep headings unchanged. */
.outro-label {
  color: var(--ink) !important;
  font-family: "Yermii Unbounded", sans-serif !important;
  font-weight: 600 !important;
  font-style: normal !important;
  letter-spacing: normal !important;
}

/* Restore the moving blue arrow line. v14's important transform:none
   prevented the v16 animation's transform from taking effect. */
.footer-arrows .footer-arrow-motion {
  animation: yermii-footer-opposite 18s linear infinite !important;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .footer-arrows .footer-arrow-motion { animation: none !important; }
}
