/* The Editorial's paper: tokens and the rendered ground under every place. Other places use var(--ed-…, <same hex>).
   One light falls on every Editorial table, from the upper left: the ground (CP.edGround, ground.js) is painted
   lighter there and darker toward the lower right, each sheet's cut edge catches it, and each sheet's shadow
   falls down and to the right, away from it. No fill is flat and nothing is folded: a broadsheet's fold
   belongs to the printed page in the press alone. Every colour here is neutral. */
:root{
  /* white: no cardstock, no grey desk */
  --ed-sheet:   #FFFFFF;
  --ed-sheet-1: #FFFFFF;
  --ed-sheet-2: #FFFFFF;
  --ed-desk:    #FFFFFF;
  --ed-ink:     #1C1B1D;
  --ed-ink-2:   rgba(28,27,29,.62);
  --ed-rule:    rgba(28,27,29,.18);
  --ed-veil:    rgba(28,27,29,.14);
  --ed-dot:     #1B1B1C;
  --ed-press:   #0F0F10;
  --ed-press-ink: #E4E3DF;
  --ed-press-ink-2: rgba(228,227,223,.62);
  --ed-press-rule:  rgba(228,227,223,.16);
  --ed-veil-dark:   rgba(9,9,10,.80);
  /* a sheet on the board: the shadow falls down and to the right, away from the light */
  --ed-sheet-shadow: 0 1px 1px rgba(20,20,22,.10), 8px 22px 36px -22px rgba(20,20,22,.36), 22px 52px 96px -44px rgba(20,20,22,.24);
  /* a sheet on the felt of the press room */
  --ed-sheet-shadow-dark: 0 2px 0 rgba(0,0,0,.45), 0 44px 96px -36px rgba(0,0,0,.72);
}
.page-reading{ display:flow-root; background:var(--ed-desk); min-height:100vh; min-height:100svh; color:var(--ed-ink); }
/* the Paper lies on the house white like every other place (its newsprint is inside its own sheets, editorial-paper.css) */
.page-reading[data-place="paper"]{ background:var(--ed-desk); color:var(--ed-ink); }
/* the ground lies under everything in the room and never moves; what follows it stands on it */
.page-reading > .ed-ground ~ :not(.pr){ position:relative; z-index:1; }
.ed-ground{ position:fixed; inset:0; z-index:0; pointer-events:none; background:var(--ed-ground-base, var(--ed-desk)); }
.ed-ground canvas{ width:100%; height:100%; display:block; }
/* the board's tooth: the house fibre, fixed with it */
.ed-ground::after{ content:""; position:absolute; inset:0; background-image:var(--fibre); background-size:256px 256px; opacity:.20; mix-blend-mode:multiply; }
.ed-ground[data-tone="press"]::after{ opacity:.05; mix-blend-mode:screen; }
.page-reading .ed-wait{ margin:0; padding:calc(var(--nav-h) + 24px) max(16px, 3.8vw) 0; color:var(--ed-ink-2); }   /* the words: .t-note */

/* Retired with the old front (13 and 14 October): the sheet, the masthead and its crop marks, the furniture,
   the four places in rows, the jaws, the scan sheet and the Correo at the foot. None of them is built any more
   (masthead.js draws the front, scan-place.js the Scan, and the Correo is the postcard), and their rules and
   boxes went with them (P2, no lines). */

/* every lettered line has room for its ascenders, descenders and the reveal's blur: nothing is clipped */
.page-reading [data-reveal="letters"], .page-reading .cp-reveal{ line-height:max(1.12, var(--lh, 1.12)); }
.page-reading .cp-reveal .cp-l{ padding:.24em .14em .32em; margin:-.24em -.14em -.32em; }
