/* CSS-only editorial motion for the Greek and English home pages. */
/* overflow: hidden creates a scroll container, trapping view() timelines inside each section. */
.stamchar-main .stamchar-section { overflow: clip; }
.stamchar-main .stamchar-hero .stamchar-hero-period { color: inherit; }
@keyframes stamchar-hero-kicker {
  from { opacity: 0; translate: -90px 0; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes stamchar-hero-headline {
  from { opacity: 0; translate: 0 110px; scale: .88; clip-path: inset(0 0 100% 0); }
  to { opacity: 1; translate: 0 0; scale: 1; clip-path: inset(0 0 0 0); }
}
@keyframes stamchar-hero-copy {
  from { opacity: 0; translate: 0 70px; filter: blur(9px); }
  to { opacity: 1; translate: 0 0; filter: blur(0); }
}
@keyframes stamchar-hero-media {
  from { opacity: 0; translate: 100px 0; scale: .82; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes stamchar-label-reveal {
  from { opacity: 0; translate: -90px 0; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes stamchar-title-reveal {
  from { opacity: 0; translate: 0 90px; clip-path: inset(0 0 100% 0); }
  to { opacity: 1; translate: 0 0; clip-path: inset(0 0 0 0); }
}
@keyframes stamchar-copy-reveal {
  from { opacity: 0; translate: 0 65px; filter: blur(8px); }
  to { opacity: 1; translate: 0 0; filter: blur(0); }
}
@keyframes stamchar-card-reveal {
  from { opacity: 0; translate: 0 110px; scale: .86; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes stamchar-line-draw {
  from { transform: scaleX(0); opacity: .15; }
  to { transform: scaleX(1); opacity: .75; }
}
/* CSS-only entrance motion. */
  .stamchar-main .stamchar-hero .stamchar-eyebrow {
    animation: stamchar-hero-kicker .85s cubic-bezier(.16,1,.3,1) both;
  }
  .stamchar-main .stamchar-hero .stamchar-hero-name {
    animation: stamchar-hero-headline 1.35s cubic-bezier(.16,1,.3,1) .12s both;
  }
  .stamchar-main .stamchar-hero .stamchar-hero-role,
  .stamchar-main .stamchar-hero .stamchar-hero-intro,
  .stamchar-main .stamchar-hero .stamchar-hero-actions {
    animation: stamchar-hero-copy 1s cubic-bezier(.16,1,.3,1) both;
  }
  .stamchar-main .stamchar-hero .stamchar-hero-role { animation-delay: .48s; }
  .stamchar-main .stamchar-hero .stamchar-hero-intro { animation-delay: .68s; }
  .stamchar-main .stamchar-hero .stamchar-hero-actions { animation-delay: .88s; }
  .stamchar-main .stamchar-hero .stamchar-portrait-column {
    animation: stamchar-hero-media 1.45s cubic-bezier(.16,1,.3,1) .25s both;
  }

  /* View timelines scrub through a substantial part of the viewport. */
  @supports (animation-timeline: view()) {
    .stamchar-main .stamchar-section .stamchar-kicker {
      animation: stamchar-label-reveal linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 24%;
    }
    .stamchar-main .stamchar-section-inner > .stamchar-kicker::after {
      transform-origin: left center;
      animation: stamchar-line-draw linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 32%;
    }
    .stamchar-main .stamchar-section .stamchar-section-title,
    .stamchar-main .stamchar-section .stamchar-display,
    .stamchar-main .stamchar-section .stamchar-contact-title {
      animation: stamchar-title-reveal linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 38%;
    }
    .stamchar-main .stamchar-collapsible > summary {
      animation: stamchar-title-reveal linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 38%;
    }
    .stamchar-main .stamchar-section .stamchar-section-intro,
    .stamchar-main .stamchar-profile-grid p,
    .stamchar-main .stamchar-contact-email,
    .stamchar-main .stamchar-contact-links {
      animation: stamchar-copy-reveal linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 42%;
    }
    .stamchar-main .stamchar-service-card,
    .stamchar-main .invitation-print-card,
    .stamchar-main .invitation-interactive-card,
    .stamchar-main .stamchar-work-slider,
    .stamchar-main .stamchar-social-slider,
    .stamchar-main .stamchar-reels-slider {
      animation: stamchar-card-reveal linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 37%;
    }
    .stamchar-main .stamchar-service-grid > .wp-block-column:nth-child(2) .stamchar-service-card {
      animation-range: cover 10% cover 47%;
    }
    .stamchar-main .stamchar-service-grid > .wp-block-column:nth-child(3) .stamchar-service-card {
      animation-range: cover 20% cover 57%;
    }
  }
