@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/schibsted-grotesk-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/schibsted-grotesk-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* v17: a plain page on parchment. The Tideway is a picture at the top: an eight paddles up towards Barnes Bridge, then rests. */
:root {
  --sky: #E9DEC4;
  --paper: #F3EAD4;
  --ink: #2A2018;
  --dim: #6F604C;
  --rule: rgba(60, 44, 28, .22);
  --foam: #2A2018;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--sky); color: var(--ink); }
body { font-family: var(--font); -webkit-font-smoothing: antialiased; }
.list .s { font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; }
.u { border-bottom: 1px solid var(--rule); transition: border-color .2s; }
.u:hover { border-color: currentColor; }
a:focus-visible, button:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.hero { position: relative; height: min(66vh, 620px); min-height: 360px; overflow: hidden; }
#river { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.veil { position: absolute; z-index: 1; left: 0; top: 0; width: min(900px, 80vw); height: 70%; pointer-events: none;
  background: radial-gradient(120% 100% at 0% 20%, rgba(240,231,208,.85) 0%, rgba(240,231,208,.55) 45%, rgba(240,231,208,0) 75%); }
.hero-text { position: absolute; z-index: 2; left: 32px; top: 64px; }
.hero h1 { font-weight: 500; font-size: clamp(44px, 6.2vw, 84px); line-height: .95; letter-spacing: -.035em; margin: 0 0 14px; }
.hero .sub { color: var(--dim); font-size: 16px; margin: 0; }
.caption { position: absolute; z-index: 2; right: 32px; bottom: 16px; font-size: 12px; color: rgba(42,32,24,.7); margin: 0; }

.page { position: relative; z-index: 2; max-width: 760px; padding: 64px 32px 72px; }
.page section { margin: 0 0 56px; }
.page h2 { font-weight: 500; font-size: 13px; color: var(--dim); margin: 0 0 12px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { border-top: 1px solid var(--rule); }
.list li:last-child { border-bottom: 1px solid var(--rule); }
.list .row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 11px 0; align-items: baseline; }
.list a.row:hover .t { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }
.list .t { font-size: 17px; letter-spacing: -.01em; }
.list .t span { color: var(--dim); }
.list .t.todo { color: var(--dim); }
.list .s { color: var(--dim); font-size: 13px; }
.foot { font-size: 12px; color: var(--dim); margin: 0; }

/* Reader: a project or essay opens as its own page */
.reader { position: fixed; inset: 0; z-index: 10; background: var(--paper); overflow-y: auto; display: none; }
.reader.open { display: block; }
.reader-in { max-width: 680px; margin: 0 auto; padding: 28px 32px 96px; }
.back { font: inherit; font-size: 13px; color: var(--dim); background: none; border: 0; padding: 0; cursor: pointer; }
.back:hover { color: var(--ink); }
.reader h1 { font-weight: 500; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -.03em; margin: 12vh 0 14px; text-wrap: balance; }
.reader .meta { font-size: 13px; color: var(--dim); margin: 0 0 40px; }
.reader p { font-size: 19px; line-height: 1.6; margin: 0 0 18px; max-width: 34em; }
.reader h3 { font-size: 19px; font-weight: 600; margin: 36px 0 12px; }
.reader blockquote { margin: 0 0 18px; padding-left: 16px; border-left: 2px solid var(--rule); color: var(--dim); }
.reader .ph { color: var(--dim); border-left: 2px solid var(--rule); padding-left: 16px; }
.reader ul { font-size: 17px; line-height: 1.6; color: var(--dim); padding-left: 20px; margin: 0 0 18px; }
.reader .notes { font-size: 14px; color: var(--dim); border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 40px; }
.reader .notes p { font-size: 14px; }
.reader .slides { display: flex; gap: 0; margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; width: min(980px, calc(100vw - 40px)); position: relative; left: 50%; transform: translateX(-50%); }
.reader .slides.paper { width: min(820px, calc(100vw - 40px)); }
.reader .slides::-webkit-scrollbar { display: none; }
.reader .slides img { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; width: 100%; height: auto; display: block; background: #fff; border: 1px solid var(--rule); box-shadow: 0 1px 6px rgba(60,44,28,.08); }
.reader .dl { font-size: 15px; }
.reader .meta + .slides, .reader p + .slides { margin-top: 32px; }
.reader .slides img { cursor: pointer; }
.reader .nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 14px 0 32px; font-size: 14px; color: var(--dim); font-variant-numeric: tabular-nums; }
.reader .nav button { font: inherit; font-size: 14px; color: var(--ink); background: none; border: 1px solid var(--rule); border-radius: 999px; min-width: 44px; height: 44px; padding: 0 18px; cursor: pointer; }
.reader .nav button:hover:not(:disabled) { border-color: var(--ink); }
.reader .nav button:disabled { opacity: .35; cursor: default; }
template { display: none; }

@media (max-width: 640px) {
  .list .row { grid-template-columns: 1fr; gap: 2px; }
  .hero { height: 58vh; min-height: 320px; }
  .hero-text { left: 20px; top: 44px; }
  .caption { right: 20px; }
  .page { padding: 48px 20px 56px; }
  .list .t { font-size: 15px; }
  .reader-in { padding: 20px 20px 72px; }
}

.grain, .vig { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.grain { mix-blend-mode: multiply; opacity: .4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .38  0 0 0 0 .29  0 0 0 0 .17  0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='900' height='900'><filter id='b'><feTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='2' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .33  0 0 0 0 .18  0 0 0 .5 -.08'/></filter><rect width='100%25' height='100%25' filter='url(%23b)'/></svg>"); }
.vig { background: radial-gradient(ellipse at 50% 45%, rgba(120,90,50,0) 52%, rgba(110,80,44,.22) 100%); mix-blend-mode: multiply; }

.nf { font-weight: 500; font-size: 40px; letter-spacing: -.03em; margin: 12vh 0 16px; }
