.home-hero[data-home-polish] {
  --title-indent: .32em;
  --title-lead-size: .96em;
  --title-focus-size: 1em;
  --title-lead-weight: 650;
  --title-focus-weight: 760;
  --title-focus-color: var(--ink-strong);
  --title-focus-spacing: -.035em;
  --second-delay: 66ms;
  --cover-delay: 125ms;
  --title-enter: 360ms;
  --cover-enter: 435ms;
  --entry-curve: cubic-bezier(.2, .68, .24, 1);
  animation: none;
}

.home-hero[data-home-polish="b"] {
  --title-indent: .59em;
  --title-lead-size: .79em;
  --title-focus-size: 1.09em;
  --title-lead-weight: 600;
  --title-focus-weight: 800;
  --title-focus-color: #244a40;
  --title-focus-spacing: -.048em;
  --second-delay: 86ms;
  --cover-delay: 102ms;
  --title-enter: 350ms;
  --cover-enter: 390ms;
}

.home-hero[data-home-polish="c"] {
  --title-indent: .39em;
  --title-lead-size: .86em;
  --title-focus-size: 1.045em;
  --title-lead-weight: 640;
  --title-focus-weight: 720;
  --title-focus-spacing: .008em;
  --second-delay: 102ms;
  --cover-delay: 164ms;
  --title-enter: 420ms;
  --cover-enter: 475ms;
}

.home-hero[data-home-polish] .guide-intro h1 { line-height: 1.12; }
.home-hero[data-home-polish] .guide-intro h1 span { display: inline-block; }

.polish-title-lead {
  font-size: var(--title-lead-size);
  font-weight: var(--title-lead-weight);
}

.polish-title-focus {
  margin-block-start: .07em;
  margin-inline-start: var(--title-indent);
  color: var(--title-focus-color);
  font-size: var(--title-focus-size);
  font-weight: var(--title-focus-weight);
  line-height: 1.13;
  letter-spacing: var(--title-focus-spacing);
}

.home-hero[data-home-polish="c"] .polish-title-focus {
  font-family: "Noto Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
}

.home-hero[data-home-polish] .guide-intro .hero-lead {
  margin-block-start: clamp(22px, 2.7vw, 30px);
  line-height: 1.62;
}

.home-hero[data-home-polish] .graphic-frame,
.home-hero[data-home-polish] .graphic-frame .guide-watermark { animation: none; }

/* OpenMotion Director action order: prompt, then the answer phrase, then the portrait settles. */
@media (prefers-reduced-motion: no-preference) {
  .home-hero[data-polish-enter] .polish-title-lead {
    animation: polish-lead-in var(--title-enter) var(--entry-curve) both;
  }
  .home-hero[data-polish-enter] .polish-title-focus {
    animation: polish-focus-in var(--title-enter) var(--second-delay) var(--entry-curve) both;
  }
  .home-hero[data-polish-enter] .graphic-frame {
    animation: polish-cover-in var(--cover-enter) var(--cover-delay) var(--entry-curve) both;
  }
  @keyframes polish-lead-in {
    from { opacity: .38; translate: 0 5px; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes polish-focus-in {
    from { opacity: .34; translate: -.18em 4px; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes polish-cover-in {
    from { opacity: .55; translate: 0 8px; rotate: -2deg; }
    to { opacity: 1; translate: 0 0; rotate: 0deg; }
  }
}

@media (max-width: 420px) {
  .home-hero[data-home-polish] .guide-intro .hero-lead { margin-block-start: 21px; }
}
