/* Responsive slides: the carousels' slides filling whatever screen they are on, with their content unchanged.
   A slide was drawn on a 1080 × 1440 canvas in points. Here one point is --u: the screen's width over 1080,
   held back on wide screens so the type doesn't balloon (the height over 1100 instead). A photo covers the
   screen; the words sit at the slide's own margin (64 points) in the slide's own sizes. Graphic slides flow
   instead of sitting at fixed tops, and on a landscape screen their rows go side by side. Two slides are
   drawings (the dial, the spec sheet): those keep their sheet, scaled to fit, on their own ground. */

.slide { position: relative; flex: 0 0 100%; height: 100%; container-type: size; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.rs { position: absolute; inset: 0; overflow: hidden;
      --u: min(calc(100cqw / 1080), calc(100cqh / 1100)); --m: calc(64 * var(--u)); --track: .015em;
      --white: #FFFFFF; --black: #0A0A0A; --signal: #FFCC00;
      background: var(--ground); color: var(--ink); font-family: "Mona Sans", sans-serif; font-weight: 500;
      -webkit-font-smoothing: antialiased; font-kerning: normal; font-optical-sizing: auto; }
.rs * { box-sizing: border-box; margin: 0; padding: 0; }
.rs.black  { --ground: var(--black);  --ink: var(--white); --mark: var(--signal); }
.rs.yellow { --ground: var(--signal); --ink: var(--black); --mark: var(--black); }
.rs.photo  { --ground: var(--black);  --ink: var(--white); --mark: var(--white); }
.rs.light  { --ground: #D8D8D4;       --ink: var(--black); --mark: var(--black); }

/* the picture: the photo, its shades, the parts named on it, the cutouts, in a box of their own (.pic) that is the
   whole slide, or on a landscape screen the photo's own 3:4 beside the words (below) */
.rs .pic { position: absolute; inset: 0; overflow: hidden; }
.rs .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.rs .shade { position: absolute; left: 0; right: 0; pointer-events: none; }
.rs .shade.side { display: none; }   /* a dark edge on the words' side of a wide frame */
/* the carousel's cutouts (the sensor, the ridge) laid over the title: drawn exactly as the photo is, so they stay on it */
.rs .fg { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); pointer-events: none; }
.rs .shade.top { top: 0; height: 46%; background: linear-gradient(180deg, rgba(6,8,10,.66) 0%, rgba(6,8,10,.42) 55%, rgba(6,8,10,0) 100%); }
.rs .shade.low { bottom: 0; height: 44%; background: linear-gradient(0deg, rgba(6,8,10,.86) 0%, rgba(6,8,10,.62) 52%, rgba(6,8,10,0) 100%); }
.rs .shade.top.deep { background: linear-gradient(180deg, rgba(6,8,10,.9) 0%, rgba(6,8,10,.74) 52%, rgba(6,8,10,0) 100%); }
.rs .shade.low.deep { background: linear-gradient(0deg, rgba(6,8,10,.95) 0%, rgba(6,8,10,.8) 55%, rgba(6,8,10,0) 100%); }

/* the words: the slide's sizes in points, with a floor so a phone can read them */
/* the kicker: 24 points of air between its line and the title, the same in every layout below (--kgap) */
.rs { --kgap: calc(24 * var(--u)); --ks: max(calc(27 * var(--u)), 13.5px); }   /* --ks: the kicker, never under 13.5px (a phone) */
.rs .when { position: absolute; left: var(--m); top: calc(53 * var(--u) + var(--pt, 0px) - (var(--ks) - 27 * var(--u)) * 1.45);   /* raised by what the 13.5px floor adds, so its foot, and the gap, stay put */
            color: var(--mark); font-family: "Mona Sans Mono", monospace; font-weight: 500;
            font-size: var(--ks); line-height: 1.45; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; font-feature-settings: "case"; }
.rs .when.right { left: auto; right: var(--m); }
.rs .t { position: absolute; left: var(--m); top: calc(116 * var(--u) + var(--pt, 0px)); width: min(calc(952 * var(--u)), calc(100% - 2 * var(--m)));
         font-stretch: 88%; font-weight: 750; font-size: calc(104 * var(--u)); line-height: .99; letter-spacing: var(--track);
         text-transform: uppercase; text-wrap: balance; font-feature-settings: "case"; }
.rs .t.tight { text-wrap: nowrap; }
.rs .body { position: absolute; left: var(--m); bottom: calc(var(--m) + var(--pb, 0px)); width: min(calc(952 * var(--u)), calc(100% - 2 * var(--m)));
            font-size: max(calc(36 * var(--u)), 14px); line-height: 1.3; text-wrap: pretty; }
.rs > .body, .rs > .foot, .rs > .cta { z-index: 2; }   /* over the cutouts, as the carousel has them */
.rs .body p + p { margin-top: .5em; }
.rs .body.w { font-size: max(calc(34 * var(--u)), 14px); line-height: 1.26; }
.rs .lockup { position: absolute; left: var(--m); top: calc(64 * var(--u)); height: max(calc(34 * var(--u)), 14px); }
.rs .foot { position: absolute; left: var(--m); bottom: calc(var(--m) + var(--pb, 0px)); width: min(calc(952 * var(--u)), calc(100% - 2 * var(--m))); }
.rs .foot .when, .rs .foot .t, .rs .foot .body { position: static; width: auto; }   /* a kicker in the foot (story 09: the sky is too bright for it at the top) stands over the title */
.rs .foot .when { display: block; margin-bottom: var(--kgap); }
.rs .foot .t { margin-bottom: calc(26 * var(--u)); }
.rs b.hi { font-weight: 600; color: var(--signal); }

/* parts named on a photo: the hairlines are drawn on the slide's canvas and cropped as the photo is;
   the tags are placed by rs.js from the same points */
.rs .lines { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }   /* slides.js lays it over the photo's crop */
.rs .lines line { stroke: var(--white); stroke-width: 2; }
.rs .lines circle { fill: var(--signal); stroke: var(--black); stroke-width: 2; }
.rs .tag { position: absolute; display: none; z-index: 2; background: var(--signal); color: var(--black); white-space: nowrap;
           padding: .2em .45em .25em; font-family: "Mona Sans Mono", monospace; font-weight: 600; font-size: max(calc(23 * var(--u)), 10px);
           letter-spacing: .03em; line-height: 1.25; text-transform: uppercase; }
.rs .tag.on { display: block; }
.rs .tag.r { transform: translateX(-100%); }
.rs .tag.c { transform: translateX(-50%); }
.rs.light .tag { background: var(--black); color: var(--white); }

/* the big figures */
.rs .say { font-size: max(calc(34 * var(--u)), 14px); line-height: 1.2; }
.rs .fig { font-stretch: 88%; font-weight: 750; letter-spacing: var(--track); line-height: .88; margin-top: calc(14 * var(--u)); white-space: nowrap; font-feature-settings: "case"; }
.rs .fig .unit { display: inline-block; vertical-align: baseline; margin-left: .15em; font-size: .3em; line-height: 1; }
.rs .fig .unit b { display: block; font-weight: 700; letter-spacing: 0; }
.rs .fig .unit i { display: block; font-style: normal; font-stretch: 100%; font-weight: 500; font-size: .6em; letter-spacing: 0; margin-top: .14em; }
.rs .end { font-size: max(calc(36 * var(--u)), 14px); line-height: 1.22; font-weight: 600; text-wrap: pretty; width: min(calc(952 * var(--u)), 100%); }

/* graphic slides flow: the kicker stays at its place, the title under it, the closing line at the foot, and the rows
   in the middle of the room between them, whatever the screen leaves, a notch above the middle: the rows are heavy
   at their foot (the big figure, the bars), so the eye wants them higher than the halfway line */
.rs.flow { display: flex; flex-direction: column; padding: calc(116 * var(--u) + var(--pt, 0px)) var(--m) calc(var(--m) + var(--pb, 0px)); }
.rs.flow .t { position: static; margin-bottom: calc(40 * var(--u)); }
.rs.flow .rows { display: flex; flex-direction: column; gap: calc(44 * var(--u)); margin-block: auto; }
.rs.flow .end { padding-top: calc(88 * var(--u)); }   /* 40 of air, and 48 that lifts the rows by half of it */
.rs .bar { position: relative; height: calc(20 * var(--u)); margin-top: calc(22 * var(--u)); background: rgba(10,10,10,.14); width: min(calc(952 * var(--u)), 100%); }
.rs .bar i { position: absolute; left: 0; top: 0; height: 100%; background: var(--black); }
.rs .bar i.range { opacity: .42; }
@container (min-aspect-ratio: 1) {
  .rs.flow .rows { flex-direction: row; gap: var(--m); }
  .rs.flow .rows > div { flex: 1; min-width: 0; }
  .rs.flow .end { padding-top: calc(76 * var(--u)); }
  .rs .shade.low { height: 60%; }
}

/* ——— the story ——— */
.rs.st1 .t { top: calc(136 * var(--u) + var(--pt, 0px)); left: calc(60 * var(--u)); width: auto; text-wrap: nowrap; }
.rs.st1 .t span { display: block; }
.rs.st1 .t .a { font-size: calc(220 * var(--u)); line-height: .94; }
.rs.st1 .t .b { font-size: calc(134 * var(--u)); line-height: 1; margin-left: .02em; }
.rs.st1 .body { width: min(calc(760 * var(--u)), calc(100% - 2 * var(--m))); font-size: max(calc(38 * var(--u)), 15px); line-height: 1.24; }
.rs.st2 .body .setup { color: rgba(255,255,255,.9); }
.rs.st2 .body .punch { color: var(--signal); }
.rs.st2 .body .big { font-stretch: 94%; font-size: 1.6em; font-weight: 750; line-height: 1.09; margin-top: .45em; }
.rs.st5 .body { width: min(calc(860 * var(--u)), calc(100% - 2 * var(--m))); }

/* 2 — the night: on a landscape screen the frame is the sky's last light over dark water, so the words are a column
   held to the foot (`low`, below), on the dark, the sky left to itself */

/* 3 — the kit: a light desk under the words, so the dark edge is lighter than on the forest slides, not to go muddy */
@container (min-aspect-ratio: 1) {
  .rs.st3.full .shade.side { background: linear-gradient(90deg, rgba(6,8,10,.8) 0%, rgba(6,8,10,.66) 20%, rgba(6,8,10,.3) 55%, rgba(6,8,10,0) 100%); }
  .rs.st3.full .shade.top { background: linear-gradient(180deg, rgba(6,8,10,.7) 0%, rgba(6,8,10,.5) 52%, rgba(6,8,10,0) 100%); }
}

/* 5 — the test case: shot with the case at the left of the frame, so on a landscape screen the frame is mirrored and the
   words stay at the left, where they are on every other slide */
@container (min-aspect-ratio: 1) { .rs.st5.full .ph { transform: scaleX(-1); } }

/* 6 — the turn: the trace and the breadboard on the slide's own canvas, held to the foot. On a landscape screen the
   canvas is the screen's height at the right, the words at the left with the body at the foot, and the trace runs the
   width of the screen between them (slides.js, site.js); the cable that ran off the canvas's edge fades out there */
.rs.st6 .body { position: absolute; top: calc(348 * var(--u) + var(--pt, 0px)); bottom: auto; }
.rs.st6 .art { position: absolute; left: 0; bottom: 0; width: min(100%, calc(100cqh * 3 / 4)); aspect-ratio: 3 / 4; }
.rs.st6 .art > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.rs.st6 .art svg { overflow: visible; }
.rs.st6 .art img { object-fit: contain; transform-origin: 0 100%; transform: scale(.93); }
@container (min-aspect-ratio: 1) {
  .rs.st6 .art { left: auto; right: 0; }
  .rs[class].st6 .body { top: auto; bottom: var(--m); width: min(calc(700 * var(--u)), 46%); }
  .rs.st6 .art img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%); mask-image: linear-gradient(90deg, transparent, #000 9%); }
}

/* 7 — the long road: the wall fills the screen, rs.js lays as many tiles as it takes */
.rs.st7 .wall { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-auto-rows: var(--tile); overflow: hidden; }
.rs.st7 .wall div { position: relative; overflow: hidden; }
.rs.st7 .wall img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rs.st7 .yr { position: absolute; left: 0; top: 0; background: var(--signal); color: var(--black); padding: .2em .45em .25em;
             font-family: "Mona Sans Mono", monospace; font-weight: 600; font-size: max(calc(23 * var(--u)), 10px); letter-spacing: .03em; }
.rs.st7 .shade.top { background: linear-gradient(180deg, rgba(6,8,10,.92) 0%, rgba(6,8,10,.8) 52%, rgba(6,8,10,0) 100%); }
.rs.st7 .shade.low { background: linear-gradient(0deg, rgba(6,8,10,.94) 0%, rgba(6,8,10,.84) 50%, rgba(6,8,10,0) 100%); }

/* 8 — results */
.rs.st8 .fig.a { font-size: calc(186 * var(--u)); }
.rs.st8 .fig.b { font-size: calc(400 * var(--u)); }
.rs.st8 .fig .unit { font-size: calc(60 * var(--u)); margin-left: calc(30 * var(--u)); }
.rs.st8 .fig .unit i { font-size: calc(36 * var(--u)); margin-top: calc(8 * var(--u)); }
.rs.st8 .end { width: min(calc(780 * var(--u)), 100%); }
/* side by side, the two are one comparison: the bars on one line at the foot of the row, the figures on one baseline
   above them, each column's line at its top; the room between is the small figure's */
@container (min-aspect-ratio: 1) {
  .rs.st8 .fig.b { font-size: calc(300 * var(--u)); }
  .rs.st8 .rows > div { display: flex; flex-direction: column; }
  .rs.st8 .fig { margin-top: auto; padding-top: calc(14 * var(--u)); }
}

/* 10 — the line */
.rs .sign { position: absolute; left: calc(60 * var(--u)); top: calc(136 * var(--u) + var(--pt, 0px)); width: min(calc(960 * var(--u)), calc(100% - 2 * var(--m)));
            font-stretch: 88%; font-weight: 750; font-size: calc(146 * var(--u)); line-height: .96; letter-spacing: var(--track);
            text-transform: uppercase; color: var(--white); text-wrap: balance; }
.rs .sign i { font-style: normal; color: var(--signal); }
.rs .cta { position: absolute; left: var(--m); bottom: calc(var(--m) + var(--pb, 0px)); width: min(calc(952 * var(--u)), calc(100% - 2 * var(--m)));
           display: flex; align-items: center; gap: calc(36 * var(--u)); font-size: max(calc(32 * var(--u)), 14px); line-height: 1.4;
           font-weight: 600; color: var(--white); white-space: nowrap; }
.rs .cta a { color: inherit; text-decoration: none; }
/* a plain arrow: the line (::before) and its head (::after), each its own so the line can grow with the head on its tip */
.rs .cta i { position: relative; flex: 1; height: 2px; margin-top: 3px; }
.rs .cta i::before { content: ""; position: absolute; inset: 0; background: var(--white); opacity: .6; }
.rs .cta i::after { content: ""; position: absolute; right: 0; top: -7px; width: 14px; height: 14px; border-top: 2px solid var(--white); border-right: 2px solid var(--white); transform: rotate(45deg); }
.rs .cta svg { flex: 1; height: calc(44 * var(--u)); overflow: visible; }
.rs .cta svg path { fill: none; stroke: var(--white); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; opacity: .75; }
@container (max-width: 420px) { .rs .cta { flex-wrap: wrap; white-space: normal; } .rs .cta i, .rs .cta svg { display: none; } }

/* 10 — the door: the page ends here, on the footer's black, so the ground goes all the way to black at the foot (the sensor's door too) */
.rs.st10 .shade.low, .rs.h10 .shade.low { height: 56%; background: linear-gradient(0deg, #0A0A0A 0%, rgba(6,8,10,.92) 22%, rgba(6,8,10,.62) 52%, rgba(6,8,10,0) 100%); }

/* ——— the hardware ——— */
.rs.h1 .t { top: calc(136 * var(--u) + var(--pt, 0px)); left: calc(60 * var(--u)); width: auto; font-size: calc(172 * var(--u)); line-height: .94; text-wrap: nowrap; }
.rs.h1 .body { width: min(calc(700 * var(--u)), calc(100% - 2 * var(--m))); font-size: max(calc(38 * var(--u)), 15px); line-height: 1.24; }
.rs.h2 .body, .rs.h4 .body { width: min(calc(900 * var(--u)), calc(100% - 2 * var(--m))); }
.rs.h6 .foot { display: flex; flex-wrap: wrap; gap: calc(30 * var(--u)) calc(72 * var(--u)); align-items: flex-end; }
.rs.h6 .fig { font-size: calc(150 * var(--u)); margin: 0; }
.rs.h6 .fig .unit { font-size: calc(54 * var(--u)); margin-left: calc(18 * var(--u)); }
.rs.h6 .fig.dims { font-size: calc(76 * var(--u)); }
.rs.h6 .fig small { display: block; font-stretch: 100%; font-weight: 500; font-size: max(calc(32 * var(--u)), 13px); letter-spacing: 0; margin-top: calc(18 * var(--u)); }
.rs.h7 .foot { left: auto; right: var(--m); width: min(calc(560 * var(--u)), calc(100% - 2 * var(--m))); }
.rs.h7 .foot .t { margin-bottom: calc(22 * var(--u)); }
.rs.h8 .fig { font-size: calc(300 * var(--u)); }
.rs.h8 .fig .unit { font-size: calc(60 * var(--u)); margin-left: calc(30 * var(--u)); }
.rs.h8 .fig .unit i { font-size: calc(36 * var(--u)); margin-top: calc(8 * var(--u)); }
.rs.h8 .week { display: block; width: min(calc(952 * var(--u)), 100%); height: auto; overflow: visible; margin-top: calc(60 * var(--u)); }
.rs.h8 .week text { font-family: "Mona Sans Mono", monospace; font-size: 22px; font-weight: 500; fill: var(--black); letter-spacing: .03em; }
.rs.h8 .week .night { fill: rgba(10,10,10,.1); }
.rs.h8 .week .on { fill: var(--black); }
.rs.h8 .week line { stroke: var(--black); stroke-width: 2; }
/* on a landscape screen the chart's column is the wider, so the week reads at a size nearer the figure's */
@container (min-aspect-ratio: 1) {
  .rs.h8 .fig { font-size: calc(240 * var(--u)); }
  .rs.h8 .rows > div:last-child { display: flex; flex-direction: column; justify-content: flex-end; flex: 1.35; }
  .rs.h8 .week { margin-top: 0; }
}

/* ——— the drawings: the sheet as drawn, 1080 × 1440 points, scaled to fit (slides.js sets --cs from the sheet's size);
   on a landscape screen the sheet is a landscape one, 1920 × 1200, laid out below ——— */
.rs .cv { position: absolute; left: 50%; top: 50%; width: 1080px; height: 1440px; transform-origin: 50% 50%; transform: translate(-50%, -50%) scale(var(--cs, 1)); }
.rs .cv .when { font-size: calc(var(--ks) / var(--cs, 1)); top: 62px; left: 64px; }   /* the sheet is scaled by --cs: the kicker is the slides' own size all the same */
.rs .cv .end { position: absolute; left: 64px; bottom: 64px; width: 952px; font-size: 36px; }
.rs .cv svg { position: absolute; left: 0; top: 0; width: 1080px; height: 1440px; }
.rs .cv svg.sheetframe { width: 100%; height: 100%; }
/* the dial */
.rs .cv.dial svg line { stroke: var(--black); }
.rs .cv.dial svg text { font-family: "Mona Sans Mono", monospace; font-size: 22px; font-weight: 500; fill: var(--black); letter-spacing: .03em; }
.rs .cv.dial svg text.ring { font-family: "Mona Sans", sans-serif; font-stretch: 88%; font-weight: 750; font-size: 112px; letter-spacing: .02em; text-transform: uppercase; }
.rs .cv.dial .fig { position: absolute; left: 4px; width: 1080px; top: 584px; margin: 0; text-align: center; font-size: 200px; }
.rs .cv.dial .fig span { position: relative; }
.rs .cv.dial .fig i { position: absolute; left: calc(100% - .03em); top: .5em; font-size: .62em; font-style: normal; }
/* the spec sheet */
.rs .cv.spec .sheetframe rect, .rs .cv.spec .sheetframe line { fill: none; stroke: rgba(255,255,255,.55); }
.rs .cv.spec .sheetframe text { font-family: "Mona Sans Mono", monospace; font-size: 18px; font-weight: 500; fill: rgba(255,255,255,.55); letter-spacing: .04em; }
.rs .cv.spec .sheetframe .dim line, .rs .cv.spec .sheetframe .dim path { stroke: rgba(255,255,255,.8); stroke-width: 1.2; }
.rs .cv.spec .sheetframe .dim path { fill: rgba(255,255,255,.8); }
.rs .cv.spec .sheetframe .dim text { fill: rgba(255,255,255,.85); }
.rs .cv.spec .view { position: absolute; }
.rs .cv.spec .front { left: 84px; top: 128px; width: 422.5px; }
.rs .cv.spec .top { left: 562px; top: 276px; width: 415.5px; }
.rs .cv.spec .symbol { position: absolute; right: 84px; top: 86px; height: 72px; }
.rs .cv.spec .tb { position: absolute; left: 524px; top: 912px; width: 492px; height: 464px; display: grid; gap: 1.5px;
                   grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 72px) 1fr;
                   background: rgba(255,255,255,.55); border: 1.5px solid rgba(255,255,255,.55); border-right: 0; border-bottom: 0; }
.rs .cv.spec .tb > div { background: var(--black); padding: 10px 16px 12px; display: flex; flex-direction: column; justify-content: space-between; }
.rs .cv.spec .tb dt { font-family: "Mona Sans Mono", monospace; font-weight: 500; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.rs .cv.spec .tb dd { font-size: 24px; line-height: 1.1; font-weight: 500; white-space: nowrap; }
.rs .cv.spec .tb .wide { grid-column: 1 / 3; }
.rs .cv.spec .tb .name { justify-content: space-between; padding-bottom: 30px; }
.rs .cv.spec .tb .name dd { font-stretch: 88%; font-weight: 750; font-size: 96px; line-height: .9; letter-spacing: var(--track); text-transform: uppercase; }

/* ——— the stage: a post's slides, each one screen, swiped sideways; the progress at the top, like a story ——— */
.stage { position: absolute; inset: 0; }
.stage .track { width: 100%; height: 100%; display: flex; gap: 0; padding: 0; scroll-padding: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
                overscroll-behavior-x: contain; scrollbar-width: none; }
.stage .track::-webkit-scrollbar { display: none; }
.stage .track:focus { outline: none; }
.stage .segs { position: absolute; z-index: 3; left: max(14px, 6%); right: max(14px, 6%); top: 14px; display: flex; gap: 4px; pointer-events: none; }
.stage .segs i { flex: 1; height: 2px; background: currentColor; opacity: .3; transition: opacity .2s; }
.stage .segs i.on { opacity: 1; }
.stage .segs { color: #fff; }
.stage.dark .segs { color: #0A0A0A; }
.stage .nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; width: 48px; height: 48px; display: none; place-items: center;
              border: 1px solid rgba(244,243,238,.3); background: rgba(10,10,10,.5); color: #fff; transition: opacity .2s, border-color .2s; }
.stage .nav:hover { border-color: #fff; }
.stage .nav svg { width: 18px; height: 18px; }
.stage .nav.prev { left: 16px; }
.stage .nav.next { right: 16px; }
.stage .nav[disabled] { opacity: 0; pointer-events: none; }
@media (hover: hover) and (min-width: 760px) { .stage .nav { display: grid; } }

/* ——— a landscape screen (a desktop, a laptop, a tablet on its side): the slide is the screen, wide. A photo slide
   is one of two: `full`, the photo's wide frame (tools/photos.py) filling the screen, placed by --posl with the
   words on a dark edge at the left (or at the right: `wr`), or the portrait photo itself cropped to the screen where
   the slide says `full` on its own; or `split`, the photo as shot at its own 3:4, the
   screen tall, at the right (or the left: `pl`), with the words beside it on the slide's ground. The words are the
   desktop's size, a column rather than the slide's full width, and the drawings are laid out on a landscape sheet:
   the dial on the left with the words beside it, the spec sheet with its views side by side and the title block at
   the right. These come last so they win over the slides' own portrait sizes. ——— */
@container (min-aspect-ratio: 1) {
  /* full: the wide frame; the cutouts belong to the portrait photo and go */
  .rs.full .ph { object-position: var(--posl, 50% 50%); }
  /* `low`: the words a column held to the foot of the frame, where the photo is dark or empty there (story 02, the
     night; sensor 04, the parts laid along the middle) */
  .rs.full.low { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: var(--m); }
  .rs[class].full.low > .when, .rs[class].full.low > .t, .rs[class].full.low > .body { position: static; translate: none; z-index: 1; }   /* flex items stack by z-index: over the picture */
  .rs[class].full.low > .when { margin-bottom: var(--kgap); }
  .rs[class].full.low > .t { margin-bottom: calc(30 * var(--u)); width: auto; max-width: calc(900 * var(--u)); }
  /* the parts on their side: the side shade would lie on the end caps, so the foot is shaded instead, under the words */
  .rs.h4.full .shade.side, .rs.h4.full .shade.top { display: none; }
  .rs.h4.full .shade.low { height: 64%; background: linear-gradient(0deg, rgba(6,8,10,.9) 0%, rgba(6,8,10,.7) 30%, rgba(6,8,10,0) 100%); }
  .rs.h6.full.wr .foot { justify-content: flex-end; }   /* the readouts flush right, as the title is */
  .rs.full .fg { display: none; }
  .rs.full .shade.side { display: block; top: 0; bottom: 0; width: 62%; background: linear-gradient(90deg, rgba(6,8,10,.94) 0%, rgba(6,8,10,.86) 20%, rgba(6,8,10,.5) 55%, rgba(6,8,10,0) 100%); }
  .rs.full.wr .shade.side { left: auto; right: 0; background: linear-gradient(270deg, rgba(6,8,10,.94) 0%, rgba(6,8,10,.86) 20%, rgba(6,8,10,.5) 55%, rgba(6,8,10,0) 100%); }
  .rs.full.wr > .when, .rs.full.wr > .t, .rs.full.wr > .body, .rs.full.wr > .foot, .rs.full.wr > .end, .rs.full.wr > .sw { left: auto; right: var(--m); text-align: right; }   /* flush right: one edge for the kicker, the title and the body */
  /* split: the photo beside the words, the words stacked in the middle of the room that is left (under the page's
     floating header, --hh, where there is one); the shades were for words on the photo */
  .rs.split { --pw: min(calc(100cqh * 3 / 4), 50cqw); display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
              padding: calc(var(--hh, 0px) + var(--m)) calc(var(--pw) + var(--m)) var(--m) var(--m); }
  .rs.split.pl { padding-left: calc(var(--pw) + var(--m)); padding-right: var(--m); }
  .rs.split .pic { left: auto; right: 0; width: var(--pw); }
  .rs.split.pl .pic { left: 0; right: auto; }
  .rs.split .shade, .rs.split .fg { display: none; }
  .rs[class].split > .when, .rs[class].split > .t, .rs[class].split > .body, .rs[class].split > .foot, .rs[class].split > .end, .rs[class].split > .sw, .rs[class].split > .sign, .rs[class].split > .cta { position: static; translate: none; width: auto; }
  .rs[class].split > .when { margin-bottom: var(--kgap); }
  .rs[class].split > .t, .rs[class].split > .sign { margin-bottom: calc(44 * var(--u)); }
  .rs[class].split > .foot { margin-top: calc(16 * var(--u)); }
  .rs[class].split > .when + .foot { margin-top: 0; }   /* the kicker's own gap is the one */
  .rs[class].split > .cta { margin-top: calc(40 * var(--u)); }
  .rs[class].split > .t, .rs[class].split > .sign { max-width: calc(900 * var(--u)); }
  .rs[class].split > .body, .rs[class].split > .end, .rs[class].split > .cta { max-width: calc(720 * var(--u)); }
  .rs[class].split > .foot { max-width: calc(820 * var(--u)); }
  /* the words */
  .rs[class].st1 .t .a { font-size: calc(176 * var(--u)); }
  .rs[class].st1 .t .b { font-size: calc(108 * var(--u)); }
  .rs[class] .body, .rs[class] .body.w, .rs[class] .end, .rs[class] .say { font-size: max(calc(26 * var(--u)), 15px); line-height: 1.35; }
  .rs[class] .body, .rs[class] .end { width: min(calc(720 * var(--u)), calc(100% - 2 * var(--m))); }
  .rs[class] .foot { width: min(calc(820 * var(--u)), calc(100% - 2 * var(--m))); }
  .rs[class] .body .big { font-size: 1.5em; }
  .rs[class].h7 .foot { width: min(calc(560 * var(--u)), calc(100% - 2 * var(--m))); }
  .rs[class] .cta { width: min(calc(760 * var(--u)), calc(100% - 2 * var(--m))); font-size: max(calc(26 * var(--u)), 15px); }
  .rs[class] .sign { font-size: calc(120 * var(--u)); width: min(calc(780 * var(--u)), calc(100% - 2 * var(--m))); }
  /* the landscape sheet */
  .rs .cv { width: 1920px; height: 1200px; }
  .rs .cv .end { font-size: 34px; line-height: 1.3; }
  .rs .cv.dial .dialsvg { top: -76px; }
  .rs .cv.dial .fig { top: 508px; }
  .rs .cv.dial .when { left: 1120px; top: calc(330px - (var(--ks) / var(--cs, 1) - 27px) * 1.45); }   /* over the words, clear of the ring; raised by what it grew, so its foot and the gap stay put */
  .rs .cv.dial .end { left: 1120px; width: 736px; bottom: auto; top: 400px; font-size: 44px; line-height: 1.22; }
  /* the spec sheet's frame sits on the page's own margins, so the sheet is as tall as the screen leaves it (--shh, slides.js):
     the front view is as tall as the sheet, in the middle of zones 1–2; the top view on the sheet's centre line; the title block at the foot */
  .rs .cv.spec { --shh: 1200px; }
  .rs .cv.spec .front { top: 130px; height: calc(var(--shh) - 240px); width: auto; left: calc(362.5px - (var(--shh) - 240px) / 5.6828); }   /* the view is 2.8414 as tall as wide */
  .rs .cv.spec .top { left: 752px; top: calc(var(--shh) * .25); width: 415.5px; }
  .rs .cv.spec .tb { left: 1364px; top: auto; bottom: 64px; }
}
