/* r3-ornaments: drawn ornaments that move, further down every page (tallyfy/work-queue#5229, owner decision 90).

   Five small drawings from the crane's country, placed by rule at the pauses of a page, never in a passage:
     1. the statement swoosh   the hero's own orange stroke under one short centered statement (the calculator's question)
     2. the flight line        a dotted line and three far cranes beside the closing call; one crane in an article's margin
     3. the far bank           a band's top edge cut as the far bank, the visitor's sun or moon half behind it
     4. the reeds              standing on the far bank at the page's side; alone where a template's list of steps ends
     5. the feather            the tailpiece where an article's own text ends
   The drawings are still files in art/ornaments/, made by art/ornaments/build-ornaments.mjs with the illustrator's own
   brush and knife (release 6d75567d6c37). Each ornament is a pseudo-element of an element the page already has, with
   its still as a background. No markup is added and no script runs.

   Two edges, each with one job. A wetland picture's lower edge is the paper shore (the shared shoreline
   module). A band's top edge may be the far bank (art/ornaments/far-bank.svg). Neither stands in for the other.

   Movement, in three steps by what the browser has:
     a. timeline-trigger (the installed test Chromiums 147, 148 and 153 have it; 143 and 145 do not): each ornament
        draws once, timed, as its box comes in at the foot
        of the window. Only the closing flight rides once after it is drawn: its cranes rise 2.5px and
        settle over 3.6 s, starting as the 1.1 s draw ends, paused off screen, then still for good. It moves 4.7 s
        from first movement to rest, under the look's five second rule for movement with no pause control (the
        review of website-astro#772: it was three rounds of 15 s; website-astro#773: the ride waited until 2.5 s,
        so the whole flight spanned 6.1 s).
     b. scroll-driven animation only (seen running in Chromium 145): the same keyframes run with the scroll as the
        box comes in. No drift.
     c. neither, or reduced motion, or ?motion=0: the finished still.
   So nothing runs off screen, and two ornaments can only move together if they enter the window together; the
   placements keep them more than a window apart. A trigger or a view timeline is declared only at the widths
   where its ornament is drawn, and nothing here is tied to the scroll for longer than its own draw.

   Every rule starts with body.tfx (through html where a page mark is read), so with the look off there is none. */

/* ---------- 0. The visitor's hour (first.js sets data-tfx-hour before paint) ---------- */
body.tfx {
  --orn-birds: url(../art/ornaments/flight-birds-day.svg);
  --orn-birds-up: url(../art/ornaments/flight-up-birds-day.svg);
  --orn-short: url(../art/ornaments/flight-short-day.svg);
  --orn-hour: url(../art/ornaments/hour-day.svg);
  --orn-hour-x: clamp(72px, 21%, 330px);   /* where the sun or moon stands, from the bank's own left end */
  --orn-bank-x: 0%;                        /* the bank's tile is laid from this side, so the saddle under the sun stays under it */
  --orn-reeds-x: calc(100% - 12px);        /* the reeds stand at the side away from the sun */
}
html[data-tfx-hour="dawn"] body.tfx {
  --orn-birds: url(../art/ornaments/flight-birds-dawn.svg); --orn-birds-up: url(../art/ornaments/flight-up-birds-dawn.svg);
  --orn-short: url(../art/ornaments/flight-short-dawn.svg); --orn-hour: url(../art/ornaments/hour-dawn.svg);
  --orn-hour-x: clamp(64px, 13%, 200px);
}
html[data-tfx-hour="dusk"] body.tfx {
  --orn-birds: url(../art/ornaments/flight-birds-dusk.svg); --orn-birds-up: url(../art/ornaments/flight-up-birds-dusk.svg);
  --orn-short: url(../art/ornaments/flight-short-dusk.svg); --orn-hour: url(../art/ornaments/hour-dusk.svg);
  --orn-hour-x: calc(100% - clamp(170px, 22%, 290px)); --orn-bank-x: 100%; --orn-reeds-x: 12px;
}
html[data-tfx-hour="night"] body.tfx {
  --orn-birds: url(../art/ornaments/flight-birds-night.svg); --orn-birds-up: url(../art/ornaments/flight-up-birds-night.svg);
  --orn-short: url(../art/ornaments/flight-short-night.svg); --orn-hour: url(../art/ornaments/hour-night.svg);
  --orn-hour-x: clamp(100px, 28%, 400px); --orn-hour-h: 56px;   /* the moon stands whole above the bank: half of a crescent is a horn */
}

/* ---------- 1. The statement swoosh. One short centered statement on a page takes the hero's stroke, drawn once.
   The heading is shrunk to its words (it stays centered by its auto margins, and no line breaks differently), and
   the stroke is its ::after, placed as the hero's is under its word.
   The rule is: a centered h2 of at most about 24 letters, one a page, never in a view with another ornament. CSS
   cannot count letters or pick the first such heading on a page, so this sheet names the two short centered
   statements it can find:
     a. home: the heading over the film, "Workflow Made Easy" (so the far bank goes to the next band, section 3);
     b. elsewhere: the question over the cost calculator, a centered h2 directly before a .card-snipped block
        ("Is the status quo free?" on pricing, "Are delays acceptable?" on a solution page), from 640px, where it
        stands on one line. Not on alternative pages, whose question is a long sentence.
   One a page: rule b leaves home out (it has rule a's), by the mark home is built with. A heading wider than 11em
   (about 24 letters) gets no stroke: the stroke's width falls to nothing, though its trigger is still declared,
   which CSS cannot help. For the exact rule the build would mark the heading (class tfx-statement, see the notes). ---------- */
html[data-tfx-has~="process-wall"] body.tfx main > section > .max-w-6xl > .text-center:has(+ .vimeo-facade) > h2 { position: relative; width: fit-content; margin-left: auto; margin-right: auto; }
html[data-tfx-has~="process-wall"] body.tfx main > section > .max-w-6xl > .text-center:has(+ .vimeo-facade) > h2::after {
  content: ""; position: absolute; left: -1%; top: calc(100% - 0.16em); width: 102%; height: 0.375em; pointer-events: none;
  max-width: max(0px, calc((11em - 100%) * 9999));
  background: url(../art/ornaments/swoosh-word.svg) no-repeat 0 0 / 100% 100%;
}
@media (min-width: 640px) {
  html:not([data-tfx-canonical$="-alternative/"], [data-tfx-has~="process-wall"]) body.tfx main h2.text-center:has(+ .card-snipped), html:not([data-tfx-canonical$="-alternative/"], [data-tfx-has~="process-wall"]) body.tfx main .text-center:has(+ .card-snipped) > h2 {
    position: relative; width: fit-content; margin-left: auto; margin-right: auto;
  }
  html:not([data-tfx-canonical$="-alternative/"], [data-tfx-has~="process-wall"]) body.tfx main h2.text-center:has(+ .card-snipped)::after, html:not([data-tfx-canonical$="-alternative/"], [data-tfx-has~="process-wall"]) body.tfx main .text-center:has(+ .card-snipped) > h2::after {
    content: ""; position: absolute; left: -1%; top: calc(100% - 0.16em); width: 102%; height: 0.375em; pointer-events: none;
    max-width: max(0px, calc((11em - 100%) * 9999));
    background: url(../art/ornaments/swoosh-word.svg) no-repeat 0 0 / 100% 100%;
  }
}

/* ---------- 2. The flight line ---------- */
/* 2a. beside the closing call (the page's own last section, or one level down as on solution pages): the climbing
   form in the right gutter, as wide as the gutter allows and never wider than 400px. An article's call is 2b.
   Not on the about page or the alternative pages, whose own sheets paint that call (parts/85-flair-about.css,
   parts/85-flair-alt.css): the page key keeps every rule here off their pseudo-elements. */
@media (min-width: 1280px) {
  html:not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > section.cta-section::before, html:not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > section.cta-section::after,
  html:not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > div > section.cta-section::before, html:not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > div > section.cta-section::after {
    content: ""; position: absolute; left: calc(50% + 300px); bottom: max(20px, calc(50% - 165px));
    width: min(400px, calc(50% - 316px)); aspect-ratio: 400 / 260; pointer-events: none;
  }
  html:not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > section.cta-section::before, html:not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > div > section.cta-section::before { background: url(../art/ornaments/flight-up-line.svg) no-repeat 0 0 / 100% 100%; }
  html:not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > section.cta-section::after, html:not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > div > section.cta-section::after { background: var(--orn-birds-up) no-repeat 0 0 / 100% 100%; }
}
/* under 1280px there is no gutter: the short form, one crane, stands under the call's buttons in 80px of its own
   room, clear of the band above the call and of the footer under it */
@media (max-width: 1279.98px) {
  html:not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > section.cta-section::after, html:not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > div > section.cta-section::after {
    content: ""; display: block; width: 168px; height: 60px; margin: -8px auto 28px; pointer-events: none;
    background: var(--orn-short) no-repeat 0 0 / 100% 100%;
  }
}
/* 2b. under an article's closing call (a post), on the open paper before the footer: the long form. It hangs from
   the call's own wrapper, so an article that ends without a call (a guide) has none. From 1280px, where the article
   stands beside its contents list; the box reaches 184px past the text column, or as far as the window allows. */
@media (min-width: 1280px) {
  body.tfx main > section#top article > div:has(> section.cta-section) { position: relative; }
  body.tfx main > section#top article > div:has(> section.cta-section)::before, body.tfx main > section#top article > div:has(> section.cta-section)::after {
    content: ""; position: absolute; right: calc(-1 * min(184px, (100vw - 1280px) / 2 + 128px)); top: calc(100% - 124px); width: 640px; height: 170px; pointer-events: none;
  }
  body.tfx main > section#top article > div:has(> section.cta-section)::before { background: url(../art/ornaments/flight-line.svg) no-repeat 0 0 / 100% 100%; }
  body.tfx main > section#top article > div:has(> section.cta-section)::after { background: var(--orn-birds) no-repeat 0 0 / 100% 100%; }
}
/* 2c. in the outer margin beside every other chapter heading of an article, 40px clear of the text column, and only
   where the window is wide enough to have that margin with 16px to spare: a post's column leaves it from 1440px, a
   guide's wider column from 1728px */
@media (min-width: 1440px) {
  body.tfx main > section#top article > .blog-article-body > h2:nth-of-type(odd) { position: relative; }
  body.tfx main > section#top article > .blog-article-body > h2:nth-of-type(odd)::after {
    content: ""; position: absolute; left: calc(100% + 40px); bottom: 0; width: 168px; height: 60px; pointer-events: none;
    background: var(--orn-short) no-repeat 0 0 / 100% 100%;
  }
}
@media (min-width: 1728px) {
  body.tfx main > section#top article > .prose:not(.blog-article-body) > h2:nth-of-type(odd) { position: relative; }
  body.tfx main > section#top article > .prose:not(.blog-article-body) > h2:nth-of-type(odd)::after {
    content: ""; position: absolute; left: calc(100% + 40px); bottom: 0; width: 168px; height: 60px; pointer-events: none;
    background: var(--orn-short) no-repeat 0 0 / 100% 100%;
  }
}

/* ---------- 3. The far bank, with the hour's sun or moon, and 4. the reeds. A band's top edge is cut as the far bank in
   the band's own paper. The sun or moon stands in a saddle of the bank, its lower half behind it, and the reeds
   stand on the bank at the page's far side, as they stand in the corners of the hero's and the footer's wetland.
   Only the sun or moon moves. On a page's band after a grid. Home: the band after the template grid (the selector is
   the one parts/50-proof.css gives that band its ground with). ---------- */
html[data-tfx-has~="process-wall"] body.tfx main > section.compliance-grid { position: relative; }
html[data-tfx-has~="process-wall"] body.tfx main > section.compliance-grid::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 112px; pointer-events: none;
  background: url(../art/ornaments/reeds.svg) no-repeat var(--orn-reeds-x) 22px / 104px 112px, url(../art/ornaments/far-bank.svg) repeat-x var(--orn-bank-x) 100% / 1440px 44px;
}
html[data-tfx-has~="process-wall"] body.tfx main > section.compliance-grid::before {
  content: ""; position: absolute; left: var(--orn-hour-x); bottom: 100%; width: 56px; height: var(--orn-hour-h, 40px); pointer-events: none;
  background: var(--orn-hour) no-repeat 50% 0 / 56px 56px;
}
/* on a phone the reeds are three quarters of their size, so the sun or moon stays the larger thing */
@media (max-width: 639.98px) {
  html[data-tfx-has~="process-wall"] body.tfx main > section.compliance-grid::after { background-size: 78px 84px, 1440px 44px; background-position-y: 44.5px, 100%; }
}

/* ---------- 4. The reeds by themselves ---------- */
/* on a template page, where the list of steps ends: the reeds on their own stroke of ground with two rings of
   ripple, in the right gutter, 56px clear of the list. Only where the gutter is wide enough. */
@media (min-width: 1280px) {
  html[data-tfx-canonical*="/templates/"] body.tfx main #steps { position: relative; }
  html[data-tfx-canonical*="/templates/"] body.tfx main #steps::before, html[data-tfx-canonical*="/templates/"] body.tfx main #steps::after {
    content: ""; position: absolute; left: calc(100% + 56px); bottom: 0; width: 104px; height: 112px; pointer-events: none;
  }
  html[data-tfx-canonical*="/templates/"] body.tfx main #steps::before { background: url(../art/ornaments/reeds-ground.svg) no-repeat 0 0 / 104px 112px; }
  html[data-tfx-canonical*="/templates/"] body.tfx main #steps::after { background: url(../art/ornaments/reeds.svg) no-repeat 0 0 / 104px 112px; transform-origin: 50px 90px; }
}

/* ---------- 5. The feather: where an article's own text ends, centered, in 102px of its own room (48px above it, its
   38px, and 16px under it kept as a clear border: a bottom margin would fall out of the text block and leave the
   shadow 16px off the feather) ---------- */
body.tfx main > section#top article > .prose { position: relative; }
body.tfx main > section#top article > .prose::after {
  content: ""; display: block; box-sizing: content-box; width: 100px; height: 38px; margin: 48px auto 0; border-bottom: 16px solid transparent; pointer-events: none;
  background: url(../art/ornaments/feather.svg) no-repeat 0 0 / 100px 38px;
}
body.tfx main > section#top article > .prose::before {
  content: ""; position: absolute; left: calc(50% - 50px); bottom: 16px; width: 100px; height: 38px; pointer-events: none;
  background: url(../art/ornaments/feather-shadow.svg) no-repeat 0 0 / 100% 100%;
}

/* ---------- 6. Movement ---------- */
@keyframes orn-wipe { from { clip-path: inset(-40% 100% -40% -2%); } to { clip-path: inset(-40% -2% -40% -2%); } }
@keyframes orn-grow { from { clip-path: inset(100% -20% 0 -20%); } to { clip-path: inset(-10% -20% 0 -20%); } }
@keyframes orn-gust { 0%, 100% { rotate: 0deg; } 38% { rotate: 2.4deg; } 72% { rotate: -0.7deg; } }
@keyframes orn-rise { from { background-position-y: 58px; } }
@keyframes orn-settle {
  0% { transform: translate(16px, -38px) rotate(-15deg); opacity: 0; animation-timing-function: cubic-bezier(0.3, 0, 0.5, 1); }
  14% { opacity: 1; }
  44% { transform: translate(-7px, -15px) rotate(8deg); animation-timing-function: cubic-bezier(0.4, 0, 0.5, 1); }
  76% { transform: translate(3px, -3px) rotate(-3.5deg); animation-timing-function: cubic-bezier(0.3, 0, 0.3, 1); }
  100% { transform: none; opacity: 1; }
}
@keyframes orn-shadow { from { transform: scale(0.35, 0.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes orn-ride { 0%, 100% { translate: 0 0; } 50% { translate: 0 -2.5px; } }
/* the two flights: made by art/ornaments/build-ornaments.mjs from the drawings (keyframes.css), so the cranes keep to their line */
/* keyframes:begin (made by art/ornaments/sync-keyframes.mjs; do not edit by hand) */
@keyframes orn-flight-line { 0% { clip-path: inset(-4% 98.3% -4% -1%); } 10% { clip-path: inset(-4% 82.2% -4% -1%); } 20% { clip-path: inset(-4% 68.3% -4% -1%); } 30% { clip-path: inset(-4% 56.8% -4% -1%); } 40% { clip-path: inset(-4% 47.3% -4% -1%); } 50% { clip-path: inset(-4% 39.8% -4% -1%); } 60% { clip-path: inset(-4% 34.1% -4% -1%); } 70% { clip-path: inset(-4% 30.1% -4% -1%); } 80% { clip-path: inset(-4% 27.6% -4% -1%); } 90% { clip-path: inset(-4% 26.4% -4% -1%); } 100% { clip-path: inset(-4% 26.1% -4% -1%); } }
@keyframes orn-flight-birds { 0% { transform: translate(-72.2%, 51.5%); opacity: 0; } 10% { transform: translate(-56.1%, 47.4%); opacity: 1; } 20% { transform: translate(-42.3%, 39.7%); opacity: 1; } 30% { transform: translate(-30.7%, 30.8%); opacity: 1; } 40% { transform: translate(-21.2%, 22.1%); opacity: 1; } 50% { transform: translate(-13.7%, 14.5%); opacity: 1; } 60% { transform: translate(-8%, 8.6%); opacity: 1; } 70% { transform: translate(-4%, 4.3%); opacity: 1; } 80% { transform: translate(-1.5%, 1.6%); opacity: 1; } 90% { transform: translate(-0.3%, 0.3%); opacity: 1; } 100% { transform: translate(0%, 0%); opacity: 1; } }
@keyframes orn-flight-up-line { 0% { clip-path: inset(-4% 95.8% -4% -1%); } 10% { clip-path: inset(-4% 83.6% -4% -1%); } 20% { clip-path: inset(-4% 73.2% -4% -1%); } 30% { clip-path: inset(-4% 64.4% -4% -1%); } 40% { clip-path: inset(-4% 57.2% -4% -1%); } 50% { clip-path: inset(-4% 51.6% -4% -1%); } 60% { clip-path: inset(-4% 47.3% -4% -1%); } 70% { clip-path: inset(-4% 44.3% -4% -1%); } 80% { clip-path: inset(-4% 42.4% -4% -1%); } 90% { clip-path: inset(-4% 41.5% -4% -1%); } 100% { clip-path: inset(-4% 41.3% -4% -1%); } }
@keyframes orn-flight-up-birds { 0% { transform: translate(-54.5%, 56.8%); opacity: 0; } 10% { transform: translate(-42.3%, 49.3%); opacity: 1; } 20% { transform: translate(-31.9%, 39.6%); opacity: 1; } 30% { transform: translate(-23.2%, 30.1%); opacity: 1; } 40% { transform: translate(-16%, 21.4%); opacity: 1; } 50% { transform: translate(-10.3%, 14.1%); opacity: 1; } 60% { transform: translate(-6%, 8.3%); opacity: 1; } 70% { transform: translate(-3%, 4.2%); opacity: 1; } 80% { transform: translate(-1.1%, 1.6%); opacity: 1; } 90% { transform: translate(-0.2%, 0.3%); opacity: 1; } 100% { transform: translate(0%, 0%); opacity: 1; } }
/* keyframes:end */

@media (prefers-reduced-motion: no-preference) {
  /* a. timed, once, as the box comes in */
  @supports (timeline-trigger: --t view()) {
    /* each ornament is its own trigger: its box, whole, 8% up from the window's foot. A host keeps its ornaments'
       trigger names to itself, so many hosts can use one name. */
    @media (min-width: 640px) {
      html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="-alternative/"], [data-tfx-has~="process-wall"]) body.tfx main h2.text-center:has(+ .card-snipped), html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="-alternative/"], [data-tfx-has~="process-wall"]) body.tfx main .text-center:has(+ .card-snipped) > h2 { trigger-scope: --orn-a; }
      html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="-alternative/"], [data-tfx-has~="process-wall"]) body.tfx main h2.text-center:has(+ .card-snipped)::after, html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="-alternative/"], [data-tfx-has~="process-wall"]) body.tfx main .text-center:has(+ .card-snipped) > h2::after {
        timeline-trigger: --orn-a view(96px 12%) entry 100% exit 0%; animation: orn-wipe 600ms cubic-bezier(0.3, 0.6, 0.2, 1) both; animation-trigger: --orn-a play-once;
      }
    }
    html:not([data-tfx-motion="0"])[data-tfx-has~="process-wall"] body.tfx main > section > .max-w-6xl > .text-center:has(+ .vimeo-facade) > h2 { trigger-scope: --orn-a; }
    html:not([data-tfx-motion="0"])[data-tfx-has~="process-wall"] body.tfx main > section > .max-w-6xl > .text-center:has(+ .vimeo-facade) > h2::after {
      timeline-trigger: --orn-a view(96px 12%) entry 100% exit 0%; animation: orn-wipe 600ms cubic-bezier(0.3, 0.6, 0.2, 1) both; animation-trigger: --orn-a play-once;
    }
    html:not([data-tfx-motion="0"])[data-tfx-has~="process-wall"] body.tfx main > section.compliance-grid { trigger-scope: --orn-b; }
    html:not([data-tfx-motion="0"])[data-tfx-has~="process-wall"] body.tfx main > section.compliance-grid::before {
      timeline-trigger: --orn-b view(96px 12%) entry 100% exit 0%; animation: orn-rise 1100ms cubic-bezier(0.25, 0.6, 0.2, 1) both; animation-trigger: --orn-b play-once;
    }
    @media (min-width: 1280px) {
      html:not([data-tfx-motion="0"])[data-tfx-canonical*="/templates/"] body.tfx main #steps { trigger-scope: --orn-a, --orn-b; }
      html:not([data-tfx-motion="0"])[data-tfx-canonical*="/templates/"] body.tfx main #steps::before {
        timeline-trigger: --orn-a view(96px 12%) entry 100% exit 0%; animation: orn-wipe 800ms cubic-bezier(0.3, 0.6, 0.2, 1) both; animation-trigger: --orn-a play-once;
      }
      html:not([data-tfx-motion="0"])[data-tfx-canonical*="/templates/"] body.tfx main #steps::after {
        timeline-trigger: --orn-b view(96px 12%) entry 100% exit 0%; animation: orn-grow 800ms cubic-bezier(0.25, 0.6, 0.2, 1) both, orn-gust 1500ms ease-in-out 520ms both; animation-trigger: --orn-b play-once, --orn-b play-once;
      }
    }
    /* the closing call clips its own box (overflow: hidden), which makes it the scroller a view() inside it would
       watch; so the section is the trigger, once most of it has come in */
    html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > section.cta-section, html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > div > section.cta-section { timeline-trigger: --orn-call view(96px 8%) entry 90% exit 0% / entry 0% exit 100%; trigger-scope: --orn-call; }
    @media (min-width: 1280px) {
      html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > section.cta-section::before, html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > div > section.cta-section::before { animation: orn-flight-up-line 1100ms linear both; animation-trigger: --orn-call play-once; }
      html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > section.cta-section::after, html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > div > section.cta-section::after { animation: orn-flight-up-birds 1100ms linear both, orn-ride 3.6s ease-in-out 1.1s 1; animation-trigger: --orn-call play-once, --orn-call play pause; }
    }
    @media (max-width: 1279.98px) {
      html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > section.cta-section::after, html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > div > section.cta-section::after { animation: orn-wipe 800ms cubic-bezier(0.3, 0.6, 0.2, 1) both; animation-trigger: --orn-call play-once; }
    }
    @media (min-width: 1280px) {
      html:not([data-tfx-motion="0"]) body.tfx main > section#top article > div:has(> section.cta-section) { trigger-scope: --orn-a, --orn-b; }
      html:not([data-tfx-motion="0"]) body.tfx main > section#top article > div:has(> section.cta-section)::before {
        timeline-trigger: --orn-a view(150px 8%) entry 85% exit 0%; animation: orn-flight-line 1100ms linear both; animation-trigger: --orn-a play-once;
      }
      html:not([data-tfx-motion="0"]) body.tfx main > section#top article > div:has(> section.cta-section)::after {
        timeline-trigger: --orn-b view(150px 8%) entry 85% exit 0% / entry 0% exit 100%; animation: orn-flight-birds 1100ms linear both, orn-ride 3.6s ease-in-out 1.1s 1; animation-trigger: --orn-b play-once, --orn-b play pause;
      }
    }
    /* the margin crane draws as soon as its box is whole in the window, so its heading is still in the lower third.
       Its trigger is declared only at the widths where the crane is drawn: a post from 1440px, a guide from 1728px. */
    @media (min-width: 1440px) {
      html:not([data-tfx-motion="0"]) body.tfx main > section#top article > .blog-article-body > h2:nth-of-type(odd) { trigger-scope: --orn-a; }
      html:not([data-tfx-motion="0"]) body.tfx main > section#top article > .blog-article-body > h2:nth-of-type(odd)::after { timeline-trigger: --orn-a view(150px 6%) entry 100% exit 0%; animation: orn-wipe 800ms cubic-bezier(0.3, 0.6, 0.2, 1) both; animation-trigger: --orn-a play-once; }
    }
    @media (min-width: 1728px) {
      html:not([data-tfx-motion="0"]) body.tfx main > section#top article > .prose:not(.blog-article-body) > h2:nth-of-type(odd) { trigger-scope: --orn-a; }
      html:not([data-tfx-motion="0"]) body.tfx main > section#top article > .prose:not(.blog-article-body) > h2:nth-of-type(odd)::after { timeline-trigger: --orn-a view(150px 6%) entry 100% exit 0%; animation: orn-wipe 800ms cubic-bezier(0.3, 0.6, 0.2, 1) both; animation-trigger: --orn-a play-once; }
    }
    html:not([data-tfx-motion="0"]) body.tfx main > section#top article > .prose { trigger-scope: --orn-a; }
    html:not([data-tfx-motion="0"]) body.tfx main > section#top article > .prose::after {
      timeline-trigger: --orn-a view(150px 12%) entry 100% exit 0%; animation: orn-settle 1200ms linear both; animation-trigger: --orn-a play-once;
    }
    html:not([data-tfx-motion="0"]) body.tfx main > section#top article > .prose::before {
      animation: orn-shadow 1200ms cubic-bezier(0.3, 0, 0.3, 1) both; animation-trigger: --orn-a play-once;   /* the feather's own trigger, so the two start together */
    }
  }

  /* b. no trigger, but scroll-driven animation: the same keyframes run with the scroll as the box comes in */
  @supports (animation-timeline: view()) and (not (timeline-trigger: --t view())) {
    @media (min-width: 640px) {
      html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="-alternative/"], [data-tfx-has~="process-wall"]) body.tfx main h2.text-center:has(+ .card-snipped)::after, html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="-alternative/"], [data-tfx-has~="process-wall"]) body.tfx main .text-center:has(+ .card-snipped) > h2::after { animation: orn-wipe linear both; animation-timeline: view(); animation-range: entry 100% cover 32%; }
    }
    html:not([data-tfx-motion="0"])[data-tfx-has~="process-wall"] body.tfx main > section > .max-w-6xl > .text-center:has(+ .vimeo-facade) > h2::after { animation: orn-wipe linear both; animation-timeline: view(); animation-range: entry 100% cover 32%; }
    html:not([data-tfx-motion="0"])[data-tfx-has~="process-wall"] body.tfx main > section.compliance-grid::before { animation: orn-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    @media (min-width: 1280px) {
      html:not([data-tfx-motion="0"])[data-tfx-canonical*="/templates/"] body.tfx main #steps::before { animation: orn-wipe linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
      html:not([data-tfx-motion="0"])[data-tfx-canonical*="/templates/"] body.tfx main #steps::after { animation: orn-grow linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    }
    html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > section.cta-section, html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > div > section.cta-section { view-timeline: --orn-call block; }
    @media (min-width: 1280px) {
      html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > section.cta-section::before, html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > div > section.cta-section::before { animation: orn-flight-up-line linear both; animation-timeline: --orn-call; animation-range: entry 35% entry 100%; }
      html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > section.cta-section::after, html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > div > section.cta-section::after { animation: orn-flight-up-birds linear both; animation-timeline: --orn-call; animation-range: entry 35% entry 100%; }
    }
    @media (max-width: 1279.98px) {
      html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > section.cta-section::after, html:not([data-tfx-motion="0"]):not([data-tfx-canonical$="/about-tallyfy/"], [data-tfx-canonical$="-alternative/"]) body.tfx main > div > section.cta-section::after { animation: orn-wipe linear both; animation-timeline: --orn-call; animation-range: entry 70% cover 40%; }
    }
    @media (min-width: 1280px) {
      html:not([data-tfx-motion="0"]) body.tfx main > section#top article > div:has(> section.cta-section)::before { animation: orn-flight-line linear both; animation-timeline: view(); animation-range: entry 20% cover 38%; }
      html:not([data-tfx-motion="0"]) body.tfx main > section#top article > div:has(> section.cta-section)::after { animation: orn-flight-birds linear both; animation-timeline: view(); animation-range: entry 20% cover 38%; }
    }
    @media (min-width: 1440px) {
      html:not([data-tfx-motion="0"]) body.tfx main > section#top article > .blog-article-body > h2:nth-of-type(odd)::after { animation: orn-wipe linear both; animation-timeline: view(); animation-range: entry 20% cover 28%; }
    }
    @media (min-width: 1728px) {
      html:not([data-tfx-motion="0"]) body.tfx main > section#top article > .prose:not(.blog-article-body) > h2:nth-of-type(odd)::after { animation: orn-wipe linear both; animation-timeline: view(); animation-range: entry 20% cover 28%; }
    }
    html:not([data-tfx-motion="0"]) body.tfx main > section#top article > .prose::after { animation: orn-settle linear both; animation-timeline: view(); animation-range: entry 0% cover 34%; }
    html:not([data-tfx-motion="0"]) body.tfx main > section#top article > .prose::before { animation: orn-shadow linear both; animation-timeline: view(); animation-range: entry 0% cover 34%; }
  }
}
