/* WJ Weekly: the telly's listings magazine, lying on the coffee table in the same dark room.
   Paper and ink: newsprint inside, a brighter coated cover; black plus spot red and spot yellow.
   Type: Fraunces (headlines, masthead, listings text) and Archivo (channel numbers, titles, labels). */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

.page-mag {
  --paper: #f1eadb;
  --paper-2: #e6dcc6;
  --cover: #f6f1e7;
  --k: #1b1612;            /* process black, a little warm */
  --k-2: #4b4138;
  --k-3: #6e6255;
  --red: #d42a1c;          /* spot red, for display */
  --red-ink: #b31f12;      /* the same red for small type (5.6:1 on the paper) */
  --yel: #f5c21a;          /* spot yellow, fills only */
  --rule: rgb(27 22 18 / .26);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --table: #140d08;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n' x='0' y='0' width='1' height='1'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .24 0 0 0 0 .16 .55 0 0 0 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --mottle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='m' x='0' y='0' width='1' height='1'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='3' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .36 0 0 0 0 .22 .5 0 0 0 -.18'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
  --wood: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='600'%3E%3Cfilter id='w' x='0' y='0' width='1' height='1'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0025 .16' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .17 0 0 0 0 .08 .8 0 0 0 -.28'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
  --figure: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='700'%3E%3Cfilter id='f' x='0' y='0' width='1' height='1'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0012 .012' numOctaves='2' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .05 0 0 0 0 .02 1.1 0 0 0 -.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- the room and the table */

.mag {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  height: calc(100vh - var(--tabs-h, 56px));
  height: calc(100svh - var(--tabs-h, 56px));
  min-height: 420px;
  overflow: hidden;
  outline: none;
  background:
    radial-gradient(64% 58% at 30% 22%, rgb(255 184 100 / .17), rgb(255 160 80 / .05) 55%, transparent 82%),
    radial-gradient(50% 80% at 104% 40%, rgb(86 110 196 / .13), transparent 70%),
    radial-gradient(120% 90% at 50% 40%, transparent 50%, rgb(0 0 0 / .6)),
    var(--figure) 0 0 / 1400px 700px,
    var(--wood) 0 0 / 1200px 600px,
    linear-gradient(100deg, #1b120b, #120b07 60%, #0c0805);
  box-shadow: inset 0 14px 30px -18px #000;
}
.mag-noscript {
  margin: 24px auto; max-width: 34em; padding: 18px 20px; border-radius: 12px;
  background: var(--paper); color: var(--k); font: 400 17px/1.5 var(--serif);
}
.mag-noscript a { color: var(--red-ink); font-weight: 700; }

.desk {
  position: relative; flex: 1 1 auto; min-height: 0;
  display: grid; place-items: center;
  overflow: hidden; overflow: clip;
  touch-action: pan-y;
}

/* ---------------------------------------------------------------- the book */

.book {
  --spine: 0px;
  position: relative;
  width: var(--pw, 360px); height: var(--ph, 520px);
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}
.mode-spread .book { --spine: var(--pw); width: calc(var(--pw) * 2); }
.js:not(.is-book):not(.is-flat) .book { visibility: hidden; }
.book a, .book img { -webkit-user-drag: none; }
.leaves { position: absolute; inset: 0; }

.is-book .pg {
  position: absolute; top: 0; left: 0; z-index: 1;
  width: var(--pw); height: var(--ph);
}
.is-book .pg.at-r { left: var(--pw); }
.is-book .pg.is-off { display: none; }

/* the shadow of the magazine on the table, and the edges of the pages beneath */
.is-book .leaves > .pg {
  box-shadow: 0 1px 1px rgb(0 0 0 / .35), 0 18px 34px -10px rgb(0 0 0 / .7), 0 50px 80px -30px rgb(0 0 0 / .8);
}
.stack {
  position: absolute; top: 2px; height: calc(var(--ph) - 1px); z-index: 0; pointer-events: none; display: none;
  background: repeating-linear-gradient(90deg, #d8cfbc 0 1px, #a99d86 1px 1.6px, #e3dac6 1.6px 2.4px);
  box-shadow: 0 16px 30px -12px rgb(0 0 0 / .7);
}
.is-book .stack { display: block; }
.stack-l { right: 100%; width: var(--stack-l, 0px); border-radius: 2px 0 0 2px; }
.stack-r { left: 100%; width: var(--stack-r, 0px); border-radius: 0 2px 2px 0; }
.book:not(.has-l) .stack-l, .book:not(.has-r) .stack-r { display: none; }
.mode-spread .book:not(.has-l) .stack-r { left: 100%; }

/* the measuring room: pages are laid out here, unseen, at the real size */
.measure { position: absolute; left: 0; top: 0; width: var(--pw); height: var(--ph); visibility: hidden; pointer-events: none; z-index: -1; }
.measure .pg { position: absolute; left: 0; top: 0; width: var(--pw); height: var(--ph); }

/* the dog-ear: the corner lifts when the pointer comes near, and once after the page loads */
.leaves::before, .leaves::after {
  content: ''; position: absolute; bottom: 0; z-index: 3; pointer-events: none;
  width: var(--ear, 0px); height: var(--ear, 0px);
  transition: width .28s cubic-bezier(.3, .7, .3, 1), height .28s cubic-bezier(.3, .7, .3, 1);
  filter: drop-shadow(-2px -2px 3px rgb(0 0 0 / .22));
}
.leaves::after {
  right: 0;
  background: linear-gradient(135deg, transparent 0 49.5%, #fbf6ea 50%, #d9cdb4 78%, #c4b697 100%);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  transform: rotate(180deg); transform-origin: 50% 50%;
}
.leaves::before {
  left: 0;
  background: linear-gradient(225deg, transparent 0 49.5%, #fbf6ea 50%, #d9cdb4 78%, #c4b697 100%);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  transform: rotate(180deg);
}
.book.has-r.hot-r .leaves::after, .book.has-r.peek .leaves::after { --ear: calc(30px * var(--u, 1)); }
.mode-spread .book.has-l.hot-l .leaves::before { --ear: calc(30px * var(--u, 1)); }
.book.has-r .leaves::after { --ear: 0px; }
@media (hover: none) { .book.has-r:not(.is-turning) .leaves::after { --ear: 16px; } .book.has-r.peek .leaves::after { --ear: 30px; } }
.book.hot-r, .book.hot-l { cursor: pointer; }
.book.is-dragging { cursor: grabbing; }
.book.is-turning .leaves::after, .book.is-turning .leaves::before { --ear: 0px; transition: none; }

/* the cover sits on the table closed, so it slides to the middle; the book moves smoothly between the two */
.mode-spread .book { transition: none; }

/* ---------------------------------------------------------------- the turning leaf */

.turn {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  perspective: calc(var(--pw) * 5.2);
  perspective-origin: var(--spine) 45%;
}
.mode-single .turn { perspective: calc(var(--pw) * 3.6); perspective-origin: 50% 45%; }
.leaf { position: absolute; top: 0; left: var(--spine); width: var(--pw); height: var(--ph); transform-style: preserve-3d; }
.strip { position: absolute; top: 0; left: 0; height: var(--ph); transform-origin: 0 50%; transform-style: preserve-3d; }
.face {
  position: absolute; inset: 0; overflow: hidden;
  isolation: isolate;                 /* keeps the print's blend modes inside the face, never on the 3D strips */
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.face-b { transform: rotateY(180deg); }
/* everything inside a face also hides its back: WebKit decides this per layer and does not inherit it
   (the script also switches the face that points away off, so this is a second line of defence) */
.is-book .face > .pg-clone {
  position: absolute; top: 0; left: 0; width: var(--pw); height: var(--ph); transform-origin: 0 0; box-shadow: none;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.shade { position: absolute; inset: 0; pointer-events: none; z-index: 3; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* the back of a single page's leaf: plain paper, nothing printed and nothing showing through */
.paper-back {
  position: absolute; top: 0; left: 0; width: var(--pw); height: var(--ph);
  background-color: var(--paper);
  background-image: linear-gradient(235deg, rgb(255 250 236 / .55), transparent 42%, rgb(70 50 20 / .07) 100%), var(--mottle), var(--grain);
  background-size: 100% 100%, 600px 600px, 200px 200px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}

.cast { position: absolute; top: 0; height: var(--ph); width: var(--pw); overflow: hidden; pointer-events: none; opacity: 0; z-index: 4; }
.cast-r { left: var(--spine); }
.cast-l { left: calc(var(--spine) - var(--pw)); }
.cast i { position: absolute; top: 0; height: 100%; width: calc(var(--pw) * .24); }
.cast-r i { left: 0; transform-origin: 0 50%; background: linear-gradient(90deg, rgb(20 12 4 / .62), rgb(20 12 4 / .3) 25%, rgb(20 12 4 / .1) 60%, transparent); }
.cast-l i { left: calc(var(--pw) * -.24); transform-origin: 100% 50%; background: linear-gradient(270deg, rgb(20 12 4 / .62), rgb(20 12 4 / .3) 25%, rgb(20 12 4 / .1) 60%, transparent); }

/* ---------------------------------------------------------------- paper */

.pg {
  --gap: calc(16px * var(--u, 1));
  color: var(--k);
  background-color: var(--paper);
  background-image:
    linear-gradient(125deg, rgb(255 250 236 / .55), transparent 42%, rgb(70 50 20 / .07) 100%),
    var(--mottle), var(--grain);
  background-size: 100% 100%, 600px 600px, 200px 200px;
  overflow: hidden;
  container-type: inline-size;
  font: 400 calc(14px * var(--u, 1))/1.4 var(--serif);
  -webkit-font-smoothing: antialiased;
}
.pg::after { /* the gutter: paper curving down into the staples */
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(90deg, rgb(60 40 15 / .2), rgb(60 40 15 / .07) 3.5%, transparent 9%);
  mix-blend-mode: multiply;
}
.pg.at-l::after, .pg.is-verso.at-l::after { background: linear-gradient(270deg, rgb(60 40 15 / .24), rgb(60 40 15 / .08) 3.5%, transparent 9%); }
.pg-in { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(var(--pad) * .78) var(--pad) calc(var(--pad) * .62); }
:where(.pg) a { color: inherit; }
.pg :focus-visible { outline: 3px solid var(--k); outline-offset: 2px; box-shadow: 0 0 0 6px var(--yel); border-radius: 2px; }
:where(.pg) :where(h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(.pg) :where(ul, ol) { padding: 0; list-style: none; }
.nb { white-space: nowrap; }
/* names of any length: break a very long word rather than run off the page */
.pg :is(h2, h3, h4, .ix-name, .tz-t, .rl-n, .lf-t, .cv-lines b, .cv-sub a, .cv-inset-cap, .fl-films a, figcaption) { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.pg .nb { -webkit-hyphens: manual; hyphens: manual; }
.ic { width: 1em; height: 1em; flex: none; }

/* the running head and the folio */
.pg-head {
  position: relative; flex: none; display: flex; align-items: baseline; gap: 10px;
  padding-bottom: calc(6px * var(--u)); margin-bottom: calc(14px * var(--u));
  border-bottom: 3px solid var(--k);
  font: 800 calc(10.5px * var(--u))/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.pg-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: var(--k); }
.ph-mast { color: var(--red); font-weight: 900; font-stretch: 125%; letter-spacing: .04em; }
.ph-sec { flex: 1; color: var(--k-2); overflow: hidden; text-overflow: ellipsis; }
.ph-r { font-variant-numeric: tabular-nums; }
.pg-foot {
  flex: none; display: flex; align-items: center; gap: 10px; height: calc(28px * var(--u)); overflow: hidden;
  margin-top: calc(10px * var(--u)); padding-top: calc(6px * var(--u));
  border-top: 1px solid var(--k);
  font: 700 calc(9.5px * var(--u))/1 var(--ui); letter-spacing: .13em; text-transform: uppercase; color: var(--k-3); white-space: nowrap;
}
.pf-n { font: 900 calc(17px * var(--u))/1 var(--ui); font-stretch: 125%; color: var(--k); letter-spacing: 0; }
.pf-more { margin-left: auto; color: var(--red-ink); }
.pf-more:not(:empty)::after { content: ' \25B8'; }
.is-recto .pg-foot { flex-direction: row-reverse; }
.is-recto .pf-more { margin-left: 0; margin-right: auto; }
/* the folio line stays clear of the corner that lifts: the right-hand page's bottom right, and on a spread the
   left-hand page's bottom left */
.pg { --ear-clear: max(0px, calc(30px * var(--u, 1) + 6px - var(--pad))); }
.pg.at-s .pg-foot, .pg.at-r .pg-foot { padding-right: var(--ear-clear); }
.pg.at-l .pg-foot { padding-left: var(--ear-clear); }
@container (max-width: 470px) { .pf-t { display: none; } }

/* columns */
.pg-body { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.pg-cols { flex: 1 1 auto; min-height: 0; display: flex; gap: calc(var(--pad) * .9); }
.pg-col { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: calc(var(--gap) + var(--vj, 0px)); }
.pg-col > * { flex: none; }
.pg-col > [data-keep] + * { margin-top: calc(var(--vj, 0px) * -1); }
.pg-col { container: col / inline-size; }
.pg-col + .pg-col::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(var(--pad) * -.45); width: 1px; background: var(--rule); }
.pg.is-over .pg-body { overflow-y: auto; }
.sec-open { flex: none; margin-bottom: calc(16px * var(--u)); }

/* ---------------------------------------------------------------- photographs, printed */

/* every still sits in a frame of fixed proportions, so a page measures the same before and after its pictures load */
.ph {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover;
  background: #3a332b; color: transparent; font-size: 0;
  filter: saturate(.9) contrast(1.06) brightness(1.02);
}
.ph-p { object-position: 50% 0; }
.li-still, .ft-ph, .lf-img, .rl-img, .cv-main, .cv-inset { position: relative; display: block; overflow: hidden; }
.li-still { aspect-ratio: var(--ar, 1.6); }
/* a deeper frame shows the whole picture letterboxed, like a widescreen film on a 4:3 set */
.li.is-deep .li-still { background: #0d0c0b; }
.li.is-deep .li-still .ph { object-fit: contain; background: #0d0c0b; }
.ft-ph { aspect-ratio: 16 / 10; }
.li--p .li-still { aspect-ratio: 9 / 16; }
.li-still::after, .ft-ph::after, .lf-img::after, .rl-img::after, .cv-main::after, .cv-inset::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgb(255 246 225 / .4) 0 .6px, transparent 1.2px) 0 0 / 3px 3px,
    linear-gradient(160deg, rgb(255 250 235 / .14), transparent 45%, rgb(40 25 10 / .16));
  mix-blend-mode: soft-light;
}
/* landscape stills print in the shape of a television screen; phone screens get a phone's corners */
.li--l .li-still, .ft-ph, .lf-img { border-radius: 9% / 13%; box-shadow: 0 0 0 1px rgb(27 22 18 / .55); }
.li--p .li-still, .rl-img { border-radius: calc(9px * var(--u)); box-shadow: 0 0 0 1px rgb(27 22 18 / .55); }

/* ---------------------------------------------------------------- the listings */

.li { position: relative; scroll-margin: 20px; }
.li::before { content: ''; position: absolute; left: 0; right: 0; top: calc((var(--gap) + var(--vj, 0px)) / -2); height: 1px; background: var(--rule); }
.pg-col > .li:first-child::before, .mband + .li::before { display: none; }
.li-top { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: calc(8px * var(--u)); align-items: end; }
.li-ch {
  font: 900 calc(31px * var(--u))/.78 var(--ui); font-stretch: 100%; color: var(--red);
  letter-spacing: -.045em; font-variant-numeric: tabular-nums; min-width: 1.15em;
}
.li-hd { min-width: 0; }
.li-when {
  display: flex; gap: 8px; align-items: baseline;
  font: 700 calc(9.5px * var(--u))/1.2 var(--ui); letter-spacing: .13em; text-transform: uppercase; color: var(--k-3);
  margin-bottom: calc(2px * var(--u));
}
.li-no::before { content: '\00B7'; margin-right: 8px; }
.li-name { font: 900 calc(16.5px * var(--u))/1.02 var(--ui); font-stretch: 108%; text-transform: uppercase; letter-spacing: .005em; }
.li-name-a { position: relative; text-decoration: none; }
.pg .li-name { -webkit-hyphens: manual; hyphens: manual; }
.li-name-probe { position: absolute; left: 0; top: 0; white-space: nowrap; visibility: hidden; pointer-events: none; font: inherit !important; letter-spacing: inherit !important; text-transform: inherit !important; padding: 0 !important; margin: 0 !important; }
/* a name too long to sit beside the channel number takes a line of its own under it */
.li.name-wide .li-top { grid-template-columns: auto minmax(0, 1fr); }
.li.name-wide .li-hd { display: contents; }
.li.name-wide .li-when { align-self: end; }
.li.name-wide .li-name { grid-column: 1 / -1; margin-top: calc(5px * var(--u)); }
.li-name-a::after { content: ''; position: absolute; left: -4px; right: -4px; top: -14px; bottom: -14px; }
.li-name-a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.li-cat { margin-top: calc(6px * var(--u)); font: 600 calc(11.5px * var(--u))/1.32 var(--ui); color: var(--k-2); letter-spacing: .005em; }
.flag {
  display: inline-flex; align-items: center; gap: 4px; vertical-align: 1px;
  font: 800 calc(8.5px * var(--u))/1 var(--ui); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 5px 2px;
}
.flag .ic { width: .95em; height: .95em; }
.flag-tag { background: var(--yel); color: var(--k); }
.flag-film { background: var(--k); color: var(--paper); }

/* the still: in a narrow column a landscape still takes the width and a phone screen sits beside the words;
   in a wider column both sit beside the words. Where a page has room to spare, the layout prints it larger (.is-big). */
.li-still { width: 100%; margin: calc(8px * var(--u)) 0 calc(2px * var(--u)); }
.li--p .li-still { float: right; width: 36%; margin: calc(7px * var(--u)) 0 calc(4px * var(--u)) calc(10px * var(--u)); }
.li--p:is(.is-big, .is-solo) .li-still { float: none; width: 58%; margin: calc(8px * var(--u)) auto calc(2px * var(--u)); }
@container col (min-width: 18em) {
  .li--l .li-still { float: right; width: 47%; margin: calc(7px * var(--u)) 0 calc(4px * var(--u)) calc(11px * var(--u)); }
  .li--l:is(.is-big, .is-solo) .li-still { float: none; width: 100%; margin: calc(8px * var(--u)) 0 calc(2px * var(--u)); }
  .li--p .li-still { width: 31%; }
  .li--p:is(.is-big, .is-solo) .li-still { float: right; width: 43%; margin: calc(7px * var(--u)) 0 calc(4px * var(--u)) calc(12px * var(--u)); }
}
/* alone in its column: set larger, like a pick of the day */
.li.is-solo .li-ch { font-size: calc(40px * var(--u)); }
.li.is-solo .li-name { font-size: var(--solo-name, calc(21px * var(--u))); }
.li.is-solo .li-desc { font-size: calc(15.5px * var(--u)); line-height: 1.45; }
.mode-single.is-phone .li.is-solo .li-desc { font-size: 17px; }
.li-desc {
  margin-top: calc(6px * var(--u));
  font: 400 calc(13.5px * var(--u))/1.42 var(--serif);
  font-optical-sizing: auto;
  -webkit-hyphens: auto; hyphens: auto; text-wrap: pretty;
}
.li-acts { clear: both; display: flex; flex-wrap: wrap; align-items: center; column-gap: calc(16px * var(--u)); margin: calc(-2px * var(--u)) 0 calc(-7px * var(--u)); }
.li-acts a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  text-decoration: none; font: 800 calc(10.5px * var(--u))/1.1 var(--ui); font-stretch: 108%; letter-spacing: .1em; text-transform: uppercase;
}
.li-acts a:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.li-go { color: var(--red-ink); }
.li-go .ic { width: 1.25em; height: 1.25em; }
.li-tv { color: var(--k); font-weight: 900; }
.li-tv .ic { width: 1.4em; height: 1.4em; color: var(--k-2); }
.li.is-hit .li-name-a { background: linear-gradient(transparent 8%, var(--yel) 8% 94%, transparent 94%) no-repeat 0 0 / 100% 100%; animation: hit 1.6s cubic-bezier(.3, .7, .3, 1) both; }
@keyframes hit { from { background-size: 0 100%; } 30% { background-size: 100% 100%; } to { background-size: 100% 100%; } }

/* a listing continued on a later page: the jump line and the jump head */
.li-cont { margin-top: calc(4px * var(--u)); font: 800 calc(10px * var(--u))/1.2 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--red-ink); text-align: right; }
.li-more-h { padding-bottom: calc(4px * var(--u)); border-bottom: 1px solid var(--rule); font: 600 calc(10px * var(--u))/1.2 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--k-3); }
.li-more-h b { color: var(--k); font-weight: 900; margin-right: .3em; }
.li-more .li-desc { margin-top: calc(6px * var(--u)); }

/* the continuity trail: 'Coming up' and the next channel */
.teaser {
  margin-top: auto;
  display: flex; align-items: center; gap: calc(10px * var(--u)); min-height: 44px;
  border-top: 3px solid var(--k); padding-top: calc(2px * var(--u));
  text-decoration: none;
}
.tz-k { flex: none; background: var(--red); color: var(--cover); padding: 4px 6px 3px; font: 900 calc(9px * var(--u))/1 var(--ui); font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; }
.tz-t { flex: 1; min-width: 0; font: 400 calc(14px * var(--u))/1.15 var(--serif); }
.tz-t b { font: 900 calc(11px * var(--u))/1 var(--ui); letter-spacing: .1em; color: var(--red-ink); margin-right: .3em; }
.tz-ic { width: calc(18px * var(--u)); height: calc(18px * var(--u)); color: var(--red-ink); }
.teaser:hover .tz-t { text-decoration: underline; }

/* a week of films instead of an app: the films are listed */
.li-films { display: grid; gap: calc(6px * var(--u)); margin-top: calc(8px * var(--u)); }
.lf { display: grid; grid-template-columns: 42% 1fr; gap: calc(10px * var(--u)); align-items: center; min-height: 44px; text-decoration: none; }
.lf-img { aspect-ratio: 16 / 9; }
.lf-t { font: 800 calc(12.5px * var(--u))/1.15 var(--ui); }
.lf-len { display: block; margin-top: 4px; font: 700 calc(10px * var(--u))/1 var(--ui); letter-spacing: .12em; color: var(--red-ink); }
.lf-len::before { content: '\25B6\00A0'; font-size: .8em; }
.lf:hover .lf-t { text-decoration: underline; }

/* the month bands */
.mband {
  display: flex; align-items: baseline; gap: .5em;
  padding: calc(6px * var(--u)) calc(9px * var(--u)) calc(5px * var(--u));
  background: var(--k); color: var(--paper);
  font: 900 calc(11px * var(--u))/1 var(--ui); font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase;
}
.mband span { color: var(--yel); }

/* the listings' opening */
.so-list { border-bottom: 2px solid var(--k); padding-bottom: calc(10px * var(--u)); }
.so-list-t { font: 900 calc(38px * var(--u))/.86 var(--ui); font-stretch: 125%; color: var(--red); letter-spacing: -.02em; text-transform: uppercase; }
.so-list-d { margin-top: calc(9px * var(--u)); font: 400 calc(14px * var(--u))/1.35 var(--serif); }
.so-list-d b { font-weight: 800; }
.so-key { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: calc(9px * var(--u)); font: 600 calc(10.5px * var(--u))/1.3 var(--ui); color: var(--k-2); }
.so-key li { display: inline-flex; align-items: center; gap: 6px; }
.key-ic { width: 1.25em; height: 1.25em; color: var(--k); }

/* ---------------------------------------------------------------- contents */

.so-contents { position: relative; padding-bottom: calc(6px * var(--u)); }
.so-kick { font: 800 calc(10.5px * var(--u))/1.2 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); }
.so-title { font: 900 calc(64px * var(--u))/.82 var(--serif); font-variation-settings: 'opsz' 144; letter-spacing: -.045em; margin-top: calc(6px * var(--u)); }
.pg-contents .pg-col { --gap: 0px; }
.ci { margin-top: calc(14px * var(--u)); }
.ci-list { display: grid; column-gap: calc(var(--pad) * .9); }
@container (min-width: 440px) { .ci-list { grid-template-columns: 1fr 1fr; } }
.ci-h, .ix-h {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: calc(6px * var(--u)) 0; border-top: 3px solid var(--k); border-bottom: 1px solid var(--k);
  font: 900 calc(11px * var(--u))/1 var(--ui); font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase;
}
.ix-h { margin-bottom: calc(2px * var(--u)); }
.ci-a { display: grid; grid-template-columns: calc(36px * var(--u)) 1fr; gap: calc(8px * var(--u)); align-items: baseline; min-height: 44px; padding: calc(8px * var(--u)) 0 calc(7px * var(--u)); border-bottom: 1px solid var(--rule); text-decoration: none; }
.ci-p { font: 900 calc(26px * var(--u))/.9 var(--ui); color: var(--red); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.ci-t { font: 400 calc(15px * var(--u))/1.22 var(--serif); }
.ci-t b { display: block; font: 800 calc(10px * var(--u))/1.2 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--k-3); margin-bottom: 3px; }
.ci-a:hover .ci-t { text-decoration: underline; }
.ix {
  display: grid; grid-template-columns: calc(25px * var(--u)) minmax(0, 1fr) auto; align-items: center; column-gap: calc(7px * var(--u));
  min-height: 44px; padding: 3px 0; text-decoration: none;
  border-bottom: 1px dotted rgb(27 22 18 / .4);
}
.ix-n { font: 900 calc(14px * var(--u))/1 var(--ui); color: var(--red); font-variant-numeric: tabular-nums; }
.ix-name { font: 700 calc(13px * var(--u))/1.12 var(--ui); }
.ix-p { min-width: 2.1ch; text-align: right; font: 700 calc(14px * var(--u))/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; }
.ix:hover .ix-name { text-decoration: underline; }

/* ---------------------------------------------------------------- this week, the feature */

.so-feature { padding-bottom: calc(4px * var(--u)); }
.so-tag { display: inline-block; background: var(--red); color: var(--cover); padding: 3px 6px 2px; margin-right: 6px; letter-spacing: .14em; }
.so-head {
  margin-top: calc(10px * var(--u));
  font: 900 calc(52px * var(--u))/.92 var(--serif); font-variation-settings: 'opsz' 144; letter-spacing: -.03em; word-spacing: .05em;
  text-wrap: balance;
}
.ft-p { font: 400 calc(14.5px * var(--u))/1.5 var(--serif); -webkit-hyphens: auto; hyphens: auto; text-wrap: pretty; }
.ft-cont { text-indent: 0; }
.ft-first::first-letter {
  float: left; font: 900 calc(54px * var(--u))/.8 var(--serif); font-variation-settings: 'opsz' 144;
  color: var(--red); margin: calc(4px * var(--u)) calc(6px * var(--u)) 0 0;
}
.ft-quote { padding: calc(10px * var(--u)) 0; border-top: 3px solid var(--k); border-bottom: 1px solid var(--k); }
.ft-quote p { font: 800 calc(21px * var(--u))/1.08 var(--serif); font-variation-settings: 'opsz' 72; color: var(--red); letter-spacing: -.015em; text-wrap: balance; }
.ft-quote p::before { content: '\201C'; } .ft-quote p::after { content: '\201D'; }
.ft-fig figcaption, .ft-film figcaption { margin-top: calc(6px * var(--u)); font: 600 calc(10.5px * var(--u))/1.35 var(--ui); color: var(--k-2); }
.ft-fig figcaption b, .ft-film figcaption b { color: var(--k); font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.ft-film figcaption a { font-weight: 800; color: var(--red-ink); display: inline-block; min-height: 44px; line-height: 44px; margin: -14px 0; }
.ft-go { display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  background: var(--red); color: var(--cover); text-decoration: none;
  font: 900 calc(11px * var(--u))/1.1 var(--ui); font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--k);
}
.btn + .btn { background: var(--k); box-shadow: 3px 3px 0 var(--red); }
.btn .ic { width: 1.3em; height: 1.3em; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--k); }
.film {
  position: relative; width: 100%; aspect-ratio: 9 / 16; margin: 0 auto;
  max-width: calc(var(--colh, 600px) * .58 * 9 / 16);
  border-radius: calc(10px * var(--u)); overflow: hidden; background: #1a1424;
  box-shadow: 0 0 0 1px rgb(27 22 18 / .6);
}
.film-poster, .film-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.film-play {
  position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; white-space: nowrap;
  border: 0; border-radius: 999px; background: var(--yel); color: var(--k); cursor: pointer;
  font: 900 calc(11px * var(--u))/1 var(--ui); font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 6px 16px -4px rgb(0 0 0 / .6);
}
.film-play .ic { width: 1.4em; height: 1.4em; }

/* ---------------------------------------------------------------- fillers: house adverts and boxes */

.fill { position: relative; }
.fl-h { font: 900 calc(19px * var(--u))/1.02 var(--serif); font-variation-settings: 'opsz' 72; letter-spacing: -.02em; margin-bottom: calc(6px * var(--u)); }
.fl-num, .fl-work, .fl-reel, .fl-lens, .fl-odds { border-top: 3px solid var(--k); padding-top: calc(9px * var(--u)); font-size: calc(13px * var(--u)); line-height: 1.42; }
.fl-num dl { display: grid; gap: calc(6px * var(--u)); }
.fl-num dl > div { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; border-bottom: 1px solid var(--rule); padding-bottom: calc(5px * var(--u)); }
.fl-num dt { font: 900 calc(26px * var(--u))/1 var(--ui); font-stretch: 112%; color: var(--red); letter-spacing: -.02em; min-width: 3.3ch; }
.fl-num dd { margin: 0; font: 600 calc(12px * var(--u))/1.25 var(--ui); }
.fl-work p { text-wrap: pretty; }
.fl-code { background: #12100e; color: #e9e2d2; border-radius: 9% / 14%; padding: calc(14px * var(--u)) calc(16px * var(--u)); }
.fl-code-t { font: 700 calc(9.5px * var(--u))/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: #9b9182; margin-bottom: 8px; }
.fl-code pre { margin: 0; font: 400 calc(10.5px * var(--u))/1.5 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.fl-code .c-c { color: #8f9c86; }
.fl-code .c-k { color: #f2ead8; }
.fl-telly { background: var(--yel); padding: calc(12px * var(--u)) calc(14px * var(--u)) calc(4px * var(--u)); }
.fl-telly-k { font: 800 calc(10px * var(--u))/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; }
.fl-telly-h { margin-top: 6px; font: 900 calc(22px * var(--u))/1 var(--serif); font-variation-settings: 'opsz' 72; letter-spacing: -.02em; }
.fl-telly-a a, .fl-tt-a a, .fl-links a, .fl-chs a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none;
  font: 900 calc(10.5px * var(--u))/1.1 var(--ui); letter-spacing: .1em; text-transform: uppercase;
}
.fl-telly-a a:hover, .fl-links a:hover, .fl-chs a:hover { text-decoration: underline; }
.fl-links, .fl-chs { display: flex; flex-wrap: wrap; column-gap: 14px; }
.fl-links a { color: var(--red-ink); }
.fl-chs a { color: var(--red-ink); font-variant-numeric: tabular-nums; }
.fl-films { margin-top: calc(4px * var(--u)); }
.fl-films a { display: flex; align-items: center; gap: 8px; min-height: 44px; border-bottom: 1px solid var(--rule); text-decoration: none; font: 400 calc(13.5px * var(--u))/1.2 var(--serif); }
.fl-films b { flex: none; min-width: 3.4em; font: 900 calc(10.5px * var(--u))/1 var(--ui); letter-spacing: .1em; color: var(--red-ink); }
.fl-films a:hover { text-decoration: underline; }
.mode-single.is-phone .fl-films a { font-size: 15px; }
.fl-odds li a { display: block; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.fl-oddsx li { padding: calc(8px * var(--u)) 0 calc(4px * var(--u)); border-bottom: 1px solid var(--rule); }
.fl-oddsx li a { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; min-height: 0; padding: 0; border: 0; }
.fl-oddsx li a::after { content: ''; position: absolute; inset: 0; }
.fl-oddsx li { position: relative; }
.fl-oddsx li p { margin-top: 3px; font-size: calc(12.5px * var(--u)); line-height: 1.38; color: var(--k-2); }
.fl-odds li b { font: 800 calc(12.5px * var(--u))/1.2 var(--ui); }
.fl-odds li span { font: 700 calc(9.5px * var(--u))/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--red-ink); }
.fl-odds li a:hover b { text-decoration: underline; }

/* WJ Text, printed: a teletext screen as an advert */
.fl-text, .tt { background: #050505; color: #fff; font-family: var(--tt); border-radius: 7% / 10%; box-shadow: inset 0 0 0 1px #000, inset 0 0 24px rgb(80 120 255 / .12); }
.fl-text { padding: calc(12px * var(--u)) calc(14px * var(--u)) calc(4px * var(--u)); }
.fl-tt-top { font-size: calc(11px * var(--u)); color: #fff; letter-spacing: .02em; }
.fl-tt-h { margin-top: 2px; font-size: calc(30px * var(--u)); line-height: 1.7; }
.tt-c { color: #36e3f2; } .tt-y { color: #ffe23b; }
.fl-tt-b { font-size: calc(12.5px * var(--u)); line-height: 1.35; color: #fff; }
.fl-tt-a a { color: #ffe23b; font-family: var(--tt); font-weight: 400; letter-spacing: .02em; font-size: calc(13px * var(--u)); }

/* ---------------------------------------------------------------- the cover */

.pg-cover {
  background-color: var(--cover);
  background-image:
    linear-gradient(118deg, rgb(255 255 255 / .55) 0%, rgb(255 255 255 / 0) 34%, rgb(255 255 255 / 0) 62%, rgb(255 255 255 / .18) 74%, rgb(255 255 255 / 0) 86%),
    var(--grain);
  background-size: 100% 100%, 200px 200px;
}
.cv { padding: 3.6cqw 5cqw 4cqw; gap: 0; }
.cv-issue {
  display: flex; justify-content: space-between; align-items: center;
  font: 800 max(10px, 2.55cqw)/1 var(--ui); font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase;
  padding-bottom: 1.6cqw;
}
.cv-no { color: var(--red-ink); }
.cv-mast { display: flex; align-items: center; gap: 2.4cqw; line-height: 1; margin: .4cqw 0 0; white-space: nowrap; }
.cv-wj {
  display: inline-block; background: var(--red); color: var(--cover);
  font: 900 14.2cqw/1 var(--ui); font-stretch: 125%; letter-spacing: -.035em;
  padding: 1.1cqw 2.4cqw .4cqw 2cqw; border-radius: 3.6cqw / 4.6cqw;
}
.cv-weekly { font: 900 17.6cqw/.8 var(--serif); font-variation-settings: 'opsz' 144; letter-spacing: -.05em; color: var(--k); padding-bottom: .6cqw; }
.cv-strap {
  margin: 2.4cqw -5cqw 0; padding: 1.5cqw 5cqw 1.3cqw;
  background: var(--k); color: var(--cover); text-align: center;
  font: 900 max(10px, 2.75cqw)/1.1 var(--ui); font-stretch: 118%; letter-spacing: .2em; text-transform: uppercase;
}
.cv-photo { position: relative; flex: 1 1 auto; min-height: 50cqw; margin: 0 -5cqw; overflow: hidden; container: photo / size; }
.cv-main { position: absolute; inset: 0; }
.cv-main .ph { object-position: 52% 50%; }
.cv-inset {
  text-decoration: none;
  position: absolute; right: 5cqw; top: 4.5cqw; width: 43%; z-index: 2;
  padding: 1.3cqw 1.3cqw 0; background: #fbf8f1; transform: rotate(3deg);
  box-shadow: 0 1.2cqw 2.6cqw -.6cqw rgb(0 0 0 / .6), 0 0 0 1px rgb(0 0 0 / .1);
}
.cv-inset-ph { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 9% / 13%; overflow: hidden; }
.cv-inset::before { inset: 1.3cqw 1.3cqw auto; aspect-ratio: 16 / 10; z-index: 1; border-radius: 9% / 13%; }
.cv-inset-cap { display: block; padding: 1.3cqw .3cqw 1.2cqw; font: 700 max(10px, 2.3cqw)/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--k-2); }
.cv-inset-cap b { color: var(--k); font-weight: 900; }
.cv-ch { white-space: nowrap; }
.cv-flash {
  position: absolute; left: 5cqw; top: 5cqw; z-index: 3;
  width: 20cqw; height: 20cqw; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--yel); color: var(--k); transform: rotate(-10deg);
  box-shadow: 0 .8cqw 1.8cqw -.4cqw rgb(0 0 0 / .55);
}
.cv-flash span { font: 800 max(10px, 2.6cqw)/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; }
.cv-flash b { font: 900 5.4cqw/.9 var(--serif); font-variation-settings: 'opsz' 144; letter-spacing: -.03em; }
.cv-flash--ch b { font: 900 5cqw/1 var(--ui); font-stretch: 112%; letter-spacing: 0; margin-top: .4cqw; }
.cv-story {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 16cqw 5cqw 4.4cqw;
  background: linear-gradient(180deg, transparent, rgb(4 10 26 / .62) 38%, rgb(4 8 20 / .9));
  color: #fbf6ea;
}
.cv-kick { font: 800 max(10px, 2.6cqw)/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--yel); }
.cv-head { margin-top: 1.6cqw; font: 900 10.6cqw/.9 var(--serif); font-variation-settings: 'opsz' 144; letter-spacing: -.035em; word-spacing: .06em; text-wrap: balance; }
.cv-head a { text-decoration: none; color: #fffaf0; }
.cv-sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4cqw; margin-top: 2.2cqw; border-top: 1px solid rgb(251 246 234 / .35); }
.cv-sub a { display: flex; flex-direction: column; justify-content: center; gap: .9cqw; min-height: 44px; padding-top: 1.8cqw; text-decoration: none; font: 400 max(13px, 3.2cqw)/1.2 var(--serif); color: rgb(251 246 234 / .86); }
.cv-sub b { font: 900 max(10px, 2.5cqw)/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: #fffaf0; }
.cv-sub a:hover span { text-decoration: underline; }
.cv-more { margin-top: 0; border-top: .6cqw solid var(--k); }
.cv-more-h { padding: 1.8cqw 0 0; font: 800 max(10px, 2.4cqw)/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--k-3); }
.cv-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cv-lines li + li { border-left: 1px solid var(--rule); }
.cv-lines a { display: flex; flex-direction: column; justify-content: center; gap: .9cqw; min-height: 44px; height: 100%; padding: 1.6cqw 2cqw .2cqw; text-decoration: none; }
.cv-lines li:first-child a { padding-left: 0; }
.cv-lines b { font: 900 max(13px, 3.4cqw)/1 var(--ui); font-stretch: 108%; }
.cv-lines span { font: 800 max(10px, 2.3cqw)/1.1 var(--ui); letter-spacing: .12em; color: var(--red-ink); }
.cv-lines i { font: 700 max(10px, 2.1cqw)/1 var(--ui); font-style: normal; letter-spacing: .12em; color: var(--k-3); }
.cv-lines a:hover b { text-decoration: underline; }
/* when the cover star is a phone screen: the screen stands on a tinted, screened ground */
.cv-photo--p .cv-main {
  background:
    radial-gradient(circle at 50% 50%, rgb(0 0 0 / .22) 0 .8px, transparent 1.4px) 0 0 / 4px 4px,
    radial-gradient(90% 80% at 70% 30%, color-mix(in srgb, var(--tint) 70%, #fff), var(--tint) 45%, color-mix(in srgb, var(--tint) 55%, #000));
}
.cv-photo--p .cv-main .ph { left: auto; right: 6cqw; top: 5cqh; width: auto; height: 62cqh; aspect-ratio: 9 / 16; border-radius: 3cqh; box-shadow: 0 0 0 .8cqh #111, 0 2cqh 4cqh -1cqh rgb(0 0 0 / .6); transform: rotate(4deg); }
.cv-inset--p { width: 26%; }
.cv-inset--p .cv-inset-ph { aspect-ratio: 9 / 16; }
.cv-inset--p::before { aspect-ratio: 9 / 16; }
.cv-photo--p .cv-inset { left: 5cqw; right: auto; top: auto; bottom: 46cqh; }
.cv-lines { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.cv-sub-1 { grid-template-columns: 1fr; }
.cv-sub-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ft-fig--p .ft-ph { aspect-ratio: 9 / 16; width: min(62%, calc(var(--colh, 600px) * .36)); margin: 0 auto; border-radius: calc(12px * var(--u)); }

/* a short cover photograph: the inset and the sticker step aside for the cover story */
@container photo (max-height: 340px) {
  .cv-inset { width: 33%; top: 3cqh; right: 3.5cqw; padding: 1cqw 1cqw 0; }
  .cv-inset-cap { padding: 1cqw .2cqw; }
  .cv-flash { width: 17cqw; height: 17cqw; top: 3cqh; left: 4cqw; }
  .cv-flash b { font-size: 4.6cqw; }
  .cv-story { padding-top: 9cqw; }
}
@container (max-width: 360px) {
  .cv-lines b { font-size: 12.5px; font-stretch: 100%; }
  .cv-lines span, .cv-sub b, .cv-inset-cap { letter-spacing: .06em; }
  .cv-lines a { padding-left: 1.6cqw; padding-right: 1.4cqw; }
}
.staple { position: absolute; left: 0; width: 2px; height: 4.2%; z-index: 4; border-radius: 0 1px 1px 0; background: linear-gradient(180deg, #8d8a83, #d9d5cc 40%, #77746d); box-shadow: 1px 0 1px rgb(0 0 0 / .25); opacity: .85; }
.staple-1 { top: 22%; } .staple-2 { top: 72%; }

/* ---------------------------------------------------------------- the back cover */

.pg-back { background-color: var(--cover); }
.bk { padding: 5cqw 5cqw 4cqw; gap: 0; }
.bk-screen {
  position: relative; flex: 1 1 auto; min-height: 24cqw; border-radius: 8% / 11%; overflow: hidden;
  background: var(--k);
  box-shadow: 0 0 0 .8cqw var(--k), 0 0 0 1.1cqw rgb(255 255 255 / .2);
  container-type: size;
}
.bk-bars {
  position: absolute; inset: 0 0 34%;
  background: linear-gradient(90deg, var(--cover) 0 16.66%, var(--yel) 0 33.33%, #e8a21a 0 50%, var(--red) 0 66.66%, #8c1a10 0 83.33%, var(--k-2) 0);
}
.bk-bars::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle, rgb(0 0 0 / .18) 0 .7px, transparent 1.3px) 0 0 / 3px 3px; }
.bk-ch {
  position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  display: flex; align-items: center; justify-content: center; gap: 2cqw;
  color: var(--cover); font: 900 min(18cqw, 27cqh)/1 var(--ui); font-stretch: 125%; letter-spacing: -.03em;
}
.bk-ch small { font-size: .32em; letter-spacing: .12em; color: var(--yel); }
.bk-kick { margin-top: 5cqw; font: 800 max(10px, 2.6cqw)/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); }
.bk-head { margin-top: 1.6cqw; font: 900 10.8cqw/.9 var(--serif); font-variation-settings: 'opsz' 144; letter-spacing: -.035em; word-spacing: .06em; }
.bk-dek { margin-top: 2.4cqw; font: 400 max(13px, 3.4cqw)/1.35 var(--serif); color: var(--k-2); max-width: 32em; }
.bk-hello-p { margin-top: 3cqw; }
.bk-hello {
  display: inline-flex; align-items: center; min-height: 44px; padding: 1.8cqw 4.4cqw;
  background: var(--red); color: var(--cover); text-decoration: none; box-shadow: .8cqw .8cqw 0 var(--k);
  font: 900 3.6cqw/1 var(--ui); font-stretch: 125%; letter-spacing: .06em; text-transform: uppercase;
}
.bk-hello:hover { transform: translate(-1px, -1px); }
.bk-links { display: flex; flex-wrap: wrap; column-gap: 5cqw; margin-top: 2.2cqw; }
.bk-links a, .bk-again a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none;
  font: 800 max(10px, 2.7cqw)/1 var(--ui); letter-spacing: .08em; text-transform: uppercase;
}
.bk-links a:hover, .bk-again a:hover { text-decoration: underline; }
.bk-links .ic { width: 1.3em; height: 1.3em; color: var(--red-ink); }
.bk-again a { color: var(--red-ink); }
.bk-again a::before { content: '\25C2\00A0'; }
.bk-imprint { display: flex; justify-content: space-between; gap: 3cqw; flex-wrap: wrap; margin-top: 1.4cqw; padding-top: 1.6cqw; border-top: .5cqw solid var(--k); font: 700 max(10px, 2.1cqw)/1.2 var(--ui); letter-spacing: .14em; color: var(--k-3); }
.bk-bar { position: absolute; right: 5cqw; bottom: 4cqw; display: none; }

/* ---------------------------------------------------------------- the inside back cover: WJ Text */

.pg-ad { background-color: var(--paper); }
.ad { padding: 4.4cqw 5cqw; }
.ad-label { font: 700 max(10px, 2.2cqw)/1 var(--ui); letter-spacing: .3em; text-transform: uppercase; color: var(--k-3); text-align: center; padding-bottom: 2.4cqw; }
.tt { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 4cqw 5cqw 3cqw; overflow: hidden; }
.tt-row { font-size: max(13px, 3.4cqw); line-height: 1.3; }
.tt-top { display: flex; justify-content: space-between; gap: 2cqw; }
.tt-big { font-size: max(34px, 12cqw); line-height: 1.75; margin: 1cqw 0 2cqw; }
.tt-big > span, .fl-tt-h > span { display: inline-block; transform: scaleY(1.6); transform-origin: 50% 55%; }
.tt-w { color: #fff; margin-bottom: 2.4cqw; }
.tt-pages { display: grid; gap: 0; margin: 0 0 2.4cqw; flex: 1 1 auto; align-content: start; }
.tt-pages a { display: flex; align-items: center; gap: 3cqw; min-height: 44px; padding: .4cqw 0; text-decoration: none; color: #fff; font-size: max(13px, 3.6cqw); }
.tt-pages a:hover { color: #ffe23b; }
.tt-n { color: #36e3f2; }
.tt-g { color: #6ee36a; }
.tt-cta a { display: inline-flex; align-items: center; gap: 2cqw; min-height: 44px; padding: 0 3cqw; margin-top: 1cqw; background: #ffe23b; color: #000; text-decoration: none; font-size: max(14px, 4.2cqw); }
.tt-cta .ic { width: 1em; height: 1em; }
.tt-fast { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1cqw; margin-top: 3cqw; font-size: max(10px, 2.8cqw); }
.tt-fast span { padding: .8cqw 1cqw; color: #000; text-align: center; }
.f-r { background: #ff4a3d; } .f-g { background: #3ddc5f; } .f-y { background: #ffe23b; } .f-b { background: #4f8cff; }
.ad-foot { text-align: center; padding-top: 2.4cqw; font: 400 max(12.5px, 2.9cqw)/1.3 var(--serif); color: var(--k-2); }

/* ---------------------------------------------------------------- the reel (printed when a spread needs one more page) */

.rl { padding: 5cqw 5cqw 4cqw; }
.rl-kick { font: 800 max(10px, 2.5cqw)/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); }
.rl-head { margin-top: 1.6cqw; font: 900 9.6cqw/.9 var(--serif); font-variation-settings: 'opsz' 144; letter-spacing: -.04em; }
.rl-dek { margin-top: 2cqw; font: 400 max(13px, 3.4cqw)/1.35 var(--serif); color: var(--k-2); }
.rl-grid { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 3cqw; margin-top: 4cqw; }
.rl-grid li { min-height: 0; }
.rl-grid a { height: 100%; display: flex; flex-direction: column; text-decoration: none; min-height: 44px; }
.rl-img { flex: 1 1 auto; min-height: 0; }
.rl-img { aspect-ratio: auto; }
.rl-ch { margin-top: 1.4cqw; font: 900 max(10px, 2.6cqw)/1 var(--ui); letter-spacing: .1em; color: var(--red-ink); }
.rl-n { margin-top: .8cqw; font: 800 max(10px, 2.9cqw)/1.1 var(--ui); }

/* ---------------------------------------------------------------- the controls */

.ctl {
  position: relative; z-index: 10; flex: none;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
  height: calc(62px + var(--sab, 0px));
  padding: 0 calc(12px + var(--sar, 0px)) var(--sab, 0px) calc(12px + var(--sal, 0px));
}
.ctl[hidden] { display: none; }
.ctl-mid { display: flex; align-items: center; gap: 10px; }
.ctl-b {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; min-height: 44px; padding: 0 16px;
  border: 0; border-radius: 12px; cursor: pointer;
  color: var(--ink); background: linear-gradient(180deg, #26262b, #18181c);
  box-shadow: 0 2px 0 #040405, inset 0 1px 0 rgb(255 255 255 / .1), 0 8px 18px -8px rgb(0 0 0 / .8);
  font: 800 12px/1 var(--ui); font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .08s, box-shadow .08s, opacity .2s, background .2s;
}
.ctl-b svg { width: 18px; height: 18px; flex: none; }
.ctl-b:hover:not(:disabled) { background: linear-gradient(180deg, #2e2e34, #1d1d22); }
.ctl-b:active:not(:disabled) { transform: translateY(1px); box-shadow: 0 1px 0 #040405, inset 0 1px 0 rgb(255 255 255 / .06); }
.ctl-b:disabled { opacity: .32; cursor: default; }
.ctl-prev { justify-self: start; }
.ctl-next { justify-self: end; color: #fff; background: linear-gradient(180deg, #ff6a3d, #e2401c); box-shadow: 0 2px 0 #7a1d08, inset 0 1px 0 rgb(255 255 255 / .3), 0 8px 18px -8px rgb(255 80 30 / .6); }
.ctl-next:hover:not(:disabled) { background: linear-gradient(180deg, #ff7a50, #ea4a24); }
.ctl-ix { padding: 0 12px; }
.ctl-short { display: none; }
.ctl-at { margin: 0; min-width: 9.5em; text-align: center; font: 700 12px/1.2 var(--ui); font-stretch: 108%; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 520px) {
  .ctl { gap: 6px; padding-left: calc(8px + var(--sal, 0px)); padding-right: calc(8px + var(--sar, 0px)); }
  .ctl-b { padding: 0 12px; }
  .ctl-ix .ctl-l, .ctl-long { display: none; }
  .ctl-short { display: inline; }
  .ctl-ix { padding: 0; width: 44px; }
  .ctl-at { min-width: 0; font-size: 11px; letter-spacing: .08em; }
  .ctl-mid { gap: 6px; }
}
@media (max-width: 380px) {
  .ctl-prev .ctl-l, .ctl-next .ctl-l { display: none; }
  .ctl-prev, .ctl-next { width: 52px; padding: 0; }
}

/* ---------------------------------------------------------------- phones: the page uses the screen */

.mode-single.is-phone .li-desc { font-size: 15px; line-height: 1.45; }
.mode-single.is-phone .ft-p { font-size: 15.5px; }
.mode-single.is-phone .li-cat { font-size: 12.5px; }
.mode-single.is-phone .li-when { font-size: 11px; }
.mode-single.is-phone .li-acts a { font-size: 11.5px; }
.mode-single.is-phone .ix-name { font-size: 14px; }
.mode-single.is-phone .fl-num, .mode-single.is-phone .fl-work, .mode-single.is-phone .fl-reel, .mode-single.is-phone .fl-lens, .mode-single.is-phone .fl-odds { font-size: 14px; }
.mode-single.is-phone .so-list-d, .mode-single.is-phone .ci-t { font-size: 15px; }
.mode-single.is-phone .fl-tt-b, .mode-single.is-phone .fl-oddsx li p { font-size: 14px; }
.mode-single.is-phone .fl-code pre { font-size: 12px; }

/* ---------------------------------------------------------------- small pages (a 320 px phone) */

.mode-single.is-tiny .pg-head { font-size: 9px; padding-bottom: 4px; margin-bottom: 9px; border-bottom-width: 2px; }
.mode-single.is-tiny .pg-head::after { display: none; }
.mode-single.is-tiny .pg-foot { height: 22px; margin-top: 6px; padding-top: 4px; }
.mode-single.is-tiny .pf-n { font-size: 15px; }
.mode-single.is-tiny .li-desc { font-size: 14px; line-height: 1.38; }
.mode-single.is-tiny .li.is-solo .li-desc { font-size: 15.5px; }
.mode-single.is-tiny .li-cat { font-size: 11.5px; }
.mode-single.is-tiny .li-ch { font-size: 27px; }
.mode-single.is-tiny .li-name { font-size: 16px; }
.mode-single.is-tiny .ft-p { font-size: 14.5px; }
.mode-single.is-tiny .so-title { font-size: 52px; }
.mode-single.is-tiny .so-head { font-size: 40px; }
.mode-single.is-tiny .so-list-t { font-size: 32px; }
@media (max-height: 620px) { .ctl { height: calc(54px + var(--sab, 0px)); } }

/* very short single pages (a small landscape window): stills give up some height so a listing can share or split
   its column, and 'In this issue' runs as part of the contents */
.is-short .li-still { max-height: calc(var(--colh, 9999px) * .34); }
.is-short .ci { margin-top: 0; }
.ci-one { display: block; }

/* fixed pages that would not fit step down: fit-1, fit-2, fit-3 */
.fit-1 .cv-more-h, .fit-1 .bk-dek, .fit-1 .rl-dek, .fit-1 .tt-w, .fit-1 .ad-foot { display: none; }
.fit-1 .tt-pages { grid-template-columns: 1fr 1fr; column-gap: 3cqw; }
.fit-1 .tt-pages a { min-height: 44px; }
.fit-1 .tt-big { margin: 0; }
.fit-1 .bk-links { column-gap: 4cqw; }
.fit-1 .cv-photo { min-height: 40cqw; }
.fit-2 .bk-again, .fit-2 .tt-fast, .fit-2 .tt-g, .fit-2 .bk-kick, .fit-2 .rl-kick { display: none; }
.fit-2 .bk-screen { min-height: 16cqw; }
.fit-2 .bk-head, .fit-2 .cv-head { font-size: 9cqw; }
.fit-2 .tt-top { display: none; }
.fit-3 .bk-screen { display: none; }
.fit-3 .cv-sub span, .fit-3 .cv-lines i { display: none; }
.fit-3 .bk-imprint span + span { display: none; }

/* a cramped cover clears its photograph step by step (the script checks after each): cf-1 a smaller sticker and
   inset, cf-2 no sticker, cf-3 no inset, cf-4 a smaller headline without the strap lines, cf-5 smaller again */
.cf-1 .cv-flash { width: max(58px, 16cqw); height: max(58px, 16cqw); top: 3cqw; left: 4cqw; }
.cf-1 .cv-flash b { font-size: 4.3cqw; }
.cf-1 .cv-flash--ch b { font-size: 3.9cqw; }
.cf-1 .cv-inset { width: 34%; top: 3cqw; right: 3.5cqw; padding: 1cqw 1cqw 0; }
.cf-1 .cv-inset-cap { padding: 1cqw .2cqw; }
.cf-1 .cv-story { padding-top: 7cqw; }
.cf-2 .cv-flash { display: none; }
.cf-3 .cv-inset { display: none; }
.cf-4 .cv-head { font-size: 8.6cqw; }
.cf-4 .cv-story { padding-top: 4cqw; }
.cf-4 .cv-sub span { display: none; }
.cf-5 .cv-head { font-size: 7.2cqw; }
.cf-5 .cv-sub { margin-top: 1cqw; }

/* ---------------------------------------------------------------- the flat edition (?flat=1, or if the turning fails) */

.is-flat .mag { height: auto; min-height: 0; overflow: visible; }
.is-flat .desk { display: block; place-items: normal; overflow: visible; padding: 20px 12px 8px; touch-action: auto; }
.is-flat .book { width: 100%; height: auto; transform: none !important; -webkit-user-select: auto; user-select: auto; }
.is-flat .leaves { position: static; display: block; }
.is-flat .leaves::before, .is-flat .leaves::after, .is-flat .stack, .is-flat .turn, .is-flat .cast { display: none; }
.is-flat .pg {
  --u: 1.04; --pad: clamp(16px, 5vw, 36px);
  position: relative; width: min(100%, 720px); height: auto; margin: 0 auto 22px;
  box-shadow: 0 18px 40px -16px rgb(0 0 0 / .8);
}
.is-flat .pg::after { display: none; }
.is-flat .pg-in { position: relative; inset: auto; }
.is-flat .pg-fixed { aspect-ratio: 3 / 4.1; min-height: 560px; }
.is-flat .pg-fixed .pg-in { position: absolute; inset: 0; }
.is-flat .pg-ad { aspect-ratio: 3 / 4.4; min-height: 640px; }
.is-flat .pg-sheet .pg-col { gap: 22px; }
.is-flat .pg-contents .pg-col { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 0 28px; align-items: end; }
.is-flat .pg-contents .ix-h { grid-column: 1 / -1; margin-top: 18px; }
.is-flat .film { max-width: 300px; }
@media (max-width: 480px) { .is-flat .li-desc, .is-flat .ft-p { font-size: 15px; } .is-flat .pg-fixed { aspect-ratio: auto; min-height: 640px; } }

/* the safety net's plain list */
.is-plain .pg-in { gap: 18px; }
.is-plain .plain-li { border-top: 1px solid var(--rule); padding-top: 14px; }

/* landscape phones: the page keeps its portrait shape and the window scrolls */
@media (max-height: 500px) and (orientation: landscape) and (pointer: coarse) { .mag { min-height: 560px; } }

/* ---------------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  .leaves::before, .leaves::after { transition: none; }
  .li.is-hit .li-name-a { animation: none; background-size: 100% 100%; }
  .ctl-b, .btn, .bk-hello { transition: none; }
}
