/* Scroll choreography is an enhancement; content is readable without JavaScript. */
.experience-heading { display:block; min-height:0; margin-bottom:48px; }
.experience-copy { max-width:920px; }
.experience-heading > .experience-description {
    max-width:none;
    margin:28px 0 0;
    font-size:22px;
    line-height:1.7;
    color:var(--ink);
    position:relative;
    z-index:3;
}
.photo-window { overflow:hidden; }

/* Real rendered lines alternate direction, by at most eighteen pixels. */
.motion-word { display:inline-block; }
.motion-enabled .motion-word {
    transform:translate3d(calc(var(--line-direction,1) * var(--heading-drift,0px)),0,0);
}
.motion-enabled .motion-reveal {
    opacity:var(--reveal,0);
    transform:none;
}
.motion-enabled .motion-heading { opacity:calc(.3 + .7 * var(--reveal,0)); }
.motion-enabled #hero-title {
    animation:hero-title-enter .9s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes hero-title-enter {
    from { opacity:0; transform:translate3d(0,16px,0); }
    to { opacity:1; transform:translate3d(0,0,0); }
}
.motion-enabled .motion-from-left { transform:translate3d(calc((1 - var(--reveal,0)) * -26px),0,0); }
.motion-enabled .motion-from-right { transform:translate3d(calc((1 - var(--reveal,0)) * 26px),0,0); }
.motion-enabled .motion-from-top { transform:translate3d(0,calc((1 - var(--reveal,0)) * -14px),0); }
.motion-enabled .motion-sweep-left {
    opacity:1;
    clip-path:inset(0 0 0 calc((1 - var(--reveal,0)) * 100%));
    transform:none;
}
.motion-enabled .motion-reveal.motion-done,
.motion-enabled [data-motion-forced],
.motion-enabled [data-motion]:focus-within {
    opacity:1;
    transform:none;
    clip-path:none;
}
@media(max-width:767px) {
    .experience-heading { margin-bottom:30px; }
    .experience-heading > .experience-description { font-size:18px; margin-top:24px; }
    .motion-enabled .motion-from-left { transform:translate3d(calc((1 - var(--reveal,0)) * -10px),0,0); }
    .motion-enabled .motion-from-right { transform:translate3d(calc((1 - var(--reveal,0)) * 10px),0,0); }
    .motion-enabled .motion-done { transform:none; }
}
@media(prefers-reduced-motion:reduce) {
    #hero-title { animation:none!important; }
    .motion-word { transform:none!important; }
    .motion-reveal { opacity:1!important; transform:none!important; clip-path:none!important; }
}
@media print {
    .facts-strip { color:var(--ink); background:#fff; border-color:var(--line); }
    .facts-inner span { color:var(--ink); }
    .motion-word, .motion-reveal { opacity:1!important; transform:none!important; clip-path:none!important; }
}
