/* d.aayush
   One character, a dot, walks the whole page: a daylight hero, a trailer in a dark cinema, posters on a
   dark wall, then the lights come up on a magazine and an issue the visitor writes.
   Fredoka, always lowercase, is d.aayush talking. Anton is the film on the screen. Imbue, always
   uppercase, is the press.
   The plain page comes first: without script, or with reduced motion, every scene is laid out flat and
   readable. When main.js is running the root gets .live, and the scroll drives the scenes. */

/* The three fonts live next to the page, cut down to the letters an English page uses, so they load
   with it instead of from another server. */
@font-face{font-family:'Fredoka';font-style:normal;font-weight:400 700;font-stretch:100% 108%;font-display:swap;src:url(fonts/fredoka.woff2) format('woff2');unicode-range:U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DC, U+2010-2027, U+2030-203A, U+2044, U+20AC, U+2122, U+2190-2193, U+2212}
@font-face{font-family:'Imbue';font-style:normal;font-weight:300 500;font-display:swap;src:url(fonts/imbue.woff2) format('woff2');unicode-range:U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DC, U+2010-2027, U+2030-203A, U+2044, U+20AC, U+2122, U+2190-2193, U+2212}
@font-face{font-family:'Anton';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/anton.woff2) format('woff2');unicode-range:U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DC, U+2010-2027, U+2030-203A, U+2044, U+20AC, U+2122, U+2190-2193, U+2212}
/* the screenplay on the third poster: GNU FreeMono (GPL, with the font exception), cut down the same way */
@font-face{font-family:'FreeMono';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/mono.woff2) format('woff2');unicode-range:U+0020-007E, U+00A0, U+00B7, U+2013-2014, U+2018-2019, U+201C-201D, U+2026}


:root{
  --bone:#ecebe7; --bone-2:#e1dfd9; --olive:#38450f; --olive-2:#56612f; --olive-3:#2c370a; --olive-4:#4b5a20;
  --night:#0f100c; --night-ink:#ecebe7; --night-soft:#8e897d;
  --tan:#bda38b; --tan-2:#a98f77; --tan-ink:#1c150d;
  --red:#e2261c; --paper:#ecebe7; --paper-ink:#232c08; --paper-soft:#232c08;
  /* the magazine's paper grain: a tile of fine noise in the ink's colour, faint */
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .14 0 0 0 0 .17 0 0 0 0 .03 .55 0 0 0 -.22'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
  --screen:#050505; --rated:#1f6b3b;
  --face:'Fredoka', ui-rounded, 'Arial Rounded MT Bold', 'Segoe UI', system-ui, sans-serif;
  --serif:'Imbue', 'Bodoni 72', 'Didot', Georgia, serif;
  --film:'Anton', 'Arial Narrow', sans-serif;
  --mono:'FreeMono', 'Courier New', Courier, monospace;
  --m:max(16px, 2.5vw);
  --gap:clamp(16px, 1.7vw, 28px);
  --s-small:clamp(.875rem, .85rem + .1vw, .9375rem);
  --s-body:clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --s-lead:clamp(1.375rem, 1rem + 1.25vw, 2.125rem);
  --s-head:clamp(3.5rem, 1.6rem + 8.4vw, 10.5rem);
  --s-name:23vw;
  --e:cubic-bezier(.2,.7,.2,1);
  --out:cubic-bezier(.16,1,.3,1);
  color-scheme:light;
}
/* big screens: the whole page scales up from a 1700px layout instead of leaving small text in a wide room */
@media (min-width:1700px){ html{font-size:.9412vw} }

*{box-sizing:border-box}
html{background:var(--bone);scrollbar-color:var(--olive) var(--bone);-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media (prefers-reduced-motion:no-preference){ html{scroll-behavior:smooth} }
html.rec{scroll-behavior:auto}
/* the ground colour lives on the page itself (main.js fades it from day to night to olive), so the body stays clear.
   Said out loud, because the artifact host gives the body a white background of its own */
body{margin:0;background:transparent;color:var(--olive);font-family:var(--face);font-size:var(--s-body);line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
::selection{background:var(--olive);color:var(--bone)}
.night-zone ::selection{background:var(--tan);color:var(--night)}
.olive-zone ::selection{background:var(--bone);color:var(--olive)}
input{caret-color:currentColor}
a{color:inherit}
:focus-visible{outline:3px solid currentColor;outline-offset:4px;border-radius:6px}
.wrap{padding-left:max(var(--m), env(safe-area-inset-left, 0px));padding-right:max(var(--m), env(safe-area-inset-right, 0px))}
h1,h2,h3,p,ul,figure{margin:0}
h1,h2{font-weight:700;letter-spacing:-.05em;line-height:.98;text-wrap:balance}
p{text-wrap:pretty}
.disp{font-family:var(--serif);font-weight:400;text-transform:uppercase;letter-spacing:-.005em;line-height:.9}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.btn{display:inline-flex;align-items:center;justify-content:center;min-height:3rem;padding:0 1.625rem;border-radius:999px;border:0;background:var(--olive);color:var(--bone);font:500 var(--s-body)/1 var(--face);text-decoration:none;white-space:nowrap;cursor:pointer;transition:transform .18s var(--e), background-color .18s}
.btn:hover{background:var(--olive-3)}
.btn:active{transform:scale(.96)}
.olive-zone .btn{background:var(--bone);color:var(--olive)}
.olive-zone .btn:hover{background:#ffffff}
.skiplink{position:fixed;left:max(16px, env(safe-area-inset-left, 0px));top:12px;z-index:70;padding:12px 18px;border-radius:999px;background:var(--olive);color:var(--bone);font-weight:500;text-decoration:none;transform:translateY(-180%);transition:transform .2s var(--e)}
.skiplink:focus{transform:none}

/* the three grounds. Without script each section keeps its own; with it, the scroll moves one ground between them */
.night-zone{background:var(--night);color:var(--night-ink)}
.olive-zone{background:var(--olive);color:var(--bone)}
.live .night-zone,.live .olive-zone{background:transparent}

/* the full stops the dot stands in for, and the glyph that shows without script */
.slot{display:inline-block;position:relative}
.islot{display:inline-block;width:.25em;text-indent:.01em}
.live .slot,.live .islot{color:transparent}
.live .slot.stamped,.live .islot.stamped{color:inherit}
.bl{display:inline-block;width:0;height:0;vertical-align:baseline}

/* nav and hero */
.nav{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:1.375rem}
.mark{font-weight:600;font-size:1.375rem;letter-spacing:-.03em;text-decoration:none}
.nav ul,.mnav ul{display:flex;align-items:center;gap:clamp(16px,2.4vw,40px);margin:0;padding:0;list-style:none}
.nav li a:not(.btn),.mnav li a:not(.pill){text-decoration:none;font-weight:500}
.nav li a:not(.btn):hover,.mnav li a:not(.pill):hover{text-decoration:underline;text-underline-offset:4px}
.hero{min-height:calc(100svh - 5.875rem);display:grid;grid-template-rows:auto auto 1fr auto;padding-bottom:1.75rem}
.name{font-size:var(--s-name);font-variation-settings:'wdth' 108;margin-left:-.04em;margin-top:2vh;white-space:nowrap}
.name-in{display:inline-block}
.name .slot{padding:0 .035em}
.name .nl{display:none}
/* with motion, the letters are blocks the dot can knock over (main.js); a fallen one may hang past the edge */
.live .hero{overflow-x:clip}
.live .name .lt{display:inline-block;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hero-sub{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--gap);align-items:end;margin-top:2.5rem}
.hero-sub .lead{grid-column:1 / span 7;max-width:24ch}
.lead{font-size:var(--s-lead);line-height:1.3;letter-spacing:-.02em;font-weight:500}
.facts{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 32px;align-self:end;color:var(--olive-2);font-weight:500}
.facts .hint{color:var(--olive);visibility:hidden}
.live .facts .hint{visibility:visible}

/* the opening: the name rises out of its own baseline, then the rest of the hero settles in.
   .intro is set before first paint by the head of index.html, and main.js adds .go once the font is in */
.intro .name{clip-path:inset(-30% -6% -26% -6%)}
.intro .name-in{transform:translateY(140%)}
.intro .nav,.intro .hero-sub,.intro .facts{opacity:0;transform:translateY(14px)}
.intro.go .name-in{transform:none;transition:transform 1.3s var(--out)}
.intro.go .nav{opacity:1;transform:none;transition:opacity .8s .45s, transform 1s .45s var(--out)}
.intro.go .hero-sub{opacity:1;transform:none;transition:opacity .8s .6s, transform 1s .6s var(--out)}
.intro.go .facts{opacity:1;transform:none;transition:opacity .8s .9s, transform 1s .9s var(--out)}

/* the small menu that comes back when you scroll up (needs script, so it's hidden without) */
.mnav{position:fixed;left:0;right:0;top:0;z-index:30;display:none;align-items:center;justify-content:space-between;gap:24px;height:3.75rem;background:var(--g, var(--bone));color:var(--gi, var(--olive));box-shadow:0 12px 24px -20px rgba(0,0,0,.55);transform:translateY(-110%);visibility:hidden;transition:transform .35s var(--e), visibility 0s .35s}
.js .mnav{display:flex}
.mnav.on{transform:none;visibility:visible;transition:transform .35s var(--e), visibility 0s}
.mnav .mark{font-size:1.25rem}
.mnav .pill{display:inline-flex;align-items:center;min-height:2.5rem;padding:0 1.125rem;border-radius:999px;background:var(--gi, var(--olive));color:var(--g, var(--bone));font-weight:500;text-decoration:none;transition:transform .18s var(--e)}
.mnav .pill:active{transform:scale(.96)}

/* the cinema. Without motion it's the trailer as a strip of stills. With it, the page you were reading pulls back and
   turns out to be the screen of a cinema: the dot hops out of the slide into a seat in the front row, the house lights
   go down and the trailer plays by itself, on a clock (main.js), so it doesn't take any scrolling. Scroll on and the
   dot jumps back into the screen and the camera follows it through, into the lobby where the posters hang */
.trailer{position:relative;padding-block:clamp(64px,10vh,120px)}
.screen{color:var(--night-ink)}
.room,.proj{display:contents}
.hole,.hall,.stalls,.slide,.beam,.dust,.sbar,.flash{display:none}
.frame{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,21rem),1fr));gap:12px;padding-inline:var(--m)}
.film{font-family:var(--film);font-weight:400;text-transform:uppercase;letter-spacing:.004em;line-height:.93;text-wrap:balance;color:#f1f1ef}

/* The shots: title cards in big condensed capitals, and footage of this site. Everything in a shot is sized in units
   of the screen (cqw), and main.js moves it: a slow push in, words cut in on the beat, a pan across the footage */
.shot{position:relative;display:grid;place-items:center;overflow:hidden;aspect-ratio:16 / 9;background:#060606;container-type:size;text-align:center}
.shot picture{display:contents}
.shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.shot .film{margin:0;max-width:88%;font-size:8.4cqw;line-height:1.1}
.shot .film span{display:block}
[data-k="cv"] .l2{color:var(--red)}
.title .film{display:inline-grid;justify-items:start;max-width:none;font-size:11.2cqw;line-height:1.06}
.title .t1,.title .t3{white-space:nowrap}
.title i{display:inline-block;font-style:normal}
/* the full stop on the title is the dot itself, eyes and all */
.fs{position:relative;display:inline-block;width:.25em;height:.25em;margin-left:.07em;border-radius:50%;background:#f1f1ef;transform-origin:50% 100%}
.fs i{position:absolute;top:33%;width:16%;height:24%;border-radius:50%;background:#060606;transform:scaleY(var(--blink, 1))}
.fs i:first-child{left:27%}.fs i:last-child{right:27%}
[data-k="end"] .cs{font-size:12.6cqw;line-height:1.02}
[data-k="end"] .tn{margin-top:.8em;font-size:3.6cqw;letter-spacing:.12em}
/* a tall screen (a phone): bigger type for the width */
@container (max-aspect-ratio: 23 / 20){
  .shot .film{font-size:12.6cqw}
  .title .film{font-size:16.6cqw}
  [data-k="end"] .cs{font-size:18cqw}
  [data-k="end"] .tn{font-size:6.2cqw;letter-spacing:.06em}
}

/* ---- the live cinema ---- */
.live .trailer{height:380vh;padding:0;z-index:2}
/* the posters come up behind the screen, so the dot can jump through it into the lobby */
.live .work{position:relative;z-index:1;margin-top:-100vh;transform-origin:0 0}
.live .screen{position:sticky;top:0;height:100svh;overflow:hidden;display:block;pointer-events:none;
  --sw:min(76vw, (100svh - 310px) * 2.1);--sh:calc(var(--sw) / 2.1);--sy:max(80px, 11svh);--bunch:calc(var(--sw) * .06);--wall:#0d0e0a}
.live .room{display:block;position:absolute;inset:0;transform-origin:50% calc(var(--sy) + var(--sh) / 2)}
/* the walls, solid all round, with a window where the screen is: at the end the posters show through it */
.live .hole{display:block;position:absolute;left:calc(50% - var(--sw) / 2);top:var(--sy);width:var(--sw);height:var(--sh);box-shadow:0 0 0 200vmax var(--wall)}

/* the hall: the light the picture throws on the walls, the house lights (washers on the side walls, nearer ones
   bigger, each going down in its turn), a warm haze while they're up, and an exit sign */
.live .hall{display:block;position:absolute;inset:0}
.live .hall::before,.live .hall::after{content:"";position:absolute;inset:0;pointer-events:none}
.live .hall::before{background:radial-gradient(72% 64% at 50% calc(var(--sy) + var(--sh) * .5), var(--spill-c, #ffffff), transparent 74%);opacity:var(--spill, 0)}
.live .hall::after{background:radial-gradient(90% 70% at 50% 100%, rgba(255,196,128,.16), rgba(255,196,128,0) 70%), radial-gradient(60% 50% at 50% 0, rgba(255,214,160,.1), rgba(255,214,160,0));opacity:calc(1 - var(--ld, 0))}
.live .wash{--on:clamp(0, (var(--t) + .5 - var(--ld, 0)) / .5, 1);position:absolute;top:calc(var(--sy) + var(--sh) * (.04 + .14 * (1 - var(--k))));left:calc((50% - var(--sw) / 2 - var(--bunch)) * var(--x));width:calc(var(--sh) * .74 * var(--k));height:calc(var(--sh) * 1.9 * var(--k));translate:-50% -28%;opacity:var(--on);
  background:radial-gradient(50% 50% at 50% 28%, rgba(255,204,140,.5), rgba(255,204,140,.16) 46%, rgba(255,204,140,0) 74%)}
.live .wash::after{content:"";position:absolute;left:50%;top:28%;width:16%;height:2.4%;min-height:3px;translate:-50% -50%;border-radius:3px;background:#ffe6c0;box-shadow:0 0 calc(var(--sh) * .03 * var(--k)) calc(var(--sh) * .008 * var(--k)) rgba(255,214,150,.7)}
.live .wash.rt{left:auto;right:calc((50% - var(--sw) / 2 - var(--bunch)) * var(--x));translate:50% -28%}
.live .exit{position:absolute;right:calc((50% - var(--sw) / 2 - var(--bunch)) * .5);top:calc(var(--sy) + var(--sh) * .84);translate:50% 0;padding:.3em .55em;border-radius:2px;background:#0d2617;box-shadow:0 0 0 1.5px #1f4d31, 0 0 1.4em rgba(70,210,120,.22);font:700 clamp(.6875rem, .5rem + .4vw, 1rem)/1 var(--face);letter-spacing:.14em;text-transform:uppercase;color:#7cf2a8;text-shadow:0 0 6px rgba(110,240,160,.8)}

/* the screen in its black border, and the front of the stage under it */
.live .proj{display:block;position:absolute;left:calc(50% - var(--sw) / 2);top:var(--sy);width:var(--sw);height:var(--sh);container-type:size;background:#000;box-shadow:0 0 0 max(3px, calc(var(--sw) * .007)) #030303}
.live .thru .proj{background:transparent}
.live .proj::after{content:"";position:absolute;left:calc(var(--bunch) * -1);right:calc(var(--bunch) * -1);top:calc(100% + var(--sh) * .028);height:max(5px, calc(var(--sh) * .02));border-radius:2px;background:#1a1b15;box-shadow:inset 0 1px 0 rgba(255,232,196,calc(.05 + (1 - var(--ld, 0)) * .14))}
/* the slide before the picture: the page you were reading, still. It fades as the projector takes over */
.live .slide{display:grid;position:absolute;inset:0;z-index:1;place-items:center;padding:0 8%;background:var(--bone);opacity:var(--slide, 1)}
.live .slide p{margin:0;font-weight:700;letter-spacing:-.045em;line-height:.95;text-align:center;text-wrap:balance;font-size:6.4cqw;color:var(--olive)}
@container (max-aspect-ratio: 23 / 20){ .live .slide p{font-size:11.6cqw} }
.live .frame{display:block;position:absolute;inset:0;padding:0;background:#000;overflow:hidden}
.live .thru .frame{background:transparent}
.live .shot{position:absolute;inset:0;aspect-ratio:auto;visibility:hidden}
.live .shot.on{visibility:visible}
.live .shot .film,.live .reel img{will-change:transform}
/* the light falling off towards the edges of the screen, which comes in as the camera pulls back (up close, the slide
   is just the page you were reading), and film grain over the picture once it's on */
.live .frame::before,.live .frame::after{content:"";position:absolute;pointer-events:none;z-index:3}
.live .frame::before{inset:0;background:radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0) 60%, rgba(0,0,0,.42));opacity:var(--pj, 1)}
.live .frame::after{inset:-48px;background-image:var(--grain, none);background-size:128px 128px;opacity:0;transition:opacity .4s;animation:grain .56s steps(1) infinite;animation-play-state:paused}
.live .frame.pic::after{opacity:.45}
.live .frame.roll::after{animation-play-state:running}
.live .thru .frame::before,.live .thru .frame::after{opacity:0}
@keyframes grain{0%{transform:translate(0,0)}20%{transform:translate(-21px,13px)}40%{transform:translate(17px,-24px)}60%{transform:translate(-9px,29px)}80%{transform:translate(26px,6px)}}
/* a white frame on the big hits */
.live .flash{display:block;position:absolute;inset:0;z-index:4;pointer-events:none;background:#f6f3ea;opacity:0}

/* the projector's beam over our heads, and the dust in it */
.live .beam{display:block;position:absolute;left:0;right:0;top:0;height:var(--sy);pointer-events:none;opacity:calc(var(--sl, 0) * .22);background:linear-gradient(var(--spill-c, #ffffff), rgba(255,255,255,.08));
  clip-path:polygon(calc(50% - var(--sw) * .09) 0, calc(50% + var(--sw) * .09) 0, calc(50% + var(--sw) * .5) 100%, calc(50% - var(--sw) * .5) 100%)}
.live .dust{display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}

/* the seats: curved rows drawn by main.js, three times over. Dark shapes against the light, the same rows in red
   velvet under the house lights, and the light off the screen catching the tops of the backs. They're nearer the
   camera than the screen, so when it moves they move more (main.js scales them a little further) */
.live .stalls{display:block;position:absolute;inset:0;pointer-events:none;transform-origin:50% calc(var(--sy) + var(--sh) / 2)}
.live .rows{display:block;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none}
.live .rows.lights{opacity:calc(1 - var(--ld, 0))}
.live .rows.glint{background:var(--spill-c, #ffffff);-webkit-mask:var(--glint, none) 0 0 / 100% 100% no-repeat;mask:var(--glint, none) 0 0 / 100% 100% no-repeat;opacity:var(--gl, 0)}
.live .myseat{display:block;position:absolute;height:0}

/* what's playing, and the controls */
.live .sbar{display:flex;position:absolute;left:0;right:0;top:0;z-index:5;align-items:center;gap:clamp(10px,1.4vw,20px);padding-block:14px;opacity:0;pointer-events:none;transition:opacity .45s}
.live .sbar.on{opacity:1;pointer-events:auto}
.sbar .mark{flex:none;font-size:1.25rem}
.prog{flex:1;min-width:40px;height:3px;border-radius:3px;background:#2a2b24;overflow:hidden}
.prog i{display:block;height:100%;background:var(--red);transform-origin:0 50%;transform:scaleX(0)}
.tb{flex:none;display:inline-flex;align-items:center;min-height:2.5rem;padding:0 1.1rem;border:0;border-radius:999px;background:#26271f;color:var(--night-ink);font:500 var(--s-body)/1 var(--face);text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color .2s, transform .18s var(--e)}
.tb:hover{background:#34352c}
.tb:active{transform:scale(.96)}
/* keyboard users can reach the controls before the picture starts */
.live .sbar:has(:focus-visible){opacity:1;pointer-events:auto}
/* the trailer shows one shot at a time, so screen readers get the whole script instead */
html:not(.live) #transcript{display:none}

/* coming attractions: the projects as three posters in lightbox cases on a dark lobby wall. The dot is the lamp
   that switches each case on (main.js adds .lit when it gets there); until then a poster is only as lit as the dot
   is near. Everything on a poster is sized in cqw, so it scales like one printed sheet */
.work{padding-block:clamp(120px,18vh,220px) clamp(110px,16vh,200px);overflow-x:clip}   /* the light a case spills on the wall can reach past the screen's edge */
.head{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--gap);align-items:end;margin-bottom:clamp(56px,8vw,120px)}
.head h2{grid-column:1 / span 8;font-size:clamp(3.5rem, 1.2rem + 7.4vw, 9.5rem);text-wrap:balance}
.head .side{grid-column:9 / span 4}
.head p{font-weight:500;max-width:34ch}
.work .head p{color:var(--night-ink)}
.work .head .psst{margin-top:14px;color:var(--night-ink);display:none}
.live .work .head .psst{display:block}

/* the wall: a zig-zag down the page, one case at a time, on a phone or a tablet held upright; three across and
   stepping down on a wide screen */
.lobby{display:grid;grid-template-columns:minmax(0,1fr);row-gap:clamp(48px,8vh,88px);align-items:start}
.feat{position:relative;isolation:isolate;container-type:inline-size;width:min(86%, 92vh);justify-self:start}
.s1{grid-row:1}.s2{grid-row:2;justify-self:end}.s3{grid-row:3}

/* the case: a dark metal frame round the sheet, glass over it */
.case{position:relative;padding:2.4cqw;border-radius:1.2cqw;background:linear-gradient(155deg,#46473f,#25261f 28%,#16170f 62%,#2b2c24);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),inset 0 0 0 1px rgba(0,0,0,.6),0 4cqw 8cqw -3cqw rgba(0,0,0,.9)}
.case::after{content:"";position:absolute;inset:2.4cqw;z-index:4;pointer-events:none;background:linear-gradient(116deg,rgba(255,255,255,.085) 0 16%,rgba(255,255,255,0) 16.2% 57%,rgba(255,255,255,.04) 57.2% 63%,rgba(255,255,255,0) 63.2%);box-shadow:inset 0 .8cqw 1.6cqw rgba(0,0,0,.5),inset 0 0 0 1px rgba(0,0,0,.45)}
.sheet{position:relative;aspect-ratio:2 / 3;overflow:hidden;container-type:inline-size;background:var(--olive);color:var(--bone)}
.sheet > *{position:absolute}
/* backlit: a touch brighter in the middle, darker at the edges */
.sheet::before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(70% 50% at 50% 42%,rgba(255,248,230,.07),rgba(255,248,230,0) 72%),radial-gradient(135% 100% at 50% 45%,rgba(0,0,0,0) 56%,rgba(0,0,0,.32))}
/* the switch. Off: the sheet sits in the dark. On: it flickers up like a tube and spills light onto the wall */
.sheet::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background:#050604;opacity:var(--dim, 0)}
.feat::before{content:"";position:absolute;z-index:-1;inset:-14% -26% -10%;pointer-events:none;background:radial-gradient(closest-side,var(--spill),rgba(0,0,0,0))}
.s1{--spill:rgba(160,186,92,.26)}.s2{--spill:rgba(246,214,168,.24)}.s3{--spill:rgba(238,236,226,.18)}
.live .feat{--dim:.86}
.live .feat:not(.lit)::before{opacity:0}
.live .lit::before{animation:spill 1.2s steps(1,end) var(--wait, 0s) both}
.live .lit .sheet::after{animation:lighton 1.2s steps(1,end) var(--wait, 0s) both}
@keyframes lighton{0%{opacity:var(--dim)}8%{opacity:.16}12%{opacity:.86}26%{opacity:.3}30%{opacity:.86}44%{opacity:.06}49%{opacity:.48}64%,100%{opacity:0}}
@keyframes spill{0%{opacity:0}8%{opacity:.8}12%{opacity:0}26%{opacity:.62}30%{opacity:0}44%{opacity:.92}49%{opacity:.45}64%,100%{opacity:1}}
/* the plate under each case */
.plate{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.2em 1em;margin-top:clamp(14px,1.5vw,24px)}
.plate b{font-family:var(--serif);font-weight:400;text-transform:uppercase;letter-spacing:.06em;line-height:1;font-size:clamp(1.25rem, .95rem + .8vw, 1.875rem);color:var(--night-ink)}
.plate span{font-weight:500;color:var(--night-ink)}

/* on the sheets */
.art{inset:0;width:100%;height:100%;display:block}
.who{font-weight:500;font-size:3.3cqw;line-height:1.2;letter-spacing:.01em}
.pt{font-size:17cqw;line-height:.86;letter-spacing:0;white-space:nowrap}
.sheet .tag{font-weight:500;font-size:3.6cqw;line-height:1.25}
.sheet .tt{left:4cqw;right:4cqw;text-align:center}
.billing{left:8cqw;right:8cqw;font-size:4.1cqw;line-height:1.1;letter-spacing:.012em;text-align:center;text-wrap:balance;color:inherit}
.billing span{font-family:var(--face);font-weight:500;font-size:.6em;letter-spacing:.02em;text-transform:lowercase;vertical-align:.12em;margin-inline:.12em}

/* 1. this website: the star, in a halo of smaller and smaller dots */
.halo{left:0;top:4cqw;width:100cqw;height:100cqw;display:block;-webkit-mask-image:linear-gradient(#000 60%,rgba(0,0,0,0) 88%);mask-image:linear-gradient(#000 60%,rgba(0,0,0,0) 88%)}
.live .s1.lit .halo{animation:turn 160s linear infinite}
@keyframes turn{to{transform:rotate(1turn)}}
.peep ellipse{transform-box:fill-box;transform-origin:center}
.live .s1.lit .peep ellipse{animation:wink 5.5s 2s infinite}
@keyframes wink{0%,93%,100%{transform:none}96%{transform:scaleY(.12)}}
.s1 .tag{left:0;right:0;top:4.4cqw;text-align:center}
.s1 .tt{top:94cqw}
.s1 .pt{margin-top:1.6cqw}
.s1 .billing{top:120.5cqw}
.smallprint{left:5cqw;right:5cqw;bottom:3.6cqw;display:flex;justify-content:center;align-items:center;gap:0 2.6cqw;font-size:2.2cqw;font-weight:600;text-transform:uppercase;letter-spacing:.08em;line-height:1;white-space:nowrap}
.smallprint b{display:inline-flex;align-items:center;gap:.6em;font-weight:700}
.smallprint i{width:1.5em;height:1.5em;border-radius:50%;background:currentColor}

/* 2. project two: an empty spotlight with a mark on the floor. The dot stands in on it until a project turns up */
.s2 .sheet{background:#120d08;color:#e8d2b5}
.s2 .who{left:0;right:0;top:5.6cqw;text-align:center}
.seat{left:50%;top:83cqw;width:2px;height:0;margin-left:-1px}
.motes{inset:0;pointer-events:none}
.motes i{position:absolute;width:.8cqw;height:.8cqw;border-radius:50%;background:#f6e3c8;opacity:.4}
.motes i:nth-child(1){left:47%;top:12%}.motes i:nth-child(2){left:53%;top:21%}.motes i:nth-child(3){left:44%;top:30%}.motes i:nth-child(4){left:57%;top:36%}.motes i:nth-child(5){left:50%;top:43%}.motes i:nth-child(6){left:40%;top:47%}.motes i:nth-child(7){left:61%;top:27%}
.live .s2 .motes i{opacity:0}
.live .s2.lit .motes i{animation:mote 11s linear infinite}
.live .s2.lit .motes i:nth-child(2n){animation-duration:14s;animation-delay:-5s}
.live .s2.lit .motes i:nth-child(3n){animation-duration:9s;animation-delay:-3s}
@keyframes mote{0%{opacity:0;transform:none}20%{opacity:.75}80%{opacity:.55}100%{opacity:0;transform:translate(4cqw,-16cqw)}}
.s2 .tt{top:100.5cqw}
.s2 .tag{margin-top:2.6cqw;font-size:3.8cqw}
.s2 .billing{top:126.5cqw}
.sheet .call{left:7cqw;right:7cqw;bottom:4.4cqw;display:flex;justify-content:space-between;align-items:center;gap:2cqw}
.sheet .call .film{font-size:4.6cqw;letter-spacing:.06em;color:#ff5a44}
.sheet .call a{position:relative;font-size:3.8cqw;font-weight:600;line-height:1.2;padding:1.8cqw 3.4cqw;border-radius:999px;background:#e8d2b5;color:#1c150d;text-decoration:none;white-space:nowrap}
.sheet .call a::after{content:" \2192"}
.sheet .call a::before{content:"";position:absolute;inset:-8px}
.sheet .call a:focus-visible{outline-color:#e8d2b5}

/* 3. project three: no poster yet, so the script is pinned up instead, still being typed */
.s3 .sheet{background:#efede5;color:#25261d}
.s3 .sheet::before{background:radial-gradient(135% 100% at 50% 45%,rgba(0,0,0,0) 58%,rgba(70,58,34,.18)),var(--grain);background-size:auto,180px 180px;opacity:.75}
.script{inset:0;padding:12cqw 8cqw 0 11cqw;font-family:var(--mono);font-size:3.72cqw;line-height:1.22;letter-spacing:0}
.script p{margin-top:3.3cqw}
.sc-n{position:absolute;right:8cqw;top:6cqw}
.sc-t{font:inherit;font-size:5.4cqw;text-transform:uppercase;text-align:center;text-decoration:underline;text-decoration-thickness:.08em;text-underline-offset:.2em}
.script .sc-by{text-align:center;margin-top:2.2cqw}
.script .sc-dr{text-align:center;margin-top:2.2cqw;color:#6f6d63}
.script .sc-h{text-transform:uppercase}
.script .sc-dr + .sc-h{margin-top:7cqw}
.script .sc-c{text-transform:uppercase;margin-left:24cqw}
.script .sc-d{position:relative;margin:0 15cqw 0 12cqw}
.script .sc-m{text-transform:uppercase;margin-left:24cqw}
.sheet .ring{position:relative;white-space:nowrap}
.sheet .ring::after{content:"";position:absolute;inset:-.34em -.42em -.3em;border:.4cqw solid #c62b20;border-radius:50%;transform:rotate(-4deg);opacity:.85}
.sheet .pen{position:absolute;left:calc(100% + 1.2cqw);top:-3.4cqw;width:16cqw;font-family:var(--face);font-weight:600;font-size:3.5cqw;line-height:1.05;color:#c62b20;transform:rotate(-9deg)}
.sheet .pen2{left:11cqw;bottom:9cqw;font-family:var(--face);font-weight:600;font-size:4.2cqw;color:#c62b20;transform:rotate(-4deg)}
.sheet .caret{display:inline-block;width:.6em;height:1.02em;margin-left:.06em;vertical-align:-.16em;background:currentColor}
.live .sheet .caret{animation:caret 1.05s steps(1,end) infinite}
@keyframes caret{50%{opacity:0}}

@media (min-width:600px){ .feat{width:min(58%, 560px, 92vh)} }
@media (min-width:960px) and (orientation:landscape){
  .lobby{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:clamp(36px,5vw,104px);row-gap:0}
  .lobby > *{grid-row:1}
  .feat{width:min(100%, calc((100vh - 120px) / 1.48));justify-self:center}
  .s1{grid-column:1}.s2{grid-column:2;margin-top:14vw}.s3{grid-column:3;margin-top:30vw}
}

/* the magazine on the table: issue one, eleven pages, and the rest of the site's story is in it: the interview,
   i dot the i's, what's in the bag, and the reply card for issue two. Without script its pages sit side by side
   in reading order; with it, it lifts off the table and you read it a page at a time, each page turning like
   paper (main.js folds it along a line that sweeps across, so it bends instead of flipping like a card).
   As everywhere else, Imbue in capitals is the magazine talking and Fredoka in lowercase is d.aayush.
   Sizes inside a page are in cqw, a hundredth of the page's width, so every page is the same layout at
   any size. Gradients on the page itself use percentages, which are of the page too. */
.mag{position:relative;padding-block:clamp(72px,10vh,120px)}
.stage{position:relative}
.book{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr));gap:24px;padding-inline:var(--m)}
.bshadow,.edges,.gloss,.fx,.flap{display:none}

/* paper: fine grain, light from the top, and (once it's bound, below) the shade of the spine */
.pg{--gut:linear-gradient(transparent, transparent);--spot:#cf3220;position:relative;container-type:inline-size;aspect-ratio:5 / 7;overflow:hidden;color:var(--paper-ink);background:var(--gut), linear-gradient(172deg, rgba(255,255,255,.16), rgba(255,255,255,0) 42%, rgba(35,44,8,.035)), var(--grain), var(--paper)}
.pg .in{position:absolute;inset:0;display:flex;flex-direction:column;padding:6.2cqw 7.4cqw 5.6cqw;font-size:max(12px, 3.1cqw);line-height:1.5}
/* the small print: running heads, folios, datelines and credits. Never smaller than a phone can read */
.rh,.folio,.kick,.by,.dl,.cl span,.cap span,.otc h3,.staff,.slug,.toc-k,.reply-top,.photo figcaption,.note,.gl b,.paid{font-family:var(--serif);font-weight:500;font-size:max(11px, 2.05cqw);line-height:1.35;letter-spacing:.2em;text-transform:uppercase}
.rh{display:flex;justify-content:space-between;gap:4cqw;padding-bottom:1.8cqw;border-bottom:max(1px, .14cqw) solid rgba(35,44,8,.26)}
.folio{display:flex;justify-content:space-between;align-items:baseline;margin-top:auto;padding-top:3cqw}
.folio b{font-weight:500;font-size:max(12px, 3cqw);letter-spacing:.04em}
.kick{margin-top:7cqw;color:var(--spot)}

/* the cover. The cover star is the dot itself, printed as a halftone and centred under the masthead, with its eyes
   drawn on top so they can look around. The cover lines sit in the two top corners and the title is printed in
   white across the dot's dark lower half */
.cov{background:linear-gradient(90deg, rgba(35,44,8,.1), rgba(35,44,8,0) 1.1%, rgba(35,44,8,0) 2.7%, rgba(35,44,8,.07) 3.05%, rgba(255,255,255,.42) 3.3%, rgba(255,255,255,0) 3.9%), linear-gradient(160deg, rgba(255,255,255,.24), rgba(255,255,255,0) 38%, rgba(35,44,8,.045)), var(--paper)}
.cov .in{padding:4.4cqw 5.6cqw 5cqw 6.4cqw}
.dl{display:flex;justify-content:space-between}
.masthead{margin-top:1.4cqw;font:400 30.6cqw/.8 var(--serif);letter-spacing:-.022em;text-transform:uppercase;text-align:center;white-space:nowrap}
.ct{position:absolute;left:5.6cqw;right:5.6cqw;bottom:20.4cqw;margin:0;font-family:var(--serif);font-weight:400;letter-spacing:normal;line-height:.86;text-transform:uppercase;text-align:center;color:var(--paper)}
.ct span{display:block}
.ct .big span{display:inline}
.ct .the{margin-bottom:2.2cqw;font-size:max(9px, 2.9cqw);font-weight:500;letter-spacing:.4em}
.ct .big{font-size:12.4cqw;letter-spacing:-.01em;white-space:nowrap}
.cl{position:absolute;top:37cqw;left:6.4cqw;right:5.6cqw;display:flex;justify-content:space-between;gap:6cqw;margin:0;padding:0;list-style:none}
.cl li{max-width:34cqw}
.cl li:last-child{text-align:right}
.cl b{display:block;font:500 3.2cqw/1 var(--serif);letter-spacing:.06em;text-transform:uppercase}
.cl span{display:block;margin-top:.9cqw}
.cap{position:absolute;left:5.6cqw;right:5.6cqw;bottom:15.8cqw;margin:0;text-align:center;color:var(--paper)}
.cap b{font-family:var(--serif);font-weight:600;font-size:max(9px, 2.05cqw);letter-spacing:.2em;text-transform:uppercase}
.cap b::after{content:"";display:inline-block;width:3.4cqw;height:max(1px, .14cqw);margin:0 1em;vertical-align:.3em;background:currentColor}
.cov .cl span,.cov .cap span,.cov .dl{font-size:max(9px, 2.05cqw)}
.ean{position:absolute;left:6.4cqw;bottom:4.4cqw;width:17cqw;display:grid;gap:.6cqw;padding:1.4cqw 1.5cqw 1.1cqw;background:#fbfaf6;font:500 max(5.5px, 1.4cqw)/1 var(--serif);letter-spacing:.12em;text-transform:uppercase}
.ean svg{display:block;width:100%;height:auto}
.star{position:absolute;left:-4cqw;top:42cqw;width:108cqw;aspect-ratio:1;pointer-events:none}
/* without script there is no print, so a plain sphere stands in */
.star::before{content:"";position:absolute;inset:2%;border-radius:50%;background:radial-gradient(circle at 29% 24%, #d6d5ca 0, #8a8f69 7%, #4a5420 22%, #2c3609 42%, #232c08 62%)}
.js .star::before{content:none}
.star .ht{position:absolute;inset:0;display:block;width:100%;height:100%}
/* the print is drawn by the script; until then (or without it) there is no image to show, not even a broken one */
.star .ht:not([src]){display:none}
.se{position:absolute;top:34.65%;width:14.4%;height:22.1%;border-radius:50%;overflow:hidden;background:var(--paper);transform:translate(calc(var(--sx, 0) * 2.6cqw), calc(var(--sy, 0) * 1.9cqw))}
.se.l{left:26.96%}.se.r{left:58.64%}
/* happy eyes, as on the dot: a cheek rises from below and leaves an arch. On the dot the cheek is the dot's own
   colour; here it is cut out of the eye, so the printed dots show through it */
.star.happy .se{-webkit-mask:radial-gradient(62% 65% at 50% 109%, transparent 99%, #000 100%);mask:radial-gradient(62% 65% at 50% 109%, transparent 99%, #000 100%)}
@media (prefers-reduced-motion:no-preference){ .se{animation:blink 6.5s infinite} .se.r{animation-delay:.04s} }
@keyframes blink{0%,95%,100%{scale:1 1}97%{scale:1 .1}}

/* page 2, the editor's letter, signed by the dot, with the staff list beside the signature */
.p2 .in{font-size:max(12px, 3.3cqw)}
.ed-h{margin-top:2.6cqw;font:400 12.4cqw/.86 var(--serif);letter-spacing:-.012em;text-transform:uppercase}
.letter{margin-top:5.6cqw}
.letter p + p{margin-top:2.4cqw}
.letter p:first-child::first-letter{float:left;margin:1cqw 2cqw 0 -.2cqw;font:400 17.4cqw/.72 var(--serif);text-transform:uppercase;color:var(--spot)}
.hl{margin:0 -.12em;padding:0 .12em;background:linear-gradient(transparent 60%, rgba(189,163,139,.55) 60%, rgba(189,163,139,.55) 92%, transparent 92%);-webkit-box-decoration-break:clone;box-decoration-break:clone}
.ed-foot{display:grid;grid-template-columns:minmax(0,1fr) 32cqw;gap:5cqw;align-items:end;margin-top:auto;padding-top:4cqw}
.sign{display:grid;gap:1.2cqw}
.sig{font:600 9.4cqw/1 var(--face);letter-spacing:-.045em}
.sig .slot{padding:0 .04em}
.role{max-width:24ch;font-size:max(12px, 2.55cqw);line-height:1.35}
.staff{display:grid;gap:.5cqw;margin:0;padding-top:2cqw;border-top:max(1px, .12cqw) solid rgba(35,44,8,.2)}
.staff div{display:flex;justify-content:space-between;align-items:baseline;gap:2cqw}
.staff dd{margin:0;font:500 max(11px, 2.45cqw)/1.35 var(--face);letter-spacing:0;text-transform:none}

/* page 3, contents: the features in this issue with their real page numbers, then the rest of the site */
.toc-h{margin-top:4cqw;font:400 13.2cqw/.82 var(--serif);letter-spacing:-.02em;text-transform:uppercase}
.toc-k{margin:4.6cqw 0 1.2cqw;color:var(--spot)}
.toc{margin:0;padding:0;list-style:none}
.toc a{display:grid;grid-template-columns:9cqw minmax(0,1fr);column-gap:2cqw;align-items:baseline;padding:.9cqw 0 1cqw;border-top:max(1px, .12cqw) solid rgba(35,44,8,.2);color:inherit;text-decoration:none}
.toc li:last-child a{border-bottom:max(1px, .12cqw) solid rgba(35,44,8,.2)}
.toc b{grid-row:span 2;font:400 5.4cqw/.9 var(--serif);letter-spacing:.01em;font-variant-numeric:tabular-nums;color:var(--spot)}
.toc span{font:500 max(12px, 2.95cqw)/1.1 var(--serif);letter-spacing:.07em;text-transform:uppercase}
.toc i{margin-top:.4cqw;font-style:normal;font-size:max(12px, 2.55cqw);line-height:1.3}
.toc.also a{grid-template-columns:minmax(0,1fr) auto;column-gap:3cqw;padding:.9cqw 0 1cqw}
.toc.also i{margin:0;text-align:right}
.toc a:hover span,.toc a:focus-visible span{text-decoration:underline;text-decoration-thickness:max(1px, .14cqw);text-underline-offset:.22em}
.toc a:focus-visible{outline-offset:2px}
.toc-foot{display:grid;grid-template-columns:11cqw minmax(0,1fr);gap:3.4cqw;align-items:center;margin-top:auto;padding-top:2.8cqw}
.otc h3{margin-bottom:.8cqw}
.otc p{max-width:34ch;font-size:max(12px, 2.55cqw);line-height:1.35}
/* a contact print of the cover star */
.star.thumb{position:relative;left:auto;top:auto;width:11cqw;display:block}
.thumb .se{transform:none}

/* printed photographs: drawn by main.js as a halftone, in the magazine's one ink, from a picture it carries */
.photo{position:relative;margin:0}
.photo .ht{display:block;width:100%;height:100%;background:#e4e2db}
.photo .ht.inked{background:none}
.photo figcaption{margin-top:1.4cqw}

/* page 4, the interview opens on a picture of d.aayush at home, which is to say, the homepage */
.p4 .photo{height:58cqw;margin:4.2cqw -7.4cqw 0}
.p4 .photo figcaption{padding:0 7.4cqw;text-align:right}
.op-h{margin-top:4.2cqw;font:400 18cqw/.88 var(--serif);letter-spacing:-.025em;text-transform:uppercase}
.op-h span{display:block}
.deck{margin-top:4cqw;font:400 max(12px, 3.4cqw)/1.28 var(--serif);letter-spacing:.035em;text-transform:uppercase}
.by{margin-top:2.8cqw}

/* page 5, the questions in the magazine's voice and the answers in d.aayush's. The dot is the last full stop */
.p5 .in{font-size:max(12px, 3.4cqw)}
.qa{display:grid;gap:4.6cqw;margin-top:6.4cqw}
.qa h3{margin-bottom:1.3cqw;font:500 max(11px, 2.85cqw)/1.2 var(--serif);letter-spacing:.09em;text-transform:uppercase}
.qa h3::before{content:"";display:inline-block;width:1.6cqw;height:1.6cqw;margin-right:1.6cqw;border-radius:50%;background:var(--spot);vertical-align:.08em}
/* room for the dot, which is wider than a full stop; once it moves on, the full stop it leaves sits tight to the word */
.live #endSlot{padding:0 .3em 0 .38em}
.live #endSlot.stamped{text-indent:-.38em}

/* page 6, i dot the i's, printed as a proof: the slug and colour bar a printer leaves on a proof, and a red
   proofreader's mark in the margin for every i that's missing its dot. The dot goes round and puts them in */
.p6 .in{padding-left:21cqw}
.slug{display:flex;justify-content:space-between;gap:4cqw;color:var(--spot)}
.slug span:first-child::before{content:"";display:inline-block;width:2.6cqw;height:2.6cqw;margin:0 1.6cqw -.5cqw 0;border-radius:50%;background:linear-gradient(var(--spot), var(--spot)) 50% 0 / max(1px, .16cqw) 100% no-repeat, linear-gradient(var(--spot), var(--spot)) 0 50% / 100% max(1px, .16cqw) no-repeat;box-shadow:inset 0 0 0 max(1px, .16cqw) var(--spot)}
#dots-h{margin-top:2.4cqw;font:700 22cqw/.86 var(--face);letter-spacing:-.05em}
.statement{margin-top:6cqw;font:500 6.2cqw/1.22 var(--face);letter-spacing:-.02em}
.w{white-space:nowrap}
.iw{display:inline-block;position:relative}
/* the ı underneath has no dot; the i on top shows only its dot, and only once the dot has landed on it */
.live .iw .itt{position:absolute;left:var(--ix, 0px);top:0;clip-path:polygon(-60% -60%, 160% -60%, 160% var(--cut), -60% var(--cut));opacity:0;transition:opacity .15s}
.live .iw.on .itt{opacity:1}
/* a red caret under every i that still needs its dot */
.live .p6 .iw::after{content:"";position:absolute;left:50%;top:100%;width:.34em;height:.2em;margin:-.06em 0 0 -.17em;background:var(--spot);-webkit-clip-path:polygon(50% 0, 100% 100%, 76% 100%, 50% 34%, 24% 100%, 0 100%);clip-path:polygon(50% 0, 100% 100%, 76% 100%, 50% 34%, 24% 100%, 0 100%);transition:opacity .2s, transform .2s var(--e)}
.live .p6 .iw.on::after{opacity:0;transform:translateY(.15em)}
.marks{display:none}
.live .marks{display:block;position:absolute;left:0;top:0;width:18.6cqw;height:100%;pointer-events:none}
.mk{position:absolute;right:1.4cqw;display:flex;align-items:center;gap:.8cqw;color:var(--spot);transform:translateY(-50%)}
.mk i + i::before{content:"/";margin:0 .9cqw 0 .1cqw;font:400 3.4cqw/1 var(--serif)}
.pm{position:relative;display:inline-block;width:3.4cqw;height:3.4cqw;flex:none;border:max(1.5px, .3cqw) solid var(--spot);border-radius:50%}
.pm::after{content:"";position:absolute;left:50%;top:50%;width:30%;height:30%;margin:-15% 0 0 -15%;border-radius:50%;background:var(--spot)}
.mk i{display:flex;align-items:center}
/* once an i is dotted its mark is ticked off: the ring and its dot go, a tick takes their place */
.mk .pm{transition:border-color .2s}
.mk .pm::after{transition:transform .2s var(--out)}
.mk .pm::before{content:"";position:absolute;left:30%;top:-4%;width:36%;height:78%;border:solid var(--spot);border-width:0 max(1.5px, .36cqw) max(1.5px, .36cqw) 0;transform:rotate(40deg) scale(0);transform-origin:60% 90%;transition:transform .25s var(--out)}
.mk .pm.ok{border-color:transparent}
.mk .pm.ok::after{transform:scale(0)}
.mk .pm.ok::before{transform:rotate(40deg) scale(1)}
/* and once every i on the page has its dot, the proof is stamped */
.okp{display:none}
.live .okp{display:block;position:absolute;right:8cqw;bottom:31cqw;margin:0;padding:2.2cqw 3.6cqw 1.9cqw;border:max(2px, .62cqw) solid var(--spot);border-radius:1.8cqw;color:var(--spot);text-align:center;opacity:0;transform:rotate(-7deg) scale(1.5);transition:opacity .16s, transform .26s var(--out);pointer-events:none;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3.2 2.55'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3.2 2.55'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E")}
.okp b{display:block;font:400 8.2cqw/.9 var(--serif);letter-spacing:.05em;text-transform:uppercase}
.okp span{display:block;margin-top:1.2cqw;padding-top:1.1cqw;border-top:max(1px, .3cqw) solid var(--spot);font:500 2.5cqw/1 var(--serif);letter-spacing:.2em;text-transform:uppercase}
.live .proofed .okp{opacity:.9;transform:rotate(-7deg) scale(1)}
.note{display:flex;align-items:center;gap:1.8cqw;margin-top:auto;padding-top:4cqw;color:var(--spot)}
.bars{display:flex;margin:3.4cqw 0 0 -9.6cqw;width:calc(100% + 9.6cqw);height:3cqw}
.bars i{flex:1;background:var(--c)}
.bars i:nth-child(1){--c:#232c08}.bars i:nth-child(2){--c:#4f5a2f}.bars i:nth-child(3){--c:#8c9472}.bars i:nth-child(4){--c:#c9cbb9}
.bars i:nth-child(5){--c:#cf3220}.bars i:nth-child(6){--c:#e7998f}.bars i:nth-child(7){--c:#bda38b}
.p6 .folio{margin-top:0;padding-top:2.4cqw}

/* page 7, a type specimen of the i: the guide lines, and the tittle, which is where the dot goes */
.spec{position:relative;flex:1;min-height:0;display:flex;align-items:flex-end;justify-content:center;margin:0 -7.4cqw;padding:0 7.4cqw}
.gi{font:700 92cqw/1 var(--face);letter-spacing:0;margin-bottom:var(--sink, 0px)}
.gl{position:absolute;left:0;right:0;top:var(--y, 0);height:0;border-top:max(1px, .14cqw) solid rgba(35,44,8,.42);font-style:normal}
.gl b{position:absolute;right:7.4cqw;bottom:.8cqw;font-weight:500;letter-spacing:.16em}
.gl.base{border-top-color:var(--paper-ink)}
.tring{display:none}
.live .tring{display:block;position:absolute;left:var(--tx, 0);top:var(--ty, 0);width:var(--td, 0);height:var(--td, 0);margin:calc(var(--td, 0) / -2) 0 0 calc(var(--td, 0) / -2);border:max(1.5px, .34cqw) dashed var(--spot);border-radius:50%;transition:opacity .3s}
.live .tring::after{content:"tittle";position:absolute;left:calc(100% + 3cqw);top:50%;font:500 max(11px, 2.4cqw)/1 var(--serif);letter-spacing:.2em;text-transform:uppercase;color:var(--spot);transform:translateY(-50%);white-space:nowrap}
.live .tring::before{content:"";position:absolute;left:calc(100% + .6cqw);top:50%;width:2cqw;border-top:max(1px, .16cqw) solid var(--spot)}
.tt-h{margin-top:3cqw;font:400 14cqw/.86 var(--serif);letter-spacing:-.02em;text-transform:uppercase}
.def{margin-top:2cqw;max-width:30ch;font:500 4.4cqw/1.25 var(--face);letter-spacing:-.015em}
.def i{font-style:normal;font:500 max(11px, 2.4cqw)/1 var(--serif);letter-spacing:.18em;text-transform:uppercase;color:var(--spot);margin-right:.6em}

/* page 8, what's in the bag, laid out and photographed from above. The numbers are printed over the picture,
   and the empty spot is drawn round in red: that one is for whatever your team uses */
.p8 .photo{position:absolute;inset:0}
.p8 .photo .ht{background:#e8e6df}
.pins{margin:0;padding:0;list-style:none}
.pins li{position:absolute;left:var(--x);top:var(--y);display:grid;place-items:center;width:6.6cqw;height:6.6cqw;margin:-3.3cqw 0 0 -3.3cqw;border-radius:50%;background:var(--spot);color:#fbf6ee;font:400 4.2cqw/1 var(--serif)}
.pins .n1{--x:83%;--y:12%}.pins .n2{--x:12%;--y:9%}.pins .n3{--x:12%;--y:41%}.pins .n4{--x:58%;--y:41%}
.spot{position:absolute;left:58%;top:42%;width:34%;height:24.5%;border:max(1.5px, .36cqw) dashed var(--spot);border-radius:3cqw}
.p8 .in{pointer-events:none}
.p8 .folio{visibility:hidden}

/* page 9, the list that goes with the picture */
.kit-h{margin-top:5cqw;font:400 21cqw/.84 var(--serif);letter-spacing:-.025em;text-transform:uppercase}
.p9 .deck,.p10 .deck{max-width:24ch;font:500 4.6cqw/1.24 var(--face);letter-spacing:-.015em;text-transform:none}
.kitl{display:grid;gap:3.4cqw;margin:6.4cqw 0 0;padding:0;list-style:none;counter-reset:k}
.kitl li{display:grid;grid-template-columns:8.4cqw minmax(0,1fr);column-gap:2.4cqw;padding-top:3cqw;border-top:max(1px, .12cqw) solid rgba(35,44,8,.2);counter-increment:k}
.kitl li::before{content:counter(k);grid-row:span 2;display:grid;place-items:center;width:6.6cqw;height:6.6cqw;border-radius:50%;background:var(--spot);color:#fbf6ee;font:400 4.2cqw/1 var(--serif)}
.kitl b{font:600 5.6cqw/1.05 var(--face);letter-spacing:-.03em}
.kitl span{margin-top:.8cqw;font-size:max(12px, 3.4cqw);line-height:1.3}

/* page 10, issue two's reply card: a card bound into the magazine, with a perforated edge by the spine */
.two-h{margin-top:5cqw;font:400 15.6cqw/.84 var(--serif);letter-spacing:-.02em;text-transform:uppercase}
.p10 .deck{margin-top:3.4cqw}
.reply{position:relative;display:grid;gap:3.6cqw;margin:5.6cqw -2cqw 0 -3cqw;padding:4.4cqw 5cqw 4.6cqw 7cqw;border-radius:1.4cqw;background:linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,0) 50%), var(--grain), #e3d4bd;box-shadow:0 .4cqw .9cqw rgba(35,44,8,.18), 0 0 0 max(1px, .1cqw) rgba(35,44,8,.08)}
.reply::before{content:"";position:absolute;left:2.6cqw;top:2cqw;bottom:2cqw;border-left:max(1.5px, .3cqw) dotted rgba(35,44,8,.5)}
.reply-top{display:flex;justify-content:space-between;align-items:center;gap:3cqw}
.reply-top b{font-weight:600;letter-spacing:.24em}
.reply-top span{padding:1cqw 1.6cqw;border:max(1px, .16cqw) solid currentColor}
.field{display:grid;gap:1.2cqw}
.field label,.picks legend{font:500 max(12px, 2.7cqw)/1.2 var(--face);letter-spacing:0}
.field input{width:100%;height:auto;padding:.4cqw 0 1.2cqw;border:0;border-bottom:max(1.5px, .3cqw) solid var(--paper-ink);border-radius:0;background:transparent;color:var(--paper-ink);font:500 max(16px, 5.4cqw)/1.15 var(--face);letter-spacing:-.02em}
.field input::placeholder{color:#7d7a62}
.field input:focus{outline:none;border-bottom-color:var(--spot)}
.field input:focus-visible{outline:none}
.picks{display:grid;gap:1.2cqw;border:0;padding:0;margin:0;min-width:0}
.picks legend{margin-bottom:1.2cqw;padding:0}
.picks label{position:relative;display:flex;align-items:center;gap:2.2cqw;min-height:max(32px, 6cqw);cursor:pointer}
.picks input{position:absolute;opacity:0;inset:0;cursor:pointer;margin:0}
.picks span{display:flex;align-items:center;gap:2.2cqw;font:500 max(13px, 3.6cqw)/1.1 var(--face)}
.picks span::before{content:"";flex:none;width:max(16px, 3.8cqw);height:max(16px, 3.8cqw);border:max(1.5px, .3cqw) solid var(--paper-ink);border-radius:.4cqw;background:no-repeat center / 76% linear-gradient(transparent, transparent)}
.picks input:checked + span::before{background:no-repeat center / 80% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10.5l4.6 4.6L17.4 4' fill='none' stroke='%23cf3220' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.picks input:focus-visible + span{outline:2px solid var(--paper-ink);outline-offset:3px;border-radius:2px}
.reply-end{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:2cqw 3cqw;margin-top:.6cqw}
.pg .btn{min-height:max(44px, 8cqw);padding:0 max(18px, 4.4cqw);background:var(--paper-ink);color:var(--paper);font-size:max(15px, 3.4cqw)}
.pg .btn:hover{background:#000}
.paid{letter-spacing:.14em}

/* page 11, next issue: the cover the visitor is writing, on sale the day they hire */
.shelf{display:grid;place-items:center;flex:1;min-height:0;padding:7cqw 0 6cqw}
.minicover{position:relative;width:min(62cqw, 100%);aspect-ratio:5 / 7;transform:rotate(2deg);box-shadow:0 4cqw 7cqw -3cqw rgba(14,18,2,.5), 0 1cqw 2cqw rgba(14,18,2,.18), 1px 1px 0 #d4d2ca, 2px 2px 0 #e7e5df, 3px 3px 0 #d0cec5;transition:transform .5s var(--e)}
.minicover:hover{transform:rotate(0deg)}
.minicover .pg{position:absolute;inset:0;aspect-ratio:auto}
/* without script the cover can't measure itself, so the placeholder name starts at a size that fits */
html:not(.js) #m-big{font-size:9.4cqw}
.minicover.bump{animation:bump .45s var(--e)}
@keyframes bump{50%{transform:rotate(2deg) scale(1.02)}}
.nx-s{margin:0;font:500 5.4cqw/1.2 var(--face);letter-spacing:-.02em;text-align:center}

/* the live magazine needs room to open. On a short, wide screen (a phone on its side) it stays flat */
@media not all and (max-height:520px) and (orientation:landscape){
  .live .mag{padding-block:0}
  .live .stage{position:sticky;top:0;height:100svh;overflow:hidden;perspective:2400px;perspective-origin:50% 40%}
  /* a pool of light on the table */
  .live .stage::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 55% 50% at 50% 46%, rgba(236,235,231,.07), rgba(236,235,231,0)), radial-gradient(ellipse 110% 85% at 50% 48%, rgba(14,18,2,0) 55%, rgba(14,18,2,.3))}
  .live .book{position:absolute;left:50%;top:0;display:block;width:var(--W, 640px);height:var(--H, 896px);margin-left:calc(var(--W, 640px) / -2);padding:0;transform-origin:50% 0;will-change:transform}
  /* every page lies in the same place, the right-hand page; main.js moves, folds and stacks them */
  .live .book > .pg{position:absolute;left:0;top:0;width:var(--W, 640px);height:var(--H, 896px);aspect-ratio:auto;container-type:size;transform-origin:0 0}
  .live .book > .pg.off{opacity:0;pointer-events:none}
  /* bound: each page darkens into the spine. One page at a time (a phone), every page is bound on its left */
  .live .book > .r:not(.cov),.live .book.single > .l{--gut:linear-gradient(90deg, rgba(28,34,6,.2), rgba(28,34,6,.07) 1.5%, rgba(28,34,6,.02) 5%, rgba(28,34,6,0) 12%)}
  .live .book:not(.single) > .l{--gut:linear-gradient(270deg, rgba(28,34,6,.2), rgba(28,34,6,.07) 1.5%, rgba(28,34,6,.02) 5%, rgba(28,34,6,0) 12%)}
  /* the rest of the magazine under the open pages, seen as page edges: main.js sets how many on each side */
  .live .edges{display:block;position:absolute;inset:0;pointer-events:none}
  .edges i{position:absolute;top:0;width:100%;height:100%;background:#e3e1da;border-radius:1px}
  .edges .er{left:0}
  .edges .el{right:100%}
  /* light that moves: a page darkens near the fold as it lifts, the shadow of the lifted paper falls on the page
     under it, and the cover's gloss slides as it tilts. main.js draws them along the fold */
  .live .fx{display:block;position:absolute;inset:0;z-index:3;pointer-events:none;opacity:0}
  /* the flap's shadow gets a layer of its own: blurred and clipped as it moves, Chrome could leave a scrap of the last frame behind */
  .live .flap{display:block;position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;filter:blur(calc(var(--W, 640px) * .018));will-change:transform}
  .live .flap i{position:absolute;left:calc(var(--W, 640px) * -1.5);top:calc(var(--H, 896px) * -.5);width:calc(var(--W, 640px) * 3);height:calc(var(--H, 896px) * 2);background:rgba(10,14,2,.42)}
  .live .gloss{display:block;position:absolute;left:-60%;top:-60%;z-index:2;width:220%;height:220%;pointer-events:none;background:linear-gradient(118deg, rgba(255,255,255,0) 36%, rgba(255,255,255,.2) 46%, rgba(255,255,255,.06) 52%, rgba(255,255,255,0) 62%);will-change:transform,opacity}
  /* the magazine's shadow on the table follows it and widens as the cover swings open. Lying on the table
     it's tight; picked up, it spreads and drops */
  .live .bshadow{display:block;position:absolute;left:50%;top:0;width:var(--W, 640px);height:var(--H, 896px);margin-left:calc(var(--W, 640px) / -2);transform-origin:50% 0;pointer-events:none}
  .bshadow i,.bshadow b{position:absolute;top:0;bottom:0;width:100%}
  .bshadow i{left:0}
  .bshadow b{right:100%;transform-origin:100% 50%;transform:scaleX(var(--open, 0))}
  .bshadow i::before,.bshadow b::before,.bshadow i::after,.bshadow b::after{content:"";position:absolute;inset:0;border-radius:3px;will-change:opacity}
  .bshadow i::before,.bshadow b::before{opacity:calc(1 - var(--lift, 0));box-shadow:0 .3rem .6rem rgba(14,18,2,.5), 0 .1rem .2rem rgba(14,18,2,.4)}
  .bshadow i::after,.bshadow b::after{opacity:var(--lift, 0);box-shadow:0 2.6rem 5rem -1rem rgba(14,18,2,.62), 0 .8rem 1.6rem -.2rem rgba(14,18,2,.32)}

  /* a page as tall as a phone: the same pages, with type a size up and the room shared out down the page */
  .live .book.tall > .pg .in{padding:min(7cqw, 3.5cqh) 7cqw min(6cqw, 3cqh);font-size:4.2cqw}
  .live .book.tall .rh,.live .book.tall .folio,.live .book.tall .kick,.live .book.tall .by,.live .book.tall .slug,.live .book.tall .toc-k,.live .book.tall .reply-top,.live .book.tall .photo figcaption,.live .book.tall .note,.live .book.tall .gl b,.live .book.tall .paid,.live .book.tall .staff{font-size:3cqw}
  .live .book.tall .cov .dl,.live .book.tall .cov .cl span,.live .book.tall .cov .cap span{font-size:2.6cqw}
  .live .book.tall .cov .cl{top:39cqw}
  .live .book.tall .cov .cl b{font-size:3.8cqw}
  .live .book.tall .cov .star{top:auto;bottom:calc(16cqw + 2cqh)}
  .live .book.tall .cov .ct{bottom:calc(34.4cqw + 2cqh)}
  .live .book.tall .cov .cap{bottom:calc(29.8cqw + 2cqh)}
  .live .book.tall .p2 .in{font-size:4.6cqw}
  .live .book.tall .ed-h{font-size:min(15cqw, 7.5cqh)}
  .live .book.tall .letter{margin-top:min(8cqw, 4cqh)}
  .live .book.tall .ed-foot{grid-template-columns:minmax(0,1fr);gap:min(7cqw, 3.5cqh)}
  .live .book.tall .sig{font-size:min(12cqw, 6cqh)}
  .live .book.tall .role{font-size:3.6cqw}
  .live .book.tall .staff dd{font-size:3.4cqw}
  .live .book.tall .toc-h{font-size:min(15.4cqw, 7.7cqh)}
  .live .book.tall .toc a{grid-template-columns:12cqw minmax(0,1fr);padding:min(1.3cqw, .65cqh) 0 min(1.5cqw, .75cqh)}
  .live .book.tall .toc b{font-size:7.4cqw}
  .live .book.tall .toc span{font-size:3.8cqw}
  .live .book.tall .toc i{font-size:3.6cqw}
  .live .book.tall .toc.also a{grid-template-columns:minmax(0,1fr)}
  .live .book.tall .toc.also i{text-align:left}
  .live .book.tall .toc-k{margin-top:min(5cqw, 2.5cqh)}
  .live .book.tall .toc-foot{grid-template-columns:15cqw minmax(0,1fr)}
  .live .book.tall .star.thumb{width:15cqw}
  .live .book.tall .otc p{font-size:3.6cqw}
  .live .book.tall .p4 .photo{height:auto;flex:1;min-height:60cqw;margin:6cqw -7cqw 0}
  .live .book.tall .p4 .photo figcaption{padding:0 7cqw}
  .live .book.tall .op-h{font-size:min(24cqw, 12cqh)}
  .live .book.tall .deck{font-size:4.4cqw}
  .live .book.tall .p5 .in{font-size:4.4cqw}
  .live .book.tall .qa{gap:min(6.4cqw, 3.2cqh);margin-top:min(8cqw, 4cqh)}
  .live .book.tall .qa h3{font-size:3.6cqw}
  .live .book.tall .p6 .in{padding-left:21cqw}
  .live .book.tall .marks{width:19.4cqw}
  .live .book.tall #dots-h{font-size:min(21cqw, 10.5cqh);margin-top:min(6cqw, 3cqh)}
  .live .book.tall .statement{font-size:min(7cqw, 3.5cqh);margin-top:min(8cqw, 4cqh)}
  .live .book.tall .pm{width:3.8cqw;height:3.8cqw}
  .live .book.tall .bars{margin-left:-12cqw;width:calc(100% + 12cqw);height:4cqw}
  .live .book.tall .spec{padding-left:20cqw}
  .live .book.tall .gi{font-size:110cqw}
  .live .book.tall .tt-h{font-size:min(19cqw, 9.5cqh)}
  .live .book.tall .def{font-size:5.6cqw}
  .live .book.tall .pins li{width:8.4cqw;height:8.4cqw;margin:-4.2cqw 0 0 -4.2cqw;font-size:5.4cqw}
  .live .book.tall .kit-h{font-size:min(27cqw, 13.5cqh);margin-top:min(8cqw, 4cqh)}
  .live .book.tall .p9 .deck,.live .book.tall .p10 .deck{font-size:5.8cqw}
  .live .book.tall .kitl{gap:min(5cqw, 2.5cqh);margin-top:min(9cqw, 4.5cqh)}
  .live .book.tall .kitl li{grid-template-columns:10cqw minmax(0,1fr);padding-top:min(4.4cqw, 2.2cqh)}
  .live .book.tall .kitl li::before{width:8.4cqw;height:8.4cqw;font-size:5.4cqw}
  .live .book.tall .kitl b{font-size:7cqw}
  .live .book.tall .kitl span{font-size:4.4cqw}
  .live .book.tall .two-h{font-size:min(19cqw, 9.5cqh);margin-top:min(7cqw, 3.5cqh)}
  .live .book.tall .reply{margin:min(6cqw, 3cqh) -2cqw 0 -2cqw;padding:min(5.6cqw, 2.8cqh) 5cqw min(5.6cqw, 2.8cqh) 8cqw;gap:min(5cqw, 2.5cqh)}
  .live .book.tall .field label,.live .book.tall .picks legend{font-size:3.8cqw}
  .live .book.tall .picks span{font-size:4.6cqw}
  .live .book.tall .picks span::before{width:5cqw;height:5cqw}
  .live .book.tall .picks label{min-height:min(9cqw, 4.5cqh)}
  /* one page at a time, the next cover rides on the reply card, clipped on where its stamp would go */
  .live .book.single .reply .minicover{position:absolute;right:-2.4cqw;top:-6.4cqw;z-index:2;width:62cqw;transform:rotate(5deg) scale(.45);transform-origin:100% 0;box-shadow:0 4.8cqw 7.6cqw -3cqw rgba(14,18,2,.5), 0 .9cqw 1.8cqw rgba(14,18,2,.2)}
  .live .book.single .reply .minicover:hover{transform:rotate(1deg) scale(.45)}
  .live .book.single .reply .minicover.bump{animation:bumpS .45s var(--e)}
  @keyframes bumpS{50%{transform:rotate(5deg) scale(.47)}}
  .live .book.single .reply .minicover::before{content:"";position:absolute;left:58%;top:-10.2cqw;z-index:3;width:11.6cqw;height:31cqw;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 64'%3E%3Cpath d='M8 20V48a5 5 0 0 0 10 0V12a8 8 0 0 0-16 0V51a10 10 0 0 0 20 0V22' fill='none' stroke='%23878a8c' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath d='M8 20V48a5 5 0 0 0 10 0V12a8 8 0 0 0-16 0V51a10 10 0 0 0 20 0V22' fill='none' stroke='%23d9dbdc' stroke-width='.9' stroke-linecap='round' transform='translate(-.5 -.5)'/%3E%3C/svg%3E") center / contain no-repeat;filter:drop-shadow(.7cqw 1.1cqw .9cqw rgba(14,18,2,.35))}
  .live .book.single .reply-top span{visibility:hidden}
  .live .book.single .reply .field{margin-right:26cqw}
  .live .book.tall .nx-s{font-size:5.8cqw}
}

/* say hi and the footer, on the olive field */
.hi{padding-block:clamp(60px,12vh,140px) clamp(32px,5vh,64px)}
.hi h2{font-size:var(--s-head)}
.hi-row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--gap);align-items:end;margin-top:clamp(32px,5vh,56px)}
.hi-row .reach-wrap{grid-column:1 / span 9}
.hi-row .lead{max-width:26ch}
.reach{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;margin-top:28px;font-weight:500;overflow-wrap:anywhere}
.reach .btn{margin-right:4px}
.reach a,.foot-line a{text-underline-offset:4px}
.reach a:hover,.foot-line a:hover{text-decoration-thickness:2px}
.mail{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.copy{display:none;align-items:center;min-height:2.5rem;padding:0 1rem;border-radius:999px;border:0;background:var(--olive-4);color:inherit;font:500 var(--s-body)/1 var(--face);cursor:pointer;transition:background-color .2s, color .2s, transform .18s var(--e)}
.copy:active{transform:scale(.95)}
.js .copy{display:inline-flex}
.copy:hover,.copy.done{background:var(--bone);color:var(--olive);border-color:var(--bone)}
.foot{padding-bottom:max(24px, 2.2vw)}
/* the end credits: one card, read down the middle like the real thing, roles to the left of the line and names to the right */
.credits{display:grid;grid-template-columns:1fr 1fr;align-items:baseline;column-gap:clamp(16px, 1.8vw, 32px);row-gap:clamp(6px, 1vh, 12px);margin:0}
.credits div{display:contents}
.credits dt{justify-self:end;text-align:right;font:400 clamp(.9375rem, .86rem + .28vw, 1.125rem)/1.25 var(--film);letter-spacing:.22em;text-transform:uppercase}
.credits dd{margin:0;font-size:clamp(1.125rem, .98rem + .5vw, 1.5rem);font-weight:600;line-height:1.2;letter-spacing:-.01em}
.fine{max-width:60ch;margin:clamp(22px, 3.4vh, 36px) auto 0;text-align:center;font-size:var(--s-body);font-weight:500;line-height:1.45;text-wrap:balance}
.fine span{display:block}
.foot-name{margin-top:clamp(6px, 1.4vh, 18px)}
.foot-name{font-size:var(--s-name);font-weight:700;letter-spacing:-.05em;line-height:.9;font-variation-settings:'wdth' 108;margin-left:-.04em;white-space:nowrap}
.foot-line{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;font-size:var(--s-body);font-weight:500;margin-top:20px}

.sneak{position:absolute;left:-9999px;padding:8px 14px;border:0;border-radius:999px;background:var(--bone);color:var(--olive);font:inherit;font-weight:600}
.sneak:focus-visible{left:auto;right:var(--m);bottom:16px}
.foot{position:relative}
/* after the credits: the sequel, breakout in five scenes on a dark film set. main.js draws the sets on two canvases
   (the back one under the paddle, the front one over it) and runs it, so without motion it isn't there */
.after{display:none}
.live.aft .after{display:flex;overflow:clip;flex-direction:column;padding:clamp(40px, 9vh, 96px) var(--m) 12px;color:var(--bone)}
.after ::selection{background:var(--bone);color:var(--night)}
.after-k{margin:0;font:400 clamp(.9375rem, .88rem + .2vw, 1.0625rem)/1 var(--film);letter-spacing:.34em;text-transform:uppercase;color:var(--tan)}
.after-h{margin:.35em 0 0;font:400 clamp(2.5rem, 1.2rem + 3.6vw, 4.75rem)/.92 var(--film);letter-spacing:.005em;text-transform:uppercase;text-wrap:balance}
.after-s{margin:.8em 0 0;font-size:var(--s-body);font-weight:500}
.board{--hud:76px;position:relative;flex:none;height:calc(100svh - 24px);min-height:340px;margin-top:clamp(28px, 6vh, 64px);overflow:hidden;border-radius:20px;background:var(--night);box-shadow:inset 0 0 0 1.5px rgba(236,235,231,.14);touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.board.playing{cursor:none;touch-action:none}
.board:focus{outline:none}
.board:focus-visible{outline:2px solid var(--bone);outline-offset:4px}
/* the film it's shot on: a grain over the set and the paddle, under the words */
.board::after{content:"";position:absolute;inset:-40px;z-index:2;background-image:var(--grain, none);background-size:150px 150px;opacity:.5;mix-blend-mode:soft-light;pointer-events:none;animation:grain .56s steps(1) infinite}
.gset{position:absolute;inset:0;will-change:transform}
.cv{position:absolute;inset:0;display:block;width:100%;height:100%}
#cvF{pointer-events:none}
/* the paddle is the name, with a gap where its full stop sits; coffee makes it wider, a question it can't answer
   makes it smaller, and the stamp pins it to the floor for a second */
.pad{position:absolute;left:0;bottom:clamp(30px, 6vh, 56px);display:flex;align-items:center;justify-content:center;min-width:clamp(8rem, 12vw, 12.5rem);height:2.625rem;padding:0 1.25rem;border-radius:999px;background:var(--bone);color:var(--olive);font:700 1.375rem/1 var(--face);letter-spacing:-.03em;font-variation-settings:'wdth' 108;white-space:nowrap;box-shadow:0 10px 22px -8px rgba(0,0,0,.7);will-change:transform;transition:min-width .35s var(--out), padding .35s var(--out), background-color .25s, color .25s}
.pad .gap{display:inline-block;width:.3em}
.pad.wide{min-width:clamp(12rem, 18vw, 18rem);background:#efe2c8}
.pad.fl{min-width:0;padding:0 .7rem;background:var(--tan);color:var(--paper-ink)}
.pad.stun{background:#f1d4cf;color:var(--red);box-shadow:inset 0 0 0 3px var(--red), 0 10px 22px -8px rgba(0,0,0,.7)}
/* the heads-up: the scene and the take on the left, what's left (or the stamp's health) and the sound on the right */
.hud{position:absolute;left:0;right:0;top:0;z-index:3;display:flex;align-items:center;gap:12px;height:var(--hud);padding:0 clamp(10px, 1.4vw, 20px) 0 clamp(16px, 2vw, 28px);pointer-events:none}
.h-l{display:grid;gap:5px;min-width:0;margin:0}
.h-l b{font:400 clamp(.9375rem, .88rem + .2vw, 1.0625rem)/1 var(--film);letter-spacing:.2em;text-transform:uppercase;color:var(--tan);white-space:nowrap}
.h-l span{overflow:hidden;font-size:clamp(1.125rem, 1.02rem + .35vw, 1.375rem);font-weight:600;line-height:1.1;white-space:nowrap;text-overflow:ellipsis}
.h-r{display:flex;align-items:center;gap:10px;margin:0 0 0 auto}
.h-left{font-size:clamp(1.0625rem, 1rem + .3vw, 1.25rem);font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.h-fx{display:flex;gap:6px}
.fx{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px 0 9px;border-radius:999px;background:var(--bone);color:var(--olive);font-size:.9375rem;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums;animation:fxin .3s var(--out)}
.fx svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@keyframes fxin{from{transform:scale(.6);opacity:0}}
.h-boss{display:flex;align-items:center;gap:10px}
.h-boss[hidden]{display:none}
.h-boss span{font:400 1rem/1 var(--film);letter-spacing:.2em;text-transform:uppercase;color:var(--tan)}
.h-boss i{display:block;width:clamp(130px, 17vw, 260px);height:12px;overflow:hidden;border-radius:999px;background:rgba(236,235,231,.16)}
.h-boss b{display:block;height:100%;border-radius:inherit;background:var(--red);transform-origin:0 50%;transition:transform .3s var(--out)}
.h-snd{flex:none;display:grid;place-items:center;width:44px;height:44px;margin-left:2px;padding:0;border:0;border-radius:50%;background:rgba(236,235,231,.1);color:var(--bone);cursor:pointer;pointer-events:auto;transition:background-color .2s}
.h-snd:hover{background:rgba(236,235,231,.2)}
.h-snd:focus-visible{outline:2px solid var(--bone);outline-offset:2px}
.h-snd svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.h-snd .x,.h-snd.off .w{display:none}
.h-snd.off .x{display:inline}
.bmsg{position:absolute;left:0;right:0;bottom:calc(clamp(30px, 6vh, 56px) + 2.625rem + 56px);z-index:3;margin:0;padding:0 16px;text-align:center;font-size:var(--s-body);font-weight:500;opacity:0;transition:opacity .3s;pointer-events:none}
.bmsg.on{opacity:1}
/* set like a subtitle, so it reads over paper as well as the floor */
.bmsg span{padding:6px 14px;border-radius:999px;background:rgba(15,16,12,.8)}
.bmsg .b-touch{display:none}
@media (hover:none) and (pointer:coarse){ .bmsg .b-fine{display:none} .bmsg .b-touch{display:inline} }
/* the end: a call sheet, taped up between the offer letter and the paddle (main.js sets where) */
.bwin{position:absolute;inset:0;z-index:5;display:flex;justify-content:center;align-items:flex-start;padding:var(--ect, 120px) 16px 16px;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .4s, visibility 0s .4s}
.board.won .bwin{opacity:1;visibility:visible;transition:opacity .4s}
.endcard{position:relative;width:min(440px, 100%);padding:clamp(20px, 2.4vw, 28px) clamp(20px, 2.6vw, 30px) clamp(18px, 2vw, 24px);color:var(--paper-ink);background:linear-gradient(176deg, rgba(255,255,255,.3), rgba(255,255,255,0) 40%), var(--grain, none), #f4efe2;border-radius:3px;box-shadow:0 26px 50px -14px rgba(0,0,0,.8), 0 3px 6px rgba(0,0,0,.35);pointer-events:auto;transform:translateY(36px) rotate(-1deg);transition:transform .6s var(--out)}
.board.won .endcard{transform:rotate(-1deg)}
.endcard::before,.endcard::after{content:"";position:absolute;top:-12px;width:84px;height:24px;background:rgba(214,198,160,.7);box-shadow:0 1px 2px rgba(0,0,0,.2)}
.endcard::before{left:10%;transform:rotate(-6deg)}
.endcard::after{right:10%;transform:rotate(5deg)}
.ec-k{margin:0;font:400 1.0625rem/1 var(--film);letter-spacing:.3em;text-transform:uppercase;color:#b3221a}
.ec-h{margin:.35em 0 0;font:700 clamp(1.75rem, 1.4rem + 1.1vw, 2.375rem)/1.05 var(--face);letter-spacing:-.02em;text-wrap:balance}
.ec-best{margin:.4em 0 0;font-weight:500}
.ec-best:empty{display:none}
.ec-list{display:grid;gap:7px;margin:16px 0 0;padding:14px 0 0;border-top:1.5px solid currentColor;list-style:none;counter-reset:sc}
.ec-list li{display:flex;align-items:baseline;gap:10px;font-weight:500;counter-increment:sc}
.ec-list li::before{content:counter(sc);order:0;width:1em;font:400 1.0625rem/1 var(--film);color:var(--olive-2)}
.ec-list span{order:1}
.ec-list li::after{content:"";order:2;flex:1;min-width:12px;border-bottom:2px dotted rgba(35,44,8,.4);transform:translateY(-5px)}
.ec-list b{order:3;font-weight:700;white-space:nowrap}
.ec-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.endcard .btn{background:var(--paper-ink);color:var(--bone)}
.endcard .btn:hover{background:var(--olive)}
.endcard .btn.ghost{background:transparent;color:var(--paper-ink);box-shadow:inset 0 0 0 1.5px currentColor}
.endcard .btn.ghost:hover{background:rgba(35,44,8,.08)}
.ec-picks{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:16px 0 0;font-weight:500}
.ec-picks span{flex:0 0 100%;margin:0 0 2px}
/* on a wide board the call sheet goes landscape, so it fits under the letter and the stamp stays in sight */
@media (min-width:761px){
  .endcard{display:grid;grid-template-columns:minmax(0, 1fr) minmax(0, 1.08fr);align-items:start;width:min(780px, 100%)}
  .ec-h{font-size:clamp(1.75rem, 1.2rem + 1vw, 2.125rem)}
  .ec-b{margin-left:clamp(22px, 3vw, 36px);padding-left:clamp(22px, 3vw, 36px);border-left:1.5px solid currentColor}
  .ec-list{margin:2px 0 0;padding:0;border-top:0}
}
.ec-picks button{width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgba(35,44,8,.09);color:var(--paper-ink);font:400 1.125rem/1 var(--film);cursor:pointer;transition:background-color .2s}
.ec-picks button:hover{background:rgba(35,44,8,.18)}
.endcard :focus-visible{outline:2px solid var(--paper-ink);outline-offset:3px}

/* the dot, its light, its sleep and its speech bubble */
.dot{position:fixed;left:0;top:0;width:100px;height:100px;margin:-50px 0 0 -50px;transform:translate(-200px,-200px);z-index:40;border-radius:50%;background:var(--dc, var(--olive));touch-action:none;cursor:grab;display:none}
.live .dot{display:block}
/* what's left of it when it's thrown too hard once too often */
.splat{position:fixed;left:0;top:0;z-index:40;pointer-events:none;display:none}
.dot:active{cursor:grabbing}
.dot::before{content:"";position:absolute;inset:calc(var(--hit, 0px) * -1);border-radius:50%}
.eye{position:absolute;top:34%;width:15%;height:23%;border-radius:50%;overflow:hidden;background:var(--ec, var(--bone));opacity:var(--eo, 1);transform:translate(var(--lx, 0px), var(--ly, 0px)) scale(var(--es, 1)) scaleY(var(--bk, 1)) scaleX(var(--ex, 1))}
.eye.l{left:26%}.eye.r{right:26%}
/* happy eyes: a cheek rises from below and leaves an arch */
.eye::after{content:"";position:absolute;left:-12%;right:-12%;top:34%;height:130%;border-radius:50%;background:var(--dc, var(--olive));transform:translateY(80%);transition:transform .22s var(--e)}
.dot.happy .eye::after{transform:none}
/* naps: an eyelid comes down from above (--lid 0 open, 1 shut, leaving the curve of a closed eye), a yawn,
   and a bubble at its nose that grows and shrinks as it breathes */
.eye::before{content:"";position:absolute;left:-12%;right:-12%;bottom:18%;height:130%;border-radius:50%;background:var(--dc, var(--olive));transform:translateY(calc((var(--lid, 0) - 1) * 63%))}
.yawn{position:absolute;left:41%;top:62%;width:18%;height:22%;border-radius:50%;background:var(--ec, var(--bone));transform:scale(var(--yawn, 0));transform-origin:50% 25%}
.nb{position:absolute;left:60%;top:50%;width:54%;height:54%;border-radius:50%;background:radial-gradient(circle at 32% 30%, rgba(255,255,255,.95) 0 9%, rgba(255,255,255,0) 10%), radial-gradient(circle at 68% 72%, rgba(255,255,255,.7) 0 4%, rgba(255,255,255,0) 5%), rgba(255,255,255,.38);box-shadow:inset 0 0 0 4px var(--dc, var(--olive));transform:scale(var(--nb, 0));transform-origin:10% 14%;pointer-events:none}
/* a dot from another window, visiting */
.dot.guest{display:block;z-index:39}
/* in the cinema seat: a bucket of popcorn beside it, and 3D glasses you only see when it turns round. They sit in
   their own layer that copies the dot's position (and the seat back in front of it), so the dot's per-frame changes
   don't make the browser restyle them too */
.props{position:fixed;left:0;top:0;width:100px;height:100px;margin:-50px 0 0 -50px;transform:translate(-200px,-200px);z-index:40;pointer-events:none;display:none}
.live .props{display:block}
.props .specs,.props .corn,.props .kern{position:absolute;opacity:0}
.props .specs{left:0;top:0;width:100px;height:100px;overflow:visible}
.specs path{fill:none;stroke:#17180f;stroke-width:3.5;stroke-linecap:round}
.specs rect{stroke:#17180f;stroke-width:3.5}
.specs .red{fill:rgba(224,60,48,.62)}
.specs .cyan{fill:rgba(46,186,212,.62)}
.props .corn{left:78px;top:6px;width:46px;height:49px;overflow:visible;transform-origin:50% 100%;scale:.3;transition:opacity .15s, scale .3s}
.props.watching .corn{opacity:1;scale:1;transition:opacity .2s .3s, scale .5s .3s cubic-bezier(.3,1.6,.5,1)}
/* in the dark it's only as lit as the room */
.props .corn,.props .kern{filter:brightness(var(--pb, 1))}
.corn .pop circle{fill:#f2e7c4}
.corn .shade circle{fill:#dcc58e}
.corn .cream{fill:#ebe4d3}
.corn .stripe{fill:#b9412f}
.corn .rim{fill:#ebe4d3;stroke:#b9412f;stroke-width:1.5}
.props .kern{left:94px;top:10px;width:10px;height:9px;border-radius:48% 52% 44% 56%;background:#f2e7c4;box-shadow:inset -2px -2px 0 rgba(150,110,50,.28)}
.glow{position:fixed;left:0;top:0;width:var(--gw, 640px);height:var(--gw, 640px);margin:calc(var(--gw, 640px) / -2) 0 0 calc(var(--gw, 640px) / -2);z-index:39;border-radius:50%;pointer-events:none;background:radial-gradient(closest-side, rgba(255,232,188,.24), rgba(255,232,188,.09) 42%, rgba(255,232,188,0));mix-blend-mode:screen;opacity:0;display:none}
.live .glow{display:block}
.zz{position:fixed;left:0;top:0;z-index:41;width:0;height:0;pointer-events:none;display:none;color:var(--gi, var(--olive));font:700 calc(1.75rem * var(--zs, 1))/1 var(--face);--o:.07em;text-shadow:var(--o) 0 var(--zg, var(--bone)), calc(var(--o) * -1) 0 var(--zg, var(--bone)), 0 var(--o) var(--zg, var(--bone)), 0 calc(var(--o) * -1) var(--zg, var(--bone)), .05em .05em var(--zg, var(--bone)), -.05em -.05em var(--zg, var(--bone)), .05em -.05em var(--zg, var(--bone)), -.05em .05em var(--zg, var(--bone))}
.live .zz.on{display:block}
.zz i{position:absolute;left:0;bottom:0;font-style:normal;opacity:0;animation:zz 3.4s ease-out infinite}
.zz i:nth-child(2){animation-delay:1.13s;font-size:.8em}
.zz i:nth-child(3){animation-delay:2.27s;font-size:.65em}
/* each z drifts up and sways, growing as it goes */
@keyframes zz{0%{opacity:0;transform:translate(0,0) rotate(-14deg) scale(.45)}18%{opacity:1}50%{transform:translate(calc(var(--zs, 1) * 10px), calc(var(--zs, 1) * -40px)) rotate(10deg) scale(.95)}80%{opacity:.8}100%{opacity:0;transform:translate(calc(var(--zs, 1) * -4px), calc(var(--zs, 1) * -84px)) rotate(-8deg) scale(1.3)}}
.bubble{position:fixed;left:0;top:0;z-index:41;width:max-content;max-width:min(26rem, calc(100vw - 32px));padding:10px 16px;border-radius:24px;background:var(--bone);color:var(--olive);font-weight:600;font-size:var(--s-body);text-align:center;text-wrap:balance;pointer-events:none;opacity:0;transform:translate(-50%,8px);box-shadow:0 0 0 3px var(--ring, transparent);transition:opacity .2s, transform .3s var(--e), background-color .25s, color .25s}
.bubble.ink{background:var(--olive);color:var(--bone)}
.bubble.show{opacity:1;transform:translate(-50%,0)}
.bubble.below{transform:translate(-50%,-8px)}
.bubble.below.show{transform:translate(-50%,0)}
.bubble.side{transform:translate(0,-50%) translateX(-8px)}
.bubble.side.show{transform:translate(0,-50%)}

/* portrait tablets: the name stacks, like on a phone, so the first screen isn't half empty */
@media (min-width:761px) and (max-aspect-ratio:4/5){
  :root{--s-name:27vw}
  .name .nl{display:block}
  .name{margin-top:3vh;line-height:.86}
  .hero-sub .lead{grid-column:1 / span 8}
  .live .screen{--sw:calc(100vw - 2 * max(var(--m), 24px) - 64px);--sh:min(calc(var(--sw) * .9), 100svh - 420px)}
  .foot-name{font-size:23vw}   /* the footer keeps the name on one line, so it can't take the hero's bigger size */
}

@media (max-width:760px){
  :root{--s-name:27vw}
  .name .nl{display:block}
  .name{margin-top:1vh;line-height:.86}
  .hero-sub{grid-template-columns:1fr;gap:28px;margin-top:28px}
  .hero-sub .lead{grid-column:1;justify-self:start}
  .facts{flex-direction:column;gap:6px}
  .nav ul li:not(:last-child){display:none}
  .mnav ul li:not(:last-child){display:none}
  /* a tall screen, nearly the width of the phone: no room on the walls beside it for lamps */
  .live .screen{--sw:calc(100vw - 40px);--sh:min(calc(var(--sw) * 1.3), 100svh - 320px);--sy:64px;--bunch:12px}
  .live .wash,.live .exit{display:none}
  .sbar .mark{font-size:1.125rem}
  .live .sbar{padding-block:12px}
  .tb{padding:0 .9rem}
  .head h2,.head p,.head .side{grid-column:1 / -1}
  .hi-row .reach-wrap{grid-column:1 / -1}
  .reach{flex-direction:column;align-items:flex-start}
  .foot-name{font-size:23vw}
  .pad{height:38px;min-width:118px;padding:0 16px;font-size:1.1875rem}
  .pad.wide{min-width:176px}
  .pad.fl{min-width:0;padding:0 10px}
  .board{--hud:64px;border-radius:16px}
  .h-l b{font-size:.9375rem;letter-spacing:.16em}
  .h-l span{font-size:1.0625rem}
  .h-left{font-size:1.0625rem}
  .fx{height:30px;padding:0 10px 0 8px}
  .fx span{display:none}
  .h-boss{position:absolute;left:16px;right:16px;top:calc(var(--hud) - 2px)}
  .h-boss i{flex:1;width:auto}
  .bmsg{bottom:calc(clamp(30px, 6vh, 56px) + 38px + 44px)}
  .bwin{padding-left:10px;padding-right:10px}
  .endcard{padding-left:18px;padding-right:18px}
  .endcard .btn{padding:0 18px}
  .ec-row{gap:8px}
  .ec-list{gap:5px}
}

/* a phone on its side, or any short wide window: tighter cinema, smaller type where height runs out */
@media (max-height:520px) and (orientation:landscape){
  .name{font-size:min(var(--s-name), 40vh)}
  .hero{min-height:0}
  .live .screen{--sw:min(62vw, (100svh - 120px) * 2.1);--sh:calc(var(--sw) / 2.1);--sy:48px}
  .live .sbar{padding-block:6px}
  .tb{min-height:34px}
  .live .after{padding-top:28px}
  .after-h{font-size:min(clamp(2.5rem, 1.1rem + 5.2vw, 6.25rem), 13vh)}
  .board{--hud:54px;margin-top:20px}
  .h-l{grid-auto-flow:column;align-items:baseline;justify-content:start;gap:14px}
  .pad{bottom:22px}
  .bmsg{bottom:calc(22px + 2.625rem + 36px)}
  .ec-list{gap:4px;margin-top:10px;padding-top:10px}
  .ec-row{margin-top:12px}
  .ec-picks{margin-top:10px}
}

@media (prefers-reduced-motion:reduce){
  .mnav,.mnav.on,.btn,.skiplink{transition:none}
  .minicover{transition:none}
  .minicover.bump,.live .book.single .reply .minicover.bump{animation:none}
}
