@font-face {
  font-family: Archivo;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/fonts/archivo-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: Archivo;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/fonts/archivo-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;
}

:root {
  --paper: #E6E7E3;
  --ink: #18202E;
  --ink-2: #545C69;
  --rule: rgba(24, 32, 46, 0.16);
  --sage: #56683A;
  --graphite: #1F1D26;
  --graphite-ink: #ECEAE4;
  --graphite-ink-2: #A8A5B0;
  --graphite-rule: rgba(236, 234, 228, 0.14);
  --graphite-sage: #B4C496;

  --gutter: clamp(16px, 4vw, 56px);
  --measure: 34rem;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);

  interpolate-size: allow-keywords;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #15171B;
    --ink: #E4E5E0;
    --ink-2: #9AA0A8;
    --rule: rgba(228, 229, 224, 0.14);
    --sage: #A9B98A;
    --graphite: #1E1C25;
  }
}
:root[data-theme="dark"] {
  --paper: #15171B;
  --ink: #E4E5E0;
  --ink-2: #9AA0A8;
  --rule: rgba(228, 229, 224, 0.14);
  --sage: #A9B98A;
  --graphite: #1E1C25;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
p { margin: 0; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color 0.2s;
}
a:hover { text-decoration-color: currentColor; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute; left: var(--gutter); top: 12px; z-index: 10;
  transform: translateY(-200%);
  background: var(--ink); color: var(--paper);
  padding: 8px 12px; border-radius: 6px;
}
.skip:focus { transform: none; }

/* Top bar */

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--gutter);
  font-size: 0.9375rem;
}
.mark {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 650;
  font-variation-settings: "wdth" 112;
  text-decoration: none;
}
.mark svg { width: 18px; height: 18px; }
.top nav { display: flex; gap: clamp(16px, 3vw, 32px); }
.top nav a { text-decoration: none; color: var(--ink-2); transition: color 0.2s; }
.top nav a:hover { color: var(--ink); }

/* Hero */

.hero { padding: clamp(28px, 7vh, 88px) var(--gutter) 0; }
.hero-plate {
  position: relative;
  touch-action: pan-y;
}
#hatch {
  --hatch-ink: var(--ink);
  display: block;
  width: 100%;
  aspect-ratio: 6.8;   /* holds the space until the first frame is drawn */
}
@media (max-width: 619px) { #hatch { aspect-ratio: 1.15; } }

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 32px var(--gutter);
  align-items: end;
  padding: clamp(24px, 4vh, 48px) 0 clamp(64px, 12vh, 140px);
  border-bottom: 1px solid var(--rule);
}
.lede {
  max-width: 30ch;
  font-size: clamp(1.375rem, 2.3vw, 2rem);
  line-height: 1.28;
  letter-spacing: -0.012em;
  font-weight: 420;
  text-wrap: pretty;
}
.now {
  justify-self: end;
  max-width: 22rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.now .status { margin: 0 0 6px; color: var(--ink); }
.now a { color: var(--ink); }

/* Status: a small dot plus plain words */

.status {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem;
  font-weight: 560;
  color: var(--ink-2);
}
.status::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  flex: none;
  background: currentColor;
}
.status--ready::before { background: var(--sage); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 22%, transparent); }
.status--draft::before { background: transparent; border: 1.5px solid currentColor; }

/* Projects */

.project {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  padding: clamp(80px, 14vh, 160px) var(--gutter);
}
.project + .project { border-top: 1px solid var(--rule); }

.project-text { max-width: var(--measure); }
.project-text > p + p { margin-top: 14px; }
.project-text p:not(.status):not(.pitch):not(.kind) { color: var(--ink-2); }

.project-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.project h2 {
  margin: 0;
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  line-height: 0.95;
  font-weight: 720;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.035em;
}
.kind { margin-top: 10px; color: var(--ink-2); font-size: 1rem; }
.project .status { margin-bottom: 26px; }
.pitch {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 480;
  text-wrap: balance;
}
.links {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 22px;
  font-size: 0.9375rem;
}
.project-text p.links { color: var(--ink); }

.app-icon { width: 64px; height: 64px; border-radius: 15px; flex: none; }

.facts {
  margin: 34px 0 0;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
}
.facts div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
}
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; }

/* Umbra: the app's own graphite, full bleed */

.umbra {
  --ink: var(--graphite-ink);
  --ink-2: var(--graphite-ink-2);
  --rule: var(--graphite-rule);
  --sage: var(--graphite-sage);
  background: var(--graphite);
  color: var(--ink);
  padding-right: 0;
  overflow: hidden;
}
.umbra .project-text { grid-column: 1 / span 5; }
.umbra .reel { grid-column: 6 / -1; }

.reel { position: relative; min-width: 0; }
.reel-track {
  list-style: none; margin: 0; padding: 4px var(--gutter) 4px 4px;
  display: flex; gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  overscroll-behavior-x: contain;
}
.reel-track::-webkit-scrollbar { display: none; }
.reel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.reel-track.is-dragging img { pointer-events: none; }
.reel-track:focus-visible { outline-offset: -2px; border-radius: 0; }
.reel-track li { flex: none; scroll-snap-align: start; }
.reel-track img {
  height: min(68vh, 620px);
  width: auto;
  border-radius: 14px;
  user-select: none;
  -webkit-user-drag: none;
}
.reel-controls {
  display: flex; gap: 10px;
  margin-top: 22px;
}
.reel-controls button {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
}
.reel-controls button:hover:not(:disabled) { border-color: var(--ink-2); }
.reel-controls button:active:not(:disabled) { background: var(--rule); }
.reel-controls button:disabled { opacity: 0.35; cursor: default; }
.reel-controls svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steady: the compare */

.steady .compare { grid-column: 2 / span 4; }
.steady .project-text { grid-column: 7 / -1; }

.compare { margin: 0; }
.compare-stage {
  position: relative;
  aspect-ratio: 480 / 854;
  max-height: 78vh;
  margin-inline: auto;
  border-radius: 18px;
  overflow: hidden;
  background: #0d0f0c;
  touch-action: pan-y;
  user-select: none;
}
.compare-stage video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.compare-b { clip-path: inset(0 0 0 var(--pos)); }
.compare-line {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos);
  width: 0;
  pointer-events: none;
}
.compare-line::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -0.75px;
  width: 1.5px;
  background: rgba(255, 255, 255, 0.9);
}
.compare-line span {
  position: absolute; top: 50%; left: 0;
  width: 40px; height: 40px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--ease);
}
.compare-line span::before,
.compare-line span::after {
  content: "";
  position: absolute; top: 50%;
  width: 6px; height: 6px;
  border: solid #1a1d18; border-width: 0 0 1.6px 1.6px;
}
.compare-line span::before { left: 11px; transform: translateY(-50%) rotate(45deg); }
.compare-line span::after { right: 11px; transform: translateY(-50%) rotate(-135deg); }
.compare-stage:hover .compare-line span,
.compare-range:focus-visible ~ .compare-line span { transform: translate(-50%, -50%) scale(1.08); }
.compare-range:focus-visible ~ .compare-line span { outline: 2px solid #fff; outline-offset: 3px; }

.compare-tag {
  position: absolute; top: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 560;
  color: #fff;
  background: rgba(10, 12, 9, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: opacity 0.25s;
}
.compare-tag--a { left: 14px; }
.compare-tag--b { right: 14px; }
.compare[data-near="a"] .compare-tag--a,
.compare[data-near="b"] .compare-tag--b { opacity: 0; }

.compare-range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
.compare figcaption {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.compare-play {
  font: inherit; font-weight: 560;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 14px;
  min-height: 34px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.compare-play:hover { border-color: var(--ink-2); }

/* Relay */

.relay .project-text { grid-column: 1 / span 4; align-self: start; }
.relay .relay-shot { grid-column: 5 / -1; }
.relay-shot img { width: 100%; height: auto; }

/* Workshop */

.workshop {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding: clamp(80px, 14vh, 160px) var(--gutter);
  border-top: 1px solid var(--rule);
}
.workshop-intro { grid-column: 1 / span 4; }
.workshop-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.05;
  font-weight: 700;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.03em;
}
.workshop-intro p { color: var(--ink-2); max-width: 26ch; }
.bench { grid-column: 5 / -1; border-top: 1px solid var(--rule); }

.bench details { border-bottom: 1px solid var(--rule); }
.bench summary {
  display: grid;
  grid-template-columns: 9.5rem 1fr auto 20px;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.bench summary::-webkit-details-marker { display: none; }
.bench summary::after {
  content: "";
  align-self: center;
  justify-self: end;
  width: 9px; height: 9px;
  border: solid var(--ink-2); border-width: 0 1.6px 1.6px 0;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.35s var(--ease);
}
.bench details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.bench summary:focus-visible { outline-offset: -2px; }
.bench-name {
  font-size: 1.25rem;
  font-weight: 650;
  font-variation-settings: "wdth" 115;
  letter-spacing: -0.015em;
}
.bench-line { color: var(--ink-2); }
.bench .status { white-space: nowrap; }

.bench details::details-content {
  block-size: 0;
  overflow: hidden;
  opacity: 0;
  transition: block-size 0.4s var(--ease), opacity 0.3s, content-visibility 0.4s allow-discrete;
}
.bench details[open]::details-content { block-size: auto; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .bench details::details-content { transition: none; }
}
.bench-more { padding: 0 0 26px calc(9.5rem + 20px); }
.bench-more p { max-width: var(--measure); color: var(--ink-2); }

/* Footer */

.foot {
  padding: clamp(80px, 14vh, 160px) var(--gutter) 40px;
  border-top: 1px solid var(--rule);
}
.foot-line {
  max-width: 22ch;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  line-height: 1.08;
  font-weight: 650;
  font-variation-settings: "wdth" 118;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.foot-links { margin-top: 22px; font-size: 1.125rem; }
.foot-small { margin-top: clamp(64px, 12vh, 120px); font-size: 0.8125rem; color: var(--ink-2); }

/* Narrower screens */

@media (max-width: 1080px) {
  .umbra .project-text { grid-column: 1 / span 6; }
  .umbra .reel { grid-column: 7 / -1; }
  .steady .compare { grid-column: 1 / span 5; }
  .relay .project-text { grid-column: 1 / -1; margin-bottom: 48px; }
  .relay .relay-shot { grid-column: 1 / -1; }
  .workshop-intro { grid-column: 1 / -1; margin-bottom: 36px; }
  .bench { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .hero-foot { grid-template-columns: 1fr; }
  .now { justify-self: start; }
  .project { row-gap: 48px; }
  .project > * { grid-column: 1 / -1 !important; }
  .umbra { padding-right: 0; }
  .umbra .project-text { padding-right: var(--gutter); }
  .reel-track { padding-left: 0; }
  .reel-track img { height: min(64vh, 520px); }
  .steady .compare { order: 2; width: min(100%, 360px); }
  .steady .project-text { order: 1; }
}

@media (max-width: 600px) {
  .top nav a[href="#workshop"] { display: none; }
  .bench summary { grid-template-columns: 1fr 20px; gap: 6px 12px; }
  .bench-name { grid-column: 1; }
  .bench summary::after { grid-column: 2; grid-row: 1; }
  .bench-line, .bench summary .status { grid-column: 1 / -1; }
  .bench-more { padding-left: 0; }
  .facts div { grid-template-columns: 6.5rem 1fr; }
}

/* Not found */

.is-lost { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.lost {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(24px, 6vh, 72px) var(--gutter) clamp(48px, 10vh, 112px);
}
.lost-plate { position: relative; touch-action: none; cursor: crosshair; }
.is-lost #hatch { aspect-ratio: 4.2; }
@media (max-width: 619px) { .is-lost #hatch { aspect-ratio: 2.3; } }
.lost-hint {
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--ink-2);
}
.hint-touch { display: none; }
@media (hover: none) {
  .hint-pointer { display: none; }
  .hint-touch { display: inline; }
}

.lost-body {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px var(--gutter);
  align-items: start;
  margin-top: clamp(28px, 5vh, 56px);
  padding-top: clamp(28px, 5vh, 48px);
  border-top: 1px solid var(--rule);
}
.lost h1 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.02;
  font-weight: 720;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.035em;
}
.lost-where {
  max-width: 36rem;
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.lost-where code {
  font: inherit;
  font-weight: 600;
  color: var(--ink);
}
.lost-actions { margin-top: 28px; }
.button {
  display: inline-flex; align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.button:hover { opacity: 0.88; }
.button:active { transform: scale(0.98); }

.lost-index h2 {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-2);
}
.lost-index ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.lost-index li { border-bottom: 1px solid var(--rule); }
.lost-index a {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 16px;
  padding: 13px 0;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s;
}
.lost-index a span { color: var(--ink); font-weight: 620; font-variation-settings: "wdth" 112; }
.lost-index a:hover { color: var(--ink); }

@media (max-width: 820px) {
  .lost-body { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .lost-index a { grid-template-columns: 1fr; gap: 2px; }
}

@media print {
  .top nav, .reel-controls, .compare, .skip { display: none; }
  .umbra { background: none; color: #000; }
}

/* Notes */

.top nav a[aria-current="page"] { color: var(--ink); }

.notes { padding: 0 var(--gutter) clamp(80px, 14vh, 160px); }
.notes-head {
  padding: clamp(48px, 10vh, 120px) 0 clamp(40px, 7vh, 72px);
  border-bottom: 1px solid var(--rule);
}
.notes-head h1,
.note-head h1 {
  margin: 0;
  font-weight: 720;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}
.notes-head h1 { font-size: clamp(3rem, 9vw, 7.5rem); }
.notes-head p { max-width: 34ch; margin-top: 20px; font-size: 1.125rem; color: var(--ink-2); }

.note-list { list-style: none; margin: 0; padding: 0; }
.note-list li { border-bottom: 1px solid var(--rule); }
.note-list a {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 6px var(--gutter);
  padding: 28px 0;
  text-decoration: none;
}
.note-list time { grid-row: span 2; color: var(--ink-2); font-size: 0.9375rem; padding-top: 4px; font-variant-numeric: tabular-nums; }
.note-list-title {
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 650;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}
.note-list a:hover .note-list-title { text-decoration-color: currentColor; }
.note-list-sum { max-width: 46ch; color: var(--ink-2); }

/* A note */

.note {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding: clamp(48px, 10vh, 112px) var(--gutter) clamp(80px, 14vh, 160px);
}
.note-meta {
  grid-column: 1 / span 3;
  grid-row: 1 / span 3;
  align-self: start;
  position: sticky; top: 24px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.note-back { display: inline-block; margin-bottom: 18px; color: var(--ink); }
.note-head { grid-column: 4 / span 8; }
.note-head h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
.note-dek {
  max-width: 36ch;
  margin-top: 22px;
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  line-height: 1.35;
  color: var(--ink-2);
  text-wrap: pretty;
}
.note-body { grid-column: 4 / span 6; max-width: 38rem; font-size: 1.125rem; line-height: 1.62; }
.note-head + .note-body { margin-top: clamp(40px, 7vh, 72px); }
.note-body p { text-wrap: pretty; }
.note-body p + p { margin-top: 1em; }
.note-body h2 {
  margin: 2.2em 0 0.6em;
  font-size: 1.375rem;
  line-height: 1.2;
  font-weight: 680;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.015em;
}
.note-body > h2:first-child { margin-top: 0; }

.note-figure { grid-column: 4 / -1; margin: clamp(40px, 7vh, 64px) 0; }
.note-figure + .note-body > h2:first-child { margin-top: 0; }
.note-plate {
  position: relative;
  padding: clamp(16px, 3vw, 40px) 0;
  border-block: 1px solid var(--rule);
  cursor: crosshair;
  touch-action: pan-y;
}
canvas[data-hatch] { --hatch-ink: var(--ink); display: block; width: 100%; aspect-ratio: 3.2; }
.note-figure figcaption {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.passes { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.passes button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-weight: 560;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.passes button:hover { border-color: var(--ink-2); color: var(--ink); }
.passes button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.note-end {
  grid-column: 4 / span 6;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  margin-top: clamp(56px, 10vh, 96px);
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.foot--slim { padding-top: 32px; }
.foot--slim .foot-small { margin-top: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot--slim .foot-small span { margin-left: auto; }

/* Latest notes on the front page */

.notes-latest .note-list { grid-column: 5 / -1; border-top: 1px solid var(--rule); }
.notes-latest .note-list a { grid-template-columns: 9.5rem minmax(0, 1fr); gap: 4px 20px; padding: 22px 0; }
.notes-latest .note-list-title { font-size: 1.1875rem; }
.notes-latest .workshop-intro a { color: var(--ink); }

@media (max-width: 1080px) {
  .note-meta { grid-column: 1 / -1; grid-row: auto; position: static; display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 28px; }
  .note-back { margin: 0 auto 0 0; }
  .note-head, .note-body, .note-figure, .note-end { grid-column: 1 / -1; }
  .note-body, .note-end { max-width: 38rem; }
  .notes-latest .note-list { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .note-list a, .notes-latest .note-list a { grid-template-columns: 1fr; }
  .note-list time { grid-row: auto; padding-top: 0; }
  .note-body { font-size: 1.0625rem; }
  canvas[data-hatch] { aspect-ratio: 2.4; }
  .foot--slim .foot-small span { margin-left: 0; width: 100%; }
}
