/* V14 — final targeted corrections; earlier color system, galleries and artwork unchanged. */

/* The calligraphy uses one typeface for the entire word; no alternate final glyph. */
.hero-signature .handtype {
  font-family:var(--hand)!important;
  font-synthesis:none!important;
  font-variant-ligatures:common-ligatures;
}
.hero-signature .hero-final-ya {font:inherit!important;transform:none!important;}

/* The three manifesto statements and their calligraphic caption share one
   progress timeline, with ample but deliberately finite scroll travel. */
.manifesto {height:148svh!important;}
.manifesto-sticky {min-height:0!important;height:100svh!important;}
.manifesto-line {
  opacity:var(--scroll-reveal,1)!important;
  transform:var(--scroll-transform,none)!important;
  transition:none!important;
}
.manifesto-reveal {clip-path:none!important;-webkit-clip-path:none!important;}
.manifesto-quote {
  display:block;
  overflow:visible;
  white-space:normal;
  will-change:clip-path,opacity,transform;
  transition:none!important;
}
.manifesto-quote.is-typing::after {display:none!important;}

/* "Привіт!" stays in the same text run and the same family as the description. */
.about-intro h2.about-title {font-family:var(--display)!important;}
.about-intro,.about-info,.about-content{text-align:center!important;}
.about-lead,.about-paragraph,.about-info p{text-align:center!important;}

/* Keep both moving headline bands in their own normal-flow rows.
   Neither can cross the red caption, blue email or the other band's line box. */
.outro {
  display:grid!important;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto auto auto auto auto;
  align-content:center;
  align-items:center;
  justify-items:center;
  row-gap:clamp(10px,2vh,19px)!important;
  min-height:0!important;
  padding:clamp(12px,2vh,22px) 0 clamp(14px,2vh,25px)!important;
}
.outro-marquee {
  position:relative!important;
  top:auto!important;bottom:auto!important;left:auto!important;
  width:100%!important;
  line-height:1;
  min-width:0;
}
.outro-marquee.one{grid-row:1;}
.outro-label{grid-row:2;margin:0!important;}
.outro-type{grid-row:3;margin:0 auto!important;padding:0 12px;max-width:100%;}
.contact-email{grid-row:4;margin:0 auto!important;max-width:calc(100vw - 30px);}
.outro-marquee.two{grid-row:5;}
.outro-marquee-inner{display:block;line-height:1.1!important;}

/* A thicker blue arrow stream moving in the direction indicated by each
   arrow: upward, rather than sliding horizontally like a marquee. */
.footer-arrow-motion {animation:none!important;}
.footer-arrow-track {animation:none!important;}
.footer-arrow-track span {
  font-family:var(--display)!important;
  font-weight:900!important;
  -webkit-text-stroke:0!important;
  font-size:0!important;
  display:grid!important;
  place-items:center;
  animation:footer-forward 1.85s ease-in-out infinite;
  will-change:transform,opacity;
}
.footer-arrow-track span::before {
  content:"";
  display:block;
  width:clamp(20px,2.05vw,30px);
  height:clamp(27px,2.8vw,39px);
  background:currentColor;
  clip-path:polygon(50% 0%,100% 39%,72% 39%,72% 100%,28% 100%,28% 39%,0 39%);
}
.footer-arrow-track span:nth-child(7n+2){animation-delay:-.17s;}
.footer-arrow-track span:nth-child(7n+3){animation-delay:-.34s;}
.footer-arrow-track span:nth-child(7n+4){animation-delay:-.51s;}
.footer-arrow-track span:nth-child(7n+5){animation-delay:-.68s;}
.footer-arrow-track span:nth-child(7n+6){animation-delay:-.85s;}
.footer-arrow-track span:nth-child(7n){animation-delay:-1.02s;}
@keyframes footer-forward {
  0% {transform:translateY(16px);opacity:.55;}
  52% {opacity:1;}
  100% {transform:translateY(-16px);opacity:.55;}
}

/* Thick red downward arrow is the mouse cursor on precise-pointer devices. */
@media(pointer:fine) {
  body,body *,button,a {cursor:url('cursor-down.svg') 21 5,auto!important;}
}
@media(pointer:coarse) {
  body,body *,button,a {cursor:auto!important;}
}

@media(max-width:700px){
  .manifesto {height:138svh!important;}
  .manifesto-sticky {
    height:100svh!important;
    min-height:0!important;
    padding:clamp(65px,9vh,100px) 12px clamp(24px,5vh,50px)!important;
    justify-content:center!important;
  }
  .manifesto-quote{font-size:clamp(22px,5.7vw,35px)!important;max-width:95%!important;}
  .outro{row-gap:clamp(14px,3vh,24px)!important;padding:20px 0 24px!important;}
  .outro-marquee-inner{font-size:clamp(64px,12vw,112px)!important;}
  .outro-type{font-size:clamp(34px,8vw,55px)!important;line-height:1.3;}
  .contact-email{font-size:clamp(17px,5vw,28px)!important;overflow-wrap:anywhere;}
  .footer-arrow-track span::before{width:20px;height:29px;}
}
@media(prefers-reduced-motion:reduce){
  .footer-arrow-track span{animation:none!important;transform:none!important;opacity:1!important;}
  .manifesto-line{opacity:1!important;transform:none!important;}
  .manifesto-quote{clip-path:none!important;opacity:1!important;transform:none!important;}
}
