/* ═══════════════════ the Monday canon ═══════════════════

   Three leaves were set by three different hands: the landing spoke in
   Courier at fourteen, the story in Inter at nineteen and a half, because
   of in a measure of thirty-four ems, and each hung its text from a
   different margin. Read one after another they did not sound like one
   voice.

   This sheet is the voice. It is loaded last on all three leaves, so
   whatever each of them says about itself, this has the last word. One
   paper, one ink, one measure, one margin, one way of ending a page.

   Nothing here touches the film on the landing or the words that write
   themselves onto it.
                                                                        */

:root{
  /* the ink: one body tone, one quiet tone, one dark */
  --soft:rgb(84,82,79);
  --hi:rgb(29,28,26);
  --line:rgba(29,28,26,.14);
  --rule:rgba(29,28,26,.13);
  --hand:#1B33C4;
  --hand-light:#1B33C4;

  /* the paper */
  --paper:rgb(219,218,215);

  /* the margin: everything hangs from the same edge as the index above it */
  --gut:clamp(20px,5vw,80px);
  --pad-l:clamp(20px,5vw,80px);
  --pad-r:clamp(20px,5vw,80px);

  /* the scale */
  --t-body:clamp(17px,1.2vw,19.5px);
  --t-small:calc(clamp(17px,1.2vw,19.5px) * .87);
  --t-head:clamp(33px,3vw,46.5px);
  --t-up:clamp(21.9px,1.75vw,27px);
  --t-mono:clamp(10.9px,1.14vw,16.4px);
  --lead:1.82;
  --measure:30em;
}

/* ─── 1. the paper ───────────────────────────────────────────────
   The story was printed on a surface — a fine tooth and the light of a
   room falling across it — and the other two on nothing at all. It is
   the story's own paper, unchanged, now under all three. Not concrete:
   three or four parts in a hundred, the grain of a sheet. */
html,body{background-color:var(--paper)}

.wall,.wallface{
  background-color:var(--paper);
  background-attachment:fixed,fixed,fixed,fixed,fixed,fixed,fixed,fixed,fixed;
  background-repeat:repeat,repeat,no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,no-repeat;
  background-size:340px 340px,900px 900px,100% 100%,100% 100%,100% 100%,100% 100%,100% 100%,100% 100%,100% 100%;
  background-blend-mode:multiply,multiply,normal,normal,normal,normal,normal,normal,normal;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340'%3E%3Cfilter id='c' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='0.11' intercept='0.885'/%3E%3CfeFuncG type='linear' slope='0.11' intercept='0.885'/%3E%3CfeFuncB type='linear' slope='0.11' intercept='0.885'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='340' height='340' filter='url(%23c)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='c' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.014' numOctaves='3' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='0.09' intercept='0.9'/%3E%3CfeFuncG type='linear' slope='0.09' intercept='0.9'/%3E%3CfeFuncB type='linear' slope='0.09' intercept='0.9'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='900' height='900' filter='url(%23c)'/%3E%3C/svg%3E"),
    radial-gradient(66.1% 50.2% at 87.72% 74.71%,rgba(249,247,245,.175),rgba(255,255,255,0) 74%),
    radial-gradient(58% 44% at 17% 10%,rgba(253,253,250,.60),rgba(253,253,250,0) 72%),
    radial-gradient(52% 38% at 84% 24%,rgba(170,169,163,.20),rgba(170,169,163,0) 74%),
    radial-gradient(68% 52% at 63% 86%,rgba(166,164,157,.19),rgba(166,164,157,0) 76%),
    radial-gradient(38% 30% at 6% 70%,rgba(253,253,250,.38),rgba(253,253,250,0) 72%),
    radial-gradient(34% 26% at 46% 46%,rgba(177,176,169,.13),rgba(177,176,169,0) 76%),
    radial-gradient(44% 34% at 92% 62%,rgba(253,253,250,.30),rgba(253,253,250,0) 74%)}

/* ─── 2. the running text ────────────────────────────────────────
   The story and because of were already set at the same size and the
   same leading; the landing was a size and a half smaller and tighter.
   It comes up to meet them. Writing laid over a photograph is set one
   step down — it is read against a picture, not against paper — and that
   step is written once, here, so it is the same on every cover. */
.under,section.one .under{
  font-size:var(--t-body) !important;line-height:var(--lead) !important;
  max-width:var(--measure) !important}

.entry .say .under2,.entry .say .under2 p,.entry .say p.under2,
.entry.onpic .say .under2,.entry.onpic .say .under2 p,.entry.onpic .say p.under2{
  font-size:var(--t-small) !important;line-height:var(--lead) !important}

.lead,.say2 p,.last{font-size:var(--t-body) !important;line-height:var(--lead) !important}
.say2 p{max-width:var(--measure) !important}

/* ─── 3. the titles ──────────────────────────────────────────────
   One size for the name of a part, whether it stands on paper or on a
   photograph: the size the story and because of have always used. */
.shout,.shout2,.entry .say .shout2,.entry.onpic .say .shout2{
  font-size:var(--t-head) !important;line-height:1.16 !important;
  letter-spacing:.015em !important}

/* ─── 4. the small print ─────────────────────────────────────────
   Numbers, labels, stamps and the way on are all struck in the same
   typewriter face, tracked the same, in the same quiet ink. */
.stamp,.when,.more,.ix a{font-family:var(--mono) !important}
.stamp,.when{color:var(--soft) !important}

/* ─── 5. the margin ──────────────────────────────────────────────
   The story hung its text at a hundred and ten, because of at ninety-six,
   the landing at eighty. Eighty is where the index in the corner sits, so
   eighty it is: every leaf now starts on the same vertical. The margins
   themselves are set at the top of this sheet, in :root, where each leaf
   had written its own. */

/* ─── 5b. the index in the corner ────────────────────────────────
   The mark and the list of parts stood fifteen pixels in on the landing
   and forty and thirty on the other two. One corner now: the mark half a
   gutter from the edge, the list a full gutter from the right, both a
   breath of thirty from the top. */
html body .site-head:not(#none){
  padding-top:30px !important;
  padding-left:calc(clamp(20px,5vw,80px) * .5) !important;
  padding-right:clamp(20px,5vw,80px) !important}

/* ─── 6. the end of a leaf ───────────────────────────────────────
   Three footers: one in Courier at fourteen, stacked; two in the
   typewriter face at thirteen, in a line. They end the same way now —
   one line, the same air above it, the same ink, and the morse rule
   drawn across the top of it. */
/* a footer that is nested inside a leaf already stands on the leaf's own
   margin, so it is given none of its own; a footer that is a child of the
   body carries the margin itself. Both end up on the same vertical. */
/* ——— and the reason the landing's footer looked empty ———
   The wall is a fixed sheet with z-index 0. Everything written on the
   leaf is inside a section that stands on it — position relative, z-index
   one — but the footer stood on nothing, and a positioned layer at zero
   paints over plain text that is not positioned at all. The words were
   always there, measured and coloured; the wall was simply in front of
   them. Every footer now stands on the wall, like everything else. */
html body footer{position:relative !important;z-index:1 !important}

html body footer:not(#none){padding-left:0 !important;padding-right:0 !important;
  padding-top:clamp(96px,16vh,180px) !important;padding-bottom:0 !important}
html body > footer:not(#none),
html body footer.pad:not(#none){padding-left:clamp(20px,5vw,80px) !important;
  padding-right:clamp(20px,5vw,80px) !important}

html body footer .ends{display:flex !important;flex-wrap:wrap !important;
  align-items:baseline !important;justify-content:space-between !important;
  gap:0 2.4em !important;
  font:400 13px/1.82 var(--mono) !important;letter-spacing:.01em !important;
  color:var(--soft) !important;text-transform:none !important}
html body footer .ends > span{display:inline !important;color:var(--soft) !important;
  font:inherit !important;margin:0 !important;padding:0 !important}
html body footer .ends > svg{display:block !important;flex:0 0 100% !important;
  width:100% !important;margin:0 0 14px !important}
html body footer .ends a{display:inline !important;font:inherit !important;
  color:var(--hi) !important;text-decoration:none !important;
  border-bottom:1px solid rgba(29,28,26,.28) !important;padding-bottom:2px !important;
  margin:0 !important}
html body footer .ends a:hover{border-bottom-color:var(--hand) !important;color:var(--hand) !important}

/* ─── 7. one ink for running text ────────────────────────────────
   Three leaves, four body tones: 61,59,55 on the landing, 62,61,58 for
   the story's opening and 70,65,58 for its hours. One tone now. */
.under,.lead,.say2 p,.last{color:rgb(62,61,58) !important}

/* because of was set a size down from the other two and a measure wider:
   seventeen and a half across sixty-six ems. It joins them. */
.col p,.read p,.read p.alone{
  font-size:var(--t-body) !important;line-height:var(--lead) !important;
  color:rgb(62,61,58) !important;max-width:var(--measure) !important}

/* ─── 8. the opening sentence of a person ────────────────────────
   Under every name the first sentence was pushed thirty-nine pixels
   further in than the paragraphs below it, so the column had two left
   edges and the eye could not tell which one was the real one. It was
   also the only line on the leaf that had lost its size when everything
   came to one measure, which made the indent read as a mistake rather
   than as a decision.

   One edge now: the opening stands exactly where the paragraphs under it
   stand, and it is the opening because it is set a step up in the scale
   and struck a shade darker — not because it is moved. */
.read p.key{
  margin-left:0 !important;
  font-size:var(--t-up) !important;
  line-height:1.52 !important;
  /* the measure is thirty lines of the body size, not thirty of its own,
     so the opening ends on the same right edge as the paragraphs under
     it and the column has one width as well as one left edge */
  max-width:calc(30 * var(--t-body)) !important;
  color:rgb(46,46,44) !important;
  /* and it was centred, under a centred name, directly above three
     paragraphs set flush left — so the one sentence in the block that
     should lead the eye into the column was the only line not standing
     on the column's edge. It reads down the same edge now. */
  text-align:left !important;
  text-wrap:pretty}
.read p.key + p{margin-top:calc(var(--t-body) * 1.6) !important}
