@font-face {
  font-family: "Instrument Sans";
  src: url("/static/fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/static/fonts/newsreader-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #f8f7f3;
  --panel: #ffffff;
  --ink: #23221f;
  --soft: #5f5c55;
  --muted: #9b978e;
  --line: #ebe8e0;
  --line-strong: #d6d2c7;
  --ring: #e3e9dc;
  --error: #b5452f;
  --brand: #e8340f;  /* the logo's red-orange, a touch deeper so it reads as text */
  /* Per-project tints, picked by project id. */
  --tint-0: #dfe8d8; --tint-0-ink: #4f6b45;
  --tint-1: #f1e4cf; --tint-1-ink: #8a6430;
  --tint-2: #e6e0f0; --tint-2-ink: #66558c;
  --tint-3: #dbe7ef; --tint-3-ink: #3f6680;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #1a1a18;
  --panel: #222220;
  --ink: #ecebe6;
  --soft: #b5b2aa;
  --muted: #85827a;
  --line: #31302c;
  --line-strong: #46453f;
  --ring: #34402f;
  --error: #ec8f7b;
  --brand: #ff6a45;
  --tint-0: #2a3326; --tint-0-ink: #a9c39d;
  --tint-1: #3a3021; --tint-1-ink: #d9b47c;
  --tint-2: #302b3d; --tint-2-ink: #bfb0e0;
  --tint-3: #24313a; --tint-3-ink: #9ec1d9;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15.5px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  line-height: 1;
}
.wordmark .logo { flex-shrink: 0; border-radius: 7px; }
.wm-name {
  font-weight: 600;
  letter-spacing: -0.025em;
}
/* One line of text, so both halves sit on the same baseline (as flex items they were
   centred box by box, and the two fonts' boxes differ). */
.wm { white-space: nowrap; }
.wm-word {
  font: 500 1.06em var(--serif);
  letter-spacing: -0.01em;
}

.bar nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.bar nav form { margin: 0; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--soft);
  font: inherit;
  cursor: pointer;
}
.pill:hover { color: var(--ink); }
.pill.on {
  background: var(--panel);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pill svg { width: 1rem; height: 1rem; }
.pill { white-space: nowrap; }

.who {
  margin-left: 0.6rem;
  color: var(--muted);
}

/* Type */

h1 {
  margin: 3.2rem 0 0.4rem;
  font: 400 3.6rem/1.05 var(--serif);
  letter-spacing: -0.025em;
}

h2 {
  margin: 0 0 1rem;
  font: 400 1.75rem/1.2 var(--serif);
  letter-spacing: -0.015em;
}

p { margin: 0 0 1rem; }

.sub {
  margin: 0 0 2.4rem;
  color: var(--soft);
  font-size: 1.05rem;
}

.muted { color: var(--muted); }

.crumb {
  margin-top: 2.6rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.crumb a:hover { color: var(--ink); }
.crumb + h1,
.crumb + .page-head h1 { margin-top: 0.8rem; }

.lede {
  max-width: 38rem;
  margin: 0.8rem 0 0;
  color: var(--soft);
  font-size: 1.15rem;
}

/* Surfaces */

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.4rem 1.5rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.15s;
}
.card:hover { border-color: var(--line-strong); }

.card .name {
  font: 400 1.9rem/1.15 var(--serif);
  letter-spacing: -0.015em;
}

.card .desc {
  color: var(--soft);
}

.swatch {
  flex-shrink: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  margin-bottom: 0.3rem;
}

h1 .swatch {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.9rem 0.5rem 0;
}

.tint-0 { background: var(--tint-0); color: var(--tint-0-ink); }
.tint-1 { background: var(--tint-1); color: var(--tint-1-ink); }
.tint-2 { background: var(--tint-2); color: var(--tint-2-ink); }
.tint-3 { background: var(--tint-3); color: var(--tint-3-ink); }
.swatch.tint-0 { background: var(--tint-0-ink); }
.swatch.tint-1 { background: var(--tint-1-ink); }
.swatch.tint-2 { background: var(--tint-2-ink); }
.swatch.tint-3 { background: var(--tint-3-ink); }

/* Forms */

.gate {
  max-width: 25rem;
  margin: 8vh auto 0;
  padding: 2rem 2rem 2.1rem;
}
.gate h1 {
  margin: 0 0 0.4rem;
  font-size: 2.4rem;
}
.gate .sub { margin-bottom: 1.6rem; font-size: 0.98rem; }

.stack {
  display: grid;
  gap: 1rem;
}

label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  color: var(--soft);
  font-size: 0.85rem;
  font-weight: 500;
}

label > input,
label > textarea { flex: 1 1 100%; }

input {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--muted);
  box-shadow: 0 0 0 3px var(--ring);
}

.button {
  justify-self: start;
  margin-top: 0.3rem;
  padding: 0.6rem 1.3rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font: 500 0.95rem var(--sans);
  cursor: pointer;
}
.button:hover { opacity: 0.88; }

button:focus-visible, a:focus-visible {
  outline: 2px solid var(--muted);
  outline-offset: 2px;
}

.error {
  margin: 0;
  color: var(--error);
  font-size: 0.88rem;
}

textarea {
  font: 0.95rem/1.55 ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  resize: vertical;
}

.hint {
  color: var(--muted);
  font-weight: 400;
}

.editor {
  max-width: 44rem;
  margin-top: 1.4rem;
}

.pair {
  display: flex;
  gap: 1rem;
}
.pair .grow { flex: 1; }

.section { margin-top: 2.6rem; }
.danger { margin-top: 2.2rem; }

.quiet-danger {
  padding: 0;
  border: 0;
  background: none;
  color: var(--error);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}
.quiet-danger:hover { text-decoration: underline; }
.button.danger-button { background: var(--error); color: #fff; }

/* Page heads */

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}
.page-head .sub, .page-head .lede { margin-bottom: 0; }
.page-head h1 { margin-bottom: 0.3rem; }

.actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.3rem;
  padding-bottom: 0.3rem;
}

/* Tiles */

.grid-stack { margin: 0 -8px; }

.tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1.1rem 0.9rem;
}

.tile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.65rem;
}
.tile-head h2 {
  margin: 0;
  overflow: hidden;
  font-size: 1.3rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tile-head h2 a:hover { color: var(--soft); }

.tile-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.7rem;
}
.tile-action {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1;
}
.tile-action:hover { color: var(--ink); }
.tile-action.icon svg {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.empty a { text-decoration: underline; }

.more {
  display: inline-block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.more:hover { color: var(--ink); }

.linkrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.linkrow a {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  max-width: 22rem;
  padding: 0.38rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  white-space: nowrap;
}
.linkrow a:hover { border-color: var(--line-strong); }
.linkrow small { color: var(--muted); font-size: 0.75rem; }
.linkrow span { overflow: hidden; font-weight: 500; text-overflow: ellipsis; }
.linkrow i { color: var(--muted); font-size: 0.75rem; font-style: normal; }

/* The links tile is a bar: title, links and actions on one line. */
.tile-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.75rem 0.5rem 1.1rem;
}
.tile-links h2 { flex-shrink: 0; margin: 0; font-size: 1.3rem; }
.tile-links .linkrow, .tile-links .empty { flex: 1; min-width: 0; }

.add-section {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.35rem 0.9rem;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
}
.add-section:hover { color: var(--ink); border-color: var(--muted); }

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  position: relative;
  padding: 0 0 1rem 1.3rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.4rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--tint-0-ink);
}
.timeline li::after {
  content: "";
  position: absolute;
  left: 0.36rem;
  top: 1.1rem;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline li:last-child::after { display: none; }
.timeline time { display: block; color: var(--muted); font-size: 0.78rem; }
.timeline .t { font-weight: 500; }
.timeline .t:hover { color: var(--soft); }
.timeline p { margin: 0.1rem 0 0; color: var(--soft); font-size: 0.9rem; }

/* Before (or without) the script, and on phones: tiles stack at their natural height. */
.grid-stack:not(.gs-on) { margin: 0; }
.grid-stack:not(.gs-on) > .grid-stack-item {
  position: relative;
  height: auto;
  margin-bottom: 1rem;
}
.grid-stack:not(.gs-on) > .grid-stack-item > .grid-stack-item-content {
  position: relative;
  inset: auto;
}

/* Sections made of items: roadmap, checklist, deadlines, ideas, questions, decisions */

.progress {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: -0.15rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}
.progress progress {
  flex: 1;
  height: 4px;
  border: 0;
  border-radius: 2px;
  background: var(--line);
  appearance: none;
}
.progress progress::-webkit-progress-bar { background: var(--line); border-radius: 2px; }
.progress progress::-webkit-progress-value { background: var(--tint-0-ink); border-radius: 2px; }
.progress progress::-moz-progress-bar { background: var(--tint-0-ink); border-radius: 2px; }

.items {
  margin: 0;
  padding: 0;
  list-style: none;
}
.items > li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.4rem 0;
}
.item-text { flex: 1; min-width: 0; }
.items .t { font-weight: 500; }
.items .t:hover { color: var(--soft); }
.items .meta {
  float: right;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-left: 0.8rem;
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}
.items .meta .tag { margin: 0; }
.items p {
  clear: both;
  margin: 0.15rem 0 0;
  color: var(--soft);
  font-size: 0.88rem;
}
.items > li + li { border-top: 1px solid var(--line); }

/* The status mark: a button for the owner, a plain shape for everyone else. */
.mark-form { margin: 0; }
.mark {
  display: block;
  flex-shrink: 0;
  position: relative;
  width: 15px;
  height: 15px;
  margin-top: 0.22rem;
  padding: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: var(--panel);
  cursor: pointer;
}
span.mark { cursor: default; }
button.mark:hover { border-color: var(--tint-0-ink); }
/* half: a middle status (in progress, reading); full: the last one (done, read). */
.half > .mark-form .mark, .half > .mark {
  border-color: var(--tint-0-ink);
  background: linear-gradient(90deg, var(--tint-0-ink) 50%, var(--panel) 50%);
}
.full > .mark-form .mark, .full > .mark {
  border-color: var(--tint-0-ink);
  background: var(--tint-0-ink);
}
.full > .mark-form .mark::after, .full > .mark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1.5px;
  width: 3.5px;
  height: 7px;
  border: solid var(--panel);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.kind-checklist .mark { border-radius: 4px; }
.full .t { color: var(--muted); }
.kind-checklist .full .t { text-decoration: line-through; }

/* Roadmap: the marks sit on a line, like meeting notes. */
.kind-roadmap > li + li { border-top: 0; }
.kind-roadmap > li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 1.35rem;
  bottom: -0.55rem;
  width: 1px;
  background: var(--line);
}
.kind-roadmap > li.full:not(:last-child)::before { background: var(--tint-0-ink); }

.countdown { font-weight: 500; color: var(--soft); }
.countdown.soon { color: var(--brand); }
.countdown.passed { color: var(--muted); font-weight: 400; text-decoration: line-through; }

.tag.st-keep, .tag.st-answered, .tag.st-done { background: var(--tint-0); color: var(--tint-0-ink); }
.tag.st-doing { background: var(--tint-1); color: var(--tint-1-ink); }
.st-drop .t { color: var(--muted); text-decoration: line-through; }

/* Literature */
.items .out-link { margin-left: 0.2rem; color: var(--muted); font-size: 0.8rem; }
.items .out-link:hover { color: var(--ink); }
.items p.byline { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.8rem; }
.kind-literature .full .t { color: var(--soft); }
.paper-meta { margin: 0 0 0.3rem; font-size: 0.98rem; }
.abstract { margin: 1.2rem 0; max-width: 44rem; color: var(--soft); }
.abstract summary { cursor: pointer; color: var(--ink); font-weight: 500; }
.abstract p { margin-top: 0.6rem; line-height: 1.6; }
.notes-head { margin-top: 2rem; }
.switch { margin-top: 1.2rem; }
.switch p { margin: 0; }
.switch button {
  margin-left: 0.3rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  cursor: pointer;
}
.tile .byline { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Full section page */
.section-list { max-width: 48rem; }
.section-list .items > li { padding: 0.75rem 0; }
.item-controls {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.1rem;
}
.item-controls form { margin: 0; }
.item-controls .pill { padding: 0.2rem 0.55rem; font-size: 0.82rem; }
.item-controls .pill:disabled { opacity: 0.3; cursor: default; }
.meta-line { margin: 0; color: var(--muted); font-size: 0.85rem; }
.page-body { max-width: 46rem; }
.editor.wide { max-width: 56rem; }
.small-prose { font-size: 0.93rem; line-height: 1.55; }
.small-prose > :first-child { margin-top: 0; }
.prose .contains-task-list { padding-left: 0.2rem; list-style: none; }
.prose .task-list-item-checkbox { margin: 0 0.45rem 0 0; vertical-align: -1px; accent-color: var(--tint-0-ink); }

.presets li { gap: 1.5rem; }
.presets li > span:first-child { line-height: 1.45; }
.presets .muted { font-size: 0.9rem; }

/* Arranging tiles needs a wide screen (dashboard.js leaves phones alone). */
@media (max-width: 720px) {
  [data-edit-layout] { display: none; }
}

/* Editing the layout */

.grid-stack.editing .grid-stack-item-content {
  border-style: dashed;
  border-color: var(--line-strong);
  cursor: grab;
}
.grid-stack.save-failed {
  outline: 2px solid var(--error);
  outline-offset: 4px;
  border-radius: 16px;
}
.grid-stack-placeholder > .placeholder-content {
  background: var(--ring);
  border-radius: 14px;
}
/* gridstack draws this handle with a data: image, which the CSP does not load. */
.grid-stack-item > .ui-resizable-se {
  background: none;
  transform: none;
  width: 12px;
  height: 12px;
  margin: 0 10px 10px 0;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  border-bottom-right-radius: 4px;
}
.ui-draggable-dragging > .grid-stack-item-content,
.ui-resizable-resizing > .grid-stack-item-content {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  opacity: 1;
}

/* Posts */

.post {
  max-width: 44rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
}
.post time { color: var(--muted); font-size: 0.85rem; }
.post h2 { margin: 0.15rem 0 0.8rem; }
.post h2 a:hover { color: var(--soft); }
.post.single { padding-top: 0; border-top: 0; }
.post.single h1 { margin: 0.3rem 0 1.3rem; }

.prose { font-size: 1.02rem; line-height: 1.65; }
.prose h1, .prose h2, .prose h3 {
  margin: 1.4em 0 0.5em;
  font-family: var(--serif);
  font-weight: 400;
}
.prose h1 { font-size: 1.6rem; }
.prose h2 { font-size: 1.35rem; }
.prose h3 { font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.15em;
}
.prose code {
  padding: 0.1em 0.3em;
  background: var(--line);
  border-radius: 4px;
  font-size: 0.9em;
}
.prose pre {
  overflow-x: auto;
  padding: 0.9rem 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.prose pre code { padding: 0; background: none; }
.prose blockquote {
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--line-strong);
  color: var(--soft);
}
.prose table { border-collapse: collapse; }
.prose th, .prose td {
  padding: 0.35rem 0.9rem 0.35rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.out { margin: 0.8rem 0 0; font-size: 0.9rem; }
.out a { color: var(--soft); text-decoration: underline; }
.row-actions { display: flex; align-items: center; gap: 0.3rem; margin-top: 1.6rem; }
.row-actions form { margin: 0; }

.rows {
  max-width: 44rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.rows a { text-decoration: underline; text-decoration-color: var(--line-strong); }

/* People, sharing, comments */

.small { font-size: 0.85rem; }
a.who:hover { color: var(--ink); }

.tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: var(--line);
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 500;
  vertical-align: 0.1em;
}

.people li { align-items: flex-start; gap: 1rem; }
.people .muted a { color: var(--soft); text-decoration: underline; text-decoration-color: var(--line-strong); }
.inline-actions { display: flex; align-items: center; gap: 0.8rem; flex-shrink: 0; }

select {
  flex: 1 1 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.choices {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.choices legend { margin-bottom: 0.45rem; color: var(--soft); font-size: 0.85rem; font-weight: 500; }
label.check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 400;
}
label.check > input { flex: 0 0 auto; accent-color: var(--ink); }
label.check.indent { margin-left: 1.6rem; }
.sub a { text-decoration: underline; text-decoration-color: var(--line-strong); }

.message {
  display: grid;
  gap: 0.9rem;
  max-width: 40rem;
  margin: 1.4rem 0 1.6rem;
}
.message textarea { background: var(--panel); }
.message .button { margin-top: 0; }

.count {
  margin-left: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
}
.count:hover { color: var(--ink); }

.comments {
  max-width: 44rem;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.comment { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.comment header {
  display: flex;
  align-items: baseline;
  gap: 0.2rem 0.5rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
.comment header .tag { margin-left: 0; }
.comment header time { color: var(--muted); font-size: 0.82rem; }
.comment header form { margin-left: auto; }
.comment .prose { margin-top: 0.3rem; font-size: 0.98rem; }
.comment .prose p:last-child { margin-bottom: 0; }
.comments .editor { margin-top: 1.4rem; }

@media (max-width: 40rem) {
  .who { display: none; }
  .wordmark { font-size: 1.15rem; }
  .nav-projects { display: none; }  /* the logo already goes home */
  .bar nav { gap: 0; }
  .page-head { flex-direction: column; align-items: flex-start; }
  .pair { flex-direction: column; }
  .wrap { padding: 0 1rem; }
  h1 { font-size: 2.6rem; }
  .gate { padding: 1.5rem; }
}
