/* דרך הגבורה הרכה — the ink room.
   One material: blue ink in water on paper. It is the background, it gathers into each shape,
   and every real object develops out of it. Nothing appears on its own; it comes from the ink. */
@property --wx{syntax:"<percentage>";inherits:false;initial-value:100%}
@property --wy{syntax:"<percentage>";inherits:false;initial-value:100%}
@property --tx{syntax:"<length>";inherits:false;initial-value:0px}
@property --ty{syntax:"<length>";inherits:false;initial-value:0px}
@property --s{syntax:"<number>";inherits:false;initial-value:1}
@property --m{syntax:"<percentage>";inherits:false;initial-value:0%}
@property --wr{syntax:"<percentage>";inherits:false;initial-value:-20%}
:root{--paper:#F4F4EE;--ink:#26295a;--ink-2:#4b5196;--fg:#1d1f33;--fg-2:#565a6e;--fg-3:#8a8c99;--seal:#b23d2a;--line:rgba(38,41,90,.16);
  --disp:"Assistant","Heebo",system-ui,sans-serif;--body:"Heebo",system-ui,sans-serif;
  --e:cubic-bezier(.22,.7,.2,1);--e-out:cubic-bezier(.16,1,.3,1);--gut:clamp(18px,4vw,64px)}
[lang="en"]{--body:"Heebo",system-ui,sans-serif}
*{box-sizing:border-box}
html{background:var(--paper);overflow-x:clip;-webkit-text-size-adjust:100%}
body{margin:0;color:var(--fg);font:400 17px/1.65 var(--body);-webkit-font-smoothing:antialiased;overflow-x:clip}
#ink{position:fixed;left:0;top:0;width:100%;height:100%;z-index:0;display:block;pointer-events:none}
.grain{position:fixed;inset:0;z-index:1;pointer-events:none;opacity:.055;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
::selection{background:var(--ink);color:var(--paper)}

/* top bar */
.top{position:fixed;inset:0 0 auto;z-index:30;height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 var(--gut);font:400 13px/1 var(--body);color:var(--fg-2);pointer-events:none}
.top>*{pointer-events:auto}
.top::before{content:"";position:absolute;inset:0 0 -26px;z-index:-1;background:linear-gradient(var(--paper) 52%,color-mix(in srgb,var(--paper) 0%,transparent));pointer-events:none}
.top a{color:inherit;text-decoration:none}
.me b{font-weight:500;margin-inline-end:10px;font-size:14px;color:var(--fg)}
.top-r{display:flex;align-items:center;gap:20px}
.lang:hover{color:var(--fg)}
.x{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;box-shadow:inset 0 0 0 1px var(--line);background:color-mix(in srgb,var(--paper) 70%,transparent)}
.x svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;transition:transform .35s var(--e)}
.x:hover svg{transform:rotate(90deg)}
.snd{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:6px 2px;cursor:pointer;color:inherit;font:inherit}
.snd svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.snd .on{display:none}.snd[aria-pressed="true"] .on{display:inline}.snd[aria-pressed="true"] .off{display:none}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:8px}

main{position:relative;z-index:2}
.ch{position:relative;min-height:100svh;display:grid;padding:96px var(--gut) 64px;align-items:center}
.k{font:600 12px/1 var(--body);letter-spacing:.14em;color:var(--fg-3)}
[lang="en"] .k{text-transform:uppercase;letter-spacing:.18em;font-size:11px}
.k b{color:var(--seal);font-weight:600}
h1,h2{font-family:var(--disp);font-weight:200;letter-spacing:-.01em;margin:.3em 0 .35em;color:var(--fg);text-wrap:balance}
h1{font-size:clamp(48px,7.6vw,118px);line-height:.98}
h2{font-size:clamp(34px,4.3vw,64px);line-height:1.06}
h2 em,h1 em{font-style:normal;color:var(--ink-2)}
p{margin:0;max-width:33em;color:var(--fg-2);text-wrap:pretty}
.txt>p+p{margin-top:12px}
.dec{font-size:15px;color:var(--fg)}.dec b{color:var(--seal);font-weight:600;margin-inline-end:6px;font-size:12.5px;letter-spacing:.06em}
.hint,.cue{font:500 13px/1.4 var(--body);color:var(--fg-3);margin-top:18px}
/* headlines are written: ink runs along the line in reading order */
.w{-webkit-mask:linear-gradient(to left,#000 calc(var(--wr) - 18%),transparent var(--wr));mask:linear-gradient(to left,#000 calc(var(--wr) - 18%),transparent var(--wr));transition:--wr 1.3s var(--e) .2s}
[dir="ltr"] .w{-webkit-mask:linear-gradient(to right,#000 calc(var(--wr) - 18%),transparent var(--wr));mask:linear-gradient(to right,#000 calc(var(--wr) - 18%),transparent var(--wr))}
.on .w{--wr:130%}
.t{opacity:0;translate:0 6px;transition:opacity .7s var(--e) .4s,translate .7s var(--e) .4s}.on .t{opacity:1;translate:0 0}
/* objects develop out of the ink, like a print in a tray */
.dev{-webkit-mask:url(a/bleed.webp) center/var(--m) var(--m) no-repeat;mask:url(a/bleed.webp) center/var(--m) var(--m) no-repeat;transition:--m 1.6s var(--e)}
.dev.in{--m:340%}
.dev:not(.in){transition:--m .8s cubic-bezier(.5,0,.75,0)}
/* the real artwork rests on top of its own ink: the fluid carries the motion, the original carries the detail */
.anc{position:relative}
.anc .fb{width:100%;height:100%;object-fit:contain;display:block}

/* 0 · opening (4.11, Moshe: "people realise late it's a book"): the book itself, its cover without the eye. One drop falls
   on the cover and opens into the eye that is printed there; the same eye then leaves the cover for chapter 01.
   The cover is drawn UNDER the ink (.cov0u, a layer behind the page that follows .cov0's place), so the ink paints on it */
.c0{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5vw;align-content:center}
.c0 .sub{max-width:30em}
.cov0{height:min(70svh,640px);max-width:100%;aspect-ratio:1192/1684;justify-self:center}
.cov0u{position:absolute;z-index:-1;pointer-events:none}
.cov0u .bkv{position:absolute;inset:0;overflow:hidden;border-radius:2px 3px 3px 2px;background:#F6F6F2}
.cov0u .bkv img{position:absolute;inset:0;width:100%;height:100%;display:block}
/* the hinge: a Hebrew book is bound on the right of its front cover */
.cov0u .bkv::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to left,rgba(29,31,51,.10) 0,rgba(255,255,255,.55) 1.1%,rgba(29,31,51,.075) 2.7%,rgba(29,31,51,0) 5.5%),linear-gradient(to bottom,rgba(255,255,255,.22),rgba(255,255,255,0) 30%,rgba(29,31,51,0) 70%,rgba(29,31,51,.05))}
.cov0u .sh{position:absolute;inset:3% 2% -1.5% 4%;border-radius:6px;background:rgba(29,31,51,.30);filter:blur(24px);opacity:0;transition:opacity 1.8s var(--e) .5s}
.cov0u .sh2{position:absolute;left:6%;right:6%;bottom:-3.5%;height:6%;border-radius:50%;background:radial-gradient(closest-side,rgba(29,31,51,.30),rgba(29,31,51,0));opacity:0;transition:opacity 1.8s var(--e) .5s}
.cov0u.in .sh,.cov0u.in .sh2{opacity:1}

/* 1 · idea */
.c1{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5vw}
.c1 .anc{width:min(100%,58svh,540px);aspect-ratio:1;justify-self:center}
/* 2 · figures: the text scrolls, the figure stays and keeps becoming the next one */
.c2{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:5vw;align-items:start;padding-top:0;padding-bottom:0}
.steps{display:grid}
.st{min-height:78svh;display:grid;align-content:center;padding:10svh 0}
.st.intro{min-height:100svh;padding-top:96px}
.st:last-child{min-height:100svh}
.st .sa{display:none}
.pk{font:500 12px/1 var(--body);letter-spacing:.08em;color:var(--fg-3)}
.ttl{margin:.35em 0 0;max-width:12em;font:200 clamp(34px,4vw,60px)/1.08 var(--disp);color:var(--fg)}
.st.on .w{--wr:130%}.st.on .t{opacity:1;translate:0 0}
.stk{position:sticky;top:0;height:100svh;display:grid;place-items:center}
.stk .anc{width:min(100%,70svh,640px);aspect-ratio:1}
.dots{position:absolute;bottom:9svh;left:50%;translate:-50% 0;display:flex;gap:8px;margin:0;padding:0;list-style:none}
.dots li{width:6px;height:6px;border-radius:50%;background:var(--line);transition:background .5s,transform .5s var(--e-out)}
.dots li.on{background:var(--ink);transform:scale(1.4)}
.dots li{position:relative;cursor:pointer}.dots li::after{content:"";position:absolute;inset:-9px -5px}.dots li:hover:not(.on){background:color-mix(in srgb,var(--ink) 55%,transparent)}
.q{margin:30px 0 0;padding-inline-start:16px;border-inline-start:1.5px solid var(--ink);font:300 clamp(19px,1.6vw,23px)/1.4 var(--disp);color:var(--fg)}
.q cite{display:block;margin-top:6px;font:500 12px/1 var(--body);font-style:normal;color:var(--fg-3);letter-spacing:.06em}

/* 3 · print → book */
.c3{grid-template-columns:minmax(0,.82fr) minmax(0,1.4fr);gap:4vw}
.stage3{position:relative;width:100%;height:min(66svh,620px);display:grid;place-items:center}
.bk3{position:relative;width:100%;height:100%;perspective:2200px;perspective-origin:50% 40%}
.bk3::before{content:"";position:absolute;left:50%;top:50%;width:46%;height:16%;translate:-50% 210%;border-radius:50%;background:radial-gradient(closest-side,rgba(29,31,51,.22),transparent);opacity:var(--fs,0);filter:blur(6px)}
.bk{position:absolute;left:50%;top:50%;width:0;height:0;transform-style:preserve-3d;will-change:transform}
.pn{position:absolute;top:0;transform-style:preserve-3d}
.pn i{position:absolute;inset:0;display:block;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.pn .out{background:#f3f2ea center/100% 100% no-repeat}
.pn .in{transform:rotateY(180deg);background:#efeee6}
.front .out{background-image:url(a/front.webp)}.back .out{background-image:url(a/back.webp)}
.front .in,.back .in{background:#ecebe2 url(a/head-c.webp) center/62% auto no-repeat;background-blend-mode:multiply}
.soft .front .in,.soft .back .in{background-image:none}
.spine .out{display:grid;place-items:center;background:#f1f0e8;box-shadow:inset 6px 0 10px -8px rgba(0,0,0,.25),inset -6px 0 10px -8px rgba(0,0,0,.25)}
.spine .out span{writing-mode:vertical-rl;font:500 calc(var(--sp,20px)*.42)/1 var(--disp);color:var(--ink);white-space:nowrap;letter-spacing:.04em}
[dir="ltr"] .spine .out span{font-size:calc(var(--sp,20px)*.34)}
/* R5: Hebrew spines read top to bottom, letters turned anticlockwise, as on the printed book (front.webp / g-stand): vertical-rl + rtl ran bottom-up, so it read mirrored */
[dir="rtl"] .spine .out span{transform:rotate(180deg)}
.block .top{display:none}
.spine .out em{position:absolute;bottom:4%;left:50%;width:calc(var(--sp,20px)*.5);aspect-ratio:1;translate:-50% 0;background:url(a/circle.webp) center/contain no-repeat}
.block{position:absolute;transform-style:preserve-3d;pointer-events:none}
.block i{position:absolute;display:block;background:repeating-linear-gradient(90deg,#f7f5ee 0 1.2px,#e4e1d6 1.2px 2.2px)}
.marks{position:absolute;inset:0;pointer-events:none}
.marks span{position:absolute}
.marks .trim{border:1px solid rgba(38,41,90,.22)}
.marks .fold{width:0;border-inline-start:1px dashed var(--seal);opacity:.75}
.marks .cm{width:18px;height:18px;border:0 solid var(--fg-2)}
.marks .lb{font:500 11px/1 var(--body);letter-spacing:.1em;color:var(--fg-3);white-space:nowrap;translate:-50% 0}
.marks .l-bleed{color:var(--seal)}
/* the binding switch, in the room's own hand (4.11): no pill. Two spines drawn in ink, as wide as the real ones; the chosen
   one sits in a wash of ink that runs to it. The book answers by turning to show you its spine */
/* 8.11 (Moshe: the cover buttons do not look clickable): a pill with a line around it, each choice a pill of its own; the ink knob marks the chosen one */
.seg{position:relative;display:inline-flex;gap:4px;margin-top:24px;padding:4px;isolation:isolate;border:1px solid color-mix(in srgb,var(--ink) 28%,transparent);border-radius:999px;background:color-mix(in srgb,var(--paper) 40%,transparent)}
.seg button{position:relative;z-index:1;display:inline-flex;white-space:nowrap;align-items:center;gap:10px;border:0;border-radius:999px;background:none;padding:11px 18px 11px 16px;font:500 13.5px/1 var(--body);color:var(--ink);cursor:pointer;transition:color .5s var(--e),background-color .35s var(--e)}
.seg button:not([aria-pressed="true"]):hover{background:color-mix(in srgb,var(--ink) 9%,transparent)}
.seg button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.seg .ico{width:15px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;transition:transform .6s var(--e-out)}
.seg button:hover .ico{transform:translateY(-2px)}
.seg button[aria-pressed="true"]{color:var(--paper)}
.seg button[aria-pressed="true"] .ico{fill:color-mix(in srgb,var(--paper) 22%,transparent)}
.seg .knob{position:absolute;top:4px;bottom:4px;border-radius:999px;background:var(--ink);-webkit-mask:url(a/bleed.webp) center/118% 175% no-repeat;mask:url(a/bleed.webp) center/118% 175% no-repeat;transition:left .62s var(--e-out),width .62s var(--e-out),transform .62s var(--e-out)}
.seg .knob.run{transform:scaleX(1.12) scaleY(.9)}
.note{font-size:14.5px;margin-top:14px;min-height:3.3em;max-width:30em}
.ghost{display:inline-flex;align-items:center;gap:8px;margin-top:8px;border:0;background:none;padding:6px 0;font:500 13px/1 var(--body);color:var(--fg-2);cursor:pointer}
.ghost svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;transition:transform .6s var(--e)}
.ghost:hover{color:var(--ink)}.ghost:hover svg{transform:rotate(-200deg)}

/* 4 · the contact sheet: prints wait in ink and develop when chosen */
.c4{grid-template-columns:1fr;align-content:center;gap:clamp(34px,5svh,56px)}
.c4 .hd{display:grid;grid-template-columns:auto 1fr;column-gap:4vw;align-items:end}
.c4 .hd .k{grid-column:1/-1}
.c4 .hd h2{margin-bottom:0}
.c4 .hd p{align-self:end;padding-bottom:.6em}
/* 04 · the book in the world. Two ways to tell it (chosen by the class on <html>):
   A (.gal-a): the photo whole and large, standing in the ensō like the book in 03; it turns with each picture. A strip of
               small prints below the caption: all waiting in indigo, the chosen one in colour.
   C (.gal-c): the book's day told by scrolling: the photo stays, the seven moments pass by beside it. */
.gal{display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr);gap:clamp(64px,10vw,160px);align-items:center}
.feat{margin:0;display:grid;place-items:center;--h:min(62svh,600px)}
.fr{position:relative;height:var(--h);aspect-ratio:1100/1375;background:transparent;isolation:isolate}
/* the photo's edge breaks like a wash, and pigment gathers just inside it (three edges, one per picture in turn) */
/* 4.11: the edge and the rim belong to each photograph (they used to belong to the frame and snapped to the next one the moment a change began) */
.ph{position:absolute;inset:0;overflow:hidden;transition:opacity .7s var(--e);--edge:url(a/edge1.png);--rim:url(a/rim1.png);-webkit-mask:var(--edge) center/100% 100% no-repeat;mask:var(--edge) center/100% 100% no-repeat}
.ph .rim{position:absolute;left:0;top:0;width:40%;height:40%;background:var(--rim) center/100% 100% no-repeat;mix-blend-mode:multiply;opacity:.55;pointer-events:none;will-change:transform}
/* perf (31.10): the wet-brush wipe moves on the compositor only. The brush mask sits still on a sheet 2.5× the photo;
   the sheet slides across (transform) while the photo inside slides back by the same amount, so the photo stays put and
   only the brush edge travels. Nothing is repainted while it moves (it used to repaint every frame: mask-position). */
.ph .wp{position:absolute;left:0;top:0;width:250%;height:250%;-webkit-mask:var(--wipe,url(a/wipe-L.png)) 0 0/100% 100% no-repeat;mask:var(--wipe,url(a/wipe-L.png)) 0 0/100% 100% no-repeat;will-change:transform}
.ph .wp>img{position:absolute;left:0;top:0;width:40%;height:40%;object-fit:cover;display:block;will-change:transform}
.ph>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
/* a change: the next photograph is drawn across the old one like a wet brush, each time from another side, and
   drifts in a little from that side as it settles; the old one sinks back and fades underneath. The ensō behind
   them changes at the same time (room.js: select) */
.ph.back{--s:.985;opacity:.35}
.story{display:grid;gap:26px;align-content:center;max-width:470px;min-width:0}
.cap{margin:0;display:grid;gap:6px;min-height:5.6em}
.cap b{font:300 clamp(26px,2.4vw,34px)/1.12 var(--disp);color:var(--fg);text-wrap:balance}
.cap span{font-size:15px;line-height:1.5;color:var(--fg-2)}
.cap .n{direction:ltr;unicode-bidi:isolate;justify-self:start;font:500 12px/1 var(--body);letter-spacing:.12em;color:var(--fg-3);font-variant-numeric:tabular-nums;order:-1}
.sheet{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:clamp(6px,.8vw,10px)}
.th{position:relative;display:block;padding:0;border:0;background:none;cursor:pointer}
.th .no,.th .tt{display:none}
.th .dot{position:relative;display:block;aspect-ratio:1100/1375;overflow:hidden;transition:transform .6s var(--e-out)}
.th img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.th .duo{filter:url(#duo)}
.th .col{-webkit-mask:url(a/bleed.webp) center/var(--m) var(--m) no-repeat;mask:url(a/bleed.webp) center/var(--m) var(--m) no-repeat;transition:--m .9s var(--e)}
.th:hover .col{--m:120%}
.th:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.th[aria-pressed="true"] .dot{transform:translateY(-5px)}
.th[aria-pressed="true"] .col{--m:360%}
.th::after{content:"";position:absolute;left:0;right:0;bottom:-9px;height:2px;background:var(--ink);transform:scaleX(0);transform-origin:var(--o,right);transition:transform .7s var(--e-out)}
[dir="ltr"] .th::after{--o:left}
.th[aria-pressed="true"]::after{transform:scaleX(1)}
.th .prog{position:absolute;left:0;right:0;bottom:-9px;height:2px;background:var(--seal);transform-origin:var(--o,right);transform:scaleX(0);z-index:1}
[dir="ltr"] .th .prog{--o:left}
.moments{display:none;list-style:none;margin:0;padding:0}
/* C: the day, by scrolling */
.gal-c .c4{align-content:start}
.gal-c .gal{align-items:start}
.gal-c .feat{position:sticky;top:max(76px,11svh);height:78svh;align-content:center;z-index:1}
.gal-c .cap,.gal-c .sheet{display:none}
.gal-c .moments{display:block}
.mo{min-height:74svh;display:grid;align-content:center;gap:10px;opacity:.22;transition:opacity .7s var(--e)}
.mo.on{opacity:1}
.mo .no{direction:ltr;unicode-bidi:isolate;justify-self:start;font:500 12px/1 var(--body);letter-spacing:.12em;color:var(--seal);font-variant-numeric:tabular-nums}
.mo b{font:300 clamp(30px,3vw,44px)/1.1 var(--disp);color:var(--fg);text-wrap:balance}
.mo span:last-child{font-size:16px;line-height:1.5;color:var(--fg-2)}
.gal-c .honest{padding-bottom:20svh}
.honest{font-size:13px;line-height:1.5;color:var(--fg-3);margin:0}

/* 5 · closing */
.c5{justify-items:center;text-align:center;align-content:center;padding-bottom:70px}
.c5 .anc{width:min(46svh,400px);aspect-ratio:1;height:auto;margin-bottom:-2svh}
.cflw{position:relative;width:clamp(110px,10vw,160px);aspect-ratio:6/7;margin-top:6px;opacity:0;transition:opacity 1.2s}
.cflw.is-on{opacity:1}
.cflw iframe{position:absolute;inset:-28%;width:156%;height:156%;border:0;background:transparent;color-scheme:normal}
.next{display:grid;justify-items:center;margin-top:10px;text-decoration:none;color:var(--fg)}
.next-k{font:500 13px/1 var(--body);letter-spacing:.06em;color:var(--fg-3)}
[lang="en"] .next-k{font-size:12px;letter-spacing:.2em;text-transform:uppercase}
.next-k b{display:inline-block;transition:transform .3s var(--e)}
.next:hover .next-k b{transform:translateX(5px)}[dir="rtl"] .next:hover .next-k b{transform:translateX(-5px)}
.nalice{display:block;width:150px;margin-top:10px;transition:transform .4s var(--e)}
.nalice svg{width:100%;height:auto;display:block}
.next:hover .nalice{transform:translateY(-4px)}
.btns{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:22px}
.btn{position:relative;overflow:hidden;isolation:isolate;display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border-radius:999px;box-shadow:inset 0 0 0 1.5px var(--ink);color:var(--ink);text-decoration:none;font:500 14px/1 var(--body);transition:color .45s var(--e)}
.btn::before{content:"";position:absolute;left:var(--px,50%);top:var(--py,50%);width:260%;aspect-ratio:1;border-radius:50% 46% 53% 44%;background:var(--ink);transform:translate(-50%,-50%) scale(0);transition:transform .6s var(--e);z-index:-1}
.btn:hover::before,.btn.fill::before{transform:translate(-50%,-50%) scale(1)}
.btn:hover,.btn.fill{color:var(--paper)}
.tools{font-size:13px;color:var(--fg-3);margin-top:34px;max-width:46em}

@media (max-width:860px){
  .top{height:52px}.me span{display:none}.top-r{gap:14px}.snd span{display:none}
  .ch{padding:78px var(--gut) 48px}
  .c0,.c1,.c2,.c3{grid-template-columns:1fr;gap:20px;align-content:center}
  .c0{justify-items:center;text-align:center;gap:14px}.c0 .sub{margin-inline:auto}.cov0{order:-1;height:min(46svh,118vw)}
  .c1 .anc{width:min(70vw,34svh);order:-1}
  .stk{display:none}.st,.st.intro,.st:last-child{min-height:auto;padding:6svh 0}.st .sa{display:block;width:min(78vw,40svh);aspect-ratio:1;margin:0 auto 14px}
  .c5 .anc{width:min(72vw,38svh)}
  .c3 .stage3{order:-1;height:34svh}
  .seg{display:flex;width:100%}.seg button{flex:1;justify-content:center;gap:6px;padding:11px 6px;font-size:12.5px;white-space:nowrap}
  .q{margin-top:18px}
  .c4 .hd{grid-template-columns:1fr}.c4 .hd p{padding:0}
  .gal{grid-template-columns:1fr;gap:22px}.feat{--h:min(50svh,108vw)}.story{max-width:none;gap:18px}.cap{min-height:4.4em}.cap b{font-size:24px}
  .gal-c .feat{top:56px;height:auto;padding:10px 0 14px}.gal-c .feat{--h:min(44svh,96vw)}.mo{min-height:58svh;align-content:end;padding-bottom:6svh;opacity:0}.mo.on{opacity:1}.mo b{font-size:28px}
}
@media (prefers-reduced-motion:reduce){.w{-webkit-mask:none;mask:none}.dev{--m:360%}.ph{transition:none}.t{transition:none}}
/* night 4.11 (mobile): the credits and the honest note read at 14px on a phone */
@media (max-width:560px){.honest,.tools{font-size:14px;line-height:1.55}}

/* R11 (Moshe on his iPhone: the book "suddenly appears"): on a touch screen the file doesn't open through the animated ink mask
   (a full-size mask redrawn every frame over the 3D book) but rises in on the compositor alone: opacity and a breath of scale */
@media (hover:none),(pointer:coarse){
  .dev{-webkit-mask:none!important;mask:none!important;opacity:0;transform:scale(.965);transition:opacity .9s var(--e),transform 1.2s var(--e)}
  .dev.in{opacity:1;transform:none}
}
