/* Experiments, the news page: one feed, the newest entry first. Loaded after x/base.css (typefaces, the six colours,
   the header). Nothing here has a colour of its own. The heading is set as a case's name is; an entry is one row
   between two lines: the date and the project in the mono face, the title in the heading face, the lead in the
   quiet ink. Entries have no pages of their own and no pictures, so nothing in a row is a link. */
.nw{--wide:max(var(--gut),calc((100% - 1680px)/2));--note:448px;--cg:112px;--meta:224px}
.nw main{flex:1}

/* ---------- The head ---------- */
.nw-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:56px var(--wide) 0}
.nw-hero h1{margin-left:-.055em;font-size:clamp(64px,10vw,152px);line-height:.84;font-weight:600;letter-spacing:-.065em}
.nw-pass{display:grid;justify-items:end;row-gap:7px;padding-bottom:6px;color:var(--muted);font:10px/1.5 var(--mono);letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}
.nw-pass b{color:var(--ink);font-size:11px;line-height:1.4;font-weight:400}

/* ---------- The feed ---------- */
.nw-list{list-style:none;margin:56px var(--wide) 0;border-bottom:1px solid var(--line)}
.nw-row{display:grid;grid-template-columns:var(--meta) minmax(0,1fr) minmax(0,var(--note));align-items:start;padding:28px 0 32px;border-top:1px solid var(--line);scroll-margin-top:16px}
.nw-meta{display:grid;row-gap:6px;padding-top:10px;font:11px/1.4 var(--mono);letter-spacing:.07em;text-transform:uppercase}
.nw-meta time{color:var(--muted)}
.nw-row h2{max-width:17em;padding-right:var(--cg);font-size:36px;line-height:1;font-weight:600;letter-spacing:-.045em;text-wrap:balance}
.nw-lead{padding-top:7px;color:var(--muted);font-size:15px;line-height:1.55}

.nw-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:80px;margin-top:96px;padding:0 var(--wide);border-top:1px solid var(--line)}

@media(max-width:1200px){
  .nw{--note:360px;--cg:56px;--meta:168px}
}
@media(max-width:900px){
  .nw-hero{padding-top:40px}
  .nw-list{margin-top:36px}
  .nw-row{grid-template-columns:minmax(0,1fr);padding:16px 0 26px}
  .nw-meta{display:flex;justify-content:space-between;gap:16px;padding-top:0}
  .nw-row h2{max-width:none;margin-top:16px;padding-right:0;font-size:30px}
  .nw-lead{margin-top:12px;padding-top:0}
  .nw-foot{margin-top:72px}
}

/* Rows come in as they enter the screen, the way the case's blocks do: from clear and blurred to sharp, once.
   news.js puts .rv only on what is below the first screen and takes both classes off when the move is over, so
   nothing keeps a filter. Only opacity, filter and transform move: no row changes its size or place. Without JS,
   with prefers-reduced-motion and in print everything is simply there. */
.rv{opacity:0;filter:blur(10px);transform:translateY(12px);will-change:opacity,filter,transform}
.rv.rv-in{opacity:1;filter:blur(0);transform:none;transition:opacity 1.1s cubic-bezier(.45,0,.3,1) var(--rv-d,0ms),filter .8s cubic-bezier(.3,0,.3,1) var(--rv-d,0ms),transform .8s cubic-bezier(.22,1,.36,1) var(--rv-d,0ms)}
.nw-foot.rv{transform:none}
@media(prefers-reduced-motion:reduce){.rv{opacity:1;filter:none;transform:none}}
@media print{.rv{opacity:1!important;filter:none!important;transform:none!important}}
