/* Zen premium kit, « plus »: the rules of the pieces from 51 up — built from scripts/zen-site/kit-wip by kit-assemble.mjs, do not edit here.
   Loaded after zen-premium.css, by the pages that use one of those pieces. */
/* ---- 51-brain ---- */
/* 51. Neural « brain » ground: <div class="zp-fx"><canvas data-zp-brain></canvas></div> behind a section's content.
 * The script draws the network and its fade (toward the text side, and at the edges) inside the canvas; without the
 * script the canvas stays empty and transparent. --zp-brain-o tones the whole ground down (1 by default). The section
 * that holds it becomes its own layer, so the ground sits above the section's background and under its content. */
[data-zp-brain]{position:absolute;left:0;top:0;width:100%;height:100%;display:block;pointer-events:none;opacity:var(--zp-brain-o,1)}
:has(>.zp-fx>[data-zp-brain]){isolation:isolate}
/* ---- 54-chapters ---- */
/* 54. Scrubbed chapters ([data-zp-chapters] > .zp-ch > .zp-ch-text + .zp-ch-visual) — motion-process.
 * The default is the still layout: the chapters stacked, each text beside its visual (above it on a phone), all
 * visible. The script adds .zp-chs-on only when the page can pin the block (no reduced motion, a wide and tall enough
 * screen, a page that scrolls, everything fits on one screen): then the block sticks, one chapter is lit at a time,
 * its visual cross-fades in and the rail fills as the page scrolls. Every hidden state below lives under .zp-chs-on.
 * The pinned block keeps its own height; the track's height and the place where the block sticks are written in px by
 * the script from a capped screen height (det-embed): no screen unit here. */
[data-zp-chapters]{position:relative;--zp-chs-gap:clamp(36px,4.6vw,64px);--zp-chs-in:38px}
.zp-ch{display:grid;grid-template-columns:minmax(0,1fr);gap:26px;padding:44px 0}
.zp-ch+.zp-ch{border-top:1px solid var(--zp-line)}
.zp-ch:first-child,.zp-chs-head+.zp-ch,.zp-chs-rail+.zp-ch{padding-top:0}
.zp-ch:last-child{padding-bottom:0}
@media (min-width:901px){.zp-ch{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:var(--zp-chs-gap);align-items:center;padding:64px 0}}
.zp-chs-head{margin:0 0 clamp(36px,5vw,60px)}
.zp-chs-head>:first-child{margin-top:0}
.zp-chs-head>:last-child{margin-bottom:0}
.zp-ch-text,.zp-ch-visual{min-width:0}
.zp-ch-text .zp-ch-k,.zp-chs-mark{font:500 12px/1.4 var(--zp-font-m);letter-spacing:.14em;text-transform:uppercase}
.zp-ch-text .zp-ch-k{display:block;margin:0;color:var(--zp-accent-text)}
.zp-ch-text>:is(h2,h3,h4,.zp-ch-h){margin:14px 0 0;font:var(--zp-chs-hw,300) clamp(24px,2.3vw,30px)/1.14 var(--zp-font-h);letter-spacing:-.02em;color:var(--zp-ink)}
.zp-ch-text p{margin:12px 0 0;max-width:34em;color:var(--zp-dim);font-size:16px;line-height:1.6}
.zp-ch-text .zp-ch-time{display:flex;align-items:flex-start;gap:9px;max-width:none;margin:16px 0 0;font:500 12px/1.45 var(--zp-font-m);letter-spacing:.06em;text-transform:uppercase;color:var(--zp-dim)}
.zp-ch-time::before{content:"";flex:none;width:13px;height:13px;margin-top:2px;background:var(--zp-accent-text);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 6.8V12l3.4 2.1'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 6.8V12l3.4 2.1'/%3E%3C/svg%3E") center/contain no-repeat}
/* the rail (its line and its numbered marks) is built by the script and shown only while the block is pinned */
.zp-chs-mark,.zp-chs-rail{display:none}

/* ---- pinned: one chapter at a time ---- */
.zp-chs-on .zp-chs-pin{position:sticky;top:0;display:flex;flex-direction:column}
.zp-chs-on .zp-chs-head,.zp-chs-on .zp-chs-stage{flex:none}
.zp-chs-on .zp-chs-stage{position:relative;min-width:0;box-sizing:border-box;padding:var(--zp-chs-pt,0px) 0}
.zp-chs-on .zp-ch{display:block;padding:0;border:0}
.zp-chs-on .zp-ch+.zp-ch{margin-top:28px}
/* a reveal written on a chapter or its text plays in the still layout only: while pinned it would move the visual's
 * anchor (will-change makes a containing block) and fight the glide */
.zp-js .zp-chs-on :is(.zp-ch,.zp-ch-text)[data-zp-reveal]{opacity:1;transform:none;transition:none;will-change:auto}
.zp-chs-on .zp-ch-text{position:relative;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;
  width:calc((100% - var(--zp-chs-gap))*5/11);padding-left:var(--zp-chs-in)}
.zp-chs-on .zp-ch-text>.zp-chs-pre{display:none}
.zp-chs-on .zp-ch-text>:is(h2,h3,h4,.zp-ch-h){margin-top:6px;font-size:clamp(22px,1.9vw,26px)}
.zp-chs-on .zp-ch-text .zp-ch-time{order:2;margin-top:10px}
.zp-chs-on .zp-ch-body{order:3;align-self:stretch}
/* the chapters that are not being read: dimmed with the theme's own text colours (never an opacity on read text),
 * their paragraph out of the flow and transparent (still read by a screen reader) */
.zp-chs-on .zp-ch:not(.zp-on) .zp-ch-text>:is(h2,h3,h4,.zp-ch-h){color:var(--zp-mute)}
.zp-chs-on .zp-ch:not(.zp-on) .zp-ch-text .zp-ch-time{color:var(--zp-mute)}
.zp-chs-on .zp-ch:not(.zp-on) .zp-ch-time::before{background:var(--zp-mute)}
.zp-chs-on .zp-ch:not(.zp-on) .zp-ch-text:hover>:is(h2,h3,h4,.zp-ch-h){color:var(--zp-ink)}
.zp-chs-on .zp-ch:not(.zp-on) .zp-ch-body{position:absolute;left:var(--zp-chs-in);right:0;top:100%;opacity:0;pointer-events:none;transition:opacity .16s linear}
.zp-chs-on .zp-ch.zp-on .zp-ch-body{opacity:1;transition:opacity .4s var(--zp-ease) .38s}
/* a mark: the chapter's number and name, on the rail; it takes the micro-label's place and scrolls to its chapter */
.zp-chs-on .zp-chs-mark{display:inline-flex;align-items:center;max-width:100%;min-height:28px;margin:0;padding:0;border:0;border-radius:6px;background:none;
  color:var(--zp-mute);cursor:pointer;white-space:nowrap;text-align:left;-webkit-tap-highlight-color:transparent}
.zp-chs-mark b{font-weight:500}
.zp-chs-mark span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.zp-chs-mark b+span::before{content:"·";margin:0 .7em}
.zp-chs-mark:focus-visible{outline:2px solid var(--zp-accent);outline-offset:4px}
.zp-chs-on .zp-ch.zp-done .zp-chs-mark,.zp-chs-on .zp-ch:not(.zp-on) .zp-ch-text:hover .zp-chs-mark{color:var(--zp-dim)}
.zp-chs-on .zp-ch.zp-on .zp-chs-mark{color:var(--zp-accent-text)}
.zp-chs-mark::after{content:"";position:absolute;left:1px;top:8.5px;width:11px;height:11px;box-sizing:border-box;border-radius:50%;border:1px solid var(--zp-line-2);background:var(--zp-bg)}
.zp-chs-on .zp-ch.zp-done .zp-chs-mark::after,.zp-chs-on .zp-ch.zp-on .zp-chs-mark::after{border-color:var(--zp-accent);background:var(--zp-accent)}
.zp-chs-on .zp-ch:not(.zp-on) .zp-chs-mark::before{content:"";position:absolute;inset:0}
.zp-chs-on .zp-ch.zp-on .zp-chs-mark::before{content:"";position:absolute;left:-5px;top:2.5px;width:23px;height:23px;border-radius:50%;
  background:rgba(var(--zp-accent-rgb),.2);animation:zp-chs-halo .6s var(--zp-ease) both}
@keyframes zp-chs-halo{from{opacity:0;transform:scale(.35)}to{opacity:1;transform:none}}
/* the rail's line: a hairline down the marks, filled down to where the reading is (moved by the script, transform only) */
.zp-chs-on .zp-chs-rail{display:block;position:absolute;left:5.5px;top:calc(14px + var(--zp-chs-pt,0px));bottom:var(--zp-chs-pt,0px);width:2px;overflow:hidden;pointer-events:none;
  background:linear-gradient(var(--zp-line-2),var(--zp-line-2)) center/1px 100% no-repeat;
  -webkit-mask-image:linear-gradient(#000 calc(100% - 40px),transparent);mask-image:linear-gradient(#000 calc(100% - 40px),transparent)}
.zp-chs-rail>i{position:absolute;left:0;right:0;bottom:100%;height:1400px;background:linear-gradient(0deg,var(--zp-accent-2),var(--zp-accent) 140px);will-change:transform}
/* the visuals share one place beside the texts; the chapter being read shows its own (the second selector of each
 * rule outranks a reveal written on the visual, which plays in the still layout only) */
.zp-chs-on .zp-ch-visual,.zp-js .zp-chs-on .zp-ch .zp-ch-visual[data-zp-reveal]{position:absolute;left:calc((100% - var(--zp-chs-gap))*5/11 + var(--zp-chs-gap));right:0;top:50%;translate:0 -50%;
  opacity:0;visibility:hidden;pointer-events:none;transform:translate3d(0,14px,0) scale(.985);
  transition:opacity .28s var(--zp-ease),transform .28s var(--zp-ease),visibility 0s .28s}
.zp-chs-on .zp-ch.zp-on .zp-ch-visual,.zp-js .zp-chs-on .zp-ch.zp-on .zp-ch-visual[data-zp-reveal]{opacity:1;visibility:visible;pointer-events:auto;transform:none;
  transition:opacity .55s var(--zp-ease) .16s,transform .7s var(--zp-ease) .16s,visibility 0s}
/* ---- 55-generate ---- */
/* ---------- 55. « The AI is building it » ([data-zp-generate]) ----------
 * A real screen, laid out from the start, so its height never changes. While it builds, each part ([data-zp-gen]) is
 * hidden and the script draws its outline in a layer above it (.zp-gen-wire): a dashed box, or a dotted bar for one
 * line of text, with one light that sweeps the whole wireframe. Then the parts resolve in turn and the label
 * ([data-zp-gen-state]) turns. A part is hidden only once the script has drawn the wireframe (.zp-gen-live): without
 * JavaScript, with reduced motion, or if the script stops, the finished screen is what shows. */
.zp-js:not(.zp-rm) .zp-gen-live [data-zp-gen]{transition:opacity .55s var(--zp-ease),transform .7s var(--zp-ease),filter .7s var(--zp-ease)}
.zp-js:not(.zp-rm) .zp-gen-live [data-zp-gen]:not(.zp-gen-in){opacity:0;transform:translate3d(0,6px,0);filter:blur(5px);will-change:opacity,transform,filter}
.zp-gen-wire{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit}
/* the build line: a hairline along the top edge that fills as the parts arrive (the script sets --zp-gp, 0 to 1) */
.zp-gen-wire::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,var(--zp-accent),var(--zp-accent-2));
  transform:scaleX(var(--zp-gp,0));transform-origin:0 50%;transition:transform .7s var(--zp-ease),opacity .6s var(--zp-ease)}
.zp-gen-done>.zp-gen-wire::before{opacity:0}
/* one outline per part, placed by the script (left, top, width, height in px; --zp-gx = its left edge) */
.zp-gen-wire>i{position:absolute;box-sizing:border-box;overflow:hidden;border:1px dashed rgba(var(--zp-accent-rgb),.5);border-radius:6px;
  background:rgba(var(--zp-accent-rgb),.035);transition:opacity .5s var(--zp-ease)}
.zp-gen-wire>i.zp-gen-ln{border:0;border-radius:0;background:rgba(var(--zp-accent-rgb),.5);
  -webkit-mask-image:repeating-linear-gradient(90deg,#000 0 4px,transparent 4px 9px);mask-image:repeating-linear-gradient(90deg,#000 0 4px,transparent 4px 9px)}
.zp-gen-wire>i.zp-gen-off{opacity:0}
/* the scanning light: every outline carries a slice of the same band (each one starts at the block's left edge and
 * travels the block's width, --zp-gw), so one light crosses the whole wireframe and shows only inside the outlines */
.zp-gen-wire>i::after{content:"";position:absolute;top:0;bottom:0;left:calc(var(--zp-gx,0px) * -1 - 180px);width:180px;
  background:linear-gradient(90deg,transparent,rgba(var(--zp-accent-rgb),.26),transparent)}
.zp-gen-wire>i.zp-gen-ln::after{background:linear-gradient(90deg,transparent,var(--zp-accent-2),transparent)}
.zp-gen-run>.zp-gen-wire>i::after{animation:zp-gen-scan 2.6s var(--zp-ease-io) infinite}
@keyframes zp-gen-scan{from{transform:translate3d(0,0,0)}to{transform:translate3d(var(--zp-gw,1200px),0,0)}}
/* a snap (replay, or the block scrolled past): no transition for one frame */
.zp-gen-skip [data-zp-gen],.zp-gen-skip>.zp-gen-wire>i,.zp-gen-skip>.zp-gen-wire::before{transition:none!important}
/* the state label: it fades out, its text is swapped while it is invisible, it fades back in */
.zp-js:not(.zp-rm) [data-zp-gen-state]{transition:opacity .24s linear}
.zp-js:not(.zp-rm) [data-zp-gen-state].zp-gen-swap{opacity:0}
.zp-live.zp-gen-busy{color:var(--zp-accent-text)}
/* its dot is the « ok » colour once built (in a window bar, `.zp-win-bar i` would paint it grey) and the accent while building */
[data-zp-gen-state]>.zp-dot{background:var(--zp-ok)}
[data-zp-gen-state].zp-gen-busy>.zp-dot{background:var(--zp-accent);animation-name:zp-pulse-y}
/* a « play it again » control is useless where nothing plays */
.zp-rm [data-zp-gen-replay],html:not(.zp-js) [data-zp-gen-replay]{display:none}
/* Optional layout for the build screen: columns split by a hairline that stack by themselves when the block is narrow
 * (.zp-gen-cols > .zp-gen-col), a mono section label (.zp-gen-k) and a line that was read (.zp-gen-row > span + text) */
.zp-gen-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,236px),1fr));overflow:hidden}
.zp-win-body.zp-gen-cols{padding:0}
.zp-gen-col{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:20px;margin:-1px 0 0 -1px;border:solid var(--zp-line);border-width:1px 0 0 1px}
.zp-gen-k{font:500 11.5px/1.3 var(--zp-font-m);letter-spacing:.12em;text-transform:uppercase;color:var(--zp-accent-text)}
.zp-gen-row{display:grid;grid-template-columns:fit-content(55%) minmax(0,1fr);column-gap:10px;align-items:baseline;font-size:13.5px;line-height:1.45;color:var(--zp-ink)}
.zp-gen-row>span{min-width:74px;overflow-wrap:anywhere;font:500 12px/1.45 var(--zp-font-m);color:var(--zp-mute)}
/* on paper nothing builds: a block that was never seen prints as the finished screen */
@media print{.zp-gen-live [data-zp-gen]{opacity:1!important;transform:none!important;filter:none!important;transition:none!important}.zp-gen-wire{display:none}}
/* ---- 56-think ---- */
/* 56. Agent reasoning stream ([data-zp-think]): a short list of what the agent is doing, one line at a time. A line
 * rises in with a small spinner that turns into a check, then the next one comes; the rail on the left draws down
 * with the lines. What is written here first is the FINISHED list (every line shown, checked): that is what shows
 * without the script, with reduced motion and off screen. A line is hidden only under .zp-js:not(.zp-rm), on a list
 * the script has woken (.zp-think-ready), while its turn has not come. Rows are 24 px, so the list's height never
 * changes while it plays. Colours: the theme's « ok » as text (--zp-ok-text: cyan on Zen, green on the default theme,
 * their dark versions in a light section), the rail and the spinner's ring being tints of it.
 * The room for the rail and the marker is each LINE's own padding, never the list's: a site that resets its lists
 * (« .zs ul{margin:0;padding:0} ») leaves the piece whole. Only the list's outer margin is the page's to set. */
[data-zp-think]{position:relative;display:block;list-style:none;margin:12px 0;padding:0;text-align:left;
  font:400 12.5px/20px var(--zp-font-m);letter-spacing:0;text-transform:none;--zp-think-c:var(--zp-ok-text);
  /* the quiet grey, lifted a little towards the body grey: alone it is 4.3:1 on the default theme's window */
  color:var(--zp-mute);color:color-mix(in srgb,var(--zp-dim) 30%,var(--zp-mute))}
[data-zp-think]::before{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;
  background:rgba(var(--zp-ok-rgb),.4);background:color-mix(in srgb,var(--zp-think-c) 40%,transparent);
  transform-origin:50% 0;transform:scaleY(var(--zp-think-p,1));transition:transform .5s var(--zp-ease)}
[data-zp-think]>*{position:relative;display:block;margin:0;padding:2px 0 2px 36px;min-width:0;overflow-wrap:anywhere}
/* the marker of a line: ::before is the spinner (shown only while the line is being worked on), ::after the check.
 * Both sit in the middle of the first row, whatever line height the page gives the list (1lh; 20 px rows without it) */
[data-zp-think]>*::before{content:"";position:absolute;left:16px;top:7px;top:calc(2px + (1lh - 10px)/2);width:10px;height:10px;box-sizing:border-box;border-radius:50%;
  border:1.5px solid rgba(var(--zp-ok-rgb),.26);border-color:color-mix(in srgb,var(--zp-think-c) 26%,transparent);border-top-color:var(--zp-think-c);opacity:0;transition:opacity .14s linear}
[data-zp-think]>*::after{content:"";position:absolute;left:15px;top:6px;top:calc(2px + (1lh - 12px)/2);width:12px;height:12px;background:var(--zp-think-c);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.4l2.4 2.4 4.6-5.1' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px 12px no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.4l2.4 2.4 4.6-5.1' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px 12px no-repeat;
  transition:opacity .26s var(--zp-ease) .08s,transform .26s var(--zp-ease) .08s}
/* waiting: the line is not there yet (its place is kept). Leaving is a short fade, the 6 px drop only once it is gone */
.zp-js:not(.zp-rm) .zp-think-ready>*{opacity:0;transform:translate3d(0,6px,0);transition:opacity .22s linear,transform 0s linear .22s}
.zp-js:not(.zp-rm) .zp-think-ready>*:not(.zp-done)::after{opacity:0;transform:scale(.5);transition:opacity .22s linear,transform 0s linear .22s}
/* an empty list has no rail: it fades with the lines, then draws again from the top */
.zp-js:not(.zp-rm) .zp-think-empty::before{opacity:0;transition:opacity .22s linear,transform 0s linear .22s}
/* arrived (.zp-on): fade + 6 px rise, the spinner turns (one whole number of turns per line: --zp-think-turn is set by
 * the script, so the ring is back at its start when it fades); checked (.zp-done): the base state above */
.zp-js:not(.zp-rm) .zp-think-ready>.zp-on{opacity:1;transform:none;transition:opacity .4s var(--zp-ease),transform .4s var(--zp-ease)}
.zp-js:not(.zp-rm) .zp-think-ready>.zp-on:not(.zp-done)::before{opacity:1;animation:zp-spin var(--zp-think-turn,.56s) linear infinite}
/* what follows the list (the agent's answer): a later sibling marked .zp-think-after arrives when the last line is
 * checked (.zp-think-done) and leaves when the list starts over; --zp-think-d delays it (a second one after the first) */
.zp-think-after{transition:opacity .4s var(--zp-ease) var(--zp-think-d,.12s),transform .4s var(--zp-ease) var(--zp-think-d,.12s)}
.zp-js:not(.zp-rm) .zp-think-ready:not(.zp-think-done)~.zp-think-after{opacity:0;transform:translate3d(0,6px,0);transition:opacity .22s linear,transform 0s linear .22s}
/* a change of state nobody should watch (the list reset as it comes on screen, completed as it leaves) */
.zp-think-cut::before,.zp-think-cut>*,.zp-think-cut>*::before,.zp-think-cut>*::after,.zp-think-cut~.zp-think-after{transition:none!important}
/* ---- 57-stream ---- */
/* 57. Streaming answer ([data-zp-stream]). The script puts each word in a span (.zp-sw, its space with it): all of them
 * are laid out from the start, so the box never changes size, and they arrive one after the other — hidden and soft,
 * then sharp. --zp-sd is the word's turn (ms), set by the script. Without the script, or with reduced motion, the text
 * is simply there. While it waits for its turn (.zp-st-wait) the element itself is hidden, so a chat bubble never
 * shows as an empty box: it fades in with its first word, and when it is cleared to play again (.zp-st-out) it leaves
 * in a short fade with its words still in it. .zp-st-done is on the element once the last word is sharp: a page can
 * key what comes next on it.
 * .zp-sw-sr is the whole text for a screen reader (the word spans are hidden from it), kept out of a copy-paste. */
.zp-sw-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;-webkit-user-select:none;user-select:none;pointer-events:none}
.zp-js:not(.zp-rm) .zp-stream.zp-st-wait{opacity:0;pointer-events:none}
.zp-js:not(.zp-rm) .zp-stream.zp-st-out{transition:opacity .22s linear}
.zp-js:not(.zp-rm) .zp-stream.zp-st-on:not(.zp-st-done){transition:opacity .35s var(--zp-ease)}
.zp-js:not(.zp-rm) .zp-stream .zp-sw{opacity:0;filter:blur(clamp(3px,.3em,8px))}
.zp-js:not(.zp-rm) .zp-stream.zp-st-out .zp-sw{opacity:1;filter:none}
.zp-js:not(.zp-rm) .zp-stream.zp-st-on .zp-sw{opacity:1;filter:none;
  transition:opacity .4s var(--zp-ease) var(--zp-sd,0ms),filter .5s var(--zp-ease) var(--zp-sd,0ms)}
/* ---- 58-num ---- */
/* 58. Number change ([data-zp-num="subtle|spin"] + data-zp-value): the script cuts the number into columns
 * (.zp-num-c), one per character, each holding the character in place (.zp-num-a) and the one leaving or coming
 * (.zp-num-b). Tabular digits with or without the script, so the number has the same width before and after it wakes
 * and a digit that changes never moves its neighbours. Nothing is hidden at the start: without JavaScript the number
 * is plain text. The readable text is .zp-num-sr (and the aria-label); the columns are for the eyes only. */
[data-zp-num]{font-variant-numeric:tabular-nums;white-space:nowrap}
.zp-num-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}
.zp-num-v{display:inline-block;white-space:pre;-webkit-user-select:none;user-select:none}
.zp-num-c{display:inline-block;position:relative}
.zp-num-a{display:block}
.zp-num-b{position:absolute;left:0;top:0;min-width:100%;text-align:center;pointer-events:none}
.zp-num-h>.zp-num-b{left:auto;right:0;text-align:right}
.zp-num-t>.zp-num-b{text-align:left}
/* a rolling digit stays inside its own line box, and dissolves at the top and bottom edge instead of being cut by a
 * hard line (a mask, not overflow: the column keeps its text baseline; the clip is for a browser without masks) */
.zp-num-roll{-webkit-clip-path:inset(0 -.12em);clip-path:inset(0 -.12em);
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 .15em,#000 calc(100% - .15em),transparent);mask-image:linear-gradient(180deg,transparent,#000 .15em,#000 calc(100% - .15em),transparent)}
/* ---- 59-spot ---- */
/* ---------- 59. Spotlight card (.zp-spot on a card, optional wrapper .zp-spot-group) ----------
 * A lamp under the mouse: the card's hairline and a soft glow inside it light up around the pointer, and the cards of
 * one group share that light. The light is ONE layer, the card's own ::after — never a background on the card or on an
 * ancestor of text — placed over the card's border, under its content, taking no room. It is one radial gradient seen
 * through a mask: at full strength through a frame as thick as the border, faintly through the inside. ::before stays
 * the card's. The layer exists only once the script has woken the card (.zp-spot-rdy), on a device with a mouse, when
 * motion is welcome: on touch, with reduced motion and without JavaScript the card shows nothing more than its own
 * quiet border. Only opacity is animated.
 * Per card or per group: --zp-spot-r (reach, px), --zp-spot-ring (strength of the lit border, 0 to 1), --zp-spot-glow
 * (the glow inside, as a share of the border's strength), --zp-spot-c (colour), --zp-spot-w (thickness of the lit
 * border). The pointer's place (--zp-sx, --zp-sy) is not inherited, so moving the lamp restyles that one layer and
 * nothing inside the card. */
@property --zp-sx{syntax:"<length>";inherits:false;initial-value:-9999px}
@property --zp-sy{syntax:"<length>";inherits:false;initial-value:-9999px}
/* the card is the same box everywhere — phone, computer, with or without the script: what it holds is placed and
 * stacked inside it. Zero specificity: a card its page positions otherwise keeps that position. */
:where(.zp-spot,[data-zp-spot]){position:relative;isolation:isolate}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .zp-spot-rdy::after{content:"";position:absolute;inset:var(--zp-spot-in,-1px);z-index:-1;padding:var(--zp-spot-w,1px);border-radius:inherit;pointer-events:none;
    --zp-sx:inherit;--zp-sy:inherit;--zp-spot-k:var(--zp-spot-c,var(--zp-accent-text));--zp-spot-g:var(--zp-spot-glow,.14);
    /* the lamp: one colour that dies away along a soft curve (eight stops), so its end never shows as a circle */
    background:radial-gradient(var(--zp-spot-r,320px) circle at var(--zp-sx,-9999px) var(--zp-sy,-9999px),
      var(--zp-spot-k) 0,color-mix(in srgb,var(--zp-spot-k) 88%,transparent) 13%,color-mix(in srgb,var(--zp-spot-k) 64%,transparent) 27%,color-mix(in srgb,var(--zp-spot-k) 40%,transparent) 41%,
      color-mix(in srgb,var(--zp-spot-k) 21%,transparent) 55%,color-mix(in srgb,var(--zp-spot-k) 9%,transparent) 69%,color-mix(in srgb,var(--zp-spot-k) 3%,transparent) 83%,transparent 100%);
    /* the frame shows it whole, the inside shows --zp-spot-g of it */
    -webkit-mask:linear-gradient(rgb(0 0 0/calc(1 - var(--zp-spot-g))) 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
    mask:linear-gradient(rgb(0 0 0/calc(1 - var(--zp-spot-g))) 0 0) content-box exclude,linear-gradient(#000 0 0);
    opacity:0;transition:opacity .7s var(--zp-ease)}
  /* cells stacked in a column (a table's own column): only the two sides light, so the column reads as one card */
  .zp-spot-sides.zp-spot-rdy::after{padding:0 var(--zp-spot-w,1px)}
  .zp-spot-on.zp-spot-rdy::after,.zp-spot-on .zp-spot-rdy::after{opacity:var(--zp-spot-ring,1);transition-duration:.35s}
  /* on a light band the lamp is darker and quieter: the accent text colour, a softer border, a fainter inside */
  .zp-light .zp-spot-rdy::after,.zp-light.zp-spot-rdy::after{--zp-spot-g:var(--zp-spot-glow,.085)}
  .zp-light .zp-spot-on.zp-spot-rdy::after,.zp-light .zp-spot-on .zp-spot-rdy::after,.zp-light.zp-spot-on.zp-spot-rdy::after{opacity:var(--zp-spot-ring,.7)}
}
/* a visitor's own colours (Windows contrast themes): no coloured light over them */
@media (forced-colors:active){.zp-spot-rdy::after{display:none}}
/* ---- 60-roles ---- */
/* 60. Role switcher ([data-zp-roles]): a tab pill whose indicator slides, one app window, one view per role; it moves to
 * the next role by itself (motion-auto). Every rule that hides something keys on .zp-roles-on, the class the script adds
 * once it has built the piece: without the script, or if it could not build, the tabs are not shown and every panel is,
 * stacked under its role's name (.zp-roles-name). A site sets the pill with --zp-roles-pill / --zp-roles-pill-ink. */
.zp-roles-split{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;align-items:center}
@media (min-width:901px){.zp-roles-split{grid-template-columns:minmax(0,.84fr) minmax(0,1fr);gap:clamp(40px,5.4vw,72px)}}
.zp-roles-tabs{--zp-roles-pad:5px;display:none;position:relative;isolation:isolate;max-width:100%;margin-top:var(--zp-roles-gap,26px);padding:var(--zp-roles-pad);gap:2px;border-radius:999px;
  background:var(--zp-fill-2);box-shadow:inset 0 0 0 1px var(--zp-line);vertical-align:middle}
/* a grid of columns as wide as their words: when the row is too narrow only the longest label goes on two lines */
.zp-roles-on .zp-roles-tabs{display:inline-grid;grid-auto-flow:column;grid-auto-columns:auto}
.zp-roles-tabs>[data-zp-role]{position:relative;z-index:1;min-width:0;min-height:44px;margin:0;padding:0 18px;border:0;border-radius:999px;background:none;-webkit-background-clip:text;background-clip:text;
  color:var(--zp-dim);font:500 15px/1.15 var(--zp-font-b);text-align:center;text-wrap:balance;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;cursor:pointer;-webkit-tap-highlight-color:transparent}
.zp-roles-tabs>[data-zp-role]:hover{color:var(--zp-ink)}
/* the tab shown also carries the pill's colour as its own background. A tab's background is painted under its letters
 * only (background-clip:text, on every tab, so nothing shows while it comes or goes) and the indicator behind stays the
 * one thing seen: a contrast check, which reads an element's background and cannot see the indicator, then measures
 * the text against what really is behind it (det-contrast) */
.zp-roles-tabs>[data-zp-role][aria-selected="true"]{color:var(--zp-roles-pill-ink,var(--zp-bg));background-color:var(--zp-roles-pill,var(--zp-ink));transition:none}
/* text and background change together, in one step, when the indicator has half left (60 ms) or mostly landed (120 ms):
 * no in-between colour is ever measured, or seen, against the wrong ground */
.zp-js:not(.zp-rm) .zp-roles-live .zp-roles-tabs>[data-zp-role]{transition:color 0s .06s,background-color 0s .06s}
.zp-js:not(.zp-rm) .zp-roles-live .zp-roles-tabs>[data-zp-role]:hover{transition:color .2s var(--zp-ease),background-color 0s}
.zp-js:not(.zp-rm) .zp-roles-live .zp-roles-tabs>[data-zp-role][aria-selected="true"]{transition:color 0s .12s,background-color 0s .12s}
.zp-roles-tabs>[data-zp-role]:focus-visible,.zp-roles-pause:focus-visible{outline:2px solid var(--zp-accent-text);outline-offset:2px}
/* the indicator is three parts — two round ends and a middle that stretches — so it changes place AND width with
 * transforms only; the script writes the three transforms, the ends overlap the middle by 1 px (no seam) */
.zp-roles-ind{position:absolute;left:0;top:var(--zp-roles-pad);bottom:var(--zp-roles-pad);width:0;z-index:0;pointer-events:none}
.zp-roles-ind>i{position:absolute;left:0;top:0;height:100%;background:var(--zp-roles-pill,var(--zp-ink))}
.zp-roles-ind>i:nth-child(1){border-radius:999px 0 0 999px}
.zp-roles-ind>i:nth-child(2){width:100px;transform-origin:0 50%}
.zp-roles-ind>i:nth-child(3){border-radius:0 999px 999px 0}
.zp-roles-ind.zp-roles-move>i{transition:transform .5s var(--zp-ease)}
/* the views (and the lines of text under the tabs) share one grid cell: the height is the tallest one's, nothing jumps */
.zp-roles-stage,.zp-roles-notes{display:grid;grid-template-columns:minmax(0,1fr)}
.zp-roles-stage{position:relative}
.zp-roles-notes{gap:14px;margin-top:24px}
.zp-roles-note{margin:0;max-width:520px}
.zp-roles-panel{min-width:0}
.zp-roles-name{display:block;margin:0 0 12px;font:500 12px/1.3 var(--zp-font-m);letter-spacing:.14em;text-transform:uppercase;color:var(--zp-accent-text)}
[data-zp-roles]:not(.zp-roles-on) .zp-roles-panel+.zp-roles-panel{border-top:1px solid var(--zp-line)}
/* stacked without the script: views that each hold their own window, and notes written without their .zp-roles-notes box, keep a gap */
[data-zp-roles]:not(.zp-roles-on) .zp-roles-panel:has(>.zp-win)+.zp-roles-panel{border-top:0;margin-top:20px}
[data-zp-roles]:not(.zp-roles-on) :not(.zp-roles-notes)>.zp-roles-note{margin-top:14px}
[data-zp-roles]:not(.zp-roles-on) .zp-roles-tabs+.zp-roles-note{margin-top:24px}
.zp-roles-on .zp-roles-name{display:none}
.zp-roles-on .zp-roles-notes{gap:0}
.zp-roles-on .zp-roles-panel,.zp-roles-on .zp-roles-note{grid-area:1/1;opacity:0;visibility:hidden}
.zp-roles-on .zp-roles-panel.zp-on,.zp-roles-on .zp-roles-note.zp-on{opacity:1;visibility:visible}
.zp-roles-panel:focus-visible{outline:2px solid var(--zp-accent-text);outline-offset:-4px;border-radius:14px}
/* the cross-fade: the view that leaves dissolves and softens, the one that arrives clears. .zp-roles-live comes two
 * frames after the build, so nothing fades while the piece sets itself up. */
.zp-js:not(.zp-rm) .zp-roles-live .zp-roles-panel{filter:blur(7px);transform:scale(.985);
  transition:opacity .34s var(--zp-ease-io),filter .34s var(--zp-ease-io),transform .34s var(--zp-ease-io),visibility 0s .34s}
.zp-js:not(.zp-rm) .zp-roles-live .zp-roles-panel.zp-on{filter:none;transform:none;
  transition:opacity .56s var(--zp-ease) .06s,filter .56s var(--zp-ease) .06s,transform .56s var(--zp-ease) .06s,visibility 0s}
.zp-js:not(.zp-rm) .zp-roles-live .zp-roles-note{transform:translateY(6px);transition:opacity .26s var(--zp-ease-io),transform .26s var(--zp-ease-io),visibility 0s .26s}
.zp-js:not(.zp-rm) .zp-roles-live .zp-roles-note.zp-on{transform:none;transition:opacity .5s var(--zp-ease) .14s,transform .5s var(--zp-ease) .14s,visibility 0s}
/* the time left before the next role: a hairline across the top of the view, dim while the piece waits */
.zp-roles-prog{position:absolute;left:0;right:0;top:0;height:2px;z-index:2;pointer-events:none;opacity:0;transition:opacity .35s}
.zp-roles-prog>i{display:block;width:100%;height:100%;border-radius:0;transform-origin:0 50%;transform:scaleX(0);background:linear-gradient(90deg,var(--zp-accent),var(--zp-accent-2))}
/* when each view holds its own window the script puts the hairline in the bar of the window shown, along its bottom edge */
.zp-roles-host{position:relative}
.zp-roles-host>.zp-roles-prog{top:auto;bottom:-1px}
.zp-roles-playing .zp-roles-prog{opacity:1}
.zp-roles-held .zp-roles-prog{opacity:.35}
/* the pause button: in the window's bar when the views sit in a .zp-win, else beside the tabs (.zp-roles-bar) */
.zp-roles-pause{flex:none;display:inline-grid;place-items:center;width:28px;height:28px;margin:-7px -6px -7px auto;padding:0;border:0;border-radius:50%;background:none;
  color:var(--zp-mute);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:color .2s,background .2s}
.zp-roles-pause:hover{color:var(--zp-ink);background:var(--zp-fill-2)}
.zp-roles-pause svg{display:block;width:12px;height:12px}
.zp-roles-pause .zp-roles-i-play,.zp-roles-pause[aria-pressed="true"] .zp-roles-i-pause{display:none}
.zp-roles-pause[aria-pressed="true"] .zp-roles-i-play{display:block}
.zp-roles-pause[aria-pressed="true"]{color:var(--zp-ink)}
.zp-win-bar .zp-live+.zp-roles-pause{margin-left:0}
/* touch screens: a 44 px target; its margins leave 22 px in the flow, so a .zp-win-bar (11 px padding) is 44 px tall around it */
@media (max-width:900px),(pointer:coarse){.zp-roles-pause{width:44px;height:44px;margin:-11px -12px -11px auto}.zp-win-bar .zp-live+.zp-roles-pause{margin-left:-6px}}
/* the pause button with its word (.zp-roles-pause-l): the one the script puts under the notes when each view holds its
 * own window, and a button written in the page (<button class="zp-roles-pause">, anywhere in the piece), which stays
 * where the page put it and is not shown until the script has built the piece (nothing plays without it) */
[data-zp-roles]:not(.zp-roles-on) .zp-roles-pause{display:none}
.zp-roles-pause.zp-roles-pause-l{display:inline-flex;align-items:center;gap:8px;width:auto;height:auto;min-width:44px;min-height:44px;margin:8px 0 0 -12px;padding:0 14px 0 12px;border-radius:999px;
  font:500 12px/1 var(--zp-font-m);letter-spacing:.1em;text-transform:uppercase}
.zp-roles-bar{display:inline-flex;align-items:center;gap:8px;max-width:100%;margin-top:var(--zp-roles-gap,26px);vertical-align:middle}
.zp-roles-bar>.zp-roles-tabs{margin-top:0}
.zp-roles-bar>.zp-roles-pause{width:44px;height:44px;margin:0;box-shadow:inset 0 0 0 1px var(--zp-line-2)}
/* beside a window on a small computer screen the column is narrow: a little less air, so three labels stay on one line */
@media (min-width:901px) and (max-width:1100px){.zp-roles-tabs>[data-zp-role]{padding:0 14px}}
@media (max-width:600px){
  .zp-roles-tabs{--zp-roles-pad:4px;gap:0}
  .zp-roles-on .zp-roles-tabs{display:grid}
  .zp-roles-tabs>[data-zp-role]{padding:0 8px;font-size:13.5px}
  .zp-roles-bar{display:flex}.zp-roles-bar>.zp-roles-tabs{flex:1 1 auto;min-width:0}
}
/* forced colours (Windows contrast themes) repaint every background: the indicator keeps one of the system's own */
@media (forced-colors:active){.zp-roles-ind>i{forced-color-adjust:none;background:Highlight}.zp-roles-tabs>[data-zp-role][aria-selected="true"]{forced-color-adjust:none;color:HighlightText}}
/* ---- 63-curtain ---- */
/* ---------- 63. Curtain hero ([data-zp-hero][data-zp-curtain]) ---------- */
/* Still by default: an ordinary hero in the page flow (no script, reduced motion, a frame that cannot scroll, a hero
 * taller than a phone's screen). The script adds .zp-curtain-on only while it is safe; the hero then stays where it is
 * and what follows slides up over it. No height is set here: the hero keeps the kit's own capped one (det-embed). The
 * holding line is written in px by the script (0, data-zp-top, or — a taller hero on a computer — a negative offset
 * that leaves its bottom edge on the bottom of the screen). */
[data-zp-curtain].zp-curtain-on{position:sticky;top:var(--zp-curtain-top,0px)}
/* the shade that deepens over the photo while the hero is being covered: the script drives its opacity, 0 at rest.
 * It is the theme's dark ground; inside a light section or on a light site (where --zp-bg is light) it stays dark,
 * in the tone of the kit's own photo shades. --zp-curtain-shade sets another colour. */
.zp-curtain-shade{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:0;background:var(--zp-curtain-shade,var(--zp-bg))}
.zp-light .zp-curtain-shade{background:var(--zp-curtain-shade,#0a0b0d)}
.zp-curtain-on>.zp-curtain-shade{will-change:opacity}
/* what slides over the hero paints above it and is opaque. The script gives this class to the sections that follow;
 * it has no specificity, so a section's own position or background always wins. isolation keeps a section's own
 * decoration (.zp-fx, .zp-orb: z-index -1) in front of the background it has just been given. */
:where(.zp-curtain-over){position:relative;isolation:isolate;background-color:var(--zp-bg)}
/* the curtain's edge casts a soft shadow on the photo, only while the hero is held */
.zp-curtain-on+.zp-curtain-over{box-shadow:0 -28px 60px -30px var(--zp-curtain-cast,rgba(0,0,0,.6))}
/* ---- 64-arc ---- */
/* ---------- 64. Arc fan: photo cards fanned on an arc, like a hand of cards seen from above ---------- */
/* [data-zp-arc] > a.zp-arc-card > img + .zp-arc-label (> small = the mono micro-label).
 * The default is a plain grid of the same cards (no script, phones, tablets, reduced motion): two columns on a phone,
 * three on a tablet, one row on a computer; nothing is rotated. The script wraps each card in a slot and adds
 * .zp-arc-on when the fan fits (900 px and up, motion allowed); it gives every size in px: --zp-arc-r (the radius),
 * --zp-arc-w / --zp-arc-ch (the card), --zp-arc-top and --zp-arc-h (the band's own height, so nothing depends on the
 * screen). The card is always a dark photo with a dark caption, so its text colours do not follow a light section. */
[data-zp-arc]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (min-width:600px){[data-zp-arc]{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
/* the row: every card the same width, a share of the row (--zp-arc-n = the number of cards, set by the script; six
 * without it), never under 120 px: a row too narrow for them wraps instead of squeezing the captions */
@media (min-width:900px){[data-zp-arc]{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}
  [data-zp-arc] .zp-arc-card{flex:none;width:clamp(120px,calc((100% - (var(--zp-arc-n,6) - 1)*14px - 1px)/var(--zp-arc-n,6)),260px);aspect-ratio:20/29}}
.zp-arc-rot,.zp-arc-slot{display:contents}
.zp-arc-card{position:relative;display:block;aspect-ratio:5/6;overflow:hidden;isolation:isolate;border-radius:calc(var(--zp-radius) + 2px);
  background:#0c0f16;color:#fff;text-decoration:none;container-type:inline-size;-webkit-tap-highlight-color:transparent}
/* the ring lies on the section's ground, so it takes the accent made readable there (dark amber or dark blue in a
 * .zp-light band); it can be the site's own (a later :focus-visible rule); the card's corners cannot be changed by it */
.zp-arc-card:focus-visible{outline:2px solid var(--zp-accent);outline:2px solid var(--zp-accent-text,var(--zp-accent));outline-offset:3px}
[data-zp-arc] .zp-arc-card:focus-visible{border-radius:calc(var(--zp-radius) + 2px)}
.zp-arc-card img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:var(--zp-arc-pos,50% 50%)}
/* two hairlines drawn over the photo: the resting edge, and the accent edge that fades in under the mouse (the keyboard has its ring) */
.zp-arc-card::before,.zp-arc-card::after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;pointer-events:none}
.zp-arc-card::after{box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
.zp-arc-card::before{box-shadow:inset 0 0 0 1.5px rgba(var(--zp-accent-rgb),.9);opacity:0;transition:opacity .35s var(--zp-ease)}
.zp-arc-card:hover::before,.zp-arc-slot:hover>.zp-arc-card::before{opacity:1}
.zp-arc-label{position:absolute;left:0;right:0;bottom:0;z-index:1;display:block;padding:40px 34px 14px 14px;
  padding:clamp(36px,27cqi,56px) clamp(26px,19cqi,36px) clamp(11px,8cqi,16px) clamp(10px,7.5cqi,16px);
  background:linear-gradient(180deg,rgba(6,8,14,0),rgba(6,8,14,.74) 48%,rgba(6,8,14,.95));
  background:linear-gradient(180deg,rgba(6,8,14,0),rgba(6,8,14,.78) clamp(31px,23cqi,48px),rgba(6,8,14,.95));
  color:#fff;font:400 15px/1.22 var(--zp-font-b);font-size:clamp(12.5px,9cqi,17px);letter-spacing:-.005em;overflow-wrap:anywhere;text-wrap:balance}
/* a word too long for its caption gets smaller letters (--zp-arc-fit, measured by the script) instead of being cut, never under 11 px */
.zp-arc-label{font-size:max(11px,calc(clamp(12.5px,9cqi,17px)*var(--zp-arc-fit,1)))}
.zp-arc-label small{display:block;margin-bottom:5px;font:500 11px/1.2 var(--zp-font-m);letter-spacing:.14em;text-transform:uppercase;
  color:var(--zp-accent);color:color-mix(in srgb,var(--zp-accent) 58%,#fff)}
/* a small arrow in the caption's corner: the card is a link */
.zp-arc-label::after{content:"";position:absolute;right:16px;bottom:19px;right:clamp(13px,9cqi,18px);bottom:clamp(15px,10cqi,20px);width:7px;height:7px;
  border-top:1.5px solid;border-right:1.5px solid;transform:rotate(45deg);opacity:.7;transition:opacity .35s var(--zp-ease),transform .45s var(--zp-ease)}

/* the fan (script, 900 px and up, motion allowed) */
.zp-arc-on{display:block;position:relative;height:var(--zp-arc-h,420px)}
.zp-arc-on>.zp-arc-rot{display:block;position:absolute;left:50%;top:var(--zp-arc-top,42px);width:0;height:0;transform-origin:0 var(--zp-arc-r,1100px);will-change:transform;
  animation:zp-arc-sway calc(var(--zp-arc-dur,36s)/2) cubic-bezier(.37,0,.63,1) calc(var(--zp-arc-dur,36s)/-4) infinite alternate paused}
.zp-arc-on.zp-arc-run>.zp-arc-rot{animation-play-state:running}
.zp-arc-on:hover>.zp-arc-rot{animation-play-state:paused}
.zp-arc-on:has(.zp-arc-card:focus-visible)>.zp-arc-rot{animation-play-state:paused}
/* one slow sine: from one side to the other and back (it stops for an instant at each end, so there is no jolt); the
 * negative delay starts it in the middle, straight */
@keyframes zp-arc-sway{from{transform:rotate(calc(var(--zp-arc-sway,3deg)*-1))}to{transform:rotate(var(--zp-arc-sway,3deg))}}
/* a slot is a card's place on the arc: it never moves under the mouse, so a card that lifts cannot slip from under it */
.zp-arc-on .zp-arc-slot{display:block;position:absolute;top:0;left:calc(var(--zp-arc-w,180px)/-2);width:var(--zp-arc-w,180px);height:var(--zp-arc-ch,261px);z-index:1;
  transform-origin:50% var(--zp-arc-r,1100px);transform:rotate(var(--zp-arc-a,0deg));transition:transform 1.2s var(--zp-ease)}
/* the card that was in front steps back behind the new one at once, and under its neighbours only when it is home */
.zp-arc-on .zp-arc-slot{transition:transform 1.2s var(--zp-ease),z-index .55s steps(3,jump-both)}
.zp-arc-on .zp-arc-slot:hover{z-index:4;transition:transform 1.2s var(--zp-ease),z-index 0s}
.zp-arc-on .zp-arc-slot:has(>.zp-arc-card:focus-visible){z-index:4;transition:transform 1.2s var(--zp-ease),z-index 0s}
/* the hand opens a little when it first comes on screen */
.zp-js:not(.zp-rm) .zp-arc-on:not(.zp-arc-opened) .zp-arc-slot{transform:rotate(calc(var(--zp-arc-a,0deg)*.62))}
.zp-arc-on .zp-arc-card{width:100%;height:100%;max-width:none;aspect-ratio:auto;
  box-shadow:0 28px 56px -24px var(--zp-shade),-12px 4px 26px -14px var(--zp-shade);
  transform:rotate(0deg) translateY(0) scale(1);transition:transform .55s var(--zp-ease)}
/* under the mouse or on keyboard focus: the card undoes its own tilt and the fan's (--zp-arc-phi, read by the script), lifts and comes forward */
.zp-arc-on .zp-arc-slot:hover>.zp-arc-card,.zp-arc-on .zp-arc-card:focus-visible{
  transform:rotate(calc((var(--zp-arc-a,0deg) + var(--zp-arc-phi,0deg))*-1)) translateY(-16px) scale(1.045)}
/* on the arc the right side of a caption sits under the next card: the text keeps clear of it, the arrow waits for the lift */
.zp-arc-on .zp-arc-label{padding-right:var(--zp-arc-pr,24.5%)}
.zp-arc-on .zp-arc-label::after{opacity:0;transform:translateX(-7px) rotate(45deg)}
.zp-arc-on .zp-arc-slot:hover .zp-arc-label::after,.zp-arc-on .zp-arc-card:focus-visible .zp-arc-label::after{opacity:.9;transform:rotate(45deg)}
/* while a card is lifted the others step back a little: a dark veil over each (photo and caption, so it lies above the
 * caption's text: z-index 1 inside the caption). --zp-arc-dim: how dark (0 = no veil). */
.zp-arc-on .zp-arc-label::before{content:"";position:absolute;z-index:1;left:0;right:0;bottom:0;top:-340px;background:rgb(6,8,14);opacity:0;pointer-events:none;transition:opacity .45s var(--zp-ease)}
.zp-arc-on:has(.zp-arc-slot:hover,.zp-arc-card:focus-visible) .zp-arc-slot:not(:hover):not(:has(>.zp-arc-card:focus-visible)) .zp-arc-label::before{opacity:var(--zp-arc-dim,.28)}
/* the lifted card comes in front at once and, upright, covers the left part of its right neighbour's caption: that
 * caption's text (.zp-arc-name is the script's span around the name) goes out in the same frame, and comes back only once the
 * card is home and under it again (the .55 s of its z-index steps), so a word is never shown cut in two. The caption's
 * dark ground stays. A card that is itself lifted shows its caption at once. */
.zp-arc-on .zp-arc-label>small,.zp-arc-on .zp-arc-name{transition:opacity .3s var(--zp-ease) .55s}
.zp-arc-on .zp-arc-slot:hover .zp-arc-label>small,.zp-arc-on .zp-arc-slot:hover .zp-arc-name,
.zp-arc-on .zp-arc-card:focus-visible .zp-arc-label>small,.zp-arc-on .zp-arc-card:focus-visible .zp-arc-name{transition:opacity .2s var(--zp-ease) 0s}
.zp-arc-on .zp-arc-slot:hover+.zp-arc-slot .zp-arc-label>small,.zp-arc-on .zp-arc-slot:hover+.zp-arc-slot .zp-arc-name{opacity:0;transition:none}
/* a rule of its own: a browser without :has() drops only this one */
.zp-arc-on .zp-arc-slot:has(>.zp-arc-card:focus-visible)+.zp-arc-slot .zp-arc-label>small,.zp-arc-on .zp-arc-slot:has(>.zp-arc-card:focus-visible)+.zp-arc-slot .zp-arc-name{opacity:0;transition:none}
.zp-arc-snap .zp-arc-slot,.zp-arc-snap .zp-arc-card{transition:none!important}
.zp-rm .zp-arc-card::before,.zp-rm .zp-arc-label::after{transition:none}
@media (prefers-reduced-motion:reduce){.zp-arc-rot{animation:none!important}}
/* ---- 65-grain ---- */
/* 65. Grain (ZEN-637) — a fine film grain over a photo or a wide flat band, so an AI-made photo and a large dark
 * surface lose their plastic smoothness. One class, one extra layer: a pseudo-element of the element itself, covering
 * it, holding a small tiled noise texture (an inline SVG, feTurbulence: no file, no request). The texture is light
 * specks and dark specks in equal measure, laid as plain alpha (no blend mode): a photo's average colour does not move,
 * a dark ground takes only the light specks, a light ground only the dark ones. The layer sits above the element's own
 * ground and its photo (a direct child img, video or canvas) and under everything else inside: the class makes the
 * element its own stacking context (isolation) and positions it when nothing else has, so the layer's z-index:-1 can
 * never fall behind it. Strength: --zp-grain (.08 by default; times --zp-grain-light, .6, inside a light section).
 * The texture is the background of the PSEUDO-element only: never of the element, never of an ancestor of text.
 * The tile is 256 px (whole device pixels at 1.25, 1.5, 2 and 3) and its noise repeats 179 times across it: 179 and
 * 256 share no factor, so the noise never falls in step with the pixel grid (a 240 px tile at .8 drew a weave). */
:where(.zp-grain){position:relative}
.zp-grain{isolation:isolate}
:where(.zp-grain)>:where(img,video,canvas),:where(.zp-grain)>:where(picture)>:where(img){position:relative;z-index:-2}
/* When both pseudo-elements of an element are taken (the arc card, piece 64), an <i class="zp-grain"> written right
 * after its photo is the layer: it covers its positioned parent, paints after the photo and under what follows. */
i.zp-grain{position:absolute;inset:0;pointer-events:none;border-radius:inherit}
/* The kit's own photo bands (.zp-band, [data-zp-hero]) keep ::after for their shade: there the grain is ::before, and
 * the shade joins the photo's level (it comes after the photo, so it still covers it), which leaves -1 to the grain. */
.zp-band.zp-grain::after,[data-zp-hero].zp-grain::after{z-index:-2}
.zp-grain:not(.zp-band):not([data-zp-hero])::after,.zp-band.zp-grain::before,[data-zp-hero].zp-grain::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6992' numOctaves='3' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='discrete' tableValues='0 1'/%3E%3CfeFuncG type='discrete' tableValues='0 1'/%3E%3CfeFuncB type='discrete' tableValues='0 1'/%3E%3CfeFuncA type='table' tableValues='1 0 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E") 0 0/256px 256px;
  opacity:var(--zp-grain,.08)}
/* Less on light: a light ground shows the dark specks as dirt sooner than a dark ground shows the light ones. A photo
 * inside a light section, and the <i> layer, keep the full strength. */
.zp-light.zp-grain:not(.zp-band):not([data-zp-hero]):not(i):not(:has(>img,>picture,>video,>canvas))::after,
.zp-light .zp-grain:not(.zp-band):not([data-zp-hero]):not(i):not(:has(>img,>picture,>video,>canvas))::after{opacity:calc(var(--zp-grain,.08)*var(--zp-grain-light,.6))}
/* Optional: the grain lives. The layer is cut 64 px larger than the element (which then clips it) and jumps between
 * eight places, eight times a second: whole pixels and transform only, so the texture stays sharp and nothing repaints. */
.zp-grain-live{overflow:hidden;overflow:clip}
.zp-grain-live:not(.zp-band):not([data-zp-hero])::after,.zp-band.zp-grain-live::before,[data-zp-hero].zp-grain-live::before{inset:-64px;border-radius:0;animation:zp-grain var(--zp-grain-loop,1s) steps(1,end) infinite}
@keyframes zp-grain{0%,100%{transform:translate3d(0,0,0)}12.5%{transform:translate3d(-41px,23px,0)}25%{transform:translate3d(37px,-52px,0)}37.5%{transform:translate3d(-18px,-33px,0)}
  50%{transform:translate3d(55px,29px,0)}62.5%{transform:translate3d(-59px,-11px,0)}75%{transform:translate3d(14px,47px,0)}87.5%{transform:translate3d(-29px,58px,0)}}
.zp-rm .zp-grain-live:not(.zp-band):not([data-zp-hero])::after,.zp-rm .zp-band.zp-grain-live::before,.zp-rm [data-zp-hero].zp-grain-live::before{animation:none}
@media (prefers-reduced-motion:reduce){.zp-grain-live:not(.zp-band):not([data-zp-hero])::after,.zp-band.zp-grain-live::before,[data-zp-hero].zp-grain-live::before{animation:none!important}}
/* On paper, in forced colours and for a visitor who asks for more contrast: no grain. */
@media print,(forced-colors:active),(prefers-contrast:more){.zp-grain:not(.zp-band):not([data-zp-hero])::after,.zp-band.zp-grain::before,[data-zp-hero].zp-grain::before{display:none}}
