/* Layout: the PDF page, unbound — white sheet, black hairlines, one black illustration band. Single deliberate light look, like the printed issue. */
:root{
  --paper:#ffffff;
  --sheet:var(--paper);
  --ink:#0b0b0b;
  --mute:#8a8a8a;
  --line:#0b0b0b;
  --panel:#000000;
  --red:#d7222a;
  --display:"Josefin Sans", "Futura", "Century Gothic", system-ui, sans-serif;
  --body:"Cardo", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --gutter-l:max(16px, env(safe-area-inset-left, 0px));
  --gutter-r:max(16px, env(safe-area-inset-right, 0px));
  --measure:34rem;
  color-scheme:light;
}
html{background:var(--paper);overflow-x:clip}
body{background:var(--paper);color:var(--ink);font-family:var(--body);font-size:clamp(19px,1.25vw + 12px,24px);line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:clip}
::selection{background:var(--red);color:#fff}
a{color:inherit}
.wrap{padding-left:var(--gutter-l);padding-right:var(--gutter-r)}

/* ---------- top bar (the PDF running head) ---------- */
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:30;background:var(--paper)}
.bar{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:var(--paper);border-bottom:1px solid var(--line)}
.bar-in{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:12px;max-width:1280px;margin:0 auto}
.logo{display:flex;align-items:center;text-decoration:none}
.bar-left{display:flex;align-items:center;gap:clamp(14px,2.2vw,22px)}
.home{display:flex;color:var(--ink)}
.home svg{width:30px;height:30px;display:block}
.home:hover{color:var(--red)}
.logo svg{width:44px;height:54px;display:block}
.sect{font-family:var(--display);font-weight:700;font-size:15px;letter-spacing:.06em}
.start{display:flex;align-items:center;gap:8px;background:none;border:0;cursor:pointer;font-family:var(--display);font-weight:600;font-size:9px;letter-spacing:.14em;line-height:1.1;text-align:left;color:var(--ink);padding:6px}
.start svg{width:22px;height:22px}
.start:focus-visible,.fn:focus-visible,.logo:focus-visible,.home:focus-visible,.next-link:focus-visible{outline:2px solid var(--red);outline-offset:3px}

/* ---------- opener ---------- */
.opener{max-width:var(--measure);margin:0 auto;padding-block:clamp(44px,8vw,110px) clamp(28px,4vw,48px);box-sizing:content-box}
.kicker{font-family:var(--display);font-weight:700;font-size:14px;letter-spacing:.1em;text-transform:uppercase;margin:0 0 20px}
h1{font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:clamp(29px,4.4vw,58px);line-height:1.02;letter-spacing:-.01em;margin:0;text-wrap:balance}

/* ---------- illustration band ---------- */
.plate{display:flex;justify-content:center;margin:0;padding-inline:max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));overflow:hidden}
.plate img{display:block;width:auto;height:auto;max-width:min(100%,860px);max-height:min(86vh,1080px)}

/* ---------- text ---------- */
.text{max-width:var(--measure);margin:0 auto;padding-block:clamp(56px,9vw,110px) 40px}
.opener + .text{padding-top:clamp(36px,6vw,72px)}
.opener + .text:has(> .film-index:first-child){padding-top:clamp(8px,1.5vw,16px)}
.text > .film-index:first-child{margin-top:0;padding-top:16px}
.text p{margin:0 0 1.05em}
.drop::first-letter{font-family:var(--body);font-weight:700;float:left;font-size:4.6em;line-height:.78;margin:.06em .12em 0 -.02em}

/* footnote markers + notes */
.fn{display:inline-flex;align-items:center;justify-content:center;min-width:1.7em;height:1.05em;padding:0 .3em;margin-left:.15em;border:1px solid var(--ink);border-radius:999px;font-family:var(--display);font-size:.5em;font-weight:600;vertical-align:.55em;background:none;color:var(--ink);cursor:pointer;line-height:1}
.fn:hover,.fn[aria-expanded="true"]{background:var(--ink);color:var(--paper)}
.note{font-size:.74em;line-height:1.5;border-left:2px solid var(--red);padding:2px 0 2px 16px;margin:-.3em 0 1.3em}
.note .n{font-family:var(--display);font-weight:700;font-size:.8em;letter-spacing:.1em;margin-right:.5em}

/* ending */
.end-dia{display:inline-block;width:.42em;height:.42em;background:var(--ink);transform:rotate(45deg) translateY(-.08em);margin-left:.35em}
.notes-list{max-width:var(--measure);margin:0 auto;border-top:1px solid var(--line);padding-block:24px 10px;font-size:.72em;line-height:1.5}
.notes-list p{margin:0 0 1em}
.notes-list .pill{display:inline-block;border:1px solid var(--ink);border-radius:999px;font-family:var(--display);font-size:.75em;font-weight:600;padding:0 .7em;margin-right:.5em}

/* ---------- next page ---------- */
.next{border-top:1px solid var(--line);margin-top:clamp(48px,7vw,90px)}
.next-link{display:block;text-decoration:none;transition:background-color .35s ease,color .35s ease}
.next-in{max-width:1280px;margin:0 auto;padding-block:clamp(26px,4vw,40px) clamp(64px,7vw,80px);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px 24px}
.next .lab{grid-column:1/-1;font-family:var(--display);font-weight:600;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--mute);transition:color .35s ease}
.next .t{margin-top:4px!important;font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:clamp(20px,2.6vw,32px);line-height:1.05;margin:0}
.next .t.long{font-size:clamp(17px,2vw,24px);line-height:1.1}
.next .chap{grid-column:1/-1;font-family:var(--display);font-weight:600;font-size:14px;letter-spacing:.14em;text-transform:uppercase;margin-top:2px}
.next .arrow{font-family:var(--display);font-size:clamp(22px,2.6vw,32px);transition:transform .35s ease}
.next-link:hover,.next-link:focus-visible{background:var(--ink);color:var(--paper)}
.next-link:hover .lab,.next-link:focus-visible .lab{color:var(--red)}
.next-link:hover .arrow{transform:translateX(8px)}

/* ---------- shared additions ---------- */
body{background:var(--sheet)}
html{background:var(--sheet)}
.bar,body::before{background:var(--sheet)}
.sub-title{font-family:var(--body);font-style:italic;font-size:clamp(18px,1.6vw,24px);margin:14px 0 0;color:var(--ink)}
.text h2{font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:.7em;letter-spacing:.06em;margin:2.6em 0 1.1em;line-height:1.2}
.text h2:first-child{margin-top:0}
sub{font-size:.7em;line-height:0}
:root:has(.theme-grey){--sheet:#d9d9d9}
:root:has(.theme-blue){--sheet:#bececd}
:root:has(.theme-lightgrey){--sheet:#d6d6d6}
:root:has(.theme-pink){--sheet:#ffd6d6}
:root:has(.theme-tan){--sheet:#dcc3a7;--mute:#0b0b0b}
:root:has(.theme-sage){--sheet:#acb29c;--mute:#3d4136}

.sect{text-align:center}
@media (max-width:480px){.sect{font-size:12px;letter-spacing:.04em}}

:root:has(.theme-peach){--sheet:#ecc7b4;--mute:#0b0b0b}
:root:has(.theme-mint){--sheet:#61ba99;--mute:#0b0b0b}
:root:has(.theme-stone){--sheet:#e4dcd6;--mute:#0b0b0b}
/* issue 10's page colours, from the PDF */
:root:has(.theme-pistachio){--sheet:#d4edd3;--mute:#2c3a2b}
:root:has(.theme-apricot){--sheet:#f1d7c2;--mute:#3d3128}
:root:has(.theme-powder){--sheet:#c2d2db;--mute:#29343a}
:root:has(.theme-ochre){--paper:#d8a676;--sheet:#d8a676;--ink:#fff;--line:rgba(255,255,255,.6);--mute:#fff3e6;color-scheme:dark}
:root:has(.theme-lavender){--sheet:#b6b3c6;--mute:#2f2d3a}
:root:has(.theme-periwinkle){--sheet:#becae5;--mute:#2b3147}
:root:has(.theme-olive){--sheet:#b4bba5;--mute:#34382b}
:root:has(.theme-silver){--sheet:#bfbfc1;--mute:#2e2e30}
:root:has(.theme-royal){--paper:#1f36ab;--sheet:#1f36ab;--ink:#fff;--line:rgba(255,255,255,.55);--mute:#d4daf5;color-scheme:dark}
/* issue 8's page colours, from the PDF */
:root:has(.theme-blush){--sheet:#f8cccd;--mute:#3f2a2b}
:root:has(.theme-cream){--sheet:#efebdf;--mute:#38352c}
:root:has(.theme-sand){--sheet:#dec8b1;--mute:#0b0b0b}
:root:has(.theme-steel){--sheet:#a6b9c9;--mute:#1e2731}
:root:has(.theme-scarlet){--paper:#db241e;--sheet:#db241e;--ink:#fff;--line:rgba(255,255,255,.6);--mute:#ffe1df;color-scheme:dark}

/* ---------- contents page ---------- */
.toc{max-width:1280px;margin:0 auto;padding-block:0 40px}
.toc-group{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:12px 24px;border-top:1px solid var(--line);padding-block:18px}
.toc-group h2{font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:14px;letter-spacing:.06em;margin:4px 0 0}
.toc-group ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.toc-group li a,.toc-group li.soon{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:8px 10px;margin-inline:-10px;text-decoration:none;font-family:var(--display);font-weight:600;text-transform:uppercase;font-size:clamp(14px,1.3vw,17px);letter-spacing:.04em;transition:background-color .3s ease,color .3s ease}
.toc-group li a:hover,.toc-group li a:focus-visible{background:var(--ink);color:var(--sheet)}
.toc-group li a:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.toc-group li.soon{color:var(--ink)}
.toc-soon{font-family:var(--body);font-style:italic;text-transform:none;font-weight:400;letter-spacing:0;font-size:.9em}
.toc-arrow{transition:transform .3s ease}
.toc-group li a:hover .toc-arrow{transform:translateX(6px)}
@media (max-width:640px){.toc-group{grid-template-columns:1fr}}
.colophon{max-width:1280px;margin:0 auto;padding-block:20px 90px;border-top:1px solid var(--line);font-size:.8em}
.colophon p{max-width:var(--measure);margin:0 0 1em}
.email{user-select:all;font-family:var(--display);font-weight:600;letter-spacing:.02em;font-size:.9em}
.toc-epub a{font-family:var(--display);font-weight:600;text-transform:uppercase;font-size:.75em;letter-spacing:.1em}
.text hr.break{border:0;height:0;margin:2em 0}

/* titles: keep each phrase together; allow the title a little wider than the text column */
h1 .ph{display:inline-block}
.opener h1{width:min(42rem,calc(100vw - 32px));text-wrap:wrap}
.opener h1.long{font-size:clamp(25px,3.3vw,44px);line-height:1.05}

a.start{text-decoration:none}

/* ---------- contents overlay (opened from a piece) ---------- */
.toc-overlay{position:fixed;inset:0;z-index:40;background:#ecc7b4;color:#0b0b0b;overflow-y:auto;overscroll-behavior:contain;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);--paper:#ecc7b4;--sheet:#ecc7b4;--ink:#0b0b0b;--line:#0b0b0b;--mute:#0b0b0b;--red:#d7222a;color-scheme:light}
.toc-overlay.toc-mint{background:#61ba99;--paper:#61ba99;--sheet:#61ba99}
.toc-ov-bar{position:sticky;top:0;z-index:2;background:var(--paper);border-bottom:1px solid var(--line)}
.toc-title{font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:clamp(29px,4.4vw,58px);line-height:1.02;margin:0}
.toc-overlay .toc{padding-bottom:80px}
.toc-group li.current a{background:var(--ink);color:var(--paper)}
.toc-group li.current a:hover{background:var(--ink)}

/* ---------- scroll-through picture sequence (::: steps) ---------- */
.steps{padding:clamp(24px,5vw,48px) 16px 0}
.step{margin:0 auto clamp(40px,7vw,72px);max-width:560px}
.step-pic{border:1px solid var(--ink);background:#fff;line-height:0}
.step-pic img{width:100%;height:auto;display:block}
.step figcaption{margin-top:16px;font-family:var(--display);text-transform:uppercase;font-size:clamp(15px,1.6vw,19px);line-height:1.25;letter-spacing:.04em}
.step-n{font-weight:700;margin-right:.35em}
.step-t{font-weight:600;font-style:italic}
/* when scrolling is live: pictures sit still and swap as you scroll */
.steps.live{padding:0;height:calc(var(--n) * 75vh + 100vh)}
.steps.live .steps-pin{position:sticky;top:var(--bar-h,64px);height:calc(100vh - var(--bar-h,64px));height:calc(100svh - var(--bar-h,64px));display:grid;place-items:center;padding-inline:16px}
.steps.live .step{grid-area:1/1;margin:0;width:min(560px,100%,calc((100svh - var(--bar-h,64px) - 140px) * 926 / 858));opacity:0;visibility:hidden;transition:opacity .6s ease,visibility 0s linear .6s}
.steps.live .step.on{opacity:1;visibility:visible;transition:opacity .6s ease,visibility 0s}
.steps-cue{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);font-family:var(--display);font-weight:600;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--mute);transition:opacity .4s ease}
.steps-cue.gone{opacity:0}

/* ---------- film entries (### Title / year) ---------- */
.film{border-top:1px solid var(--ink);margin-top:clamp(48px,7vw,80px);padding-top:18px}
.film .film-t{font-family:var(--display);font-weight:700;font-size:clamp(22px,2.4vw,30px);line-height:1.1;margin:0;text-transform:none;letter-spacing:0}
.text .film-eps{font-family:var(--display);font-size:clamp(14px,1.2vw,16px);letter-spacing:.06em;margin:6px 0 0}
.text .film-eps+.film-y{margin-top:4px}
.film-y{font-family:var(--display);font-weight:600;font-size:clamp(16px,1.4vw,19px);letter-spacing:.12em;margin:8px 0 0}
.text p.watch{font-family:var(--display);font-size:14px;line-height:1.45;letter-spacing:.02em}

/* ---------- dark pages (the jellyfish ad break) ---------- */
:root:has(.theme-dark){--paper:#0b0b0b;--sheet:#0b0b0b;--ink:#f2f0ec;--line:rgba(242,240,236,.45);--mute:#9a9a9a;color-scheme:dark}
:root:has(.theme-dark) body{background:linear-gradient(to bottom,#0b0b0b 0,#0b0b0b calc(100% - 900px),#0a1a7a 100%)}
.theme-dark .plate{padding-top:clamp(24px,5vw,56px)}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.site-link{margin:2.2em 0 1.6em}
.site-link a{display:inline-flex;align-items:center;gap:22px;color:inherit;text-decoration:none}
.site-link img{width:72px;height:72px}
.site-link span{font-family:var(--display);font-weight:700;font-size:clamp(22px,2.2vw,28px);letter-spacing:.01em}
.site-link a:hover span{color:var(--red)}
.text p.aside{font-size:.8em;line-height:1.35;margin-top:2em}

/* ---------- fixed backdrop photos (::: backdrop) — the Inception piece ---------- */
.backdrops{position:fixed;inset:0;z-index:-1;background:#fff}
.bd{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1.2s ease}
.bd.on{opacity:var(--o,1)}
.bd.bd-tile{background-size:auto;background-repeat:repeat;background-position:0 0}
@media (prefers-reduced-motion:reduce){.bd{transition:none}}
.bd-mark{height:0}
:root:has(.backdrops){--sheet:transparent}
:root:has(.backdrops) body,:root:has(.backdrops) html{background:transparent}
:root:has(.backdrops) .bar{background:rgba(255,255,255,.35);-webkit-backdrop-filter:blur(14px) saturate(1.1);backdrop-filter:blur(14px) saturate(1.1)}
.subheads-as-written .text h2{text-transform:none;letter-spacing:0;font-size:.78em;line-height:1.3}
.sub-title em{font-style:normal}

/* ---------- red ink (scary story) and the full-screen last line (::: ending) ---------- */
:root:has(.theme-red){--ink:#930000;--line:#930000;--mute:#930000;--sheet:#fff}
.theme-red .drop::first-letter{color:var(--ink)}
.ending{margin-top:clamp(56px,9vw,110px)}
.ending-pin{height:42vh;height:42svh;background:var(--ink);color:var(--paper);display:grid;place-items:center;padding:24px;text-align:center}
.ending p{font-family:var(--display);font-weight:700;font-size:clamp(15px,1.3vw,18px);line-height:1.3;max-width:15em;margin:0}
/* live: the red band holds still in the middle of the screen while the line appears word by word */
.ending.live{height:calc(42svh + 90svh)}
.ending.live .ending-pin{position:sticky;top:calc(50svh - 21svh + var(--bar-h,64px) / 2)}
.ending .w{opacity:.08;transition:opacity .35s ease}
.ending .w.on{opacity:1}

/* ---------- black pages (riddles) ---------- */
:root:has(.theme-black){--paper:#000;--sheet:#000;--ink:#fff;--line:rgba(255,255,255,.7);--mute:#bdbdbd;color-scheme:dark}
.opener .cover{margin:0 0 clamp(28px,5vw,48px);max-width:min(420px,100%)}
.opener .cover img{display:block;width:100%;height:auto}

/* ---------- riddles (::: riddle) ---------- */
.riddle{margin:0 0 clamp(44px,7vw,72px)}
.text .riddle-n{font-family:var(--display);font-weight:700;font-size:.8em;margin:0 0 .3em}
.text .riddle-q{margin:0 0 1.1em}
.reveal{display:inline-flex;align-items:center;gap:.5em;font:600 12px/1 var(--display);letter-spacing:.14em;text-transform:uppercase;color:inherit;background:none;border:1px solid var(--ink);border-radius:999px;padding:9px 16px 7px;cursor:pointer}
.reveal:hover,.reveal[aria-expanded="true"]{background:var(--ink);color:var(--paper)}
.reveal:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.text .riddle-a{font-family:var(--display);font-size:.85em;border-left:2px solid var(--red);padding:2px 0 2px 16px;margin:1.5em 0 0}

/* ---------- speckled grey ad page (Attention, all shoppers) ---------- */
:root:has(.theme-noise){--paper:#b3b0ac;--sheet:#b3b0ac;--mute:#2b2b2b}
:root:has(.theme-noise) body{background:#b3b0ac url(/assets/noise.jpg) repeat;background-size:300px}
:root:has(.theme-noise) .bar{background:rgba(179,176,172,.8);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.theme-noise .site-link img{filter:invert(1)}
.opener-serif .kicker{display:none}
.opener-serif h1{font-family:var(--body);font-weight:700;text-transform:none;letter-spacing:-.01em;line-height:.95;font-size:clamp(44px,6vw,76px)}

/* ---------- past covers (::: covers): an old-school catalogue page ----------
   Each cover has a "Nº n" circle and its caption right beside it (diamond icon, "Nº 1 — Nov 2020", blurb),
   all left-aligned. Big screens (1200px+): one poster, with the title and intro in the middle and the covers
   around them (four across the top, one either side of the middle, four across the bottom; small hand-set
   nudges so it isn't a rigid grid). Smaller screens: title, intro, then one row per issue.
   Hover (cover, circle or title): the cover gets an outline in the issue's colour (--cat-c, from
   content/home/issues.json) and the title gets an underline. */
.catalogue{margin:0 auto;padding-block:clamp(44px,8vw,110px) 0}
.catalogue ol{list-style:none;margin:0;padding:0}
.cat-centre{display:flex;flex-direction:column}
.cat-centre .cat-head{padding-top:0}
.cat-centre .text{padding-block:0 clamp(28px,4vw,48px);max-width:var(--measure);margin:0 auto}
.cat-cover{position:relative;display:block}
.cat-cover img{display:block;width:100%;height:auto;aspect-ratio:9/16;object-fit:cover;border:1px solid var(--ink);outline:0 solid var(--cat-c,var(--ink));outline-offset:0;transition:outline-width .15s,outline-offset .15s}
.cat-n{position:absolute;right:-10px;bottom:-10px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:40px;height:40px;border-radius:50%;background:#fff;border:1.5px solid var(--ink);color:var(--ink);font-family:var(--display);font-weight:700;font-size:11px;line-height:1;white-space:nowrap}
.cat-icon{display:block;height:auto;margin:0 0 8px}
.cat-title{display:inline-block;font-family:var(--display);font-weight:700;font-size:13px;letter-spacing:.02em;line-height:1.25;margin:0 0 4px;text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:1.5px;text-underline-offset:3px;transition:text-decoration-color .15s}
.cat-blurb{display:block;font-family:var(--display);font-size:12px;line-height:1.38}
.cat-covers li:has(.cat-cover:hover,.cat-title:hover) .cat-cover img{outline-width:4px;outline-offset:3px}
.cat-covers li:has(.cat-cover:hover,.cat-title:hover) .cat-title{text-decoration-color:currentColor}
@media (max-width:1199px){
  .catalogue{max-width:var(--measure);box-sizing:content-box}
  .cat-covers li{display:grid;grid-template-columns:96px minmax(0,1fr);gap:22px;align-items:start;padding:20px 0;border-bottom:1.5px solid var(--ink)}
  .cat-covers li:first-child{padding-top:0}
  .cat-n{width:36px;height:36px;font-size:10px;right:-9px;bottom:-9px}
}
@media (min-width:1200px){
  .catalogue{max-width:1240px;box-sizing:content-box;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:56px 28px;padding-bottom:clamp(40px,5vw,64px)}
  .cat-covers{display:contents}
  .cat-covers li{display:flex;gap:20px;align-items:flex-start}
  .cat-cover{flex:0 0 118px}
  .cat-cap{flex:1;min-width:0;max-width:170px}
  /* the middle: title above the intro, left-aligned */
  .cat-centre{grid-column:2 / 4;grid-row:2;justify-content:center;width:min(100%,30rem);margin:0 auto}
  .cat-centre .cat-head{max-width:none;padding:0 0 clamp(18px,2vw,28px)}
  .cat-centre .cat-head h1{width:auto;margin:0}
  .cat-centre .text{max-width:none;margin:0;padding:0}
  .cat-centre .text p:last-child{margin-bottom:0}
  /* where each cover goes: 1–4 top row, 5 and 6 either side of the middle, 7–10 bottom row */
  .cat-covers li:nth-child(-n+4){grid-row:1}
  .cat-covers li:nth-child(5){grid-row:2;grid-column:1;align-self:center}
  .cat-covers li:nth-child(6){grid-row:2;grid-column:4;align-self:center}
  .cat-covers li:nth-child(n+7){grid-row:3}
  /* scatter: small fixed nudges */
  .cat-covers li:nth-child(1){transform:translate(8px,18px)}
  .cat-covers li:nth-child(2){transform:translate(-6px,-14px)}
  .cat-covers li:nth-child(3){transform:translate(10px,24px)}
  .cat-covers li:nth-child(4){transform:translate(-8px,-6px)}
  .cat-covers li:nth-child(5){transform:translate(10px,-10px)}
  .cat-covers li:nth-child(6){transform:translate(-10px,14px)}
  .cat-covers li:nth-child(7){transform:translate(8px,-12px)}
  .cat-covers li:nth-child(8){transform:translate(-6px,20px)}
  .cat-covers li:nth-child(9){transform:translate(10px,-4px)}
  .cat-covers li:nth-child(10){transform:translate(-8px,16px)}
}

/* the kanis.xyz sign-off straight after the catalogue: much less space above and below it; on big screens
   it lines up with the left edge of the covers rather than the narrow text column */
.catalogue + .text{padding-block:clamp(36px,4vw,48px) 0}
.catalogue + .text .site-link{margin:0}
.catalogue + .text + footer.next{margin-top:clamp(48px,5vw,64px)}
@media (min-width:1200px){.catalogue{padding-bottom:24px}.catalogue + .text{max-width:1240px;box-sizing:content-box}.catalogue + .text .site-link{margin-left:8px}}

/* ---------- peach sign-off at the end of the issue (::: closing) ---------- */
.closing{background:#ecc7b4;color:#0b0b0b;--ink:#0b0b0b;--line:#0b0b0b;margin-top:clamp(56px,9vw,110px);padding-block:clamp(56px,9vw,110px) 40px}
/* an issue can swap the sign-off colour for its own (issue 1's green, as in the PDF) */
.closing[data-closing="mint"]{background:#61ba99}
.closing[data-closing="lightgrey"]{background:#d6d6d6}
.closing[data-closing="ochre"]{background:#d8a676;color:#fff;--ink:#fff;--line:#fff}
.closing[data-closing="ochre"] .closing-contents svg{color:#fff}
.closing[data-closing="ochre"] .closing-marks img{filter:invert(1)}
.closing[data-closing="royal"]{background:#1f36ab;color:#fff;--ink:#fff;--line:#fff}
.closing[data-closing="royal"] .closing-contents svg{color:#fff}
.closing[data-closing="royal"] .closing-marks img{filter:invert(1)}
.closing[data-closing="scarlet"]{background:#db241e;color:#fff;--ink:#fff;--line:#fff}
.closing[data-closing="scarlet"] .closing-contents svg{color:#fff}
.closing[data-closing="scarlet"] .closing-marks img{filter:invert(1)}
.closing-in{max-width:var(--measure);margin:0 auto}
.closing h2{font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:clamp(22px,2.6vw,32px);line-height:1.08;letter-spacing:.01em;margin:0 0 1.1em}
.closing p{margin:0 0 1.05em}
.closing p.aside{font-family:var(--display);font-size:14px;line-height:1.45;margin:0 0 .9em}
.closing p:not(.aside) + p.aside{margin-top:2.2em}
.closing a{color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
.closing a:hover{color:var(--red)}
.closing-marks{display:flex;align-items:flex-end;justify-content:center;gap:clamp(28px,6vw,64px);margin:clamp(40px,7vw,72px) 0 0}
.closing-contents svg{display:block;width:76px;height:auto;color:#0b0b0b}
.closing .closing-home{display:flex;flex-direction:column;align-items:center;gap:12px;text-decoration:none;font-family:var(--display);font-weight:600;font-size:10px;letter-spacing:.16em;text-transform:uppercase;line-height:1.2;text-align:center}
.closing-home svg{width:64px;height:64px;display:block}
.closing .closing-home:hover{color:var(--red)}
.closing-marks img{width:110px;height:auto}
/* the dog constellation leads to the sitemap (Hamza, 3 Dec) */
.closing .closing-dog{display:block;line-height:0;text-decoration:none}
.closing .closing-dog:hover img,.closing .closing-dog:focus-visible img{opacity:.7}
/* phones: keep the top bar on one line now that the donut is there too */
@media (max-width:440px){.bar-in{gap:10px}.bar-left{gap:12px}.home svg{width:24px;height:24px}.sect{font-size:12px;letter-spacing:.04em;white-space:nowrap}}

/* True That (issue 1): pick the one false fact, then reveal */
:root:has(.theme-seafoam){--sheet:#8bc7b0;--mute:#0b0b0b;--sea-deep:#5fa58a;--sea-pale:#a9d8c5}
.quiz{margin-top:clamp(8px,2vw,24px)}
.quiz-pill{width:fit-content;max-width:min(560px,calc(100% - 32px));box-sizing:border-box;margin:0;border:1px solid var(--ink);border-radius:999px;padding:14px 28px 11px;font-size:clamp(18px,2.2vw,24px);line-height:1.35;text-align:center}
.quiz-head{max-width:var(--measure);margin:0 auto clamp(40px,6vw,72px);box-sizing:content-box;padding-inline:var(--gutter-l) var(--gutter-r)}
.quiz-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.qcard{position:relative;display:grid;grid-template-columns:clamp(48px,8vw,96px) minmax(0,1fr) auto;align-items:center;gap:clamp(14px,3vw,40px);width:100%;margin:0;padding:clamp(22px,3.2vw,36px) max(var(--gutter-r),calc((100% - var(--measure)) / 2 - 40px)) clamp(22px,3.2vw,36px) max(var(--gutter-l),calc((100% - var(--measure)) / 2 - clamp(48px,8vw,96px) - clamp(14px,3vw,40px)));border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:background .35s,color .35s}
.qcard:hover{background:var(--sea-pale,#efefef)}
.qcard:focus-visible{outline:3px solid var(--ink);outline-offset:-3px}
.qcard .num{font-family:var(--display);font-weight:700;font-size:clamp(26px,3.2vw,40px);line-height:1;align-self:start;padding-top:.12em}
.qcard .fact{font-size:clamp(20px,2.2vw,28px);line-height:1.3;max-width:34ch}
.qcard .ring,.qcard .stamp{grid-column:3;grid-row:1;justify-self:end}
.qcard .ring{width:26px;height:26px;border:1px solid currentColor;border-radius:50%;display:grid;place-items:center}
.qcard .ring::after{content:"";width:14px;height:14px;border-radius:50%;background:currentColor;transform:scale(0);transition:transform .25s}
.qcard[aria-pressed="true"]{background:var(--ink);color:var(--sheet)}
.qcard[aria-pressed="true"] .ring::after{transform:scale(1)}
.qcard .stamp{display:inline-flex;align-items:center;font:600 12px/1 var(--display);letter-spacing:.14em;text-transform:uppercase;border:1px solid currentColor;border-radius:999px;padding:9px 16px 7px;white-space:nowrap;opacity:0;pointer-events:none}
.quiz.revealed .qcard{cursor:default}
.quiz.revealed .qcard .ring{opacity:0}
.quiz.revealed .qcard .stamp{opacity:1}
.quiz.revealed .qcard:not(.is-false){background:transparent;color:#2c3a34}
.quiz.revealed .qcard.is-false{background:var(--ink);color:#f3f7f4}
.quiz.revealed .qcard.is-false .stamp{color:#ff8f70}
@media (max-width:520px){.qcard{grid-template-columns:40px minmax(0,1fr) auto}.qcard .stamp{font-size:11px;padding:8px 12px 6px}}
.quiz-answer{display:grid;gap:32px;padding-block:clamp(48px,7vw,96px);max-width:52rem;margin:0 auto;box-sizing:content-box}
@media (min-width:900px){.quiz-answer{grid-template-columns:1fr 1.3fr;gap:56px;align-items:start}}
.quiz-kick{font-family:var(--display);font-size:clamp(20px,2.4vw,30px);text-transform:uppercase;letter-spacing:.02em;margin:0}
.quiz-big{font-family:var(--display);font-weight:700;font-size:clamp(72px,12vw,168px);line-height:.85;letter-spacing:-.03em;margin:10px 0 0}
.quiz-big .q{color:var(--sea-deep,#a3a3a3)}
.quiz.locked .quiz-big .n,.quiz.revealed .quiz-big .q,.quiz.locked .quiz-more{display:none}
.quiz-more{max-width:34em;font-size:clamp(19px,1.8vw,23px)}
.quiz-more p{margin:0 0 18px}
.verdict{font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:clamp(22px,2.6vw,32px);line-height:1.05}
.quiz-reveal{display:inline-flex;align-items:center;font:600 12px/1 var(--display);letter-spacing:.14em;text-transform:uppercase;color:inherit;background:none;border:1px solid currentColor;border-radius:999px;padding:9px 16px 7px;cursor:pointer;white-space:nowrap;transition:background .25s,color .25s}
.quiz-reveal:hover{background:var(--sheet);color:var(--ink)}
.quiz-reveal:focus-visible{outline:2px solid var(--sheet);outline-offset:3px}
.quiz-bar{position:fixed;left:0;right:0;bottom:0;z-index:55;background:var(--ink);color:var(--sheet);padding-bottom:env(safe-area-inset-bottom,0px);transform:translateY(110%);transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.quiz-bar.show{transform:none}
.quiz-bar-in{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px;padding:10px var(--gutter-r) 10px var(--gutter-l)}
.quiz-bar p{margin:0;font-family:var(--display);font-size:14px;letter-spacing:.08em;text-transform:uppercase}
.quiz-bar b{font-size:22px;letter-spacing:0}
@media (prefers-reduced-motion:reduce){.quiz-bar,.qcard,.qcard .ring::after{transition:none}}

/* navy (issue 1, "Seriously, though. How small are we?"): the PDF's night sky */
:root:has(.theme-navy){--paper:#041726;--sheet:#041726;--ink:#f2f0ec;--line:rgba(242,240,236,.45);--mute:#9fb0bf;color-scheme:dark}
.theme-navy .opener .cover{max-width:min(460px,100%)}
/* the symbol key: two columns in a thin rounded box */
.sym-key{list-style:none;margin:2.2em 0;padding:clamp(20px,4vw,30px) clamp(22px,5vw,40px);border:1px solid var(--line);border-radius:28px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,auto);grid-auto-flow:column;gap:14px 24px;font-family:var(--display);font-size:14px;letter-spacing:.06em;text-transform:uppercase}
.sym-key li{display:flex;align-items:center;gap:12px;line-height:1}
.sym-key li span{padding-top:3px}
.sym-key img{width:26px;height:26px;flex:none}
/* headings with their symbol on top */
.text h2.sym-h{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:3em;margin-bottom:.6em}
.text h2.sym-h img{width:34px;height:34px;margin-left:-4px}
.float-line{font-family:var(--display);font-weight:600;font-size:clamp(15px,1.4vw,18px);line-height:1.4;text-align:center;max-width:15em;margin:clamp(20px,3vw,36px) auto clamp(8px,2vw,24px);padding-inline:16px;color:var(--ink);text-wrap:balance}
/* sky drawings (issue 1, "How small are we?"): redrawn from the PDF so they fill the screen edge to edge.
   --u = one PDF point; the whole PDF page (1080 × 1920) always fits, centred, and the drawing carries on past it. */
.sky{position:relative;width:100%;height:100svh;min-height:540px;container-type:size;overflow:hidden;background:#041726;color:#f2f0ec;
  --fh:1920;--fc:960;--u:min(calc(100cqh / var(--fh)),calc(100cqw / 1080))}
.sky-art{position:absolute;inset:0}
.sky-bg{position:absolute;inset:0}
.sky .o{position:absolute;left:calc(50% + (var(--x) - 540) * var(--u));top:calc(50% + (var(--y) - var(--fc)) * var(--u));
  width:max(2px,calc(var(--d) * var(--u)));height:max(2px,calc(var(--d) * var(--u)));transform:translate(-50%,-50%);border-radius:50%;margin:0}
.sky .sym{border-radius:0;width:calc(var(--d) * var(--u));height:auto}
.sky .lab{position:absolute;margin:0;top:calc(50% + (var(--y) - var(--fc)) * var(--u));font-family:var(--display);font-size:max(12px,calc(38 * var(--u)));line-height:1.25;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}
.sky .lab-star{left:max(16px,calc(50% + (var(--x) - 540) * var(--u)))}
.sky .lab-dot{left:calc(50% + (var(--x) - 540) * var(--u));transform:translateX(-50%);text-align:center}
.sky-star .sky-bg{background:radial-gradient(circle at calc(50% + (-6607 - 540) * var(--u)) calc(50% + (5006 - var(--fc)) * var(--u)),
  #952d3f calc(8017 * var(--u)),#b1495d calc(8017 * var(--u) + 1px),#924254 calc(8067 * var(--u)),#74384a calc(8117 * var(--u)),#5a3041 calc(8167 * var(--u)),
  #42293a calc(8217 * var(--u)),#2e2333 calc(8267 * var(--u)),#1e1e2e calc(8317 * var(--u)),#111a2a calc(8367 * var(--u)),#081827 calc(8417 * var(--u)),#041726 calc(8467 * var(--u)))}
.sky-solar{--fh:1580;--fc:790;height:min(150svh,calc(100vw * 1580 / 1080))}
.sky-solar .sky-bg{background:radial-gradient(circle at calc(50% + (-45.5 - 540) * var(--u)) calc(50% + (-262 - var(--fc)) * var(--u)),
  #f39a3e calc(1006.5 * var(--u)),#7a482b calc(1006.5 * var(--u) + 1px),#6a3f28 calc(1016.5 * var(--u)),#593826 calc(1026.5 * var(--u)),#4b3225 calc(1036.5 * var(--u)),
  #3e2d24 calc(1046.5 * var(--u)),#332825 calc(1056.5 * var(--u)),#2a2425 calc(1066.5 * var(--u)),#202124 calc(1076.5 * var(--u)),#191e23 calc(1086.5 * var(--u)),
  #131b23 calc(1096.5 * var(--u)),#0e1922 calc(1106.5 * var(--u)),#041726 calc(1136.5 * var(--u)))}
.sky + .float-line{margin-top:0}
/* a caption followed by another photo (issue 10's Marko Polo): more room before the next photo */
.float-line + .plate{margin-top:clamp(48px,7vw,96px)}
/* photos one after another (issue 9's Bangkok photos) don't touch */
.plate + .plate{margin-top:clamp(24px,4vw,48px)}
/* "::: caption" (issue 9, Bangkok): the text column's width, left-aligned, so a long caption reads easily */
.photo-cap{font-family:var(--display);font-weight:600;font-size:clamp(15px,1.3vw,17px);line-height:1.5;max-width:var(--measure,36rem);margin:clamp(14px,2vw,20px) auto 0;padding-inline:16px;box-sizing:content-box;color:var(--ink);text-wrap:pretty}
.photo-cap + .plate{margin-top:clamp(48px,7vw,96px)}
/* the film list followed straight by writing (issue 9's 00s movies, issue 10's 70s and 80s): the same room as before a film */
.film-index + p{margin-top:clamp(48px,7vw,80px)}
.sky .dot{background:#316f74}
/* planets drawing: each planet (dot + symbol) is a button; hover lights it up, click opens its paragraph */
.sky .pl{position:absolute;display:block;text-decoration:none;left:calc(50% + (var(--x) - 540) * var(--u));top:calc(50% + (var(--y) - var(--fc)) * var(--u));
  width:max(44px,calc(var(--d) * var(--u)));height:max(44px,calc(var(--d) * var(--u)));translate:-50% -50%;margin:0;padding:0;border:0;border-radius:50%;background:none;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sky .pl[data-p="sun"]{width:calc(var(--d) * var(--u));height:calc(var(--d) * var(--u))}
.sky .pl-in{position:absolute;inset:0;display:block}
.sky .planet{position:absolute;left:50%;top:50%;width:max(2px,calc(var(--d) * var(--u)));height:max(2px,calc(var(--d) * var(--u)));translate:-50% -50%;border-radius:50%;transition:scale .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s}
.sky .planet.sun{display:none}
.sky .pl .sym{position:absolute;left:calc(50% + var(--dx) * var(--u));top:calc(50% + var(--dy) * var(--u));width:calc(75 * var(--u));height:auto;translate:-50% -50%;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.sky .pl-name{position:absolute;left:calc(50% + var(--dx) * var(--u) + 26 * var(--u) + 8px);top:calc(50% + var(--dy) * var(--u));translate:0 -50%;
  font-family:var(--display);font-weight:600;font-size:12px;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;opacity:0;transition:opacity .25s}
.sky-solar .sky-art{transition:none}
.sky-solar .pl{transition:opacity .3s}
.sky-solar:has(.pl:hover,.pl:focus-visible) .pl:not(:hover,:focus-visible){opacity:.45}
.sky .pl:hover .planet,.sky .pl:focus-visible .planet{scale:1.25;box-shadow:0 0 0 max(3px,calc(6 * var(--u))) rgba(242,240,236,.18)}
.sky .pl:hover .sym,.sky .pl:focus-visible .sym{transform:scale(1.2)}
.sky .pl:hover .pl-name,.sky .pl:focus-visible .pl-name{opacity:1}
.sky .pl:focus-visible{outline:none}
.sky-solar .sky-bg{transition:filter .35s}
.sky-solar:has(.pl[data-p="sun"]:hover,.pl[data-p="sun"]:focus-visible) .sky-bg{filter:brightness(1.12) saturate(1.1)}
.text h2.sym-h{scroll-margin-top:110px}
.continue{margin:2.4em 0 clamp(64px,14vh,140px);text-align:center}
.continue .reveal{text-decoration:none;border-color:currentColor;padding:11px 22px 9px}
.continue + *{margin-top:0}
.sym-back{display:inline-flex;flex-direction:column;align-items:flex-start;gap:8px;color:inherit;text-decoration:none}
.sym-back:hover span:not(.vh),.sym-back:focus-visible span:not(.vh){text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.sym-back:hover img,.sym-back:focus-visible img{transform:translateY(-3px)}
.sym-back img{transition:transform .25s}
.sym-back:focus-visible{outline:none}
.sky .pl.is-hi .planet{scale:1.25;box-shadow:0 0 0 max(3px,calc(6 * var(--u))) rgba(242,240,236,.18)}
.sky .pl.is-hi .sym{transform:scale(1.2)}
.sky .pl.is-hi .pl-name{opacity:1}
/* a picture on full-width stripes (issue 1, coffee): the stripes run edge to edge, the picture sits in the middle */
.bands{margin:0;width:100%;display:flex;justify-content:center}
.bands img{display:block;width:min(100%,520px,calc(86svh * 700 / 1080));height:auto}
/* a little comic (issue 1, the two luwaks): words above each drawing, sitting on one ground line */
.comic{margin:2.6em 0 1em;display:grid;grid-template-columns:320fr 432fr;gap:clamp(16px,5vw,48px);align-items:end}
.comic-cell{display:flex;flex-direction:column;justify-content:flex-end;gap:clamp(14px,3vw,26px);height:100%}
.comic-cell p{margin:0;font-family:var(--display);font-weight:700;font-size:clamp(14px,2.2vw,19px);line-height:1.3;max-width:11em}
.comic-cell:nth-child(2) p{margin-left:5%}
.comic-cell img{display:block;width:100%;height:auto;color:var(--ink)}
.quiz-more .ans-n{display:block;font-family:var(--display);font-weight:700;font-size:.8em;letter-spacing:.06em;margin-bottom:4px}
.quiz-more .ans + .ans{margin-top:26px}
.quiz-reveal:disabled{opacity:.4;cursor:default}
.nw{white-space:nowrap}
/* interviews (issue 1, Chase for Adventure) */
.text .lede{font-family:var(--display);font-weight:700;font-size:clamp(18px,1.6vw,21px);line-height:1.45;margin-bottom:1.6em}
.text p.ask{margin-top:2.2em}
.text p.ask + p{margin-top:.6em}
.text .links{display:flex;flex-wrap:wrap;gap:10px;margin-top:2em}
.text .links .reveal{text-decoration:none;padding:11px 20px 9px}
/* Throwback Throwaways (issue 1): one line-drawing icon + one bold question per nostalgic item */
.tb-icon{display:flex;justify-content:center;margin:2.4em 0 1.6em}
.text > .tb-icon:first-child{margin-top:0}
.tb-icon img{display:block;width:auto;height:clamp(64px,9vw,104px);max-width:70%}
/* issue 10's ad for the magazine: the TV and logo, as big as in the PDF */
.tb-icon img[src$="/kanis-ad.png"]{height:clamp(240px,34vw,400px)}
.text p.tb-q{font-weight:700;margin-top:0}
.text p.tb-q + p{margin-top:.6em}
/* film list extras (issue 1, the 2010s): the TV's loading spinner, the film index, the one-line ads */
.cover{position:relative}
.cover .spinner{position:absolute;aspect-ratio:1;translate:-50% -50%;display:block}
.cover .spinner svg{display:block;width:100%;height:100%;stroke:#fff;stroke-width:3.4;stroke-linecap:round;animation:spin 1.1s steps(12) infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.cover .spinner svg{animation:none}}
.film-index{margin:2.2em 0 0;padding:20px 0 0;border-top:1px solid var(--ink)}
.film-index ol{margin:0;padding:0 0 0 2.2em;columns:2;column-gap:2em;font-family:var(--display);font-size:14px;line-height:1.35}
.film-index li{break-inside:avoid;padding:3px 0}
.film-index li::marker{font-size:12px;font-weight:600}
.film-index a{color:inherit;text-decoration:none}
.film-index a:hover,.film-index a:focus-visible{text-decoration:underline;text-underline-offset:3px}
@media (max-width:520px){.film-index ol{columns:1}}
.film{scroll-margin-top:110px}
/* rule 46: tap a film's title to go back to its line in the index; LIST floats in the corner while you read the reviews */
.film .film-t .film-back{color:inherit;text-decoration:none}
.film .film-t .film-back:hover,.film .film-t .film-back:focus-visible{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.film-index li a{display:inline;padding:1px 3px;margin:-1px -3px;border-radius:3px;transition:background-color .5s,color .5s}
.film-index li.is-hi a{background:var(--ink);color:var(--paper);text-decoration:none}
.list-pill{position:fixed;right:max(16px,env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:15;background:var(--sheet);text-decoration:none;padding:11px 18px 9px;opacity:0;visibility:hidden;transform:translateY(14px);transition:opacity .3s,transform .3s,visibility 0s linear .3s}
.list-pill.show{opacity:1;visibility:visible;transform:none;transition:opacity .3s,transform .3s}
@media (prefers-reduced-motion:reduce){.list-pill,.list-pill.show{transition:none}}
.ad{max-width:var(--measure,36rem);margin:clamp(96px,14vw,160px) auto clamp(40px,8vw,90px);padding:0 16px;box-sizing:content-box}
.ad-line{font-family:var(--body);font-weight:700;font-size:clamp(38px,6vw,72px);line-height:1.02;letter-spacing:-.015em;margin:0;text-wrap:balance}
.ad-line + .ad-line{margin-top:.75em}
.ad .w{display:inline-block;white-space:pre}
/* "::: ad full" (issue 9): the one-liner fills a screen of its own, as it has a whole page in the PDF */
.ad.ad-full{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:center;margin-top:0;margin-bottom:0;box-sizing:border-box;padding-top:clamp(40px,8vw,80px);padding-bottom:clamp(40px,8vw,80px)}
/* rule 47: tips (issue 1 websites): small bold capitals heading, the text, bold web addresses that open in a new tab */
.tip{margin:2.4em 0 0}
.tip .tip-t{font:700 15px/1.3 var(--display);letter-spacing:.06em;margin:0 0 .45em}
.tip p{margin:0 0 .35em}
.tip a{font-family:var(--display);font-weight:700;font-size:.86em;letter-spacing:.01em;color:inherit;text-decoration:none}
.tip a:hover,.tip a:focus-visible{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.tip .web{margin-top:.2em}
/* "Reveal all" (Guess these movies): one button that opens or closes every riddle's answer together */
.reveal-all{margin:0 0 clamp(28px,5vw,40px)}
.reveal-all[aria-expanded="true"]{background:var(--ink);color:var(--paper)}
/* Kanis Majoris XL (/xl/): a plain list of puzzles and games, each a card with a title, a short
   line and either a "Play" pill (once the page exists) or a muted "Coming soon" badge. */
.xl-list{list-style:none;margin:2.2em 0 0;padding:0;display:flex;flex-direction:column;gap:14px}
.xl-item{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;border:1px solid var(--line);border-radius:14px;padding:18px 22px}
.xl-item h2{font-family:var(--display);font-weight:700;text-transform:none;font-size:19px;margin:0 0 .3em;letter-spacing:0}
.xl-info p{margin:0;font-size:.78em;color:var(--mute)}
.xl-item.xl-soon{opacity:.6}
.xl-badge{font-family:var(--display);font-weight:600;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--mute);white-space:nowrap}
.xl-item .reveal{text-decoration:none;white-space:nowrap}
.xl-wordmark{display:block;width:clamp(200px,26vw,320px);height:auto;margin:0 auto}
/* the shared .opener h1 rule sizes headlines up to 42rem — wider than this page's narrower
   --measure column. For ordinary text that's fine, but a too-wide block box doesn't get
   centered by auto margins: per CSS, when a fixed-width box is wider than its container, auto
   margins resolve to 0 on the near side rather than centering, so the box (and the wordmark
   image inside it) sat flush left. Letting the box size to its container (instead of the
   oversized 42rem) is what lets the image's own auto margins center it correctly. */
.opener:has(.xl-wordmark){text-align:center}
.opener:has(.xl-wordmark) h1{width:auto}
/* a different rough, lo-fi photo behind the whole page each visit (set in kanis.js); washed out
   under a near-opaque white so the text on top stays easy to read */
.xl-bg{position:fixed;inset:0;z-index:-1;background-size:cover;background-position:center;background-repeat:no-repeat;background-color:var(--paper)}
/* same fix as .backdrops above: html/body's own opaque background paints over a fixed,
   negative-z-index div, so it has to be made transparent whenever .xl-bg is present */
:root:has(.xl-bg) body,:root:has(.xl-bg) html{background:transparent}
/* opener without the top bar: a back link top-left, logo below, tighter vertical rhythm
   than the standard .opener (which is built around a bar + kicker + headline stack) */
.xl-opener{padding-block:clamp(20px,4vw,40px) clamp(16px,2.5vw,28px)}
.xl-back{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:var(--ink);font-family:var(--display);font-weight:600;font-size:9px;letter-spacing:.14em;margin-bottom:clamp(18px,4vw,36px)}
.xl-back svg{width:22px;height:22px}
.xl-back:hover{color:var(--red)}
.xl-back:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.xl-opener + .text{padding-top:clamp(8px,2vw,20px)}

/* ---------- Kanis Majoris XL: crossword ---------- */
/* tighter header than other XL pages: the puzzle itself is the thing to see, so the title
   stays small and the back link moves out of flow into the corner, so it costs no vertical
   space of its own */
.xw-opener{text-align:center;position:relative;max-width:none;padding-block:clamp(40px,7vw,48px) clamp(6px,1.5vw,12px)}
.xw-opener .xl-back{position:absolute;top:18px;left:20px;margin:0}
.xw-opener h1{font-size:clamp(17px,2.4vw,26px);line-height:1.1;width:auto;max-width:calc(100vw - 90px);margin:0 auto}
.xw{max-width:none;padding-block:0 clamp(24px,4vw,40px)}

/* toolbar: [gear] -------- [Clear Reveal Check] -------- [help], same three-zone layout as the
   NYT crossword; wraps the end icons to their own line on narrow screens */
.xw-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:0 0 10px}
@media (min-width:640px){.xw-toolbar{flex-wrap:nowrap}}
.xw-toolbar-start{display:flex;align-items:center;gap:10px}
.xw-view-toggle{display:flex;border:1px solid var(--line);border-radius:20px;padding:2px;gap:2px}
.xw-view-btn{background:none;border:0;border-radius:16px;padding:3px 11px;margin:0;cursor:pointer;color:var(--mute);font-family:var(--display);font-weight:600;font-size:11px;letter-spacing:.04em;text-transform:uppercase}
.xw-view-btn[aria-pressed="true"]{background:var(--ink);color:var(--paper)}
.xw-icon{display:flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;background:none;border:0;border-radius:50%;color:var(--ink);cursor:pointer}
.xw-icon svg{width:17px;height:17px}
.xw-icon:hover{background:rgba(11,11,11,.07)}
.xw-icon[aria-pressed="true"],.xw-icon[aria-expanded="true"]{background:rgba(11,11,11,.1);color:var(--red)}
.xw-tools{display:flex;align-items:center;justify-content:center;gap:clamp(14px,3vw,28px);flex:1 1 auto;order:2;font-family:var(--display);font-weight:600;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
@media (min-width:640px){.xw-tools{order:0}}
.xw-tool{background:none;border:0;padding:2px 0;margin:0;cursor:pointer;color:var(--ink);font:inherit;letter-spacing:inherit;text-transform:inherit;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px;transition:text-decoration-color .15s,color .15s}
.xw-tool:hover{text-decoration-color:var(--ink)}
.xw-tool[aria-pressed="true"]{color:var(--red);text-decoration-color:var(--red)}
.xw-tool[aria-expanded="true"]{color:var(--red);text-decoration-color:var(--red)}
.xw-tool-menu{position:relative;display:inline-flex}
.xw-menu{position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);z-index:5;display:flex;flex-direction:column;min-width:150px;background:#fff;border:1px solid rgba(11,11,11,.12);border-radius:6px;box-shadow:0 6px 20px rgba(11,11,11,.15);padding:5px;text-transform:none;letter-spacing:normal;font-weight:400}
.xw-menu-item{background:none;border:0;padding:7px 10px;margin:0;text-align:left;cursor:pointer;color:var(--ink);font:inherit;font-family:var(--body);font-size:13px;border-radius:4px;white-space:nowrap}
.xw-menu-item:hover{background:rgba(11,11,11,.07)}
.xw-toolbar-end{display:flex;align-items:center;gap:6px;order:3;flex-basis:100%;justify-content:flex-start}
@media (min-width:640px){.xw-toolbar-end{order:0;flex-basis:auto;justify-content:flex-end}}
.xw-help-panel{background:#f3f3f3;border-radius:4px;padding:11px 14px;margin:0 0 12px;font-family:var(--body);font-size:.84em;line-height:1.5;color:var(--ink)}
.xw-status{min-height:1.2em;font-family:var(--display);font-size:11px;letter-spacing:.06em;color:var(--mute);margin:0 0 6px}
.xw-status.xw-status-bad{color:var(--red)}
.xw-clue-bar{display:flex;align-items:baseline;gap:9px;background:#d9ecfb;border-radius:3px;padding:9px 13px;margin:0 0 clamp(16px,2.5vw,24px);font-family:var(--body);font-size:1.05em;line-height:1.3}
.xw-clue-bar-num{font-family:var(--display);font-weight:700;font-size:.9em;flex:none}
.xw-main{display:flex;flex-direction:column;gap:clamp(22px,4vw,32px)}
@media (min-width:1100px){.xw-main{flex-direction:row;align-items:flex-start}}
.xw-board{display:flex;justify-content:center;min-width:0}
/* flex:0 1 auto (not 1 1 0) so the board only takes the width its grid actually needs, instead
   of stretching to fill the row and leaving a gap of dead space before the clue columns */
@media (min-width:1100px){.xw-board{flex:0 1 auto;justify-content:flex-start}}
.xw-grid{--xw-cell:22px;display:grid;grid-template-columns:repeat(var(--xw-cols),var(--xw-cell));grid-template-rows:repeat(var(--xw-rows),var(--xw-cell));border:2px solid var(--ink);background:var(--ink) url("/xl/images/crossword-bg.jpg") center/cover no-repeat}
.xw-cell{position:relative;width:var(--xw-cell);height:var(--xw-cell);box-sizing:border-box}
.xw-black{background:transparent}
.xw-letter{border:.5px solid #bbb;background:var(--paper)}
.xw-num{position:absolute;top:1px;left:2px;font-family:var(--display);font-weight:600;font-size:calc(var(--xw-cell) * .3);line-height:1;color:var(--ink);pointer-events:none;user-select:none}
.xw-input{position:absolute;inset:0;width:100%;height:100%;border:0;background:none;padding:0;margin:0;text-align:center;text-transform:uppercase;font-family:var(--display);font-weight:600;font-size:calc(var(--xw-cell) * .6);color:var(--ink);caret-color:transparent}
.xw-input:focus{outline:none}
.xw-cell.xw-in-word .xw-input{background:#d9ecfb}
.xw-cell.xw-active .xw-input{background:#ffda16;color:var(--ink)}
.xw-cell.xw-active .xw-num{color:var(--ink)}
.xw-input.xw-bad{color:var(--red)}
.xw-gap{background:repeating-linear-gradient(135deg,var(--paper),var(--paper) 3px,#ddd 3px,#ddd 4px);border:.5px solid #bbb}
.xw-gap-label{display:none}
.xw-clues{display:grid;grid-template-columns:1fr;gap:clamp(20px,4vw,32px);max-width:var(--measure);margin:0 auto;width:100%}
/* Across and Down each get their own box, with their own scrollbar, instead of one long list —
   so scrolling through Across never buries Down (or vice versa) further down the page. The pair
   fills whatever width is left beside the grid (instead of a narrow fixed column) so each line —
   clue text and its row of fill-in boxes — has more room before wrapping. (An earlier attempt
   reflowed each list into several CSS columns instead of widening the one list; column-count is
   only a suggestion, though, and once a list had more content than fit in that many columns at
   the fixed height, the overflow had nowhere reachable to go — content kept clipping off with no
   way to scroll to it. A single wide column with ordinary vertical overflow doesn't have that
   failure mode.) Heights are set inline by crossword.js (which measures the grid and splits it
   between the two), same idea as the NYT crossword's own clue panel. */
@media (min-width:1100px){
  .xw-clues{display:flex;flex-direction:column;gap:14px;flex:1 1 0;max-width:none;margin:0;min-width:0;overflow:hidden}
  .xw-clue-col{flex:1 1 0;min-height:0;display:flex;flex-direction:column}
}
.xw-clue-col h2{font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:.75em;letter-spacing:.08em;margin:0 0 .8em;padding-bottom:.5em;border-bottom:1px solid var(--line)}
.xw-clue-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1px}
@media (min-width:1100px){.xw-clue-list{flex:1 1 auto;min-height:0;overflow-y:auto;padding-right:10px}}
/* each clue is its own small block: the clue text (clickable/focusable via .xw-clue-head) with
   a row of fill-in boxes underneath, same idea as the List view but inline in the sidebar that
   sits right next to the grid, so you can fill a word in without leaving Grid view. Not a
   <button> itself — see the comment on clueList() in build.mjs for why. Smaller than the body
   text size generally, so the crossword itself (bumped up separately, see .xw-input/.xw-num)
   reads as the main event and the clue list as reference text beside it. */
.xw-clue{display:flex;flex-direction:column;gap:4px;width:100%;border-left:3px solid transparent;padding:5px 7px 6px 6px;font-family:var(--body);font-size:.82em;line-height:1.3;color:var(--ink);transition:background .1s,border-color .1s}
.xw-clue:hover{background:rgba(11,11,11,.05)}
.xw-clue.xw-clue-active{background:#d9ecfb;color:var(--ink)}
.xw-clue.xw-clue-cross{border-left-color:#8fc4ef}
.xw-clue-head{display:flex;align-items:baseline;gap:8px;text-align:left;cursor:pointer}
.xw-clue-head:focus-visible{outline:2px solid var(--red);outline-offset:1px;border-radius:2px}
.xw-clue-num{font-family:var(--display);font-weight:700;font-size:1em;flex:none;min-width:1.5em}
.xw-clue-boxes{display:flex;flex-wrap:wrap;gap:2px}
.xw-clue-boxes:empty{display:none}
.xw-clue-box{width:17px;height:21px;border:1px solid #bbb;background:var(--paper);text-align:center;text-transform:uppercase;font-family:var(--display);font-weight:600;font-size:11px;color:var(--ink);padding:0;caret-color:transparent;border-radius:2px}
.xw-clue-box:focus{outline:none;background:#ffda16}
.xw-clue-box.xw-bad{color:var(--red)}
/* a clue that references another one ("...the answer to number 10 across") — bold, in the
   display face, and clickable/focusable to jump straight to the clue it names */
.xw-clue-ref{font-family:var(--display);font-weight:700;cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;transition:text-decoration-color .15s}
.xw-clue-ref:hover,.xw-clue-ref:focus-visible{text-decoration-color:currentColor}
.xw-clue-ref:focus-visible{outline:2px solid var(--red);outline-offset:1px;border-radius:2px}
.xw-clue.xw-clue-done .xw-clue-text{opacity:.45}
.xw-clue.xw-clue-active.xw-clue-done .xw-clue-text{opacity:.75}

/* List view: an alternative to the grid — every clue with a row of boxes to type the answer
   straight into, right next to the clue, kept in sync with the grid behind the scenes so
   switching views never loses progress and a shared letter (e.g. the "A" an across and a down
   answer both pass through) fills in on both sides automatically. */
.xw.xw-view-list .xw-main{display:none}
.xw.xw-view-list .xw-list{display:flex}
.xw-list{display:none;flex-direction:column;gap:1px;max-width:var(--measure);margin:0 auto;width:100%;list-style:none;padding:0}
.xw-list-item{list-style:none;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;padding:9px 7px;border-left:3px solid transparent;border-radius:0;transition:background .1s,border-color .1s}
.xw-list-item:hover{background:rgba(11,11,11,.05)}
.xw-list-item.xw-clue-active{background:#d9ecfb}
.xw-list-item.xw-clue-cross{border-left-color:#8fc4ef}
.xw-list-clue{display:flex;align-items:baseline;gap:8px;flex:1 1 220px;min-width:0;font-family:var(--body);font-size:.96em;line-height:1.3;color:var(--ink)}
.xw-list-num{font-family:var(--display);font-weight:700;font-size:.96em;flex:none;min-width:1.5em}
.xw-list-item.xw-clue-done .xw-list-text{opacity:.45}
.xw-list-item.xw-clue-active.xw-clue-done .xw-list-text{opacity:.75}
.xw-list-boxes{display:flex;flex-wrap:wrap;gap:3px;flex:none}
.xw-list-box{width:27px;height:32px;border:1px solid #bbb;background:var(--paper);text-align:center;text-transform:uppercase;font-family:var(--display);font-weight:600;font-size:17px;color:var(--ink);padding:0;caret-color:transparent;border-radius:2px}
.xw-list-box:focus{outline:none;background:#ffda16}
.xw-list-box.xw-bad{color:var(--red)}
/* ---------- Crossword: peek version (/xl/crossword-1/ only — everything here is scoped to
   .xw-peek, so the other two crossword pages are untouched) ----------
   Opens on the clues only; the 3x3 Peek button (in place of the Grid/List toggle) swaps them
   for a look-only grid, then back. Across and Down each scroll in their own box, together
   filling the rest of the window (height set by crossword-peek.js): side by side on laptops,
   stacked on phones. No gear (Settings) button on this page. */
.xw-peek .xw-main{flex-direction:column;align-items:stretch}
.xw-peek .xw-board{display:none;justify-content:center;flex:none}
.xw-peek.xw-peeking .xw-board{display:flex}
.xw-peek.xw-peeking .xw-clues{display:none}
.xw-peek .xw-input{cursor:default}
.xw-peek .xw-cell{pointer-events:none}
.xw-peek .xw-clues{display:flex;flex-direction:column;gap:16px;max-width:var(--measure);margin:0 auto;width:100%;flex:none;overflow:hidden}
.xw-peek .xw-clue-col{flex:1 1 0;min-width:0;min-height:0;display:flex;flex-direction:column}
.xw-peek .xw-clue-list{flex:1 1 auto;min-height:0;overflow-y:auto;padding-right:10px}
@media (min-width:900px){
  .xw-peek .xw-clues{flex-direction:row;gap:clamp(24px,4vw,48px);max-width:none}
}
/* Peek button: outline squares; solid black with white lines while peeking (like the home page's XL button) */
.xw-peek-btn{border-radius:3px}
.xw-peek-btn[aria-pressed="true"]{background:var(--ink);color:var(--paper)}
.xw-peek-btn[aria-pressed="true"]:hover{background:var(--ink)}
/* more room at the sides than the site's standard 16px: grows with the window (24px on phones, up to 72px) */
.xw-peek{padding-inline:clamp(24px,5vw,72px)}
.xw-peek-opener .xl-back{left:clamp(24px,5vw,72px)}
/* the whole clue is clickable, not just its boxes */
.xw-peek .xw-clue{cursor:pointer}
/* back-link pill: on a clue that another clue mentions, the number of that clue — jumps back to it */
.xw-backref{display:inline-flex;align-items:center;justify-content:center;min-width:1.7em;height:1.5em;padding:0 .45em;margin-left:.2em;box-sizing:border-box;border:1px solid currentColor;border-radius:999px;font-family:var(--display);font-weight:700;font-size:.78em;line-height:1;vertical-align:.1em;text-decoration:none;transition:background .15s,color .15s}
.xw-backref:hover,.xw-backref:focus-visible{background:var(--ink);color:var(--paper);outline:none}
/* the peek shows the islands rearranged for the window (#xwPeekGrid, drawn by crossword-peek.js);
   the fixed #xwGrid only holds the letters, so it's never shown here */
.xw-peek #xwGrid{display:none}
.xw-peek-letter{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:600;font-size:calc(var(--xw-cell) * .6);line-height:1;padding-top:.08em;color:var(--ink)}
.xw-peek-letter.xw-bad{color:var(--red)}
.xw-peek-grid .xw-cell.xw-in-word{background:#d9ecfb}
.xw-peek-grid .xw-cell.xw-active{background:#ffda16}
/* peek grid squares are clickable (they go to that clue); hovering shades the word a click would pick */
.xw-peek .xw-peek-grid .xw-cell[data-key]{pointer-events:auto;cursor:pointer}
.xw-peek-grid .xw-cell.xw-hover{background:#ececec}
.xw-peek-grid .xw-cell.xw-hover.xw-in-word{background:#c4e0f7}
/* peek grid background: Hamza's glitter photo (was the dark rays one before that) */
.xw-crossword-1 .xw-grid{background-image:url("/xl/images/crossword-glitter-bg-sm.jpg")}
@media (min-width:900px){.xw-crossword-1 .xw-grid{background-image:url("/xl/images/crossword-glitter-bg.jpg")}}
/* clue rows: count their padding and coloured left edge inside their width, so nothing sticks
   out past the box — the clue boxes only ever scroll up and down, never sideways */
.xw-peek .xw-clue{box-sizing:border-box}
.xw-peek .xw-clue-list{overflow-x:hidden}
/* phones: Help stays on the toolbar row (no gear on this page, so it all fits on one line) */
.xw-peek .xw-toolbar{flex-wrap:nowrap;gap:8px 12px}
.xw-peek .xw-tools{order:0;gap:clamp(12px,3vw,28px)}
.xw-peek .xw-toolbar-end{order:0;flex-basis:auto;justify-content:flex-end}
/* title in Instrument Serif (this page only). It only comes in one weight (regular), so the
   title isn't bolded — a browser-faked bold would smudge it. */
.xw-peek-opener h1{font-family:"Instrument Serif",var(--body),serif;font-weight:400}
/* XL page: a game title set in its own Google Font (games.json "titleFont" — Instrument Serif
   for Crossword #1). That font has only a regular weight, so no faked bold. */
.xl-item h2.xl-title-font{font-weight:400}
/* finishing: the grid's squares light up in a wave (delay per square set by crossword-peek.js),
   then a card with Hamza's line sits over the bottom of the screen */
.xw-peek-grid.xw-wave .xw-letter{animation:xw-wave .8s ease both;animation-delay:var(--d,0ms)}
@keyframes xw-wave{0%{background:#fff}30%{background:#ffda16}100%{background:#fff}}
.xw-finish{position:fixed;left:50%;bottom:clamp(16px,6vh,56px);transform:translateX(-50%);width:min(30rem,calc(100vw - 32px));box-sizing:border-box;background:var(--paper);color:var(--ink);border:2px solid var(--ink);padding:22px 24px 18px;box-shadow:0 12px 40px rgba(0,0,0,.35);z-index:50;animation:xw-finish-in .4s ease both}
.xw-finish p{margin:0 0 16px;font-family:var(--body);font-size:clamp(17px,2.2vw,20px);line-height:1.4}
.xw-finish-actions{display:flex;gap:18px;justify-content:flex-end}
.xw-finish-btn{font-family:var(--display);font-weight:600;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);background:none;border:0;padding:6px 0;cursor:pointer;text-decoration:none;border-bottom:1px solid transparent}
.xw-finish-btn:hover,.xw-finish-btn:focus-visible{border-bottom-color:currentColor;outline:none}
@keyframes xw-finish-in{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
@media (prefers-reduced-motion:reduce){.xw-peek-grid.xw-wave .xw-letter,.xw-finish{animation:none}}
/* XL page: games from the issues — the name links to the game; "FROM KANIS n" with the issue's
   diamond links to that issue's contents */
.xl-from-issue h2 a{color:inherit;text-decoration:none}
.xl-from-issue h2 a:hover,.xl-from-issue h2 a:focus-visible{text-decoration:underline;text-underline-offset:.18em}
.xl-from{display:inline-flex;align-items:center;gap:8px;font-family:var(--display);font-weight:600;font-size:11px;letter-spacing:.12em;color:var(--mute);text-decoration:none}
.xl-from img{display:block;flex:none}
.xl-from:hover span,.xl-from:focus-visible span{color:var(--ink);text-decoration:underline;text-underline-offset:.2em}
/* Fill-in-the-blanks riddles (SPEC rule 52; issue 1, Guess these movies) */
.blanks{display:flex;flex-wrap:wrap;gap:12px 18px;margin:0 0 1.1em;container-type:inline-size;--box:min(clamp(26px,3.4vw,32px),calc((100cqi - (var(--longest,12) - 1) * 4px) / var(--longest,12)))}
.blanks-word{display:inline-flex;align-items:flex-end;gap:4px}
.blanks-box{box-sizing:border-box;width:var(--box);height:calc(var(--box) * 1.25);padding:0;margin:0;border:1.5px solid var(--ink);border-radius:2px;background:#fff;color:var(--ink);text-align:center;font:600 calc(var(--box) * .6)/1 var(--display);text-transform:uppercase;caret-color:transparent;-webkit-appearance:none;appearance:none}
.blanks-box:focus{outline:none;background:#ffda16}
/* Hint: a hinted letter goes see-through */
.blanks-box.blanks-good{background:transparent}
.blanks-punct{font:600 calc(var(--box) * .6)/1 var(--display);padding:0 1px 6px}
.blanks-tools{display:flex;gap:10px;flex-wrap:wrap}
.riddle-blanks.blanks-done .riddle-q{color:var(--mute)}
/* the year: after the boxes, only once the title's right (typed, hinted or revealed) */
.blanks-year{display:none;align-self:flex-end;font:600 calc(var(--box) * .6)/1 var(--display);padding-bottom:calc(var(--box) * .32)}
.blanks-done .blanks-year{display:inline-block}
/* Phones: text boxes with letters under 16px make iPhone browsers (Safari and Chrome alike) zoom
   the page in when you tap one. So on touch screens the crossword's clue boxes and the Guess these
   movies boxes use 16px letters (the crossword's boxes grow a little to fit them). */
@media (pointer:coarse){
  .xw-peek .xw-clue-box{width:21px;height:25px;font-size:16px}
  .blanks-box{font-size:max(16px,calc(var(--box) * .6))}
}
/* ---------- Crossword, phones (under 900px): one clue at a time ----------
   crossword-peek.js adds .xw-one to the page, an index button + index above the clues, and
   Previous/Next below. Only the clue you're on shows, bigger, with boxes sized to fit (--len). */
.xw-one-bar,.xw-one-step,.xw-index{display:none}
.xw-one:not(.xw-peeking) .xw-one-bar{display:flex;justify-content:center;margin:4px 0 14px}
.xw-one:not(.xw-peeking) .xw-one-step{display:flex;justify-content:space-between;margin-top:22px}
.xw-one:not(.xw-peeking) .xw-index:not([hidden]){display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:14px 0 18px;margin-bottom:16px;border-bottom:1px solid var(--ink)}
.xw-index-btn{display:inline-flex;align-items:center;gap:8px;background:none;border:1.5px solid var(--ink);border-radius:999px;padding:7px 16px 5px;font:600 13px/1 var(--display);letter-spacing:.1em;color:var(--ink);cursor:pointer}
.xw-index-btn[aria-expanded="true"]{background:var(--ink);color:var(--paper)}
.xw-index-btn[aria-expanded="true"] .xw-index-caret{transform:rotate(180deg)}
.xw-index h2{margin:0 0 8px;font:600 12px/1 var(--display);letter-spacing:.12em;text-transform:uppercase}
.xw-index ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:4px}
.xw-index button{width:100%;min-height:34px;background:none;border:0;border-radius:3px;font:600 15px/1 var(--display);color:var(--ink);cursor:pointer;padding:3px 0 0}
.xw-index button.xw-index-done{color:#aaa}
.xw-index button.xw-index-current{background:var(--ink);color:var(--paper)}
.xw-one .xw-clues{height:auto;overflow:visible}
.xw-one .xw-clue-list{overflow:visible;padding-right:0}
.xw-one .xw-clue-col h2{display:none}
.xw-one .xw-clue-col:not(:has(.xw-clue-active)){display:none}
.xw-one .xw-clue:not(.xw-clue-active){display:none}
.xw-one .xw-clue.xw-clue-active{background:none;border-left-color:transparent;padding-left:0;padding-right:0}
.xw-one .xw-clue-head{font-size:clamp(19px,5.4vw,23px);line-height:1.35}
.xw-one .xw-clue-boxes{container-type:inline-size;gap:3px;margin-top:14px}
.xw-one.xw-peek .xw-clue-box{width:clamp(20px,calc((100cqi - (var(--len,10) - 1) * 3px) / var(--len,10)),36px);height:calc(clamp(20px,calc((100cqi - (var(--len,10) - 1) * 3px) / var(--len,10)),36px) * 1.2);font-size:max(16px,calc(clamp(20px,calc((100cqi - (var(--len,10) - 1) * 3px) / var(--len,10)),36px) * .55))}
.xw-one .xw-clue-col{flex:none}
.xw-one.xw-peek .xw-clue-box{box-sizing:border-box}
.xw-one-step button{background:none;border:0;padding:8px 0;font:600 13px/1 var(--display);letter-spacing:.1em;text-transform:uppercase;color:var(--ink);cursor:pointer}
/* Fill-in-the-blanks: instant tick/cross once every box is filled — the crossword's line tick (or
   a matching cross), white, in a black pill shaped like the Answer and Hint buttons, where Check used to be. It simply
   appears (Hamza: no static). Answer / Reveal all grey out while there's nothing left to reveal. */
.blanks-tools{align-items:center}
.blanks-mark{position:relative;display:inline-flex;align-items:center;color:var(--ink);line-height:0}
.blanks-mark-right,.blanks-mark-wrong{box-sizing:border-box;height:30px;padding:0 15px;border:1px solid var(--ink);border-radius:999px;background:var(--ink);color:#fff}
.blanks-mark svg{display:block;width:18px;height:18px;overflow:visible}
/* a title that's right: its boxes go see-through, like revealed letters */
.riddle-blanks.blanks-done .blanks-box{background:transparent}
.reveal.is-spent,.reveal:disabled{opacity:.35;cursor:default;pointer-events:none}
/* Crossword toolbar: Reveal (eye, opens its menu) and Check (tick) are icons beside Peek, on the
   left, with Help on the right — no words in the middle, so the bar takes less room. The Reveal
   menu opens to the right of its icon (there's no room to centre it so near the edge). */
.xw-peek .xw-toolbar{justify-content:space-between}
.xw-peek .xw-toolbar-start{gap:6px}
.xw-peek .xw-icon{width:32px;height:32px}
.xw-peek .xw-icon svg{width:20px;height:20px}
.xw-peek .xw-toolbar-start .xw-menu{left:0;transform:none}
/* Short, wide screens (phones held sideways: landscape, under 500px tall, and at least 560px wide
   — so a phone held upright with its keyboard open, which also looks short and wide-ish, doesn't
   count): the grid gets more of
   the height — the title shares the BACK link's line instead of sitting below it, the icons sit
   on that same line too (on the right), an empty status line takes no room, and there's less
   padding under the grid. */
@media (orientation:landscape) and (max-height:500px) and (min-width:560px){
  .xw-peek-opener{padding-top:14px;padding-bottom:6px}
  .xw-peek{position:relative}
  /* the icons move up onto the title's line, on the right */
  .xw-peek .xw-toolbar{position:absolute;right:clamp(24px,5vw,72px);top:-38px;margin:0;gap:6px;z-index:6}
  .xw-peek .xw-toolbar-start .xw-menu{left:auto;right:0}
  .xw-peek #xwStatus:empty{display:none}
  .xw-peek{padding-bottom:10px}
}
/* Crossword: a right answer gets a tick after its boxes — a black pill with a white tick (the same
   mark as Guess these movies), as tall as the boxes. Wrong answers get no mark. */
.xw-clue-tick{display:none;align-self:stretch;align-items:center;justify-content:center;box-sizing:border-box;min-height:18px;padding:0 .55em;margin-left:4px;border-radius:999px;background:var(--ink);color:#fff}
.xw-clue-tick svg{display:block;width:1.05em;height:1.05em}
.xw-clue.xw-clue-done .xw-clue-tick{display:inline-flex}
/* Tick sizes. Laptops (two lists): half the size it was — a small pill, half a box tall, centred
   on the boxes. Phones (one clue at a time): as tall as the boxes, with one box's width of space
   between the last letter and the tick. */
.xw-peek:not(.xw-one) .xw-clue-tick{align-self:center;min-height:0;height:11px;padding:0 5px;margin-left:3px}
.xw-peek:not(.xw-one) .xw-clue-tick svg{width:8px;height:8px}
.xw-one.xw-peek .xw-clue-tick{margin-left:calc(clamp(20px,calc((100cqi - (var(--len,10) - 1) * 3px) / var(--len,10)),36px) - 3px)}
/* "CLEAR ALL? Y/N" under the filled diamond */
.xw-ask{position:absolute;top:calc(100% + 6px);left:0;z-index:7;white-space:nowrap;padding:7px 10px 5px;background:var(--paper);border:1px solid var(--ink);font:600 11px/1 var(--display);letter-spacing:.1em;color:var(--ink)}
.xw-ask-btn{background:none;border:0;padding:0 3px;margin:0;font:inherit;letter-spacing:inherit;color:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:.2em}
.xw-ask-btn:hover,.xw-ask-btn:focus-visible{background:var(--ink);color:var(--paper);text-decoration:none;outline:none}
@media (orientation:landscape) and (max-height:500px) and (min-width:560px){.xw-peek .xw-ask{left:auto;right:0}}
/* Guess these movies: Clear all sits beside Reveal all */
.reveal.clear-all{margin-left:10px}
/* Crossword: the Reveal menu looks like the "CLEAR ALL? Y/N" box — square, a thin black outline,
   small spaced capitals; the item under the pointer goes black. */
.xw-peek .xw-menu{top:calc(100% + 6px);min-width:0;padding:4px 0;background:var(--paper);border:1px solid var(--ink);border-radius:0;box-shadow:none}
.xw-peek .xw-menu-item{padding:7px 12px 5px;border-radius:0;font:600 11px/1 var(--display);letter-spacing:.1em;text-transform:uppercase;color:var(--ink)}
.xw-peek .xw-menu-item:hover,.xw-peek .xw-menu-item:focus-visible{background:var(--ink);color:var(--paper);outline:none}
/* a title that's right doesn't need Answer or Hint: they go, and the tick takes their place
   (change a letter and they come back, with the cross) */
.riddle-blanks.blanks-done .blanks-answer,.riddle-blanks.blanks-done .blanks-hint{display:none}
/* Peek grid: bigger letters and numbers in their squares, for reading on small screens */
.xw-peek-grid .xw-peek-letter{font-size:calc(var(--xw-cell) * .68)}
.xw-peek-grid .xw-num{font-size:max(7px,calc(var(--xw-cell) * .33))}
/* Crossword #2's grid background: Hamza's "creamy" night photo (#1 keeps the glitter one) */
.xw-crossword-2 .xw-grid{background-image:url("/xl/images/crossword-2-bg-sm.jpg")}
@media (min-width:900px){.xw-crossword-2 .xw-grid{background-image:url("/xl/images/crossword-2-bg.jpg")}}
/* (phones get a 1000px copy of each photo, ~75–100KB; laptops 1800px; both preloaded by the page) */
/* Help panel: a short legend of the toolbar icons under the help text */
.xw-help-panel p{margin:0}
.xw-legend{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px}
.xw-legend li{display:flex;align-items:center;gap:10px;font-family:var(--display);font-weight:600;font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.xw-legend svg{flex:none;width:18px;height:18px}
/* hyphens and spaces between a multi-word answer's boxes */
.xw-clue-mark{align-self:center;font:600 1em/1 var(--display);padding:0 1px}
.xw-clue-space{flex:none;width:.7em}
/* a locked (right) letter can't be typed into */
.xw-clue-box.xw-locked{cursor:default}
/* Reference sizes (Hamza): an in-line "23 ACROSS" is the size the back-link pills' text was
   (.78em of the clue); the pills' own text is two sizes smaller (about 2px less, .66em). The
   pill is the same element class, so its size is set relative to the clue text, not the ref. */
.xw-clue-text .xw-clue-ref:not(.xw-backref){font-size:.78em;letter-spacing:.02em}
.xw-clue-text .xw-backref{font-size:.66em;height:1.6em;letter-spacing:.04em}
/* Help box (crossword pages): styled like the CLEAR ALL? box — paper, a thin black outline,
   square corners — and floating under the help button, anchored to the right, over the page.
   About 320px wide on laptops; on phones, the full width of the page's content. */
.xw-peek .xw-toolbar-end{position:relative}
.xw-peek .xw-help-panel{position:absolute;top:calc(100% + 6px);right:0;z-index:8;box-sizing:border-box;width:min(320px,calc(100vw - 2 * clamp(24px,5vw,72px)));margin:0;padding:12px 14px 10px;background:var(--paper);border:1px solid var(--ink);border-radius:0;font-size:14px;line-height:1.4}
.xw-peek .xw-help-panel .xw-legend{margin-top:10px;gap:5px}
.xw-peek .xw-help-panel .xw-legend svg{width:15px;height:15px}
@media (max-width:599px){.xw-peek .xw-help-panel{width:calc(100vw - 2 * clamp(24px,5vw,72px))}}

/* ---------- issue 6 (one long story): chapter title pages and the chapter contents ----------
   A chapter page: number and title, big, over that chapter's photo from the PDF (black type on the light
   photos, white on the dark), with "Kanis Majoris No. 6 · May 2023" along the foot as in the PDF. */
.chapter-page{position:relative;min-height:calc(100svh - var(--bar-h,64px));display:flex;flex-direction:column;justify-content:center;background:#ccc center/cover no-repeat;color:#0b0b0b}
.chapter-page.ink-white{color:#f4f4f4}
.chapter-page .chapter-in{padding-block:clamp(60px,10vh,120px)}
.chapter-page .ch-num{font-family:var(--display);font-weight:700;font-size:clamp(26px,3vw,40px);margin:0 0 .6em}
.chapter-page .ch-title{font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:clamp(34px,5.2vw,68px);line-height:1.02;letter-spacing:-.01em;margin:0;width:min(44rem,calc(100vw - 32px))}
.chapter-page::after{content:"";position:absolute;left:0;right:0;bottom:0;height:45%;background:linear-gradient(to bottom,rgba(255,255,255,0),var(--sheet));pointer-events:none}
.chapter-page .chapter-in{position:relative;z-index:1}
.toc-overlay.toc-lightgrey{background:#d6d6d6;--paper:#d6d6d6;--sheet:#d6d6d6}
.toc-overlay.toc-ochre{background:#d8a676;--paper:#d8a676;--sheet:#d8a676;--ink:#fff;--line:rgba(255,255,255,.6);--mute:#fff3e6;color:#fff}
.toc-overlay.toc-royal{background:#1f36ab;--paper:#1f36ab;--sheet:#1f36ab;--ink:#fff;--line:rgba(255,255,255,.55);--mute:#d4daf5;color:#fff}
.toc-overlay.toc-scarlet{background:#db241e;--paper:#db241e;--sheet:#db241e;--ink:#fff;--line:rgba(255,255,255,.6);--mute:#ffe1df;color:#fff}
.toc-chapters{grid-template-columns:1fr}
.toc-chapters ul{gap:0}
.toc-ch{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-block:14px;border-bottom:1px solid var(--line)}
.toc-ch:last-child{border-bottom:0}
.toc-ch-t{flex:1;font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:clamp(14px,1.3vw,17px);letter-spacing:.04em;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.toc-ch-t:hover,.toc-ch-t:focus-visible{text-decoration-thickness:2px}
.toc-ch.current .toc-ch-t{text-decoration:none}
.toc-chapters li.toc-ch.current a.toc-ch-t{flex:0 1 auto;margin-right:auto;background:var(--ink);color:var(--sheet);padding:.2em .4em .1em;margin-left:-.4em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.toc-chapters li.toc-ch.current a.toc-ch-t:hover,.toc-chapters li.toc-ch.current a.toc-ch-t:focus-visible{background:var(--ink);color:var(--sheet)}
.toc-chapters li.toc-ch.current a.toc-part:not(.current){background:none;color:inherit}
.toc-chapters li.toc-ch.current a.toc-part:not(.current):hover,.toc-chapters li.toc-ch.current a.toc-part:not(.current):focus-visible{background:var(--ink);color:var(--sheet)}
a.toc-home{color:inherit;text-decoration:none}
a.toc-home:hover,a.toc-home:focus-visible{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.12em}
.toc-parts{display:grid;grid-template-columns:repeat(3,auto);gap:8px 10px;flex:none}
.toc-part{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:26px;padding:0 10px;box-sizing:border-box;border:1px solid currentColor;border-radius:999px;font-family:var(--display);font-weight:600;font-size:12px;letter-spacing:.06em;text-decoration:none;transition:background-color .2s,color .2s}
.toc-part:hover,.toc-part:focus-visible,.toc-part.current{background:var(--ink);color:var(--sheet)}
@media (max-width:640px){.toc-ch{flex-direction:column;align-items:flex-start;gap:12px}.toc-parts{grid-template-columns:repeat(6,auto);gap:8px}.toc-part{min-width:40px}}
/* the contents rows use their own link styles, not the usual full-width contents links */
.toc-chapters li.toc-ch a{display:inline-flex;margin:0;transition:background-color .2s,color .2s}
.toc-chapters li.toc-ch a.toc-ch-t{display:inline;padding:0;font-weight:700;background:none}
.toc-chapters li.toc-ch a.toc-ch-t:hover,.toc-chapters li.toc-ch a.toc-ch-t:focus-visible{background:none;color:inherit}
.toc-chapters li.toc-ch a.toc-part{padding:0 10px;font-size:12px;line-height:1}
.toc-chapters li.toc-ch a.toc-part:hover,.toc-chapters li.toc-ch a.toc-part:focus-visible,.toc-chapters li.toc-ch a.toc-part.current{background:var(--ink);color:var(--sheet)}
/* issue 6's opening piñata, bigger than a section mark */
.toc-chapters li.toc-ch a.toc-part{justify-content:center;align-items:center}
/* a section name too long for a phone's top bar (issue 6's chapter titles) trails off with … rather than
   pushing "Previous section" off the screen */
@media (max-width:440px){.sect{min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis}}
/* issue 6: a part ends with a pill to the next part, the same as the Answer buttons */
.continue-part .reveal{padding:9px 16px 7px;min-width:3.4em;justify-content:center}
/* issue 6's front page: the question on its own screen, then the answer, then the contents
   (kanis.js fades the page to the issue's colour as the contents arrive) */
.issue-cover .cover-q{min-height:calc(100svh - var(--bar-h,64px));display:flex;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;padding-block:40px}
.issue-cover .cover-q h1{font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:clamp(38px,6.6vw,100px);line-height:1;letter-spacing:-.01em;margin:0;max-width:13em;text-wrap:balance}
.issue-cover .cover-a{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;padding-block:60px}
.cover-big{font-family:var(--display);font-weight:700;font-size:clamp(30px,4vw,58px);line-height:1;letter-spacing:-.01em;margin:0 0 .4em}
.cover-why{font-family:var(--body);font-size:clamp(20px,2.1vw,28px);line-height:1.35;max-width:21em;margin:0 0 2.6em}
.cover-welcome{font-family:var(--display);font-weight:700;font-size:13px;letter-spacing:.03em;margin:0}
.cover-toc .opener{padding-top:clamp(56px,10vh,120px)}

/* ---------- a drawing with parts to hover or tap (::: hotspots; issue 8's hi-fi) ---------- */
.hotspots .hs-in{position:relative;width:100%;max-width:860px}
.hotspots img{display:block;width:100%;height:auto;max-height:none;max-width:100%}
.hs{position:absolute;margin:0;padding:0;border:0;background:none;cursor:pointer;border-radius:3px;-webkit-tap-highlight-color:transparent}
.hs:hover,.hs:focus-visible,.hs[aria-expanded="true"]{background:rgba(217,236,251,.38);outline:1.5px solid #6aa8d8;outline-offset:0}
/* a small diamond in the middle of each part, so you can tell there's something to tap */
.hs-mark{position:absolute;left:50%;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;transform:rotate(45deg);background:#d9ecfb;border:1.5px solid #0b0b0b;transition:transform .2s ease}
@media (max-width:600px){.hs-mark{width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-width:1.2px}}
.hs:hover .hs-mark,.hs[aria-expanded="true"] .hs-mark{transform:rotate(45deg) scale(1.25);background:#ffda16}
@media (prefers-reduced-motion:no-preference){.hotspots.seen .hs-mark{animation:hs-ping 1.6s ease-out 2}}
@keyframes hs-ping{0%{box-shadow:0 0 0 0 rgba(106,168,216,.7)}100%{box-shadow:0 0 0 12px rgba(106,168,216,0)}}
/* the label: in a box like the crossword's clue bar */
.hs-box{position:absolute;z-index:3;display:flex;align-items:baseline;gap:9px;width:min(420px,92%);background:#d9ecfb;color:#0b0b0b;border-radius:3px;padding:9px 13px;font-family:var(--body);font-size:1em;line-height:1.4;box-shadow:0 6px 18px rgba(0,0,0,.14);pointer-events:none}
.hs-box[hidden]{display:none}
.hs-n{font-family:var(--display);font-weight:700;font-size:.85em;flex:none}
.hs-t p{margin:0}

/* ---------- issue 8's drawings with their words set as text (Hamza, 2–3 Dec) ----------
   Each piece of text sits where it was drawn. --s is its size as drawn (a share of the drawing's width); it's kept between
   the footnotes' size and the body text's. Where the drawing is too narrow, speech bubbles (under 560 px) and the
   molecule's captions (under 480 px) move above or below it, at body-text size. */
:root{--fmax:clamp(19px,1.25vw + 12px,24px);--fmin:calc(var(--fmax) * .72)}
.drawn{container:df / inline-size}
.drawn .hs-in{container:dw / inline-size;position:relative;width:100%;max-width:none}
.drawn img{display:block;width:100%;height:auto;max-height:none;max-width:100%}
.opener .cover.cover-wide{width:min(760px,calc(100vw - 32px));max-width:none;margin-left:calc(50% - min(380px,50vw - 16px))}
/* the figure itself is no wider than the drawing, so the figure and the drawing switch layouts at the same width */
.plate.drawn{display:block;box-sizing:border-box;max-width:calc(min(860px,86vh * var(--ar)) + 32px);margin-inline:auto}
.dt{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;font-size:clamp(var(--fmin),var(--s),var(--fmax));line-height:1.22;text-wrap:balance;color:#0b0b0b;pointer-events:none}
.dt p{margin:0;font-size:clamp(var(--fmin),var(--s),var(--mx,var(--fmax)));text-wrap:balance}
/* speech bubbles: a pill in Hamza's colour, centred on where he drew it, taller if its words need it; tails under them */
.dt-tails{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.dt-bubble{font-family:"Cormorant Garamond",var(--body);font-style:italic;line-height:1.15;font-size:clamp(var(--fmin),var(--s),calc(var(--fmax) * 1.12))}
.dt.dt-bubble{height:auto;min-height:var(--mh);translate:0 -50%;box-sizing:border-box;padding:.35em 1.3em;border-radius:999px}
.dt-stack.dt-bubble{font-size:clamp(var(--fmin),4.3cqw,var(--fmax));line-height:1.22;padding:.5em 1em;display:none}
.dt-stack.dt-bubble p{position:relative;width:fit-content;max-width:min(26em,calc(100% - var(--tw) - .5em));box-sizing:border-box;padding:.45em 1.15em .5em;border-radius:1.2em;text-align:center;text-wrap:balance}
.dt-stack.sa-right p{margin-left:auto}
.dt-stack.sb-top{padding-top:calc(var(--th) + .25em)}
.dt-stack.sb-bottom{padding-bottom:calc(var(--th) + .25em)}
.dt-stack.sb-right{padding-right:calc(var(--tw) + .4em)}
.sb-tail{position:absolute;overflow:visible;pointer-events:none}
.sb-tail polyline{stroke:inherit;stroke-width:2px;vector-effect:non-scaling-stroke}
/* on a phone, a bubble that stays over the drawing ("over"): where there's room, a size between the footnotes' and the body's */
.dt.dt-over{display:none;height:auto;translate:0 -50%;box-sizing:border-box;padding:.4em 1em .45em;border-radius:1.4em;font-size:clamp(var(--fmin),4.3cqw,var(--fmax));line-height:1.18}
@container df (max-width:559.98px){.drawn .dt.dt-bubble:not(.dt-over),.drawn .dt-tails{display:none}.drawn .dt.dt-over{display:flex}.drawn .dt-stack.dt-bubble{display:block}}
/* the egg timer's buttons: part of the drawing, so they grow and shrink with it */
.dt-label{font-family:"Sedgwick Co",var(--display);font-size:var(--s);letter-spacing:.14em;line-height:1;transform:rotate(var(--rot,0deg))}
/* the molecule's caption and footnote */
.dt-caption{align-items:flex-start;text-align:left;font-family:"Cormorant Garamond",var(--body);font-style:italic;line-height:1.35;text-wrap:pretty}
.dt-nb{justify-content:flex-end}
.dt-caption .fig,.dt-stack .fig{font-family:var(--body);font-style:normal;font-weight:700}
.dt-caption .jb,.dt-stack .jb{font-family:var(--display);font-style:normal;font-weight:700;letter-spacing:.02em}
.dt-stack{display:none;font-size:var(--fmin);line-height:1.4;padding:1em 1em .4em}
.dt-stack.dt-nb{padding:.4em 1em 1em}
.dt-stack p{margin:0}
.dt-stack.dt-caption{font-family:"Cormorant Garamond",var(--body);font-style:italic;font-size:var(--fmax)}
.dt-stack.dt-nb{font-size:var(--fmin)}
@container df (max-width:479.98px){.drawn .dt.n-above,.drawn .dt.n-below{display:none}}
@container df (max-width:479.98px){.dt-stack{display:block}}

/* ---------- issue 8's hi-fi: its title, note and "On the next page" box set as text around the drawing (Hamza, 3 Dec),
   all in Josefin Sans, sized with the drawing; the stereo is sized so the whole thing fits the window's height */
.plate.hs-framed{display:block;container:hf / inline-size;box-sizing:border-box;width:min(860px,calc(100% - 32px));margin-inline:auto;padding:0;background:#f7d4d0;color:#0b0b0b;font-family:"Josefin Sans",var(--display)}
.hs-framed .hs-in{max-width:none;width:min(100%,max(320px,calc((100svh - 455px) * 1.075)));margin-inline:auto}
.hs-framed p{margin:0}
.hf-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.7em 1.6em;padding:3.6cqw 4.2cqw 3cqw;border-bottom:max(2px,.35cqw) solid #0b0b0b}
.hf-t{font-weight:700;font-size:clamp(var(--fmax),3.3cqw,34px);line-height:1.08;letter-spacing:.01em}
.hf-s{font-weight:300;font-size:clamp(var(--fmin),2.1cqw,var(--fmax));line-height:1.2;margin-top:.45em !important;letter-spacing:.01em}
.hf-n{font-style:italic;font-weight:600;font-size:clamp(var(--fmin),1.9cqw,var(--fmax));line-height:1.18;max-width:17em}
@container hf (min-width:640px){.hf-head{flex-wrap:nowrap}.hf-tt{flex:1 1 auto;min-width:0}.hf-n{flex:0 1 15.5em}}
.hf-foot{margin:0 4.2cqw 4.2cqw;border:max(1.5px,.22cqw) solid #0b0b0b;border-radius:clamp(16px,4.5cqw,36px);padding:.9em 1.4em 1em;text-align:center}
.hf-next{display:flex;align-items:center;justify-content:center;gap:1em;font-style:italic;font-weight:300;letter-spacing:.04em;font-size:clamp(var(--fmin),2.4cqw,var(--fmax));margin-bottom:.7em !important}
.hf-arrow{width:2.6em;height:auto;fill:#0b0b0b;flex:none}
.hf-what{font-style:italic;font-weight:700;font-size:clamp(var(--fmin),2.7cqw,var(--fmax));line-height:1.3;text-wrap:balance}

/* ---------- the tutoring notice (issue 8's opener; Hamza, 3 Dec): built, not drawn, and sized to fit the window ----------
   A white card with a pin in each corner, and a column of tear-off tickets beside it, the last one torn off, on the
   drawing's grey. Under 600 px the tickets hang below the card, turned on their side. */
.opener:has(.notice-fig){padding-top:clamp(20px,3vh,40px)}
.opener .cover.notice-fig{--nw:min(860px,calc(100vw - 32px),calc((100svh - 96px) * 1.42));container:nf / inline-size;width:var(--nw);max-width:none;margin-left:calc(50% - var(--nw) / 2);background:var(--grey);padding:clamp(14px,3.2cqw,34px);box-sizing:border-box;border-radius:2px}
.notice{display:grid;grid-template-columns:1fr 1fr;color:#0b0b0b;font-family:var(--display);font-size:clamp(var(--fmin),2.25cqw,var(--fmax));--r:.9em}
.nt-card{position:relative;background:#fff;border-radius:var(--r) 0 0 var(--r);padding:2em 2em 1.8em;display:flex;flex-direction:column;align-items:center;text-align:center;gap:1.05em}
.nt-pin{position:absolute;width:.62em;height:.62em;border-radius:50%;background:#0b0b0b}
.nt-pin:nth-child(1){left:1em;top:1em}.nt-pin:nth-child(2){right:1em;top:1em}.nt-pin:nth-child(3){left:1em;bottom:1em}.nt-pin:nth-child(4){right:1em;bottom:1em}
.nt-card p{margin:0;text-wrap:balance}
.nt-title .nw{white-space:nowrap}
.nt-title{font-style:italic;font-weight:400;font-size:1.8em;line-height:1.08;letter-spacing:.005em}
.nt-body{line-height:1.38;letter-spacing:.02em}
.nt-rate{font-weight:700;letter-spacing:.06em;line-height:1.3;font-size:.92em}
.nt-small{margin-top:auto !important;font-size:var(--fmin);letter-spacing:.05em;line-height:1.35}
.nt-tickets{list-style:none;margin:0;padding:0;display:grid;grid-template-rows:repeat(5,1fr) .55fr}
.nt-t{background:#fff;border-left:2px dashed #6b6b6b;border-bottom:2px dashed #6b6b6b;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:.45em .9em;gap:.2em}
.nt-t:first-child{border-top-right-radius:var(--r)}
.nt-in{white-space:nowrap;font-family:"Sedgwick Co",var(--display);font-size:1.45em;letter-spacing:.1em;line-height:1}
.nt-s{font-size:var(--fmin);letter-spacing:.03em;line-height:1.2;text-wrap:balance}
.nt-torn{background:#fff;border-left:2px dashed #6b6b6b;clip-path:var(--torn);min-height:3em}
@container nf (max-width:599.98px){
  .opener .cover.notice-fig{padding:10px}
  .notice{grid-template-columns:1fr;font-size:var(--fmax)}
  .nt-card{border-radius:var(--r) var(--r) 0 0;padding:1.4em 1.5em 1.3em;gap:.7em}
  .nt-pin{width:.5em;height:.5em}
  .nt-pin:nth-child(1){left:.7em;top:.7em}.nt-pin:nth-child(2){right:.7em;top:.7em}.nt-pin:nth-child(3){left:.7em;bottom:.7em}.nt-pin:nth-child(4){right:.7em;bottom:.7em}
  .nt-title{font-size:1.35em}
  .nt-rate{font-size:.88em}
  .nt-title br{display:none}
  .nt-tickets{grid-template-rows:none}
  .nt-t{border-left:0;border-bottom:0;border-top:2px dashed #6b6b6b;padding:.5em .9em;gap:.8em;flex-direction:row;text-align:left}
  .nt-s{text-wrap:pretty}
  .nt-t:first-child{border-radius:0}
  .nt-t:nth-child(n+4){display:none}
  .nt-in{font-size:1.15em}
  .nt-torn{border-left:0;border-top:2px dashed #6b6b6b;clip-path:var(--torn-v);min-height:0;height:1.6em}
}
}
