/* Case study pages. Loaded after styles.css, reuses its tokens.
   Structure: header → hero → steps (one claim, its picture, a paragraph) → credits.
   On the homepage's 12 half columns, one size of text (--text-m); hierarchy is ink or grey.
   The same page is also the deck: see Presenting, and present.js. */

.logo-sidebar a { display: block; }

.cs { gap: 0; }
.cs > * { width: 100%; }

/* Opening: once unlocked, the page fades in, as the homepage does (the top row and footer stay put). */
@media (prefers-reduced-motion: no-preference) {
  .cs > *, .cs > .cs-group > * { animation: cs-fade 1s cubic-bezier(0.65, 0, 0.35, 1) backwards; }   /* backwards: once done it lets go, so no block stays a layer of its own (an enlarged recording must rise above the rest) */
}
@keyframes cs-fade { from { opacity: 0; } to { opacity: 1; } }

/* ── Back link (the list page, for now) ── */
.cs-back {
  color: var(--fg);
  opacity: var(--muted);
  text-decoration: none;
  align-self: flex-start;
  margin-bottom: calc(var(--unit) * 2);
}
.cs-back:hover { opacity: 1; }

/* ── The reading column: the homepage bio's, at every width ── */
.cs-header > *, .cs-step-text { max-width: min(calc(50% - var(--u2) / 2), var(--measure)); }   /* the title too: it is body size */
/* ── Header ── */
.cs-header { margin-bottom: calc(var(--unit) * 2); }
:root:not(.is-presenting) .cs > .cs-header:first-child { margin-top: var(--unit); }   /* two lines below the top row; presenting keeps one */
/* The title keeps to the reading column and wraps like the text below (pretty, not balanced). */
/* The title: one step up the scale (37 / 32 on phones), display tracking, a line and a half of leading so it keeps to the half-line grid. */
.cs-title { font: inherit; text-wrap: pretty; }   /* body size, like everything else: the header’s place on the page, and the line under it, set it apart */
.cs-kicker { opacity: var(--muted); }
.cs-summary { margin-top: calc(var(--unit) * 4); }   /* four lines below the title: space, not size, sets it apart */
.cs-summary + .cs-summary { margin-top: var(--unit); }   /* one blank line between paragraphs, as on the homepage */

/* ── Chapters: one sentence that opens a run of steps; its first words in ink ── */
.cs-chapter { max-width: min(calc(50% - var(--u2) / 2), var(--measure)); margin-top: calc(var(--unit) * 2); margin-bottom: calc(var(--unit) * 2); }
.cs-header + .cs-chapter { margin-top: 0; }
.cs-header:has(+ .cs-stage) { margin-bottom: calc(var(--unit) * 2); }   /* the overview follows the summary two lines down */
.cs-media + .cs-chapter { margin-top: 0; }   /* the hero already leaves its space */
.cs-group { display: contents; }   /* only the deck sees it (Presenting) */
.cs-media + .cs-group > .cs-chapter:first-child { margin-top: 0; }
/* Every paragraph is two lines from the next, a one-sentence line included: within a chapter, from
   chapter to chapter, and from a step's text to the chapter or closing words after it. */
.cs-chapter + .cs-chapter { margin-top: 0; }
.cs-step + .cs-chapter { margin-top: 0; }
.cs-step:has(+ .cs-chapter) { margin-bottom: calc(var(--unit) * 2); }
.cs-step:not(:has(.cs-step-text)):has(+ .cs-step) { margin-bottom: var(--unit); }   /* a picture with no paragraph, straight into the next picture: one line between them */
/* A chapter's closing line, after its last picture and before the next chapter: two and a half lines
   above it (an agreed exception to whole lines: two read as too tight, three as too loose), five below,
   so the chapter visibly ends there. */
.cs-step:has(+ .cs-chapter + .cs-chapter) { margin-bottom: calc(var(--unit) * 2.5); }
.cs-step + .cs-chapter:has(+ .cs-chapter) { margin-bottom: calc(var(--unit) * 5); }
/* A chapter that ends on a picture (the before / now loop): two lines below its text, as any chapter's
   first picture, and three above the next step, as between any two pictures. */
.cs-chapter > .cs-flow { margin-top: calc(var(--unit) * 3); }   /* three lines in from the words, as before any picture */
.cs-chapter:has(> .cs-flow:last-child) { margin-bottom: calc(var(--unit) * 2); }
/* The paragraph that sets the stage, under the hero: all ink. */
.cs-stage { margin-bottom: calc(var(--unit) * 2); }   /* the overview sits above the hero, two lines as the header does */
.cs-chapter[id] { scroll-margin-top: calc(var(--unit) * 2); }
.cs-chapter p + p, .cs-step-text p + p { margin-top: var(--unit); }   /* one blank line between paragraphs, as on the homepage */
.cs-chapter:has(+ .cs-chapter) { margin-bottom: var(--unit); }
.cs-chapter:has(+ .cs-step) { margin-bottom: calc(var(--unit) * 3); }   /* words to the picture (and its label) after them: three lines, a clear step past the one between paragraphs */   /* chapter to chapter too (a closing line after a picture keeps its own room, below) */
.cs-chapter strong { font-weight: inherit; color: var(--fg); }

@media (max-width: 1200px) { .cs-header > *, .cs-chapter, .cs-step-text { max-width: calc((100% - 11 * var(--u2)) * 8 / 12 + 7 * var(--u2)); } }
@media (max-width: 940px) { .cs-header > *, .cs-chapter, .cs-step-text { max-width: calc((100% - 11 * var(--u2)) * 10 / 12 + 9 * var(--u2)); } }

/* ── Media: square corners; steps at the reel's 4 columns, the hero and pairs full width ── */
.cs-media { margin: 0; display: flex; flex-direction: column; gap: var(--u2); min-width: 0; }
.cs > .cs-media { margin-bottom: calc(var(--unit) * 3); }   /* the opening hero: a line more before the story starts */
.cs-step > .cs-media { max-width: calc((100% - 11 * var(--u2)) * 8 / 12 + 7 * var(--u2)); }
.cs-media img,
.cs-media video,
.cs-placeholder { display: block; width: 100%; height: auto; background: var(--card-bg); }
.cs-placeholder {
  aspect-ratio: 5 / 3;
  display: grid;
  place-items: center;
  padding: var(--unit);
  text-align: center;
  opacity: var(--muted);
}
.cs-media figcaption { opacity: var(--muted); }

/* The hero: a product screen in a painted sky, clouds moving like a lava lamp in sky blue. Drawn
   by sky.js on a canvas behind the screen; this plain blue is what shows before it draws, or
   without WebGL. The field is the picture, so its colours stay the same in light and dark. */
.cs-hero {
  position: relative; aspect-ratio: 2 / 1; overflow: hidden; overflow: clip;   /* clip: nothing can scroll the window below the frame up into view */
  isolation: isolate; container-type: inline-size;
  background: linear-gradient(180deg, #3673E3 0%, #A3C9F5 75%);   /* the sky's blue, as sky.js draws it */
}
.cs-sky { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
/* Only the sky is loud: any other frame (the recordings) sits on a quiet field mixed from the page's
   own ink, so it follows light and dark. */
.cs-hero:not(:has(.cs-sky)) { background: color-mix(in srgb, var(--fg) 10%, var(--bg)); }
.cs-hero::before {   /* a fine, still grain on the blue, for a hero without clouds (and before the clouds draw) */
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: calc(var(--unit) * 6);
  mix-blend-mode: soft-light;
  opacity: .6;
}
.cs-sky:not(.is-drawn) { visibility: hidden; }   /* no fade: the blobs are there with the blue from the first frame */
/* Every hero is the same: a 2:1 frame (5:3 on phones), its screen in a glass browser window 76% of
   its width (88% on phones), starting close under the top and running off the bottom: a frosted
   rim with a bright hairline edge, a title bar with three white dots, and no shadow. The sky behind is already soft, so the glass needs no live
   blur. Sizes are in cq units of the hero, so the window keeps its proportions at every width. */
.cs-window {
  --bar: 2.4cqw; --rim: .5cqw; --dot: .7cqw;
  position: absolute; left: 50%; top: 15.5%; width: 76cqw;   /* close under the top, running off the bottom */
  transform: translateX(-50%);
  padding: var(--bar) var(--rim) 0;
  border-radius: 1.2cqw 1.2cqw 0 0;
  background: linear-gradient(180deg, rgb(255 255 255 / .34), rgb(255 255 255 / .18));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5);
}
.cs-window::before {   /* the three dots */
  content: ""; position: absolute; top: calc((var(--bar) - var(--dot)) / 2); left: calc(var(--bar) / 2);
  width: var(--dot); height: var(--dot); border-radius: 50%;
  background: rgb(255 255 255 / .75);
  box-shadow: calc(var(--dot) * 1.7) 0 rgb(255 255 255 / .75), calc(var(--dot) * 3.4) 0 rgb(255 255 255 / .75);
}
.cs-media .cs-window .cs-hero-screen { display: block; width: 100%; height: auto; border-radius: .5cqw .5cqw 0 0; background: none; }
.cs-window video.cs-hero-screen { aspect-ratio: 16 / 10; object-fit: cover; }   /* a loop holds its place before it loads */
/* A loop's controls, inside its picture, along the bottom of the frame:
   Pause / Play and Restart as underlined words, like links, in white at the small body size, a
   timeline and the time, across 90% of the frame. The bar has no background; the timeline is
   the glass, frosted where it hasn't played yet and white where it has, with a dot to drag. Shown for a moment as the loop
   comes into view, on hover, on a tap, and while it's paused or in use; otherwise faded out.
   Built by loops.js. The picture's colours are fixed, so the bar's are too. */
.cs-player {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: var(--u2) var(--unit);
  padding: var(--u2) var(--unit) var(--unit);   /* the frame's full width, one line in from its sides and bottom */
  --pfg: #D6D6D6; --pbg: #000000;   /* dark mode's ink and page, in both themes: light words with a dark halo */
  color: var(--pfg);
  text-shadow: 0 1px 2px color-mix(in srgb, var(--pbg) 60%, transparent), 0 0 var(--u4) color-mix(in srgb, var(--pbg) 55%, transparent);   /* a dark halo, so it reads over the recording and the quiet field */
  font-size: var(--text-sm); line-height: var(--lh-m);
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.cs-player.is-shown { opacity: 1; pointer-events: auto; }
.cs-hero:has(video.cs-loop) { cursor: pointer; }   /* a click on the picture plays or pauses it */
:root:not(.is-presenting) .cs-step .cs-hero:has(video.cs-loop, .cs-shot) { background: none; border-radius: var(--radius); }   /* the site's one radius, as the lock field's */   /* no field: the page shows through behind the window, inside the frame's ink edge */
:root:not(.is-presenting) .cs-step .cs-hero:has(video.cs-loop, .cs-shot)::before { display: none; }   /* nor the grain */
:root:not(.is-presenting) .cs-step .cs-hero:has(video.cs-loop, .cs-shot) .cs-window {   /* the glass on white: a faint grey under the frost, so the window still reads as glass */
  background: linear-gradient(180deg, rgb(255 255 255 / .45), rgb(255 255 255 / .1)), rgb(0 0 0 / .12);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .8), 0 0 0 1px rgb(0 0 0 / .08);   /* its bright edge and a hairline: no shadow */
}
:root:not(.is-presenting) .cs-step .cs-hero:has(video.cs-loop, .cs-shot) .cs-window::before { background: rgb(255 255 255 / .95); box-shadow: calc(var(--dot) * 1.7) 0 rgb(255 255 255 / .95), calc(var(--dot) * 3.4) 0 rgb(255 255 255 / .95); }   /* the dots bright on the tinted glass */
:root:not(.is-presenting) .cs-step .cs-hero:has(video.cs-loop, .cs-shot)::after { content: ""; position: absolute; inset: 0; z-index: 3; border: 1px solid var(--fg); border-radius: inherit; pointer-events: none; }   /* on the page a recording's frame has a 1px ink edge, drawn over the window that runs off its foot (none in the deck, where it is just its window) */   /* on the page a recording's frame has a 1px ink edge (none in the deck, where it is just its window) */
/* A step with a loop runs it the full width of the page, its paragraph below in the reading
   column, at every width: a recording needs the room to be read. */
.cs-step:has(video.cs-loop, .cs-shot) > .cs-media { max-width: none; width: 100%; }
.cs-step:has(video.cs-loop, .cs-shot) { row-gap: calc(var(--unit) * 2); }   /* like a hero: two lines down to the text */
@media (max-width: 800px) { .cs-player { gap: var(--u2); padding: var(--u4) var(--u2) var(--u2); font-size: var(--text-s); } }
@media (prefers-reduced-motion: reduce) { .cs-player { transition: none; } }
.cs-player button {
  font: inherit; letter-spacing: inherit; color: inherit; text-shadow: inherit; background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em;
}
.cs-player button:hover { text-decoration-thickness: 2px; }
.cs-player button:focus-visible, .cs-player input:focus-visible { outline: 1px solid currentColor; outline-offset: var(--u4); }
.cs-player-time { font-variant-numeric: tabular-nums; min-width: 2.6em; text-align: right; }
.cs-player input[type=range] {
  --p: 0%;
  flex: 1; min-width: 0; height: var(--u2); margin: 0; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  border-radius: var(--u2);
  background: linear-gradient(var(--pfg), var(--pfg)) 0 0 / var(--p) 100% no-repeat, linear-gradient(180deg, rgb(255 255 255 / .3), rgb(255 255 255 / .14)), rgb(0 0 0 / .16);   /* a grey tint, so the glass shows on white too */
  -webkit-backdrop-filter: blur(var(--u4)) saturate(1.3); backdrop-filter: blur(var(--u4)) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .6), 0 1px 3px rgb(0 0 0 / .18);
}
.cs-player input[type=range]::-webkit-slider-runnable-track { height: var(--u2); background: none; }
.cs-player input[type=range]::-moz-range-track { height: var(--u2); background: none; }
.cs-player input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: var(--u2); height: var(--u2); border-radius: 50%; background: var(--pfg); box-shadow: 0 1px 3px rgb(0 0 0 / .35);
}
.cs-player input[type=range]::-moz-range-thumb { width: var(--u2); height: var(--u2); border: 0; border-radius: 50%; background: var(--pfg); box-shadow: 0 1px 3px rgb(0 0 0 / .35); }
@media (max-width: 800px) {
  .cs-hero { aspect-ratio: 5 / 3; }
  .cs-window { --bar: 3.2cqw; --rim: .7cqw; --dot: .9cqw; width: 88cqw; top: 11%; }
}
/* A recording's window sits higher than the hero's, so more of the screen shows. */
.cs-hero:has(video.cs-loop, .cs-shot) .cs-window { top: 10%; }
@media (max-width: 800px) { .cs-hero:has(video.cs-loop, .cs-shot) .cs-window { top: 7%; } }
/* A recording still to come (.cs-shot): its frame and window as they'll be, the screen blank (the page's
   field) with what goes there named in grey. */
.cs-media .cs-window .cs-shot { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: var(--unit); border-radius: .5cqw .5cqw 0 0; background: var(--bg); text-align: center; }
.cs-shot > span { opacity: var(--muted); }

.cs-media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--u2); }

/* An abstract before / now loop (.cs-flow), 24s: the old portfolio builder and the new one, drawn in grey
   blocks (--blk), ink and knock-outs (--ko) on the line grid (y) and the frame's width (x, cq units).
   Before: four sections; each opens a modal on top. Securities, three times over: a ticker, a choice, save,
   the required name bounces, name it, save. Allocations: three columns, one named; fill a cell, save, the two unnamed bounce.
   Now: one table; a drawer of securities, five picked straight into it; + adds a column; cells filled in turn.
   Generated (one keyframes block per moving part, set with --a); transform, opacity only; still, and finished,
   for reduced motion. */
.cs-flow { margin: 0; display: flex; flex-direction: column; gap: var(--u2); --loop: 24s; --blk: color-mix(in srgb, var(--fg) 14%, var(--bg)); --ink: var(--fg); --ko: var(--bg);
  --mid: color-mix(in srgb, var(--ink) 35%, var(--blk)); }
.cs-flow figcaption { opacity: var(--muted); }
.cs-flow-panels { display: grid; grid-template-columns: 1fr 1fr; gap: var(--unit); }
@media (max-width: 800px) { .cs-flow-panels { grid-template-columns: minmax(0, 1fr); } }
.cs-flow-panel { display: flex; flex-direction: column; gap: var(--u2); min-width: 0; }
.cs-flow-label { opacity: var(--muted); }
/* A label above a picture, like the before / now loop's: grey, half a line above the frame (the figure's gap). */
.cs-media-label { display: block; opacity: var(--muted); }
.cs-flow-field { position: relative; height: calc(var(--unit) * 10); container-type: inline-size; overflow: hidden; background: var(--ko); }
/* A plain browser window around the field, drawn in the loop's own materials: rounded corners, a
   title bar ¾ of a line tall with three knocked-out dots, a step towards the ink from the grey blocks
   so the page can scroll under it. On the page's own white (desktop) a hairline of the same tone
   marks its edge; on the quiet field (phones) it needs none. */
.cs-flow-window { --chrome: var(--ink);   /* the window's bar and edge in ink: black on the light field, the dots knocked out */ box-shadow: 0 0 0 1px var(--chrome); background: var(--ko); border-radius: var(--u4); overflow: hidden; overflow: clip; }
.cs-flow-bar { display: flex; align-items: center; gap: var(--u4); height: calc(var(--unit) * .75); padding: 0 var(--u2); background: var(--chrome); }
.cs-flow-bar i { width: var(--u4); height: var(--u4); border-radius: 50%; background: var(--ko); }
/* On phones the window sits in the quiet field, in a frame the shape of a recording's (5:3), and is
   drawn smaller: its line (--unit) is 5/8 of the page's, so 15px for 24, with ½ and ¼ to match.
   (Not zoom: Safari scales the cq units inside a zoomed box twice, squeezing the modals.) */
@media (max-width: 800px) {
  .cs-flow-frame { --line: var(--unit); aspect-ratio: 5 / 3; display: grid; place-items: center; container-type: inline-size; background: color-mix(in srgb, var(--fg) 10%, var(--bg)); }
  .cs-flow-frame > .cs-flow-window { --unit: calc(var(--line) * .625); --u2: calc(var(--unit) / 2); --u4: calc(var(--unit) / 4); width: 64cqw; box-shadow: none; }
}
.cs-flow-field :where(b, i, span) { display: block; position: absolute; box-sizing: border-box; }
.cs-flow-field b { height: var(--u2); margin-top: calc(var(--u4) / -2); background: var(--blk); transform-origin: left; }   /* text and inputs alike: ½ a line tall, centred on their line */
.cs-flow-field .blk { left: 10cqw; right: 10cqw; height: calc(var(--unit) * 2.75); background: var(--blk); }
.cs-flow-field b.cell { height: var(--u2); margin-top: calc(var(--u4) / -2); background: var(--blk); }
.cs-flow-field .scrim { inset: 0; background: color-mix(in srgb, var(--ko) 70%, transparent); opacity: 0; z-index: 1; }
.cs-flow-field .modal { left: 15cqw; width: 70cqw; top: calc(var(--unit) * 1.75); height: calc(var(--unit) * 6.5); background: var(--blk); transform-origin: 50% 0; opacity: 0; z-index: 2; }
.cs-flow-field b.ko { background: var(--ko); }
.cs-flow-field b.ink, .cs-flow-field .sq.ink, .cs-flow-field .dot.ink { background: var(--ink); }
.cs-flow-field b.mid, .cs-flow-field .sq.mid { background: var(--mid); }
.cs-flow-field .q { inset: 0; }
.cs-flow-field .err { inset: -1px; box-shadow: 0 0 0 1px var(--ink); opacity: 0; }
.cs-flow-field .sq { width: var(--u2); height: var(--u2); background: var(--blk); }
.cs-flow-field .sq.ko, .cs-flow-field .dot.ko { background: var(--ko); }
.cs-flow-field .dot { width: var(--u2); height: var(--u2); border-radius: 50%; }
.cs-flow-field .tbl { inset: 0; box-shadow: inset 0 0 0 1px var(--blk); }
.cs-flow-field .drawer { top: 0; bottom: 0; left: calc(100% / 3 + var(--unit) / 3); right: 0; background: var(--blk); transform: translateX(calc(100% + 2px)); z-index: 2; }
.cs-flow-field .cur { top: 0; left: 0; width: calc(var(--u2) * .9); height: calc(var(--u2) * 1.3); transform-origin: 0 0; filter: drop-shadow(0 0 1px var(--ko)); z-index: 3; opacity: 0; }
.cs-flow-field .cur::before { content: ""; position: absolute; inset: 0; background: var(--ink); clip-path: polygon(0 0, 0 82%, 27% 63%, 45% 100%, 60% 93%, 43% 57%, 80% 57%); }
@media (prefers-reduced-motion: no-preference) {
  .cs-flow-field, .cs-flow-field * { animation: var(--a) var(--loop) linear infinite; }
  .cs-flow.is-waiting .cs-flow-field, .cs-flow.is-waiting .cs-flow-field * { animation-play-state: paused; }   /* another piece is playing (stage.js) */
  .cs-flow-field * { --a: none; }
  .cs-flow-field { --a: cs-flow-fade; }
  .cs-flow-field .cur { opacity: 1; }
  .cs-flow-m1a { --a: cs-flow-m1a; }
  .cs-flow-m1b { --a: cs-flow-m1b; }
  .cs-flow-m1 { --a: cs-flow-m1; }
  .cs-flow-d1 { --a: cs-flow-d1; }
  .cs-flow-m2 { --a: cs-flow-m2; }
  .cs-flow-m2a { --a: cs-flow-m2a; }
  .cs-flow-m2b { --a: cs-flow-m2b; }
  .cs-flow-m2c { --a: cs-flow-m2c; }
  .cs-flow-m2q { --a: cs-flow-m2q; }
  .cs-flow-m2e { --a: cs-flow-m2e; }
  .cs-flow-t1 { --a: cs-flow-t1; }
  .cs-flow-t2 { --a: cs-flow-t2; }
  .cs-flow-t3 { --a: cs-flow-t3; }
  .cs-flow-d2 { --a: cs-flow-d2; }
  .cs-flow-pg { --a: cs-flow-pg; }
  .cs-flow-m3f { --a: cs-flow-m3f; }
  .cs-flow-m3p { --a: cs-flow-m3p; }
  .cs-flow-m3q { --a: cs-flow-m3q; }
  .cs-flow-m3d { --a: cs-flow-m3d; }
  .cs-flow-m3e { --a: cs-flow-m3e; }
  .cs-flow-m3h { --a: cs-flow-m3h; }
  .cs-flow-m3c { --a: cs-flow-m3c; }
  .cs-flow-m3 { --a: cs-flow-m3; }
  .cs-flow-d3 { --a: cs-flow-d3; }
  .cs-flow-m4 { --a: cs-flow-m4; }
  .cs-flow-d4 { --a: cs-flow-d4; }
  .cs-flow-old-cursor { --a: cs-flow-old-cursor; }
  .cs-flow-scrim { --a: cs-flow-scrim; }
  .cs-flow-drawer { --a: cs-flow-drawer; }
  .cs-flow-pick1 { --a: cs-flow-pick1; }
  .cs-flow-row1 { --a: cs-flow-row1; }
  .cs-flow-pick2 { --a: cs-flow-pick2; }
  .cs-flow-row2 { --a: cs-flow-row2; }
  .cs-flow-pick3 { --a: cs-flow-pick3; }
  .cs-flow-row3 { --a: cs-flow-row3; }
  .cs-flow-pick4 { --a: cs-flow-pick4; }
  .cs-flow-row4 { --a: cs-flow-row4; }
  .cs-flow-pick5 { --a: cs-flow-pick5; }
  .cs-flow-row5 { --a: cs-flow-row5; }
  .cs-flow-col1 { --a: cs-flow-col1; }
  .cs-flow-col2 { --a: cs-flow-col2; }
  .cs-flow-col3 { --a: cs-flow-col3; }
  .cs-flow-col4 { --a: cs-flow-col4; }
  .cs-flow-col5 { --a: cs-flow-col5; }
  .cs-flow-col6 { --a: cs-flow-col6; }
  .cs-flow-in1 { --a: cs-flow-in1; }
  .cs-flow-in2 { --a: cs-flow-in2; }
  .cs-flow-in3 { --a: cs-flow-in3; }
  .cs-flow-in4 { --a: cs-flow-in4; }
  .cs-flow-in5 { --a: cs-flow-in5; }
  .cs-flow-new-cursor { --a: cs-flow-new-cursor; }
}
@keyframes cs-flow-m1a {
0% { transform: scaleX(0); }
6.04% { transform: scaleX(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
7.5% { transform: none; }
14.17% { transform: none; }
14.21% { transform: scaleX(0); }
100% { transform: scaleX(0); }
}
@keyframes cs-flow-m1b {
0% { transform: scaleX(0); }
8.75% { transform: scaleX(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
10.63% { transform: none; }
14.17% { transform: none; }
14.21% { transform: scaleX(0); }
100% { transform: scaleX(0); }
}
@keyframes cs-flow-m1 {
0% { opacity: 0; transform: translateY(var(--u2)) scale(.98); }
3.33% { opacity: 0; transform: translateY(var(--u2)) scale(.98); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
4.79% { opacity: 1; transform: none; }
11.88% { opacity: 1; transform: none; animation-timing-function: ease-in; }
12.71% { opacity: 0; transform: translateY(var(--u4)) scale(.99); }
12.75% { opacity: 0; transform: translateY(var(--u2)) scale(.98); }
100% { opacity: 0; transform: translateY(var(--u2)) scale(.98); }
}
@keyframes cs-flow-d1 {
0% { transform: scale(0); }
12.92% { transform: scale(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1.5); }
14.38% { transform: none; }
100% { transform: none; }
}
@keyframes cs-flow-m2 {
0% { opacity: 0; transform: translateY(var(--u2)) scale(.98); }
16.25% { opacity: 0; transform: translateY(var(--u2)) scale(.98); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
17.71% { opacity: 1; transform: none; }
30.21% { opacity: 1; transform: none; animation-timing-function: ease-in; }
31.04% { opacity: 0; transform: translateY(var(--u4)) scale(.99); }
31.08% { opacity: 0; transform: translateY(var(--u2)) scale(.98); }
32.92% { opacity: 0; transform: translateY(var(--u2)) scale(.98); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
34.38% { opacity: 1; transform: none; }
46.88% { opacity: 1; transform: none; animation-timing-function: ease-in; }
47.71% { opacity: 0; transform: translateY(var(--u4)) scale(.99); }
47.75% { opacity: 0; transform: translateY(var(--u2)) scale(.98); }
49.58% { opacity: 0; transform: translateY(var(--u2)) scale(.98); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
51.04% { opacity: 1; transform: none; }
63.54% { opacity: 1; transform: none; animation-timing-function: ease-in; }
64.38% { opacity: 0; transform: translateY(var(--u4)) scale(.99); }
64.42% { opacity: 0; transform: translateY(var(--u2)) scale(.98); }
100% { opacity: 0; transform: translateY(var(--u2)) scale(.98); }
}
@keyframes cs-flow-m2a {
0% { transform: scaleX(0); }
18.96% { transform: scaleX(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
20.21% { transform: none; }
31.25% { transform: none; }
31.29% { transform: scaleX(0); }
35.62% { transform: scaleX(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
36.88% { transform: none; }
47.92% { transform: none; }
47.96% { transform: scaleX(0); }
52.29% { transform: scaleX(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
53.54% { transform: none; }
64.58% { transform: none; }
64.62% { transform: scaleX(0); }
100% { transform: scaleX(0); }
}
@keyframes cs-flow-m2b {
0% { transform: scale(0); }
21.54% { transform: scale(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1.5); }
22.79% { transform: none; }
31.25% { transform: none; }
31.29% { transform: scale(0); }
38.21% { transform: scale(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1.5); }
39.46% { transform: none; }
47.92% { transform: none; }
47.96% { transform: scale(0); }
54.87% { transform: scale(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1.5); }
56.12% { transform: none; }
64.58% { transform: none; }
64.62% { transform: scale(0); }
100% { transform: scale(0); }
}
@keyframes cs-flow-m2c {
0% { transform: scaleX(0); }
27.08% { transform: scaleX(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
28.33% { transform: none; }
31.25% { transform: none; }
31.29% { transform: scaleX(0); }
43.75% { transform: scaleX(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
45% { transform: none; }
47.92% { transform: none; }
47.96% { transform: scaleX(0); }
60.42% { transform: scaleX(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
61.67% { transform: none; }
64.58% { transform: none; }
64.62% { transform: scaleX(0); }
100% { transform: scaleX(0); }
}
@keyframes cs-flow-m2q {
0% { transform: none; }
24.38% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .5, 1); }
24.92% { transform: translateY(calc(var(--u2) * -1)); animation-timing-function: cubic-bezier(.5, 0, .7, 1); }
25.46% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .5, 1); }
25.87% { transform: translateY(calc(var(--u4) * -1)); animation-timing-function: cubic-bezier(.5, 0, .7, 1); }
26.29% { transform: none; }
41.04% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .5, 1); }
41.58% { transform: translateY(calc(var(--u2) * -1)); animation-timing-function: cubic-bezier(.5, 0, .7, 1); }
42.12% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .5, 1); }
42.54% { transform: translateY(calc(var(--u4) * -1)); animation-timing-function: cubic-bezier(.5, 0, .7, 1); }
42.96% { transform: none; }
57.71% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .5, 1); }
58.25% { transform: translateY(calc(var(--u2) * -1)); animation-timing-function: cubic-bezier(.5, 0, .7, 1); }
58.79% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .5, 1); }
59.21% { transform: translateY(calc(var(--u4) * -1)); animation-timing-function: cubic-bezier(.5, 0, .7, 1); }
59.63% { transform: none; }
100% { transform: none; }
}
@keyframes cs-flow-m2e {
0% { opacity: 0; }
24.29% { opacity: 0; }
24.38% { opacity: 1; }
26.88% { opacity: 1; }
27.5% { opacity: 0; }
40.96% { opacity: 0; }
41.04% { opacity: 1; }
43.54% { opacity: 1; }
44.17% { opacity: 0; }
57.63% { opacity: 0; }
57.71% { opacity: 1; }
60.21% { opacity: 1; }
60.83% { opacity: 0; }
100% { opacity: 0; }
}
@keyframes cs-flow-t1 {
0% { transform: scale(0); }
30.62% { transform: scale(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1.5); }
32.08% { transform: none; }
100% { transform: none; }
}
@keyframes cs-flow-t2 {
0% { transform: scale(0); }
47.29% { transform: scale(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1.5); }
48.75% { transform: none; }
100% { transform: none; }
}
@keyframes cs-flow-t3 {
0% { transform: scale(0); }
63.96% { transform: scale(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1.5); }
65.42% { transform: none; }
100% { transform: none; }
}
@keyframes cs-flow-d2 {
0% { transform: scale(0); }
63.75% { transform: scale(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1.5); }
65.21% { transform: none; }
100% { transform: none; }
}
@keyframes cs-flow-pg {
0% { transform: none; }
64.58% { transform: none; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
67.08% { transform: translateY(calc(var(--unit) * -4)); }
100% { transform: translateY(calc(var(--unit) * -4)); }
}
@keyframes cs-flow-m3f {
0% { opacity: 0; }
73.25% { opacity: 0; }
73.67% { opacity: 0.35; }
74.08% { opacity: 0.35; }
74.33% { opacity: 1; }
86.88% { opacity: 1; }
86.92% { opacity: 0; }
100% { opacity: 0; }
}
@keyframes cs-flow-m3p {
0% { transform: none; }
76.88% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .5, 1); }
77.42% { transform: translateY(calc(var(--u2) * -1)); animation-timing-function: cubic-bezier(.5, 0, .7, 1); }
77.96% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .5, 1); }
78.38% { transform: translateY(calc(var(--u4) * -1)); animation-timing-function: cubic-bezier(.5, 0, .7, 1); }
78.79% { transform: none; }
100% { transform: none; }
}
@keyframes cs-flow-m3q {
0% { transform: none; }
76.88% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .5, 1); }
77.42% { transform: translateY(calc(var(--u2) * -1)); animation-timing-function: cubic-bezier(.5, 0, .7, 1); }
77.96% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .5, 1); }
78.38% { transform: translateY(calc(var(--u4) * -1)); animation-timing-function: cubic-bezier(.5, 0, .7, 1); }
78.79% { transform: none; }
100% { transform: none; }
}
@keyframes cs-flow-m3d {
0% { opacity: 0; }
76.79% { opacity: 0; }
76.88% { opacity: 1; }
79.38% { opacity: 1; }
80% { opacity: 0; }
100% { opacity: 0; }
}
@keyframes cs-flow-m3e {
0% { opacity: 0; }
76.79% { opacity: 0; }
76.88% { opacity: 1; }
82.08% { opacity: 1; }
82.71% { opacity: 0; }
100% { opacity: 0; }
}
@keyframes cs-flow-m3h {
0% { opacity: 0; }
78.67% { opacity: 0; }
79.08% { opacity: 0.35; }
79.5% { opacity: 0.35; }
79.75% { opacity: 1; }
86.88% { opacity: 1; }
86.92% { opacity: 0; }
100% { opacity: 0; }
}
@keyframes cs-flow-m3c {
0% { opacity: 0; }
81.38% { opacity: 0; }
81.79% { opacity: 0.35; }
82.21% { opacity: 0.35; }
82.46% { opacity: 1; }
86.88% { opacity: 1; }
86.92% { opacity: 0; }
100% { opacity: 0; }
}
@keyframes cs-flow-m3 {
0% { opacity: 0; transform: translateY(var(--u2)) scale(.98); }
68.75% { opacity: 0; transform: translateY(var(--u2)) scale(.98); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
70.21% { opacity: 1; transform: none; }
85.42% { opacity: 1; transform: none; animation-timing-function: ease-in; }
86.25% { opacity: 0; transform: translateY(var(--u4)) scale(.99); }
86.29% { opacity: 0; transform: translateY(var(--u2)) scale(.98); }
100% { opacity: 0; transform: translateY(var(--u2)) scale(.98); }
}
@keyframes cs-flow-d3 {
0% { transform: scale(0); }
86.04% { transform: scale(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1.5); }
87.5% { transform: none; }
100% { transform: none; }
}
@keyframes cs-flow-m4 {
0% { opacity: 0; transform: translateY(var(--u2)) scale(.98); }
87.92% { opacity: 0; transform: translateY(var(--u2)) scale(.98); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
89.38% { opacity: 1; transform: none; }
91.04% { opacity: 1; transform: none; animation-timing-function: ease-in; }
91.88% { opacity: 0; transform: translateY(var(--u4)) scale(.99); }
91.92% { opacity: 0; transform: translateY(var(--u2)) scale(.98); }
100% { opacity: 0; transform: translateY(var(--u2)) scale(.98); }
}
@keyframes cs-flow-d4 {
0% { transform: scale(0); }
92.08% { transform: scale(0); animation-timing-function: cubic-bezier(.2, 0, 0, 1.5); }
93.54% { transform: none; }
100% { transform: none; }
}
@keyframes cs-flow-old-cursor {
0% { transform: translate(40cqw, calc(var(--unit) * 6.6)); }
1.25% { transform: translate(40cqw, calc(var(--unit) * 6.6)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
2.92% { transform: translate(70cqw, calc(var(--unit) * 1.75)); }
3.08% { transform: translate(70cqw, calc(var(--unit) * 1.75)); animation-timing-function: ease-out; }
3.37% { transform: translate(70cqw, calc(var(--unit) * 1.75)) scale(0.82); animation-timing-function: ease-out; }
3.92% { transform: translate(70cqw, calc(var(--unit) * 1.75)); }
3.96% { transform: translate(70cqw, calc(var(--unit) * 1.75)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
5.62% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)); }
5.79% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)); animation-timing-function: ease-out; }
6.08% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)) scale(0.82); animation-timing-function: ease-out; }
6.62% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)); }
6.67% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
8.33% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 3.5999999999999996)); }
8.5% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 3.5999999999999996)); animation-timing-function: ease-out; }
8.79% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 3.5999999999999996)) scale(0.82); animation-timing-function: ease-out; }
9.33% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 3.5999999999999996)); }
9.38% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 3.5999999999999996)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
11.04% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); }
11.21% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); animation-timing-function: ease-out; }
11.5% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)) scale(0.82); animation-timing-function: ease-out; }
12.04% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); }
14.17% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
15.83% { transform: translate(70cqw, calc(var(--unit) * 5)); }
16% { transform: translate(70cqw, calc(var(--unit) * 5)); animation-timing-function: ease-out; }
16.29% { transform: translate(70cqw, calc(var(--unit) * 5)) scale(0.82); animation-timing-function: ease-out; }
16.83% { transform: translate(70cqw, calc(var(--unit) * 5)); }
16.88% { transform: translate(70cqw, calc(var(--unit) * 5)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
18.54% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)); }
18.71% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)); animation-timing-function: ease-out; }
19% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)) scale(0.82); animation-timing-function: ease-out; }
19.54% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)); }
19.58% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
21.25% { transform: translate(calc(100cqw * 0.1500 + var(--unit) * 1.5000), calc(var(--unit) * 3.5999999999999996)); }
21.42% { transform: translate(calc(100cqw * 0.1500 + var(--unit) * 1.5000), calc(var(--unit) * 3.5999999999999996)); animation-timing-function: ease-out; }
21.71% { transform: translate(calc(100cqw * 0.1500 + var(--unit) * 1.5000), calc(var(--unit) * 3.5999999999999996)) scale(0.82); animation-timing-function: ease-out; }
22.25% { transform: translate(calc(100cqw * 0.1500 + var(--unit) * 1.5000), calc(var(--unit) * 3.5999999999999996)); }
22.29% { transform: translate(calc(100cqw * 0.1500 + var(--unit) * 1.5000), calc(var(--unit) * 3.5999999999999996)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
23.96% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); }
24.12% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); animation-timing-function: ease-out; }
24.42% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)) scale(0.82); animation-timing-function: ease-out; }
24.96% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); }
25% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
26.67% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.6)); }
26.83% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.6)); animation-timing-function: ease-out; }
27.13% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.6)) scale(0.82); animation-timing-function: ease-out; }
27.67% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.6)); }
27.71% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.6)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
29.38% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); }
29.54% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); animation-timing-function: ease-out; }
29.83% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)) scale(0.82); animation-timing-function: ease-out; }
30.38% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); }
30.83% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
32.5% { transform: translate(70cqw, calc(var(--unit) * 5)); }
32.67% { transform: translate(70cqw, calc(var(--unit) * 5)); animation-timing-function: ease-out; }
32.96% { transform: translate(70cqw, calc(var(--unit) * 5)) scale(0.82); animation-timing-function: ease-out; }
33.5% { transform: translate(70cqw, calc(var(--unit) * 5)); }
33.54% { transform: translate(70cqw, calc(var(--unit) * 5)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
35.21% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)); }
35.37% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)); animation-timing-function: ease-out; }
35.67% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)) scale(0.82); animation-timing-function: ease-out; }
36.21% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)); }
36.25% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
37.92% { transform: translate(calc(100cqw * 0.1500 + var(--unit) * 1.5000), calc(var(--unit) * 3.5999999999999996)); }
38.08% { transform: translate(calc(100cqw * 0.1500 + var(--unit) * 1.5000), calc(var(--unit) * 3.5999999999999996)); animation-timing-function: ease-out; }
38.38% { transform: translate(calc(100cqw * 0.1500 + var(--unit) * 1.5000), calc(var(--unit) * 3.5999999999999996)) scale(0.82); animation-timing-function: ease-out; }
38.92% { transform: translate(calc(100cqw * 0.1500 + var(--unit) * 1.5000), calc(var(--unit) * 3.5999999999999996)); }
38.96% { transform: translate(calc(100cqw * 0.1500 + var(--unit) * 1.5000), calc(var(--unit) * 3.5999999999999996)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
40.62% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); }
40.79% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); animation-timing-function: ease-out; }
41.08% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)) scale(0.82); animation-timing-function: ease-out; }
41.62% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); }
41.67% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
43.33% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.6)); }
43.5% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.6)); animation-timing-function: ease-out; }
43.79% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.6)) scale(0.82); animation-timing-function: ease-out; }
44.33% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.6)); }
44.38% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.6)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
46.04% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); }
46.21% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); animation-timing-function: ease-out; }
46.5% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)) scale(0.82); animation-timing-function: ease-out; }
47.04% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); }
47.5% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
49.17% { transform: translate(70cqw, calc(var(--unit) * 5)); }
49.33% { transform: translate(70cqw, calc(var(--unit) * 5)); animation-timing-function: ease-out; }
49.62% { transform: translate(70cqw, calc(var(--unit) * 5)) scale(0.82); animation-timing-function: ease-out; }
50.17% { transform: translate(70cqw, calc(var(--unit) * 5)); }
50.21% { transform: translate(70cqw, calc(var(--unit) * 5)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
51.87% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)); }
52.04% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)); animation-timing-function: ease-out; }
52.33% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)) scale(0.82); animation-timing-function: ease-out; }
52.87% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)); }
52.92% { transform: translate(calc(100cqw * 0.3250 + var(--unit) * 0.2500), calc(var(--unit) * 2.5999999999999996)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
54.58% { transform: translate(calc(100cqw * 0.1500 + var(--unit) * 1.5000), calc(var(--unit) * 3.5999999999999996)); }
54.75% { transform: translate(calc(100cqw * 0.1500 + var(--unit) * 1.5000), calc(var(--unit) * 3.5999999999999996)); animation-timing-function: ease-out; }
55.04% { transform: translate(calc(100cqw * 0.1500 + var(--unit) * 1.5000), calc(var(--unit) * 3.5999999999999996)) scale(0.82); animation-timing-function: ease-out; }
55.58% { transform: translate(calc(100cqw * 0.1500 + var(--unit) * 1.5000), calc(var(--unit) * 3.5999999999999996)); }
55.62% { transform: translate(calc(100cqw * 0.1500 + var(--unit) * 1.5000), calc(var(--unit) * 3.5999999999999996)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
57.29% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); }
57.46% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); animation-timing-function: ease-out; }
57.75% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)) scale(0.82); animation-timing-function: ease-out; }
58.29% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); }
58.33% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
60% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.6)); }
60.17% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.6)); animation-timing-function: ease-out; }
60.46% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.6)) scale(0.82); animation-timing-function: ease-out; }
61% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.6)); }
61.04% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.6)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
62.71% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); }
62.88% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); animation-timing-function: ease-out; }
63.17% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)) scale(0.82); animation-timing-function: ease-out; }
63.71% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); }
66.67% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
68.33% { transform: translate(70cqw, calc(var(--unit) * 4.25)); }
68.5% { transform: translate(70cqw, calc(var(--unit) * 4.25)); animation-timing-function: ease-out; }
68.79% { transform: translate(70cqw, calc(var(--unit) * 4.25)) scale(0.82); animation-timing-function: ease-out; }
69.33% { transform: translate(70cqw, calc(var(--unit) * 4.25)); }
72.08% { transform: translate(70cqw, calc(var(--unit) * 4.25)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
73.75% { transform: translate(calc(100cqw * 0.5875 + var(--unit) * -0.6875), calc(var(--unit) * 4.35)); }
73.92% { transform: translate(calc(100cqw * 0.5875 + var(--unit) * -0.6875), calc(var(--unit) * 4.35)); animation-timing-function: ease-out; }
74.21% { transform: translate(calc(100cqw * 0.5875 + var(--unit) * -0.6875), calc(var(--unit) * 4.35)) scale(0.82); animation-timing-function: ease-out; }
74.75% { transform: translate(calc(100cqw * 0.5875 + var(--unit) * -0.6875), calc(var(--unit) * 4.35)); }
74.79% { transform: translate(calc(100cqw * 0.5875 + var(--unit) * -0.6875), calc(var(--unit) * 4.35)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
76.46% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 5.9)); }
76.62% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 5.9)); animation-timing-function: ease-out; }
76.92% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 5.9)) scale(0.82); animation-timing-function: ease-out; }
77.46% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 5.9)); }
77.5% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 5.9)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
79.17% { transform: translate(calc(100cqw * 0.5875 + var(--unit) * -0.6875), calc(var(--unit) * 2.5999999999999996)); }
79.33% { transform: translate(calc(100cqw * 0.5875 + var(--unit) * -0.6875), calc(var(--unit) * 2.5999999999999996)); animation-timing-function: ease-out; }
79.62% { transform: translate(calc(100cqw * 0.5875 + var(--unit) * -0.6875), calc(var(--unit) * 2.5999999999999996)) scale(0.82); animation-timing-function: ease-out; }
80.17% { transform: translate(calc(100cqw * 0.5875 + var(--unit) * -0.6875), calc(var(--unit) * 2.5999999999999996)); }
80.21% { transform: translate(calc(100cqw * 0.5875 + var(--unit) * -0.6875), calc(var(--unit) * 2.5999999999999996)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
81.88% { transform: translate(calc(100cqw * 0.7625 + var(--unit) * -1.0625), calc(var(--unit) * 2.5999999999999996)); }
82.04% { transform: translate(calc(100cqw * 0.7625 + var(--unit) * -1.0625), calc(var(--unit) * 2.5999999999999996)); animation-timing-function: ease-out; }
82.33% { transform: translate(calc(100cqw * 0.7625 + var(--unit) * -1.0625), calc(var(--unit) * 2.5999999999999996)) scale(0.82); animation-timing-function: ease-out; }
82.88% { transform: translate(calc(100cqw * 0.7625 + var(--unit) * -1.0625), calc(var(--unit) * 2.5999999999999996)); }
82.92% { transform: translate(calc(100cqw * 0.7625 + var(--unit) * -1.0625), calc(var(--unit) * 2.5999999999999996)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
84.58% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 5.9)); }
84.75% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 5.9)); animation-timing-function: ease-out; }
85.04% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 5.9)) scale(0.82); animation-timing-function: ease-out; }
85.58% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 5.9)); }
85.83% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 5.9)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
87.5% { transform: translate(70cqw, calc(var(--unit) * 7.5)); }
87.67% { transform: translate(70cqw, calc(var(--unit) * 7.5)); animation-timing-function: ease-out; }
87.96% { transform: translate(70cqw, calc(var(--unit) * 7.5)) scale(0.82); animation-timing-function: ease-out; }
88.5% { transform: translate(70cqw, calc(var(--unit) * 7.5)); }
88.54% { transform: translate(70cqw, calc(var(--unit) * 7.5)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
90.21% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); }
90.38% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); animation-timing-function: ease-out; }
90.67% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)) scale(0.82); animation-timing-function: ease-out; }
91.21% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); }
93.13% { transform: translate(calc(100cqw * 0.8500 + var(--unit) * -1.0000), calc(var(--unit) * 7.65)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
94.79% { transform: translate(40cqw, calc(var(--unit) * 6.6)); }
100% { transform: translate(40cqw, calc(var(--unit) * 6.6)); }
}
@keyframes cs-flow-scrim {
0% { opacity: 0; }
3.33% { opacity: 0; }
4.58% { opacity: 1; }
12.08% { opacity: 1; }
12.71% { opacity: 0; }
16.25% { opacity: 0; }
17.5% { opacity: 1; }
30.42% { opacity: 1; }
31.04% { opacity: 0; }
32.92% { opacity: 0; }
34.17% { opacity: 1; }
47.08% { opacity: 1; }
47.71% { opacity: 0; }
49.58% { opacity: 0; }
50.83% { opacity: 1; }
63.75% { opacity: 1; }
64.38% { opacity: 0; }
68.75% { opacity: 0; }
70% { opacity: 1; }
85.63% { opacity: 1; }
86.25% { opacity: 0; }
87.92% { opacity: 0; }
89.17% { opacity: 1; }
91.25% { opacity: 1; }
91.88% { opacity: 0; }
100% { opacity: 0; }
}
@keyframes cs-flow-drawer {
0% { transform: translateX(calc(100% + 2px)); }
2.5% { transform: translateX(calc(100% + 2px)); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
3.96% { transform: none; }
14.58% { transform: none; animation-timing-function: ease-in; }
15.83% { transform: translateX(calc(100% + 2px)); }
100% { transform: translateX(calc(100% + 2px)); }
}
@keyframes cs-flow-pick1 {
0% { opacity: 0; }
5.54% { opacity: 0; }
5.67% { opacity: 1; }
100% { opacity: 1; }
}
@keyframes cs-flow-row1 {
0% { opacity: 0; transform: translateX(var(--u2)); }
5.75% { opacity: 0; transform: translateX(var(--u2)); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
7.71% { opacity: 1; transform: none; }
100% { opacity: 1; transform: none; }
}
@keyframes cs-flow-pick2 {
0% { opacity: 0; }
7.42% { opacity: 0; }
7.54% { opacity: 1; }
100% { opacity: 1; }
}
@keyframes cs-flow-row2 {
0% { opacity: 0; transform: translateX(var(--u2)); }
7.62% { opacity: 0; transform: translateX(var(--u2)); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
9.58% { opacity: 1; transform: none; }
100% { opacity: 1; transform: none; }
}
@keyframes cs-flow-pick3 {
0% { opacity: 0; }
9.29% { opacity: 0; }
9.42% { opacity: 1; }
100% { opacity: 1; }
}
@keyframes cs-flow-row3 {
0% { opacity: 0; transform: translateX(var(--u2)); }
9.5% { opacity: 0; transform: translateX(var(--u2)); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
11.46% { opacity: 1; transform: none; }
100% { opacity: 1; transform: none; }
}
@keyframes cs-flow-pick4 {
0% { opacity: 0; }
11.17% { opacity: 0; }
11.29% { opacity: 1; }
100% { opacity: 1; }
}
@keyframes cs-flow-row4 {
0% { opacity: 0; transform: translateX(var(--u2)); }
11.38% { opacity: 0; transform: translateX(var(--u2)); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
13.33% { opacity: 1; transform: none; }
100% { opacity: 1; transform: none; }
}
@keyframes cs-flow-pick5 {
0% { opacity: 0; }
13.04% { opacity: 0; }
13.17% { opacity: 1; }
100% { opacity: 1; }
}
@keyframes cs-flow-row5 {
0% { opacity: 0; transform: translateX(var(--u2)); }
13.25% { opacity: 0; transform: translateX(var(--u2)); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
15.21% { opacity: 1; transform: none; }
100% { opacity: 1; transform: none; }
}
@keyframes cs-flow-col1 {
0% { opacity: 0; transform: translateX(var(--unit)); }
18.54% { opacity: 0; transform: translateX(var(--unit)); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
20.21% { opacity: 1; transform: none; }
100% { opacity: 1; transform: none; }
}
@keyframes cs-flow-col2 {
0% { opacity: 0; transform: translateX(var(--unit)); }
18.71% { opacity: 0; transform: translateX(var(--unit)); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
20.38% { opacity: 1; transform: none; }
100% { opacity: 1; transform: none; }
}
@keyframes cs-flow-col3 {
0% { opacity: 0; transform: translateX(var(--unit)); }
18.88% { opacity: 0; transform: translateX(var(--unit)); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
20.54% { opacity: 1; transform: none; }
100% { opacity: 1; transform: none; }
}
@keyframes cs-flow-col4 {
0% { opacity: 0; transform: translateX(var(--unit)); }
19.04% { opacity: 0; transform: translateX(var(--unit)); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
20.71% { opacity: 1; transform: none; }
100% { opacity: 1; transform: none; }
}
@keyframes cs-flow-col5 {
0% { opacity: 0; transform: translateX(var(--unit)); }
19.21% { opacity: 0; transform: translateX(var(--unit)); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
20.88% { opacity: 1; transform: none; }
100% { opacity: 1; transform: none; }
}
@keyframes cs-flow-col6 {
0% { opacity: 0; transform: translateX(var(--unit)); }
19.38% { opacity: 0; transform: translateX(var(--unit)); animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
21.04% { opacity: 1; transform: none; }
100% { opacity: 1; transform: none; }
}
@keyframes cs-flow-in1 {
0% { opacity: 0; }
20.96% { opacity: 0; }
21.38% { opacity: 0.35; }
21.79% { opacity: 0.35; }
22.04% { opacity: 1; }
100% { opacity: 1; }
}
@keyframes cs-flow-in2 {
0% { opacity: 0; }
22.83% { opacity: 0; }
23.25% { opacity: 0.35; }
23.67% { opacity: 0.35; }
23.92% { opacity: 1; }
100% { opacity: 1; }
}
@keyframes cs-flow-in3 {
0% { opacity: 0; }
24.71% { opacity: 0; }
25.13% { opacity: 0.35; }
25.54% { opacity: 0.35; }
25.79% { opacity: 1; }
100% { opacity: 1; }
}
@keyframes cs-flow-in4 {
0% { opacity: 0; }
26.58% { opacity: 0; }
27% { opacity: 0.35; }
27.42% { opacity: 0.35; }
27.67% { opacity: 1; }
100% { opacity: 1; }
}
@keyframes cs-flow-in5 {
0% { opacity: 0; }
28.46% { opacity: 0; }
28.88% { opacity: 0.35; }
29.29% { opacity: 0.35; }
29.54% { opacity: 1; }
100% { opacity: 1; }
}
@keyframes cs-flow-new-cursor {
0% { transform: translate(calc(100cqw * 0.4000 + var(--unit) * 0.0000), calc(var(--unit) * 5.9)); }
4.17% { transform: translate(calc(100cqw * 0.4000 + var(--unit) * 0.0000), calc(var(--unit) * 5.9)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
5.42% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 0.75)); }
5.58% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 0.75)); animation-timing-function: ease-out; }
5.88% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 0.75)) scale(0.82); animation-timing-function: ease-out; }
6.04% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 0.75)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
6.17% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 0.75)); }
7.29% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 1.75)); }
7.46% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 1.75)); animation-timing-function: ease-out; }
7.75% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 1.75)) scale(0.82); animation-timing-function: ease-out; }
7.92% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 1.75)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
8.04% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 1.75)); }
9.17% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 3.75)); }
9.33% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 3.75)); animation-timing-function: ease-out; }
9.62% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 3.75)) scale(0.82); animation-timing-function: ease-out; }
9.79% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 3.75)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
9.92% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 3.75)); }
11.04% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 4.75)); }
11.21% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 4.75)); animation-timing-function: ease-out; }
11.5% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 4.75)) scale(0.82); animation-timing-function: ease-out; }
11.67% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 4.75)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
11.79% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 4.75)); }
12.92% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 6.75)); }
13.08% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 6.75)); animation-timing-function: ease-out; }
13.38% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 6.75)) scale(0.82); animation-timing-function: ease-out; }
13.67% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 6.75)); }
16.67% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 6.75)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
17.92% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 0.75)); }
18.08% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 0.75)); animation-timing-function: ease-out; }
18.38% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 0.75)) scale(0.82); animation-timing-function: ease-out; }
18.67% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 0.75)); }
20.21% { transform: translate(calc(100cqw * 1.0000 + var(--unit) * -0.7500), calc(var(--unit) * 0.75)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
21.46% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 1.625)); }
21.63% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 1.625)); animation-timing-function: ease-out; }
21.92% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 1.625)) scale(0.82); animation-timing-function: ease-out; }
22.08% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 1.625)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
22.21% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 1.625)); }
23.33% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 2.5)); }
23.5% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 2.5)); animation-timing-function: ease-out; }
23.79% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 2.5)) scale(0.82); animation-timing-function: ease-out; }
23.96% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 2.5)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
24.08% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 2.5)); }
25.21% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 3.375)); }
25.38% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 3.375)); animation-timing-function: ease-out; }
25.67% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 3.375)) scale(0.82); animation-timing-function: ease-out; }
25.83% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 3.375)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
25.96% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 3.375)); }
27.08% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.25)); }
27.25% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.25)); animation-timing-function: ease-out; }
27.54% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.25)) scale(0.82); animation-timing-function: ease-out; }
27.71% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.25)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
27.83% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 4.25)); }
28.96% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 5.125)); }
29.12% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 5.125)); animation-timing-function: ease-out; }
29.42% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 5.125)) scale(0.82); animation-timing-function: ease-out; }
29.71% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 5.125)); }
31.04% { transform: translate(calc(100cqw * 0.5000 + var(--unit) * 0.0000), calc(var(--unit) * 5.125)); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
32.29% { transform: translate(calc(100cqw * 0.4000 + var(--unit) * 0.0000), calc(var(--unit) * 5.9)); }
100% { transform: translate(calc(100cqw * 0.4000 + var(--unit) * 0.0000), calc(var(--unit) * 5.9)); }
}
@keyframes cs-flow-fade {
0% { opacity: 0; }
1.67% { opacity: 1; }
97.5% { opacity: 1; animation-timing-function: ease-in-out; }
100% { opacity: 0; }
}

/* ── Steps: the picture, then its paragraph half a line below (a claim h2 above it is optional) ── */
.cs-step { display: flex; flex-direction: column; gap: var(--unit); margin-bottom: calc(var(--unit) * 2); }   /* a line between a picture and its paragraph below */
.cs-step-text { order: 1; width: 100%; }
.cs-step-text h2 { font: inherit; letter-spacing: inherit; text-wrap: pretty; }
:root:not(.is-presenting) .cs-step-text h2 { margin-bottom: var(--u2); }
:root:not(.is-presenting) .cs-step-text > * { max-width: var(--measure); }

/* Wide windows: the text moves beside its picture, in the right 2½ columns, its capitals level
   with the picture's top edge, so the opener, picture and text all start together. The picture has 3½ columns; two lines
   separate it from its text, as they do from the opener above. Its lines
   average 45 characters or more. Narrower, phones and presenting keep it below. */
@media (min-width: 1440px) {
  :root:not(.is-presenting) .cs-step { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--u2); align-items: start; }
  :root:not(.is-presenting) .cs-step > .cs-media,
  :root:not(.is-presenting) .cs-step > .cs-media-grid { grid-column: 1 / span 7; grid-row: 1; max-width: none; }
  :root:not(.is-presenting) .cs-step > .cs-step-text { grid-column: 8 / -1; grid-row: 1; max-width: none; box-sizing: border-box; padding-left: calc(var(--unit) * 2 - var(--u2)); }   /* with the column gap, two lines */
  :root:not(.is-presenting) .cs-step:has(video.cs-loop, .cs-shot) { display: flex; }   /* a loop stays full width, its paragraph below */
  :root:not(.is-presenting) .cs-step:has(video.cs-loop, .cs-shot) > .cs-step-text { max-width: min(calc(50% - var(--u2) / 2), var(--measure)); padding-left: 0; }
  :root:not(.is-presenting) .cs-step-text > :first-child { text-box: trim-start cap alphabetic; }
  :root:not(.is-presenting) .cs-step:has(video.cs-loop, .cs-shot) > .cs-step-text > :first-child { text-box: normal; }   /* below its loop, not beside it: nothing to align with */
  /* A chapter ending in a before / now loop sets it beside its paragraphs, 50/50: the text in the
     left six columns (two lines short of the loop), the loop in the right six, the same width as
     below. The group holding it (.cs-group: the custom-models opener and this chapter) becomes the
     grid, so the loop's label starts level with the group's first line; the text keeps the page's
     one-line rhythm, and if the loop is the taller, the space is left below the text. */
  :root:not(.is-presenting) .cs-group:has(.cs-flow) { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto auto 1fr; column-gap: var(--u2); align-items: start; margin-bottom: calc(var(--unit) * 3); }
  :root:not(.is-presenting) .cs-group:has(.cs-flow) > .cs-chapter:not(:has(> .cs-flow)) { grid-column: 1 / span 6; margin: 0 0 var(--unit); max-width: var(--measure); box-sizing: border-box; padding-right: calc(var(--unit) * 2 - var(--u2)); }
  :root:not(.is-presenting) .cs-group:has(.cs-flow) > .cs-chapter:has(> .cs-flow) { display: contents; }
  :root:not(.is-presenting) .cs-chapter:has(> .cs-flow) > p { grid-column: 1 / span 6; max-width: var(--measure); box-sizing: border-box; padding-right: calc(var(--unit) * 2 - var(--u2)); }
  :root:not(.is-presenting) .cs-chapter > .cs-flow { grid-column: 7 / -1; grid-row: 1 / -1; align-self: start; margin-top: 0; }
}

/* Drafting notes: delete before publishing */
.cs-note { padding: var(--u2); border-left: 2px solid #e15826; background: var(--card-bg); margin-top: var(--unit); }

/* ── Credits ── */
.cs-credits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--unit) var(--u2); margin-bottom: calc(var(--unit) * 2); }
.cs-credits dt { opacity: var(--muted); }

.cs-next { align-self: flex-start; width: auto; color: var(--fg); }

/* ── Presenting (present.js) ──
   The page turned on its side: the same pieces as panels in a strip between the top row and
   the © line, the front one on the page margin, the next peeking in. On big screens and
   projectors the body size goes up half a step (29/36) and everything follows from it.
   Computers only, so the Present link is hidden on touch devices and narrow windows. */
.cs-present-link, .cs-present-count { display: none; }
.is-presenting .topbar [aria-label="Site"] > a:not(.cs-present-link) { display: none; }   /* presenting, the site nav keeps only Exit */
@media (min-width: 801px) and (hover: hover) and (pointer: fine) { .cs-present-link { display: inline; } }
@media (min-width: 1800px) and (min-height: 900px) {
  .is-presenting { --text-m: 29px; --lh-m: calc(36 / 29); }
}
.is-presenting, .is-presenting body { overflow: hidden; }
.is-presenting .home { height: 100svh; min-height: 0; grid-template-rows: auto minmax(0, 1fr) auto; }
.is-presenting .home > .cs-frame + .contact { margin-top: calc(var(--unit) * 2); }   /* two lines above the © line, as below the top row */
.is-presenting .home > .cs {
  flex-direction: row;
  align-items: flex-start;
  gap: calc(var(--unit) * 2);   /* two lines between panels, the next one peeking in */
  margin-top: var(--unit);   /* two lines below the top row, as on the page */
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter) 0;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior: contain;
}
.is-presenting .cs::-webkit-scrollbar { display: none; }
.is-presenting .cs::after { content: ""; flex: 0 0 var(--tail, 0px); }
.is-presenting .cs > .cs-group { margin-right: calc(var(--unit) * 4 - 1px); }   /* six lines between the before loop and the Now recording after it (the strip’s two, plus four; less the pixel of room the panel keeps for the loop window’s hairline, which its scrolling would otherwise clip) */
.is-presenting .cs-note, .is-presenting .cs-next { display: none; }
.is-presenting .cs > * { flex: none; width: auto; margin: 0; max-height: 100%; }
.is-presenting .cs > .cs-header, .is-presenting .cs > .cs-chapter { overflow-y: auto; scrollbar-width: none; }
.is-presenting .cs > .cs-header { align-self: stretch; display: flex; flex-direction: column; }
.is-presenting .cs > .cs-header > .cs-summary:first-of-type { margin-top: auto; }   /* the opening slide: the title at the top, the intro in the middle of the room below it, as much space above it as below */
.is-presenting .cs > .cs-header > .cs-summary:last-of-type { margin-bottom: auto; }   /* words too long for a short window scroll within their panel (the wheel scrolls them first) */
.is-presenting .cs > .cs-step:not(:has(.cs-media-label)) { padding-top: calc(var(--unit) * 1.5); }   /* no label: the label’s line and its half-line gap left empty, so every recording’s frame starts at the same height */
.is-presenting .cs > .cs-chapter { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }   /* a chapter’s words sit at the foot of the strip, level with the paragraph under the recording before them */
.is-presenting .cs > .cs-chapter:has(+ .cs-step[data-present="solo"]), .is-presenting .cs > .cs-chapter:has(+ .cs-step[data-present="pair"]) { justify-content: flex-start; }   /* the chapter before the solo slides, and the one sharing its slide with a recording, start at the top, level with the label */
.is-presenting .cs > .cs-step[data-present="solo"] + .cs-chapter { justify-content: flex-start; }
.is-presenting .cs > .cs-chapter:not(:has(~ .cs-chapter, ~ .cs-step)) { justify-content: flex-start; }   /* the closing words start at the top */   /* the one after them too */
.is-presenting .cs:not(.is-fitting) > .cs-step { align-self: stretch; justify-content: flex-end; }   /* every recording sits at the foot of the strip (its label with it) */
.is-presenting .cs:not(.is-fitting) > .cs-step:is([data-present="beside"], [data-present="after"]) > .cs-media { align-self: flex-end; }   /* beside its paragraph: the recording at the foot, the words still from the top */
.is-presenting .cs > :is(.cs-header, .cs-chapter, .cs-group, .cs-step):not(.is-current) p { opacity: var(--muted); }   /* words on a slide still peeking in are grey until it comes to the front */
.is-presenting .cs > * p { transition: opacity .4s ease; }
@media (prefers-reduced-motion: reduce) { .is-presenting .cs > * p { transition: none; } }
.is-presenting .cs > .cs-header > * { max-width: none; }   /* the panel is already the reading width: its title and lines take all of it */   /* only a long intro in a short window scrolls */
.is-presenting .cs > .cs-header, .is-presenting .cs > .cs-chapter { width: calc((100vw - 2 * var(--gutter) - 11 * var(--u2)) / 2 + 5 * var(--u2) / 2); max-width: var(--measure); }
.is-presenting .cs > .cs-header { width: min(var(--measure), (100vw - 2 * var(--gutter)) * 2 / 3); }   /* the opening panel: title, summary and intro stacked, wider in a small window so they fit, the hero peeking in beside */
.is-presenting .cs > .cs-chapter { width: min(var(--measure), (100vw - 2 * var(--gutter)) * 2 / 3); }   /* chapters as wide as the opening panel’s text */
.is-presenting .cs > .cs-chapter:has(+ .cs-step[data-present="pair"]) { width: calc(var(--unit) * 20); }   /* one sharing its slide with the recording after it: the short end of the measure, so both fit */
.is-presenting .cs > .cs-step { min-width: calc(var(--text-m) * 22); margin: 0; }   /* margin: over the page's spacing between pictures */
/* A group (.cs-group): chapters the deck shows as one panel, stacked like the opening one (the page
   doesn't see the wrapper). With the before / now loop: the paragraphs in one column, the loop beside
   them, two lines over, at the size it has on the page. */
.is-presenting .cs > .cs-group { --flow-w: calc(var(--unit) * 11.75); --flow-gap: calc(var(--unit) * 4); --text-w: min(var(--measure), 100vw - 2 * var(--gutter) - var(--flow-gap) - var(--flow-w) - var(--unit) * 10); width: calc(var(--text-w) + var(--flow-gap) + var(--flow-w) + 1px); padding-right: 1px; display: grid; grid-template-columns: var(--text-w) var(--flow-w); grid-template-rows: auto auto auto 1fr; column-gap: var(--flow-gap);   /* four lines between the words and the loop; the words give way first, so the next slide always peeks in (at least four lines of it) */ row-gap: var(--unit); align-content: start; align-items: start; overflow-y: auto; scrollbar-width: none; }
.is-presenting .cs-group > .cs-chapter { grid-column: 1; margin: 0; max-width: none; }
.is-presenting .cs-group > .cs-chapter:has(> .cs-flow) { display: contents; }
.is-presenting .cs-group > .cs-chapter:has(> .cs-flow) > p { grid-column: 1; margin: 0; }
.is-presenting .cs-group .cs-chapter > .cs-flow { grid-column: 2; grid-row: 1 / -1; margin: 0; min-width: 0; }   /* from the panel's first line, its label level with the next picture's; the last row takes any extra height, so the paragraphs keep two lines between them */
.is-presenting .cs-flow-panels { grid-template-columns: minmax(0, 1fr); }
.is-presenting .cs-step > .cs-media { max-width: none; }
.is-presenting .cs-step-text { width: 0; min-width: 100%; max-width: none; }   /* as wide as its picture, never wider */
.is-presenting .cs-step-text p { max-width: var(--measure); }
.is-presenting .cs-media { cursor: zoom-in; align-items: flex-start; }
.is-presenting .cs-media img,
.is-presenting .cs-media video,
.is-presenting .cs-placeholder { height: var(--pic-h); width: auto; max-width: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.is-presenting .cs > .cs-media img,
.is-presenting .cs > .cs-media video,
.is-presenting .cs > .cs-media .cs-placeholder { height: var(--hero-h); }
.is-presenting .cs-media-grid { grid-template-columns: auto auto; justify-content: start; }
.is-presenting .cs > .cs-hero { height: var(--hero-h); width: auto; align-self: flex-start; }
.is-presenting .cs > .cs-hero { width: calc(100vw - 2 * var(--gutter)); aspect-ratio: auto; }   /* the hero fills its slide's width, its sky and window cropped to the height there is (nothing else in view) */   /* the hero has a slide of its own, centred in the width between the margins (the deck stops short of it by as much, present.js), so the opening panel keeps the strip’s two lines before it; the next panel waits past the right edge */
.is-presenting .cs-hero img.cs-hero-screen,
.is-presenting .cs-hero video.cs-hero-screen { height: auto; width: 100%; max-width: none; }
.is-presenting .cs-step .cs-hero { height: var(--pic-h); width: auto; }
/* In the deck a recording is just its browser window: the frame cropped to the window (its title bar and
   16:10 screen, rounded at the top), no field around it; the window keeps its glass, laid over the
   field's colour (what used to show through it), so it still frosts on the page. The player still runs along the foot.
   (present.js sizes these frames at the same ratio.) */
.is-presenting .cs-step .cs-hero:has(video.cs-loop, .cs-shot) { aspect-ratio: 100 / 64.275; background: none; border-radius: 0; }   /* 2.4 bar + 99 × 10/16 screen, in cqw; square: the window's own rounded corners are the shape (a rounded clip here cut its glass edge) */
.is-presenting .cs-step .cs-hero:has(video.cs-loop, .cs-shot)::before { display: none; }
.is-presenting .cs-step .cs-hero:has(video.cs-loop, .cs-shot) .cs-window { width: 100cqw; top: 0; left: 0; transform: none; background: linear-gradient(180deg, rgb(255 255 255 / .34), rgb(255 255 255 / .18)), color-mix(in srgb, var(--fg) 10%, var(--bg)); }   /* the same glass, now over the field's colour it used to sit on, with its bright hairline edge */
/* data-present="beside": a step's paragraph on the left (20 lines wide), its recording filling the rest of the
   slide's width (present.js), from the same first line; nothing peeks in after it. */
.is-presenting .cs > .cs-step:is([data-present="beside"], [data-present="after"]) { flex-direction: row; align-items: flex-start; column-gap: calc(var(--unit) * 2); }
.is-presenting .cs > .cs-step:is([data-present="beside"], [data-present="after"]) > .cs-step-text { order: -1; flex: none; width: calc(var(--unit) * 20); min-width: 0; }
.is-presenting .cs > .cs-step[data-present="after"] > .cs-step-text { order: 1; }   /* data-present="after": the same, the paragraph on the right */
.is-presenting .cs-media.cs-hero.is-zoomed { aspect-ratio: 2 / 1; display: block; padding: 0; inset: auto; top: 50%; left: 50%; height: min(100svh, 100vw / 2); width: auto; transform: translate(-50%, -50%); }
.is-presenting .cs-placeholder { box-sizing: border-box; }
.is-presenting .cs > .cs-credits { grid-template-columns: 1fr 1fr; width: calc(var(--text-m) * 25); }
.is-dragging .cs, .is-dragging .cs-media { cursor: grabbing; }
/* The count, bottom right on the © line. */
.is-presenting .cs-present-count {
  display: block;
  position: fixed;
  right: var(--gutter);
  bottom: var(--unit);
  opacity: var(--muted);
  font-variant-numeric: tabular-nums;
}
/* Zoomed: one picture, as large as the window allows. */
.is-presenting .cs-media.is-zoomed {
  position: fixed;
  inset: 0;
  z-index: 20;
  box-sizing: border-box;
  padding: var(--unit);
  background: var(--bg);
  cursor: zoom-out;
  display: grid;
  place-items: center;
}
.is-presenting .cs-media.is-zoomed img,
.is-presenting .cs-media.is-zoomed video { width: 100%; height: calc(100svh - 2 * var(--unit)); object-fit: contain; background: none; }
.is-presenting .cs-media.is-zoomed .cs-placeholder { height: auto; width: min(100%, (100svh - 2 * var(--unit)) * 5 / 3); }
.is-presenting .cs-media.is-zoomed figcaption { display: none; }
/* A recording, zoomed: its whole frame (field, window, player), as large as the window allows; a click on it still plays or pauses. */
.is-presenting .cs-media.is-zoomed:has(video.cs-loop) { cursor: auto; }
.is-presenting .cs-media.is-zoomed .cs-media-label { display: none; }
.is-presenting .cs-media.is-zoomed > .cs-hero { height: min(100svh - 2 * var(--unit), (100vw - 2 * var(--unit)) * 64.275 / 100) !important; width: auto; }   /* !important: over the size present.js gives a frame on its slide */
.is-presenting .cs-media.is-zoomed .cs-hero video.cs-hero-screen { width: 100%; height: auto; object-fit: cover; }
/* Enlarge: presenting only (on the page a recording already runs the full width). */
.cs-player-zoom { display: none; }
.is-presenting .cs-player-zoom { display: inline; }
.is-zooming .cs-present-count { z-index: 21; }   /* the count stays in view over a zoom ("Video 2 / 9") */

/* ── Top row: the way home on the left, the case studies on the right ── */
.topbar > .nav-home { color: var(--fg); white-space: nowrap; }
.topbar > .nav-home + .navlinks { margin-left: auto; }
/* ── Footer: © and the name (home), then the contact links, one line apart as between links, one baseline ── */
.home > .cs-frame + .contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--unit); }

/* ── Lock screen ── */
/* ── Lock screen (the shell from scripts/build-private.mjs) ──
   Same frame as the homepage: the top bar on the first line, then the content one blank
   line below, starting where the bio starts. One size, one weight; plain controls. */
.home > .cs-frame { grid-column: 1 / -1; grid-row: 2; min-width: 0; display: flex; flex-direction: column; }   /* a column, as the unlocked pages expect */
/* The page fills the window, with the © line on the bottom margin (bottom left, flush
   with everything else). After unlocking it follows the content. */
.home:has(> .cs-frame) { min-height: 100svh; box-sizing: border-box; grid-template-rows: auto 1fr auto; padding-bottom: var(--unit); }
.home > .cs-frame + .contact { grid-column: 1 / -1; grid-row: 3; text-align: left; margin-top: calc(var(--unit) * 2); }
.wordmark-end a { text-decoration: none; }
.cs-lock { max-width: calc(50% - var(--u2) / 2); }
.cs-frame:not(.has-teaser) > .cs-lock { margin-top: var(--unit); }   /* two lines under the top row (its own one, plus one) */
/* A page that opts in ("teaser: yes") shows its own top behind the lock: the header as on the page, then the
   whole hero, from about a third down fading out to the field; the lock starts one line up from the hero's foot, where
   it has all but gone (the field isn't autofocused there, so the page opens at its top). */
.cs-teaser { display: flex; flex-direction: column; pointer-events: none; }
.cs-teaser > .cs-hero {
  margin-bottom: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 92%);
          mask-image: linear-gradient(to bottom, #000 35%, transparent 92%);
}
.has-teaser .cs-lock { position: relative; margin-top: calc(var(--unit) * -1); }
.cs-unlocking .cs-lock, .cs-unlocking .cs-teaser { visibility: hidden; }   /* opening with the password saved this session: no flash of the lock screen */   /* the bio's width: 6 of 12 half columns */
.cs-lock h1 { font: inherit; letter-spacing: inherit; text-wrap: pretty; }
.cs-lock p { opacity: var(--muted); }
.cs-lock h1.visually-hidden + p { opacity: 1; }   /* no title shown above it: the note is the text, in ink */
.cs-lock p a { color: inherit; }
/* Field and button share one line, one blank line below the text: an underlined field
   and a text link, like every other control on the site. */
.cs-lock-field { display: flex; align-items: center; gap: var(--u2); margin-top: calc(var(--unit) * 2); }   /* two lines below the note, as between paragraphs */
.cs-lock input,
.cs-lock button {
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  color: var(--fg);
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}
/* A boxed field, two lines tall: a hairline frame with the one corner radius, half a line in from its sides. */
.cs-lock input { flex: 1; min-width: 0; height: calc(var(--unit) * 2); padding: 0 var(--u2); border: 1px solid color-mix(in srgb, var(--fg) 30%, transparent); border-radius: var(--radius); background: color-mix(in srgb, var(--fg) 4%, var(--bg)); }
.cs-lock input::placeholder { color: var(--fg); opacity: var(--muted); }
.cs-lock input:focus { outline: none; border-color: var(--fg); }
/* The button pairs with the field: the same height and corner, an ink block with the words knocked out. */
.cs-lock button {
  cursor: pointer;
  height: calc(var(--unit) * 2);
  padding: 0 var(--unit);
  border-radius: var(--radius);
  background: var(--fg);
  color: var(--bg);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.cs-lock button:hover { opacity: 0.85; }
.cs-lock button:focus-visible { outline: 1px solid var(--fg); outline-offset: 2px; }
.cs-lock button[disabled] { opacity: var(--muted); cursor: progress; }
.cs-lock .cs-lock-error { opacity: 1; min-height: var(--unit); }   /* body size, full ink; its line is always reserved */
/* A wrong password: the field shakes no. */
@keyframes cs-shake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(calc(var(--u4) * -1)); } 40%, 80% { transform: translateX(var(--u4)); } }
.cs-lock-field.is-wrong { animation: cs-shake 0.32s ease-in-out; }
@media (prefers-reduced-motion: reduce) { .cs-lock-field.is-wrong { animation: none; } }

/* ── Responsive ── */
@media (max-width: 800px) {
  .cs-lock { max-width: none; }
  .cs-header, .cs-chapter, .cs-step-text, .cs-step > .cs-media, .cs-header > :not(.cs-title), .cs-title { max-width: none; }   /* up to 800px the title is as wide as the text, the full width */
  .cs-credits { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .cs-media-grid { grid-template-columns: 1fr; }
}
