/* Self-hosted fonts (SIL Open Font License 1.1). The files are made by authoring/fonts/subset-fira.sh. */
@font-face{font-family:"Fira Sans";src:url("/fonts/fira-sans-regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Fira Sans";src:url("/fonts/fira-sans-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Fira Sans";src:url("/fonts/fira-sans-medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Fira Sans";src:url("/fonts/fira-sans-semibold.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Fira Sans Condensed";src:url("/fonts/fira-sans-condensed-medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Fira Sans Condensed";src:url("/fonts/fira-sans-condensed-semibold.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
/* The whole palette. Black ink on a slightly softened white; red is the index mark and nothing else:
   a current or selected position. Nothing depends on it: every index mark is also a shape. */
:root{
  --paper:#f7f7f5;      /* a slightly softened white */
  --ink:#000;
  --soft:#4a4a4a;       /* secondary information */
  --rule:#bebebe;       /* fine rules */
  --index:#d42b1e;      /* the index mark, only */
  --text:"Fira Sans","Helvetica Neue",Arial,sans-serif;
  --figure:"Fira Sans Condensed","Fira Sans","Helvetica Neue",Arial,sans-serif;
  --axis:0rem;          /* where reading starts, measured from the left of the page frame */
  --measure:42.5rem;    /* the reading column: where a line of prose starts and ends */
  --wm:1.75rem;         /* height of the wordmark: 28px. It is 14 units high, so a multiple of 7px keeps its rule on whole pixels */
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
*,*::before,*::after{box-sizing:inherit}
html{scroll-padding-top:env(safe-area-inset-top,0px)}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--text);
  font-size:1.1875rem;line-height:1.55;-webkit-font-smoothing:antialiased}
/* A link is ink and underlined. Hover thickens the underline; keyboard focus is an ink outline. Neither is red. */
a{color:var(--ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{text-decoration-thickness:2px}
a:focus-visible,button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

/* The page frame is centred. The wordmark and everything read share its left edge.
   A page with a contents rail (a bench note, on a wide screen) is wider by the rail,
   which stands in a margin to the left of that edge. */
.wrap{width:min(100% - 8rem,56.5rem);margin-inline:auto}
@media (min-width:64rem){.wrap.rail{width:min(100% - 8rem,72rem);--axis:15.5rem}}
header.top,main,footer{margin-left:var(--axis)}
header.top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;column-gap:1.5rem;padding-top:2.875rem;border-bottom:1.5px solid var(--ink)}
/* the wordmark: the master's one outline, in ink */
.mark{display:block;line-height:0;color:var(--ink);padding-bottom:1.375rem}
.mark svg{display:block;height:var(--wm);width:auto}
.top nav{display:flex;gap:2.5rem;font-size:1.0625rem;line-height:1}
.top nav a{position:relative;padding-bottom:1.375rem;text-decoration:none}
.top nav a:hover{text-decoration:underline;text-decoration-thickness:2px}
.top nav a[aria-current]{font-weight:600}
/* the index: where you are. It stands on the header rule under the current destination. */
.top nav a[aria-current]::after{content:"";position:absolute;left:50%;bottom:0;margin-left:-.375rem;
  border-left:.375rem solid transparent;border-right:.375rem solid transparent;border-bottom:.5625rem solid var(--index)}

h1{font-weight:600;font-size:clamp(2rem,4.4vw,2.625rem);line-height:1.12;letter-spacing:-.012em;margin:0}
h2{font-weight:600;font-size:1.375rem;line-height:1.3;margin:0 0 .6rem}

/* a plain page: a title and what is written under it */
.page{padding:4.25rem 0 5rem;min-height:45vh}
.page h1{margin:0 0 1.5rem}
.page p{max-width:42.5rem;margin:0 0 1rem}
.page h2{margin:2.5rem 0 .6rem}
.map{list-style:none;margin:0;padding:0}
.map li{margin:.3rem 0}
.map ul{list-style:none;margin:.3rem 0 .5rem;padding-left:1.25rem;font-size:1.0625rem}

/* home: the proposition */
.hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(12rem,13.5rem);column-gap:clamp(2rem,5vw,4.5rem);align-items:center;padding:4.25rem 0 4.5rem}
.strap{font-size:1.5rem;line-height:1.3;margin:.625rem 0 0}
.lede{font-size:1.25rem;line-height:1.55;margin:1.75rem 0 0;max-width:42.5rem}
.status{display:block;margin:2rem 0 0;padding:.875rem 0 .9375rem;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);font-size:1.0625rem;line-height:1.5;max-width:42.5rem}

/* the frame counter, in ink */
.dialbox{position:relative;margin:0;justify-self:center;width:min(100%,13.5rem);aspect-ratio:1}
.dialbox svg{width:100%;height:100%;display:block;overflow:visible}
.dialbox svg circle{fill:var(--ink)}
.dialbox svg .bezel{fill:none;stroke:var(--ink);stroke-width:1.5}
.dialbox svg .hub{stroke:var(--paper);stroke-width:1.25}
.dialbox svg .hub2{fill:var(--paper)}
.n{font-family:var(--figure);font-weight:500;font-size:9.5px;fill:var(--paper);text-anchor:middle;dominant-baseline:central}
.n.d{font-size:7px}
.index{fill:var(--paper);stroke:var(--ink);stroke-width:1.25}
.ring{transform-origin:0 0;transform:rotate(-232.0deg)}
@media (prefers-reduced-motion:no-preference){
  .ring{animation:wind .9s steps(6,end) .5s both}
  @keyframes wind{from{transform:rotate(-184.0deg)}to{transform:rotate(-232.0deg)}}
}
.caption{margin:.9rem 0 0;text-align:center;text-wrap:balance;font-size:.875rem;line-height:1.4;color:var(--soft)}

/* home: the sections under it */
main > section{padding:1rem 0 3.25rem;border-top:1px solid var(--ink)}
.cols{display:block}
.prose p{max-width:42.5rem;margin:0 0 1rem}
.scope{margin:1.125rem 0 0;padding:0;list-style:none;border-top:1px solid var(--rule);max-width:51.25rem}
.scope li{display:grid;grid-template-columns:13.75rem minmax(0,1fr);gap:1.5rem;padding:.8125rem 0 .875rem;border-bottom:1px solid var(--rule);font-size:1.0625rem;line-height:1.5}
.scope b{font-weight:600}
/* the small print under a list or beside a link. Scoped: a bench note's page also carries the class "note". */
.prose .note{font-size:1rem;color:var(--soft)}
.prose .scope-note{margin-top:1rem}

.doc{margin-top:1.5rem;padding:.9375rem 0 1rem;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);max-width:51.25rem;font-size:1.0625rem;line-height:1.5}
.doc .glyph{display:none}
.doc p{margin:0 0 .35rem}
.doc .t{font-weight:600;font-size:1.1875rem;line-height:1.4;max-width:42.5rem}
.doc .meta{color:var(--soft)}

.cta{display:inline-block;margin-top:.5rem;padding:.8rem 1.3rem;background:var(--ink);color:var(--paper);font-weight:600;font-size:1rem;line-height:1.2;text-decoration:none}
.cta:hover{text-decoration:underline;text-decoration-thickness:2px}

/* footer: the complete index, quietly, then one line */
footer{padding:0 0 3rem;border-top:1.5px solid var(--ink);font-size:1rem}
.foot-index{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2rem 2.5rem;padding:1.75rem 0 2.5rem}
.foot-index h2{font-size:.75rem;font-weight:600;letter-spacing:.09em;line-height:1.35;text-transform:uppercase;color:var(--soft);margin:0 0 .75rem}
.foot-index ul{list-style:none;margin:0;padding:0}
.foot-index li{margin:.32rem 0}
.foot-index a{text-decoration:none}
.foot-index a:hover{text-decoration:underline;text-decoration-thickness:2px}
.foot-index a[aria-current]{text-decoration:underline}
.foot-line{margin:.35rem 0 0;font-size:.9375rem;color:var(--soft)}
.foot-index + .foot-line{padding-top:1.25rem;border-top:1px solid var(--rule)}

@media (max-width:52rem){
  .wrap{width:auto;padding:0 1.5rem}
  .hero{grid-template-columns:1fr;gap:2rem;padding:3rem 0 3.25rem}
  /* The frame counter and its caption are an illustration. Below this width they are not shown, so the page opens with what the bench does. */
  .dialbox{display:none}
  .scope li{grid-template-columns:1fr;gap:.2rem}
  .foot-index{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page{padding:3rem 0 4rem}
}
@media (max-width:30rem){
  body{font-size:1.125rem}
  .mark{padding-bottom:1rem}
  .top nav{gap:2rem}
  .top nav a{padding-bottom:1.125rem}
  .strap{font-size:1.3125rem}
  .lede{font-size:1.1875rem}
}
@media print{.top nav,.foot-index{display:none}}
.doc .t a{text-decoration:none}
.doc .t a:hover{text-decoration:underline;text-decoration-thickness:2px}
