/* =====================================================================================
   PieceDesk « Ardoise » : the hero's film (build/shared/hero-film.js), rebuilt 2026-10-28. Link it after app.css.
   Youssef: « improve your animation … invites people to like our product … a wow factor … this animation should replay
   automatically … the software picture looks very grained and low quality ». STORYBOARD « Ce que vous dites devient
   votre logiciel »: Marc's own words leave his messages and become his software, which is drawn live (build/shared/
   film-app.js, no capture) and filmed by a camera, so its words are sharp at every screen density.

   Sizes. The film is its own container (pd-film). The panel keeps its ratio, 16:10, or 4:5 under 480 px. Inside it, a
   design layer (.pd-film__d) is laid out in design pixels (480 x 300, or 320 x 400) and scaled by --fit (the panel's
   width over 480 or 320, set by the script; CSS computes it where the browser can). The software is laid out at its own
   pixels (S01 at 1440 x 900, P01 at 402 x 874) and placed by the camera or the phone.

   Motion. Every moving part has one Web Animation on one clock (hero-film.js): transform and opacity only, no blur, no
   filter, no clip-path, no colour animation, no will-change. The resting style written in the markup is the poster
   (frame 0, which is also the last frame). CSS animations and transitions of the software's own classes are switched
   off inside the film. No raw colour: roles only (--site-*, --app-*, --paper-*).
   ===================================================================================== */

.pd-film { container: pd-film / inline-size; position: relative; --film-edge: var(--site-control-border); --film-mark: var(--site-slate-4); --film-mark-text: var(--site-slate-text); }
/* at night his messages are dark green: the marker turns to fog with ink words, so the marked word still leaps out */
:root[data-theme="dark"] .pd-film { --film-mark: var(--pd-fog); --film-mark-text: var(--pd-ink); }

/* ---------- the panel: the « Acier » fall from slate to deep, its edge a hairline that holds against the page ---------- */
.pd-film .pd-film__panel {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--pd-r-3); isolation: isolate; pointer-events: none;
  background: radial-gradient(64% 58% at 50% 46%, var(--site-glow), transparent 72%), linear-gradient(160deg, var(--site-grad-1) 0%, var(--site-grad-2) 72%);
  color: var(--site-text); -webkit-user-select: none; user-select: none;
}
.pd-film__panel::after { content: ""; position: absolute; inset: 0; z-index: 20; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--film-edge); pointer-events: none; }
/* the stage waits over the ground until its faces are in (hero-film.js « the gate »): never a half-drawn frame */
.pd-film__stage { position: absolute; inset: 0; overflow: hidden; }
.js .pd-film:not(.is-ready) :is(.pd-film__stage, .pd-film__o) { opacity: 0; }
.js .pd-film.is-fading :is(.pd-film__stage, .pd-film__o) { transition: opacity 200ms linear; }
/* Marc's message under the panel (2026-11-02, « the whatsapp mesage is overlaying the top video … there is indded
   enough space below it »): the frame holds the panel, the row under it (.pd-film__strip, its height in design px, so it
   scales with the panel) and a layer over both (.pd-film__o) in the design layer's pixels, never clipped, where his
   bubbles sit in that row and his words fly up into the software */
.pd-film__frame { position: relative; }
.pd-film__strip { aspect-ratio: 480 / 42; }
.pd-film__o {
  --fit: 1.3083;
  position: absolute; left: 0; top: 0; z-index: 2; width: 480px; height: 342px; transform-origin: 0 0; transform: scale(var(--fit));
  font: 400 13px / 1.3 var(--pd-font-text); font-variant-numeric: tabular-nums; background: none; color: inherit; pointer-events: none;
}
@supports (scale: calc(1px / 1px)) { .pd-film__o { --fit: calc(100cqw / 480px); } }
:where(.pd-film__o) .pd-site { font: inherit; background: none; color: inherit; }
.pd-film__d {
  --fit: 1.3083;
  position: absolute; left: 0; top: 0; width: 480px; height: 300px; transform-origin: 0 0; transform: scale(var(--fit));
  font: 400 13px / 1.3 var(--pd-font-text); font-variant-numeric: tabular-nums;
}
@supports (scale: calc(1px / 1px)) { .pd-film__d { --fit: calc(100cqw / 480px); } }
.pd-film__d svg { display: block; }
/* a light or dark island of the site's roles inside the dark panel: the roles only, never the site's type or ground */
:where(.pd-film__d) .pd-site { font: inherit; background: none; color: inherit; }
/* the software's own entrances, transitions and hover lights never run inside the film: the film moves it */
.pd-film__d .pd-app, .pd-film__d .pd-app *, .pd-film__d .pd-app *::before, .pd-film__d .pd-app *::after { animation: none !important; transition: none !important; }

/* ---------- layers, back to front ---------- */
.pd-film__world { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 1; transform-origin: 0 0; }
.pd-film__cam { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; transform-origin: 0 0; transform: var(--cam0); }
.pd-film__scrim { position: absolute; inset: -2px; z-index: 2; background: var(--site-grad-2); }
/* the poster pose: the panel's foot falls between two lines of P01 (after « remplacé par … », before « Équipe »), never
   through a word */
.pd-film__phone { position: absolute; z-index: 3; left: 81.1px; top: 32px; width: 317.8px; height: 665.1px; transform-origin: 50% 0; }
/* his message: at the foot of the row under the panel, its right edge on the panel's */
.pd-film__rail { position: absolute; right: 0; bottom: 2px; z-index: 5; width: 300px; height: 0; }
.pd-film__fly { position: absolute; left: 0; top: 0; z-index: 6; }
.pd-film__tipx { position: absolute; left: 0; top: 0; z-index: 8; }

/* ---------- Marc's words: the rail under the software, his bubbles in the conversation's sent roles ---------- */
.pd-film__rb { position: absolute; right: 0; bottom: 0; display: block; width: max-content; max-width: 300px; transform-origin: 100% 100%; }
.pd-film__rb > .pd-site { display: block; }
.pd-film__bub {
  position: relative; display: block; padding: 6px 9px 6px 10px; border-radius: 7px; background: var(--site-chat-out); color: var(--site-chat-text);
  font: 400 13.5px / 18px var(--pd-font-text); white-space: nowrap; box-shadow: 0 1px 0 var(--site-chat-shadow);
}
/* the bubble's drop shadow, its own layer: at the swap it comes in with the settle, never in one frame */
.pd-film__bsh { position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: 0 6px 16px var(--site-device-shadow); pointer-events: none; }
.pd-film__bub .pd-film__cmeta { font-size: 12.5px; line-height: 14px; margin-left: 8px; }
.pd-film__bub .pd-film__ticks svg { width: 14px; height: 14px; }
/* the key word: its slate copy (the slate's light words on the slate) comes over the ink copy by opacity, so the word
   reads at every frame. The slate reaches 3 px before the word (room the word keeps as its own margin, after the space)
   and ends on the word's last letter: it never covers a neighbour (« Lambert Sanitaire, à Pully. » keeps its comma) */
.pd-film__key { position: relative; display: inline-block; margin-left: 3px; font-weight: 600; }
.pd-film__lit { position: absolute; left: -3px; top: 0; bottom: 0; padding: 0 0 0 3px; border-radius: 2px; background: var(--film-mark); color: var(--film-mark-text); opacity: 0; white-space: nowrap; }
.pd-film__key.is-marked > .pd-film__lit { opacity: 1; }
/* the slate that flies: the key word as a slate, in two wrappers (X, Y) so its path curves */
.pd-film__fs { display: block; padding: 0 0 0 3px; border-radius: 2px; background: var(--film-mark); color: var(--film-mark-text); font: 600 13.5px / 18px var(--pd-font-text); white-space: nowrap; box-shadow: 0 2px 0 var(--pd-ink), 0 10px 22px var(--site-device-shadow); opacity: 0; transform-origin: 0 0; }
/* the fingertip: a solid light disc in an ink ring (seen on the dark button and on the light sheet), no blur, no ripple */
.pd-film__tipd { position: absolute; left: -14.7px; top: -14.7px; width: 29.4px; height: 29.4px; border-radius: 50%; background: var(--pd-white); box-shadow: 0 0 0 2px var(--pd-ink); opacity: 0; transform-origin: 50% 50%; }

/* ---------- the phone: one body, its screens drawn at 402 x 874 and scaled ---------- */
.pd-film__shadow { position: absolute; inset: 2% 4% 0; border-radius: 16.6% / 7.95%; box-shadow: 0 16px 36px var(--site-device-shadow); }
.pd-film__body { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pd-film__body rect { fill: var(--site-device-bezel); stroke: var(--site-control-border); stroke-width: 2.4; }   /* the panel's own outline role: 3.86:1 on its deep ground */
.pd-film__display { position: absolute; left: 3.4291%; top: 1.6165%; width: 93.142%; height: 96.767%; overflow: hidden; border-radius: 13.68% / 6.293%; background: var(--site-device-bezel); }
.pd-film__screen { --ps: calc(296 / 402); position: absolute; left: 0; top: 0; width: 402px; height: 874px; transform-origin: 0 0; transform: scale(var(--ps)); }
.pd-film__sbar { position: absolute; left: 0; top: 0; z-index: 25; width: 402px; height: 54px; color: var(--app-text); fill: currentColor; }
.pd-film__sbar text { font: 600 17px var(--pd-font-text); letter-spacing: -0.2px; }
.pd-film__sbar .pd-film__isl { fill: var(--site-device-bezel); }
.pd-film__sbar.is-light { color: var(--site-chat-head-text); }

/* the conversation with PieceDesk (the conversation roles, in the page's theme; never named) */
.pd-film__chat { position: absolute; inset: 0; z-index: 10; background: var(--site-chat-wall); }
.pd-film__chead { position: absolute; left: 0; right: 0; top: 0; height: 118px; background: var(--site-chat-head); color: var(--site-chat-head-text); }
.pd-film__chrow { position: absolute; left: 6px; right: 14px; top: 58px; height: 52px; display: flex; align-items: center; gap: 8px; }
.pd-film__chrow > svg { width: 30px; height: 30px; }
.pd-film__chrow b { font: 600 19.5px / 24px var(--pd-font-text); }
.pd-film__cav { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--pd-ink); color: var(--pd-paper-white); }
.pd-film__mark { width: 15px; height: 21px; }
.pd-film__cwall { position: absolute; left: 12px; right: 12px; bottom: 540px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
/* a bubble on the phone: the rail's bubble at the phone's scale (13.5 design px over 296/402) */
.pd-film__cb {
  position: relative; max-width: 360px; padding: 8.15px 12.22px 8.15px 13.58px; border-radius: 9.5px; background: var(--site-chat-out); color: var(--site-chat-text);
  font: 400 18.335px / 24.45px var(--pd-font-text); white-space: nowrap; box-shadow: 0 1px 0 var(--site-chat-shadow); transform-origin: 100% 100%;
}
.pd-film__cmeta { display: inline-flex; align-items: center; gap: 3px; margin-left: 10.9px; font-size: 14.94px; line-height: 19px; color: var(--site-chat-meta); vertical-align: -1px; font-weight: 400; }
.pd-film__ticks { display: inline-flex; color: var(--site-chat-tick); }
.pd-film__ticks svg { width: 19px; height: 19px; }
.pd-film__cb .pd-film__key { margin-left: 4px; }
.pd-film__cb .pd-film__lit { left: -4px; padding: 0 0 0 4px; border-radius: 2.7px; }
.pd-film__cb.is-voice { display: flex; align-items: center; gap: 12px; padding: 9px 14px 9px 9px; }
.pd-film__vplay { position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--site-chat-head); color: var(--site-chat-head-text); }
.pd-film__vwave { position: relative; display: block; width: 165px; height: 28px; overflow: hidden; }
.pd-film__vbars { display: block; color: var(--site-chat-meta); }
.pd-film__vlen { font-size: 15px; line-height: 19px; color: var(--site-chat-meta); }
.pd-film__cb.is-voice .pd-film__cmeta { position: absolute; right: 12px; bottom: 4px; }
.pd-film__cb.is-voice .pd-film__vlen { align-self: flex-end; margin-bottom: -2px; margin-right: 64px; }

/* =====================================================================================
   THE SOFTWARE IN THE FILM (film-app.js). S01 and P01 drawn with the software's classes (app.css) inside body.pd-site.
   What the site's page does not load is written here, scoped to the film: shell.css « THE FRAME ON THE SITE » (the
   side panel, the phone's top and tab bar) and the screens' own layout (S01's and P01's page rules). The type and the
   radii are pinned to the desktop's (S01) and the phone's (P01) whatever the visitor's own screen, so the replica is the
   same picture at every width.
   ===================================================================================== */
.pd-film .pd-film__app { position: absolute; left: 0; top: 0; overflow: hidden; isolation: isolate; color: var(--app-text); font: 400 var(--pd-app-body-size) / var(--pd-app-body-lh) var(--pd-font-text); text-align: left; -webkit-font-smoothing: antialiased; }
.pd-film .pd-film__ground {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(56% 48% at 8% 0%, var(--app-glow-1) 0%, transparent 72%),
    radial-gradient(46% 42% at 96% 4%, var(--app-glow-2) 0%, transparent 70%),
    radial-gradient(64% 56% at 72% 104%, var(--app-glow-3) 0%, transparent 72%),
    radial-gradient(40% 40% at 30% 70%, var(--app-glow-2) 0%, transparent 70%),
    var(--app-bg);
}
.pd-film .pd-film__app p { margin: 0; }
.pd-film .pd-film__app .pd-btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.pd-film .pd-film__app .pd-ic { flex: none; }
.pd-film__swap { display: inline-grid; }
.pd-film__swap > * { grid-area: 1 / 1; }

/* ---------- the desk: S01 at 1440 x 900, desktop type and radii (tokens.css LIQUID 3.9) ---------- */
.pd-film .pd-film__desk {
  width: 1440px; height: 900px; border-radius: 18px;
  box-shadow: 0 0 0 1.5px var(--site-control-border), 0 34px 80px rgb(0 0 0 / 0.42);   /* the panel's outline role (3.86:1 on its ground): the dark software keeps its edge at night */
  --app-r-pane: 20px; --app-r-card: 20px; --app-r-card-in: 19px; --app-r-control: 12px; --app-r-pop: 18px;
  --pd-app-h1-size: 32px; --pd-app-h1-lh: 38px; --pd-app-h1-track: -0.024em; --pd-app-money-size: 40px; --pd-app-money-lh: 44px;
  --pd-app-title-size: 17px; --pd-app-title-lh: 22px; --pd-app-body-size: 15px; --pd-app-body-lh: 22px; --pd-app-label-size: 14px; --pd-app-label-lh: 20px;
  --pd-app-meta-size: 14px; --pd-app-meta-lh: 20px; --pd-app-btn-size: 15px; --pd-app-pill-size: 14px; --pd-app-pill-h: 24px; --pd-app-mono-size: 14px; --pd-app-mono-lh: 18px;
  --pd-ruler-in: 20px; --pd-ruler-ends: -50%; --h0: 8; --hs: 10;
}
.pd-film__desk .pd-card { padding: 20px; }
.pd-film__desk .pd-card__head { margin-top: -10px; }
.pd-film__desk .pd-btn { padding: 0 18px; line-height: 20px; }
.pd-film__desk .pd-btn--secondary { background: linear-gradient(180deg, var(--app-key-top), var(--app-key-bot)); color: var(--app-text); box-shadow: var(--app-shadow-raised); }
.pd-film__desk .pd-btn--quiet { color: var(--app-text-2); }
.pd-film__desk .pd-h1 { font-size: var(--pd-app-h1-size); line-height: var(--pd-app-h1-lh); }
.pd-film__desk .pd-head { flex-direction: row; align-items: flex-end; }
.pd-film__desk .pd-head__acts > .pd-btn { flex: none; padding: 0 18px; }
.pd-film__desk .pd-banner { align-items: center; padding: 10px 12px; }
.pd-film__desk .pd-banner > .pd-btn { margin: -2px 0; }

/* the side panel: shell.css « THE FRAME ON THE SITE », at S01's place (10 from the window's edges, 244 wide) */
.pd-film__side { position: absolute; left: 0; top: 0; width: 264px; height: 900px; }
.pd-film .pd-demo > .pd-side.pd-glass {
  position: relative; display: flex; flex-direction: column; width: 244px; height: 880px; margin: 10px; overflow: hidden;
  border-radius: var(--app-r-side); color: var(--app-chrome-text); box-shadow: var(--app-shadow-glass);
}
.pd-film .pd-side__lens { display: none; }
.pd-film .pd-demo > .pd-side .pd-side__tenant { display: flex; align-items: center; flex: none; min-width: 0; height: 44px; margin: 8px 8px 4px; padding: 0 6px; gap: 10px; border-radius: var(--app-r-lens); position: relative; z-index: 1; }
.pd-film .pd-demo > .pd-side .pd-side__tenant > .pd-ic { display: none; }
.pd-film .pd-demo > .pd-side .pd-side__tenant .pd-sq { width: 32px; height: 32px; border-radius: 8px; font-size: 13px; letter-spacing: 0.01em; color: var(--app-on-accent);
  background: var(--app-tile-gloss), linear-gradient(180deg, color-mix(in oklab, var(--app-accent) 72%, var(--pd-white)), var(--app-accent));
  box-shadow: var(--app-tile-light), var(--app-tenant-ring), var(--app-tile-contact); }
.pd-film .pd-demo > .pd-side .pd-side__tenant .pd-sq.is-ink { background: var(--app-tile-gloss), linear-gradient(180deg, var(--app-stone-top), var(--app-stone)); }
.pd-film .pd-demo > .pd-side .pd-side__tenant-t { flex: 1; min-width: 0; }
.pd-film .pd-demo > .pd-side .pd-side__tenant-t b { display: block; transform-origin: 0 50%; font: 600 var(--pd-app-side-size) / 19px var(--pd-font-text); color: var(--app-chrome-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-film .pd-demo > .pd-side .pd-side__tenant-t span { display: block; font: 400 11.5px / 16px var(--pd-font-mono); color: var(--app-chrome-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-film .pd-demo > .pd-side .pd-side__scroll { position: relative; flex: 1; min-height: 0; overflow: hidden; padding: 0 8px 4px; }
.pd-film .pd-demo > .pd-side .pd-side__group { display: flex; height: 18px; margin: 8px 0 0; padding: 0 0 0 12px; align-items: flex-end; font: 600 12px / 16px var(--pd-font-text); letter-spacing: 0.02em; color: var(--app-chrome-text-2); white-space: nowrap; }
.pd-film .pd-demo > .pd-side .pd-side__foot { position: relative; flex: none; padding: 4px 8px 6px; }
.pd-film .pd-demo > .pd-side .pd-side__foot::before { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: var(--app-hair); background: var(--app-chrome-line); }
.pd-film .pd-demo > .pd-side .pd-entry {
  position: relative; z-index: 1; display: flex; align-items: center; min-width: 0; height: 34px; gap: 10px; padding: 0 12px 0 4px; border-radius: var(--app-r-lens);
  font: 500 var(--pd-app-side-size) / 20px var(--pd-font-text); color: var(--app-chrome-text); white-space: nowrap;
}
.pd-film .pd-demo > .pd-side .pd-entry > .pd-entry__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pd-film .pd-demo > .pd-side .pd-entry::before { content: ""; position: absolute; inset: 1px 0; z-index: -1; border-radius: var(--app-r-lens); }
.pd-film .pd-demo > .pd-side .pd-entry[aria-current="page"] { font-weight: 600; color: var(--app-chrome-active-text); }
.pd-film .pd-demo > .pd-side .pd-entry[aria-current="page"]::before { background: var(--app-chrome-active); box-shadow: var(--app-lens-light), inset 0 0 0 var(--app-hair) var(--app-chrome-line); }
.pd-film .pd-demo > .pd-side .pd-entry > .pd-tile { --tile: 24px; border-radius: 6px; }
.pd-film .pd-demo > .pd-side .pd-entry > .pd-tile > .pd-ic { width: 14px; height: 14px; }
.pd-film .pd-demo > .pd-side .pd-entry[aria-current="page"] > .pd-tile { box-shadow: var(--app-tile-light), var(--app-tile-foot), var(--app-tile-moat), var(--app-tile-lift); }
.pd-film .pd-demo > .pd-side .pd-entry__count { color: var(--app-chrome-text-2); font: 600 12.5px / 16px var(--pd-font-text); font-variant-numeric: tabular-nums; }

/* the top: no bar; the search and the cluster, two solid controls of one height on the ground */
.pd-film__top { position: absolute; left: 264px; right: 0; top: 10px; height: 44px; display: flex; align-items: center; padding: 0 42px 0 32px; }
.pd-film__top .pd-search.pd-glass { display: flex; align-items: center; flex: none; width: 320px; height: 44px; gap: 10px; padding: 0 8px 0 14px; border-radius: var(--app-r-capsule); color: var(--app-text-2); font: 400 15px / 20px var(--pd-font-text); background: var(--app-glass-body); --app-glass-rimw: 3px; }
.pd-film__top .pd-search > .pd-ic { width: 18px; height: 18px; }
.pd-film__top .pd-search__t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.pd-film__top .pd-search__keys { display: inline-flex; gap: 3px; flex: none; }
.pd-film__top .pd-kbd { display: inline-flex; height: 22px; min-width: 22px; padding: 0 6px; justify-content: center; border-radius: 6px; box-shadow: inset 0 0 0 var(--app-hair) var(--app-kbd-ring); font: 500 11.5px / 22px var(--pd-font-mono); color: var(--app-text-2); }
.pd-film__top .pd-cluster { margin-left: auto; height: 44px; padding: 4px; display: flex; align-items: center; border-radius: var(--app-r-capsule); --app-glass-rimw: 3px; }
.pd-film__cin { display: flex; align-items: center; gap: 2px; }
.pd-film__cin > .pd-btn--icon { position: relative; width: 36px; height: 36px; min-width: 36px; border-radius: 8px; padding: 0; color: var(--app-text-2); }
.pd-film__cin > .pd-btn--icon > .pd-ic { width: 20px; height: 20px; }
.pd-film__cin .pd-badge { position: absolute; top: 3px; right: 2px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--app-r-short); background: var(--app-badge-bg); color: var(--app-on-badge); font: 700 11px / 18px var(--pd-font-text); font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--app-glass-solid); }
.pd-film__cin .pd-me { display: flex; align-items: center; height: 36px; gap: 8px; padding: 0 12px 0 3px; border-radius: 8px; }
.pd-film__cin .pd-av { width: 30px; height: 30px; font-size: 12px; }
.pd-film__cin .pd-me__t b { display: block; font: 600 14px / 18px var(--pd-font-text); white-space: nowrap; }
.pd-film__cin .pd-me__t span { display: block; font: 400 12.5px / 16px var(--pd-font-text); color: var(--app-text-2); white-space: nowrap; }

/* the content column (S01 at 1440: 296 to 1056), then the fixed inspector (1080 to 1420) */
.pd-film__main { position: absolute; left: 296px; top: 96px; width: 760px; display: flex; flex-direction: column; gap: 16px; }
.pd-film__main > .pd-head { margin-bottom: 8px; }
.pd-film__desk .pd-card__head > .pd-title { padding-block: 5px; }
.pd-film__desk .s-sum { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.pd-film__gauge > i { position: relative; overflow: hidden; }
.pd-film__gauge > i > b { position: absolute; inset: 0; border-radius: inherit; }
.pd-film__gauge > i > b[data-s="progress"] { background: var(--app-sky); }
.pd-film__gauge > i > b[data-s="done"] { background: var(--app-viz-done-2); }
/* the day: one grid for the words and the ruler (S01's two columns: the list 424, the ruler 296 inset 20 at both ends) */
.pd-film__day { position: relative; padding-top: 22px; }
.pd-film__scale { position: absolute; top: 0; left: 424px; right: 0; height: 22px; }
.pd-film__scalein { position: absolute; top: 0; bottom: 0; left: var(--pd-ruler-in); right: var(--pd-ruler-in); }
.pd-film__day .pd-ruler__h.is-skip { visibility: hidden; }
.pd-film__desk .pd-film__day .pd-ruler__h { font-size: 14px; line-height: 18px; }   /* one step up from S01's 12, as the chips and codes: the film's 11 px rule */
/* the first hour starts on its tick (not centred over it), so a frame can end between the statuses and the ruler */
.pd-film__desk .pd-film__day .pd-ruler__h:first-child { transform: none; }
.pd-film__desk .pd-film__day .pd-ruler__h:first-child::after { left: 0; }
.pd-film__rows { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) max-content 284px; column-gap: 12px; }
.pd-film__desk .s-drow { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; height: 56px; border-top: var(--app-hair) solid var(--app-line); border-image: linear-gradient(90deg, transparent 60px, var(--app-line) 60px) 1 0 0 0; }
.pd-film__desk .s-drow__t b, .pd-film__desk .s-drow__m b { display: block; font-weight: 600; white-space: nowrap; }
.pd-film__desk .s-drow__t span, .pd-film__desk .s-drow__m span { display: block; font-size: var(--pd-app-meta-size); line-height: var(--pd-app-meta-lh); white-space: nowrap; }
.pd-film__desk .s-drow__t span { color: var(--app-text-3); }
.pd-film__desk .s-drow__m { min-width: 0; }
.pd-film__desk .s-drow__m b, .pd-film__desk .s-drow__m span { overflow: hidden; text-overflow: ellipsis; }
.pd-film__desk .s-drow__m span { color: var(--app-text-2); }
.pd-film__desk .s-drow__s { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.pd-film__desk .s-drow__s .pd-code { color: var(--app-text-3); }
.pd-film__desk .s-drow.is-free .s-drow__t b, .pd-film__desk .s-drow.is-free .s-drow__m b { font-weight: 500; color: var(--app-text-2); }
.pd-film__desk .s-drow.is-free .s-drow__s .pd-btn { margin-left: -18px; }
.pd-film__chips { display: grid; justify-items: start; }
.pd-film__chips > * { grid-area: 1 / 1; transform-origin: 20% 50%; }
.pd-film__track { position: relative; align-self: stretch; margin-left: -12px; }
.pd-film__track::before { content: ""; position: absolute; left: var(--pd-ruler-in); right: var(--pd-ruler-in); top: 50%; height: 14px; margin-top: -7px; border-radius: var(--app-r-thin, 3px); background: var(--app-chart-track); }
.pd-film__track .pd-bar { height: 12px; margin-top: -6px; }
.pd-film__rbg { position: absolute; top: 0; bottom: 0; left: calc(424px + var(--pd-ruler-in)); right: var(--pd-ruler-in);
  background-image: repeating-linear-gradient(90deg, var(--app-line) 0 var(--app-hair), transparent var(--app-hair) calc(100% / var(--hs))); }
.pd-film__wash { position: absolute; top: 0; bottom: 0; left: 0; width: calc((var(--t) - var(--h0)) / var(--hs) * 100%); border-radius: 0 10px 10px 0; background: linear-gradient(90deg, transparent, var(--app-viz-elapsed) 30%); transform-origin: 0 50%; }
.pd-film__needle { position: absolute; z-index: 2; top: -4px; bottom: -4px; left: calc(424px + var(--pd-ruler-in) + (var(--t) - var(--h0)) / var(--hs) * (100% - 424px - 2 * var(--pd-ruler-in))); width: 2px; margin-left: -1px; background: var(--app-now); }
.pd-film__needle .pd-needle__label { position: absolute; bottom: 100%; left: 50%; margin-left: -27px; width: 54px; height: 20px; padding: 0; text-align: center; border-radius: var(--app-r-short); background: var(--app-solid); color: var(--app-on-solid); font: 400 14px / 20px var(--pd-font-mono); white-space: nowrap; transform: none; transform-origin: 50% 100%; }
.pd-film__desk .s-plan { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; border-top: var(--app-hair) solid var(--app-line); padding-top: 12px; margin-top: 4px; margin-bottom: -8px; }
.pd-film__desk .s-plan__h { font-weight: 600; white-space: nowrap; order: 1; }
.pd-film__desk .s-plan > .pd-btn { order: 2; margin-left: auto; }
.pd-film__desk .s-plan__list { order: 3; flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 0 4px; min-width: 0; margin: -4px -8px 0; }
.pd-film__desk .s-plan__job { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; }
.pd-film__desk .s-plan__job .pd-code { color: var(--app-text-2); }
/* the inspector: one pane, its card flat inside (S01 from 1360) */
.pd-film__insp { position: absolute; left: 1080px; top: 74px; width: 340px; height: 816px; overflow: hidden; border-radius: var(--app-r-pane); background: var(--app-pane); box-shadow: var(--app-shadow-pane); }
.pd-film__insp > .pd-card { padding: 20px 22px; background: none; box-shadow: none; border-radius: 0; }
.pd-film__desk .s-cash__fig { margin-top: 4px; }
.pd-film__desk .s-cash .pd-split { margin-top: 16px; transform-origin: 0 50%; }
.pd-film__desk .s-cash .pd-legend { margin-bottom: 8px; grid-template-columns: minmax(0, 1fr); }
.pd-film__desk .s-cash .pd-legend .pd-crit { color: var(--app-crit-ink); }
.pd-film__desk .s-list { margin: 0; padding: 0; list-style: none; }
.pd-film__desk .s-list > li + li, .pd-film__invrest > li:first-child { border-top: var(--app-hair) solid var(--app-line); }
.pd-film__desk .s-link { display: grid; margin: 0 -12px; padding: 12px; border-radius: var(--app-r-inset); color: var(--app-text); }
.pd-film__desk .s-inv { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: start; }
.pd-film__desk .s-name { display: block; font-weight: 600; }
.pd-film__desk .s-sub { display: block; font-size: var(--pd-app-meta-size); line-height: var(--pd-app-meta-lh); color: var(--app-text-3); margin-top: 2px; }
.pd-film__desk .s-sub .pd-code { font-size: var(--pd-app-mono-size); line-height: var(--pd-app-meta-lh); }
.pd-film__desk .s-split > .s-sep { display: none; }
.pd-film__desk .s-split > .s-due, .pd-film__desk .s-split > .s-who { display: block; white-space: nowrap; }
.pd-film__desk .s-end { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.pd-film__desk .s-end .pd-status { font-size: var(--pd-app-meta-size); }
.pd-film__desk .s-nest { margin: 0 0 12px; padding: 8px 8px 8px 14px; border-radius: var(--app-r-inset); background: var(--app-pane-2); }
.pd-film__nestin { width: 100%; }
.pd-film__nestst { display: flex; align-items: center; gap: 12px; min-height: 62px; }
.pd-film__nestst > span:first-child { align-self: flex-start; margin-top: 4px; }
.pd-film__desk .s-nest__t { flex: 1; min-width: 0; }
.pd-film__desk .s-nest__t b { display: block; font-weight: 600; }
.pd-film__desk .s-nest__t > span { display: block; font-size: var(--pd-app-meta-size); line-height: var(--pd-app-meta-lh); color: var(--app-text-2); }
.pd-film__desk .s-nest__t .pd-code { font-size: var(--pd-app-mono-size); }
.pd-film__desk .s-nest .pd-btn { flex: none; }
.pd-film__invrest { margin: 0; padding: 0; list-style: none; }

/* ---------- the phone's screen: P01 at 402 x 874, the phone's type and radii (tokens.css LIQUID, under 767) ---------- */
.pd-film .pd-film__papp {
  width: 402px; height: 874px;
  --app-r-pane: 22px; --app-r-card: 22px; --app-r-card-in: 21px; --app-r-control: 14px; --app-r-pop: 20px;
  --pd-app-h1-size: 34px; --pd-app-h1-lh: 41px; --pd-app-h1-track: -0.026em; --pd-app-title-size: 19px; --pd-app-title-lh: 24px;
  --pd-app-body-size: 17px; --pd-app-body-lh: 24px; --pd-app-label-size: 15px; --pd-app-label-lh: 20px; --pd-app-meta-size: 15px; --pd-app-meta-lh: 20px;
  --pd-app-btn-size: 17px; --pd-app-pill-size: 15px; --pd-app-pill-h: 28px; --pd-app-bar-size: 17px; --pd-app-bar-lh: 22px; --pd-app-mono-size: 13px; --pd-app-mono-lh: 20px;
}
.pd-film__papp .pd-btn { height: 44px; padding: 0 20px; line-height: 22px; }
.pd-film__papp .pd-btn--secondary { background: var(--app-tint-btn); box-shadow: none; color: var(--app-on-tint-btn); }
.pd-film__papp .pd-btn--secondary::after { content: none; }
.pd-film__papp .pd-h1 { font-size: var(--pd-app-h1-size); line-height: var(--pd-app-h1-lh); letter-spacing: var(--pd-app-h1-track); }
.pd-film__papp .pd-card { padding: 16px; }
.pd-film__papp .pd-card__head { margin-top: -10px; }
.pd-film__ptop { position: absolute; left: 0; right: 0; top: 54px; z-index: 2; }
.pd-film .pd-demo > .pd-top.is-phone { position: relative; display: flex; align-items: center; height: 64px; gap: 12px; padding: 6px 16px; }
.pd-film .pd-demo > .pd-top.is-phone .pd-top__home { display: flex; width: 52px; height: 52px; flex: none; justify-content: center; align-items: center; border-radius: 13px; }
.pd-film .pd-demo > .pd-top.is-phone .pd-top__home .pd-sq { width: 52px; height: 52px; border-radius: 13px; font-size: 17px; background: var(--app-tile-gloss), linear-gradient(180deg, var(--app-stone-top), var(--app-stone)); box-shadow: var(--app-tile-light), var(--app-tile-foot), var(--app-tile-contact); color: var(--app-on-accent); }
.pd-film .pd-demo > .pd-top.is-phone .pd-top__title { flex: 1; min-width: 0; }
.pd-film .pd-demo > .pd-top.is-phone .pd-cluster { display: flex; align-items: center; height: 52px; padding: 4px; gap: 0; border-radius: var(--app-r-capsule); --app-glass-rimw: 3px; }
.pd-film .pd-demo > .pd-top.is-phone .pd-cluster > .pd-btn--icon { position: relative; width: 44px; height: 44px; min-width: 44px; border-radius: 8px; padding: 0; color: var(--app-text-2); }
.pd-film .pd-demo > .pd-top.is-phone .pd-cluster > .pd-btn--icon > .pd-ic { width: 22px; height: 22px; }
.pd-film .pd-demo > .pd-top.is-phone .pd-me { display: flex; width: 44px; height: 44px; padding: 0; justify-content: center; align-items: center; border-radius: 8px; }
.pd-film .pd-demo > .pd-top.is-phone .pd-me .pd-av { width: 34px; height: 34px; font-size: 13px; }
.pd-film .pd-demo > .pd-top.is-phone .pd-badge { position: absolute; top: 4px; right: 3px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--app-r-short); background: var(--app-badge-bg); color: var(--app-on-badge); font: 700 11px / 18px var(--pd-font-text); box-shadow: 0 0 0 2px var(--app-glass-solid); }
.pd-film__pmain { position: absolute; left: 0; right: 0; top: 118px; bottom: 22px; overflow: hidden; padding: 12px 16px 0; }   /* nothing of the page peeks under the tab bar */
.pd-film__pscroll { display: flex; flex-direction: column; gap: 16px; }
/* the phone's black glass: the screen dips to it between P01 and the conversation (never two screens at once) */
.pd-film__pblack { position: absolute; inset: 0; z-index: 40; background: var(--site-device-bezel); }
.pd-film__papp .pd-head { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 8px; }
.pd-film__papp .pd-head__text { flex: none; }
.pd-film__papp .pd-head__acts { display: flex; gap: 8px; }
.pd-film__papp .pd-head__acts > .pd-btn { flex: 1 1 0; padding: 0 8px; height: 48px; }
.pd-film__papp .pd-head__acts > .pd-btn > .pd-ic { display: none; }
.pd-film__papp .pd-banner { align-items: flex-start; padding: 12px; }
.pd-film__papp .pd-banner__text { flex-basis: 240px; align-self: center; font-size: 15px; line-height: 22px; }
.pd-film__papp .pd-banner > .pd-btn { margin: 0 0 0 44px; }
.pd-film__papp .p01-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: -4px 0 4px; color: var(--app-text-2); }
.pd-film__papp .p01-list { margin: 0; padding: 0; list-style: none; }
.pd-film__papp .p01-list > li + li { border-top: var(--app-hair) solid var(--app-line); border-image: linear-gradient(90deg, transparent 64px, var(--app-line) 64px) 1 0 0 0; }
.pd-film__papp .p01-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 14px 0; color: var(--app-text); }
.pd-film__papp .p01-l1 { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.pd-film__papp .p01-l1 > b { flex: 1; min-width: 0; font-weight: 600; }
.pd-film__papp .p01-l1 > .pd-code { flex: none; margin-left: auto; color: var(--app-text-2); }
.pd-film__papp .p01-l3 { display: flex; margin-top: 8px; }
.pd-film__papp .p01-t b { display: block; font-weight: 600; }
.pd-film__papp .p01-t span { display: block; font-size: var(--pd-app-meta-size); line-height: var(--pd-app-meta-lh); color: var(--app-text-3); }
.pd-film__papp .p01-main { min-width: 0; }
.pd-film__papp .p01-sub { display: block; font-size: var(--pd-app-meta-size); line-height: var(--pd-app-meta-lh); color: var(--app-text-2); }
/* the phone's tab bar: a solid bar of five tabs, 12 from the screen's sides and foot */
.pd-film__ptabs { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2; }
.pd-film .pd-demo > .pd-tabbar.pd-glass { display: block; height: 62px; margin: 0 12px; padding: 4px; border: 0; border-radius: 20px; --app-glass-rimw: 4px; background: var(--app-glass-body); }
.pd-film .pd-demo > .pd-tabbar .pd-tabbar__in { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: 54px; }
.pd-film .pd-demo > .pd-tabbar .pd-tab { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 44px; height: 54px; gap: 2px; padding: 0; border-radius: 16px; color: var(--app-text-2); font: 600 var(--pd-app-tab-size) / var(--pd-app-tab-lh) var(--pd-font-text); }
.pd-film .pd-demo > .pd-tabbar .pd-tab__icon .pd-ic { width: 24px; height: 24px; }
.pd-film .pd-demo > .pd-tabbar .pd-tab__label { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-film .pd-demo > .pd-tabbar .pd-tab[aria-current="page"] { color: var(--app-text); }
.pd-film .pd-demo > .pd-tabbar .pd-tab[aria-current="page"] .pd-ic { color: var(--app-sky); }
.pd-film .pd-demo > .pd-tabbar .pd-tabbar__lens { display: block; position: absolute; z-index: 0; top: 0; height: 54px; left: calc(var(--i, 0) * 100% / 5); width: calc(100% / 5); border-radius: 16px; background: var(--app-tab-lens); }
.pd-film__home { position: absolute; left: 134px; bottom: 8px; z-index: 26; width: 134px; height: 5px; border-radius: 2.5px; background: var(--app-text); }
/* the sheet: P01's own « À valider », opened over its scrim */
.pd-film__pscrim { position: absolute; inset: 0; z-index: 20; background: var(--app-scrim); }
.pd-film .pd-film__sheet { position: absolute; z-index: 21; left: 8px; right: 8px; bottom: 8px; top: auto; display: flex; flex-direction: column; max-height: none; border-radius: var(--app-r-sheet); }
.pd-film__sheet > .pd-sheet__grab { position: absolute; top: 6px; left: 50%; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: var(--app-line-strong); }
.pd-film__sheet .pd-sheet__head { display: flex; align-items: center; min-height: 60px; padding: 14px 10px 0 20px; }
.pd-film__sheet .pd-sheet__head > .pd-title { flex: 1; }
.pd-film__sheet .pd-sheet__body { padding: 0 12px 12px; }
.pd-film__sheet .p01-ap { padding: 0 8px; }
.pd-film__papp .p01-ap__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pd-film__papp .p01-ap__meta .pd-meta { color: var(--app-text-2); }
.pd-film__papp .pd-tag { display: inline-flex; align-items: center; }
.pd-film__papp .p01-ap__t { margin-top: 8px; font: 600 17px / 24px var(--pd-font-text); color: var(--app-text); text-wrap: balance; }
.pd-film__papp .p01-ap__m { margin-top: 2px; color: var(--app-text-2); }
.pd-film__papp .p01-ap__m .pd-a { text-decoration: underline; text-decoration-color: var(--app-sky); text-underline-offset: 3px; }
.pd-film__sheet .p01-msg { margin-top: 12px; }
.pd-film__sheet .p01-msg > .pd-meta2 { display: block; margin-bottom: 4px; }
/* the letter folded to two lines: the sheet is framed on its sentence and its buttons, the letter is its texture */
.pd-film__sheet .p01-msg > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; white-space: pre-line; }
/* P01's « À valider » card (P01-aujourdhui.html at 402: the closed proposal, « Ouvrir » under it at the right; once sent,
   « Envoyé à l'instant ») */
.pd-film__papp .p01-val .pd-card__head > .pd-count { margin-left: 2px; }
.pd-film__papp .p01-aps > * + * { border-top: var(--app-hair) solid var(--app-line); }
.pd-film__papp .p01-val .p01-ap { padding: 12px 0; }
.pd-film__papp .p01-ap--closed { display: grid; grid-template-columns: minmax(0, 1fr); }
.pd-film__papp .p01-ap--closed > .pd-btn { justify-self: end; margin-top: 12px; }
.pd-film__papp .p01-sent { display: flex; align-items: flex-start; gap: 8px; padding: 12px 0; margin: 0; font-size: var(--pd-app-body-size); line-height: var(--pd-app-body-lh); color: var(--app-text); }
.pd-film__papp .p01-sent > span:first-child { margin-top: 4px; }
.pd-film__papp .p01-sent .pd-meta { display: block; color: var(--app-text-2); }
.pd-film__apsw { width: 100%; }
.pd-film__sheet .pd-dialog__foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px 10px 10px; border-top: var(--app-hair) solid var(--app-line); }
.pd-film__sheet .pd-dialog__foot > .pd-btn { padding: 0 8px; }
.pd-film__approve { transform-origin: 50% 50%; }
.pd-film__toast { position: absolute; z-index: 22; left: 0; right: 0; bottom: 102px; width: max-content; margin-inline: auto; display: flex; align-items: center; transform-origin: 50% 100%; }
.pd-film__toast .pd-toast__text { padding: 0; }

/* ---------- the caption: one line per chapter, all in one cell (the tallest sets its height) ---------- */
.pd-film__caps { display: grid; margin-top: var(--pd-s-15); }
.pd-film__cap { margin: 0; font: 600 24px / 30px var(--pd-font-display); letter-spacing: -0.01em; color: var(--site-text-display); text-wrap: balance; }
.js .pd-film__cap { grid-area: 1 / 1; }
.js .pd-film__cap + .pd-film__cap { opacity: 0; }

/* ---------- the controls: pause or play, then the line of the film and its five chapters ---------- */
.pd-film__bar { display: flex; align-items: center; gap: var(--pd-s-15); margin-top: var(--pd-s-2); }
.pd-film__play {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--site-control-border); border-radius: var(--pd-r-2); background: none; color: var(--site-text-display); cursor: pointer;
}
.pd-film__play > span { grid-area: 1 / 1; display: none; }
.pd-film__play svg { width: 20px; height: 20px; }
.pd-film__play[data-state="pause"] > .is-pause, .pd-film__play[data-state="play"] > .is-play { display: block; }
@media (hover: hover) { .pd-film__play:hover { background: var(--site-btn2-bg-hover); } }
.pd-film__play:active { background: var(--site-btn2-bg-hover); }
.pd-film__prog { position: relative; flex: 1 1 auto; min-width: 0; height: 44px; margin-left: 22px; }
.pd-film__line { position: absolute; left: 0; right: 0; top: 21px; height: 2px; overflow: hidden; background: var(--site-control-border); }
.pd-film__fill, .pd-film__tail { position: absolute; inset: 0; background: var(--site-text-display); transform-origin: 0 50%; transform: scale(0, 1); }
.pd-film__tail { transform-origin: 100% 50%; transform: scale(1, 1); }
.pd-film__tick { position: absolute; top: 0; left: calc(var(--at) * 100%); width: 44px; height: 44px; margin-left: -22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: var(--pd-r-2); }
.pd-film__tick > i { display: block; width: 2px; height: 14px; background: var(--site-text-2); transform: scale(1, 0.5715); }   /* 8 tall; the current one 14: a transform, so nothing moves the layout */
.pd-film__tick[aria-current] > i { transform: none; background: var(--site-text-display); }
.pd-film__tip { position: absolute; top: 29px; left: 50%; transform: translateX(-50%); padding: 1px 6px; border-radius: var(--pd-r-1); background: var(--site-text-display); color: var(--site-bg); font: 600 13px / 18px var(--pd-font-text); white-space: nowrap; pointer-events: none; opacity: 0; z-index: 2; }
/* the name shows under the line, in the gap above the note: it never covers the caption */
.pd-film__tick:first-of-type .pd-film__tip { left: 0; transform: none; }
.pd-film__tick:last-of-type .pd-film__tip { left: auto; right: 0; transform: none; }
@media (hover: hover) { .pd-film__tick:hover > .pd-film__tip { opacity: 1; } .pd-film__tick:hover > i { background: var(--site-text-display); } }
.pd-film__tick:focus-visible > .pd-film__tip { opacity: 1; }
.pd-film__note { margin-top: var(--pd-s-1); }
.pd-film__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 4:5 under a 480 px film: the phone is the main device ---------- */
@container pd-film (max-width: 479.98px) {
  .pd-film .pd-film__panel { aspect-ratio: 4 / 5; }
  .pd-film__d { --fit: 1.15625; width: 320px; height: 400px; }
  .pd-film__cam { transform: var(--cam0t); }
  .pd-film__phone { left: 2.17px; top: 21px; width: 315.65px; height: 660.6px; }   /* 294 of 320: P01's 15 pt words at 11 css px from a 360 px phone; the foot between the summary and the first job */
  .pd-film__screen { --ps: calc(294 / 402); }
  .pd-film__cwall { bottom: 424px; }   /* his words in the frame's middle third */
  .pd-film__strip { aspect-ratio: 320 / 42; }
  .pd-film__o { --fit: 1.15625; width: 320px; height: 442px; }
  .pd-film__cap { font-size: 21px; line-height: 27px; }
}
@container pd-film (max-width: 479.98px) { @supports (scale: calc(1px / 1px)) { .pd-film__d, .pd-film__o { --fit: calc(100cqw / 320px); } } }

/* ---------- without script and in print: the poster, the five chapters as a list, no controls ---------- */
html:not(.js) .pd-film__bar { display: none; }
html:not(.js) .pd-film__cap + .pd-film__cap { margin-top: var(--pd-s-1); }
@media print {
  .pd-film__bar { display: none; }
  .pd-film__caps { display: block; }
  .pd-film__cap { opacity: 1 !important; }
  .pd-film__cap + .pd-film__cap { margin-top: var(--pd-s-1); }
}
