@font-face {
  font-family: Manrope;
  src: url('/journal/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --width: 76rem;
  --gutter: clamp(1.1rem, 4.5vw, 4.5rem);
}
* {box-sizing:border-box}
body {
  display: flex;
  flex-direction: column;
  min-block-size: 100vh;
  min-block-size: 100dvh;
  margin: 0;
  background: var(--landing-background, Canvas);
  color: var(--landing-text, CanvasText);
  font-family: Manrope, Arial, sans-serif;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
body > main { flex: 1 0 auto }
a {color:inherit}
a:focus-visible {outline:3px solid var(--landing-accent); outline-offset:4px}
img {display:block; max-width:100%}
h1,h2,h3,p,figure,ol {margin:0}
.wrap {width:min(100% - 2 * var(--gutter), var(--width)); margin-inline:auto}
.skip {position:absolute; z-index:2; left:1rem; top:-5rem; background:var(--landing-action); color:var(--landing-action-text); padding:1rem}
.skip:focus {top:.5rem}
.bar,footer {background:var(--landing-band)}
.bar {border-block-end:1px solid var(--landing-line)}
footer {border-block-start:1px solid var(--landing-line)}
.nav,.foot,.foot nav,.brand {display:flex; align-items:center}
.nav {gap:1.8rem; min-height:4.6rem}
.nav a,.foot a,.back {text-decoration:none}
.brand {width:fit-content; gap:.55rem; min-height:44px; font-weight:800; font-size:1.28rem; letter-spacing:-.065em}
.brand img {border-radius:.55rem}
.nav-blog,.foot nav a,.back {display:inline-flex; align-items:center; min-height:44px; font-size:.94rem; font-weight:640}
.nav-blog:hover,.back:hover,.foot a:hover,.contents a:hover {text-decoration:underline; text-underline-offset:.16em}
.nav .download {margin-left:auto; border-radius:.55rem; background:var(--landing-action); color:var(--landing-action-text); font-size:.92rem; font-weight:740; padding:.74rem 1.1rem; display:inline-flex; align-items:center; min-height:44px}
.nav .download:hover {background:var(--landing-action-hover)}
.archive,.problem {padding-block:clamp(2rem,4vw,3.5rem) clamp(3rem,6vw,5rem)}
.mast {display:flex; flex-wrap:wrap; gap:1rem; align-items:end; justify-content:space-between; padding-bottom:clamp(1.5rem,3vw,3rem)}
h1,.empty h2,.prose h2,.prose h3 {line-height:1.07; letter-spacing:-.055em; overflow-wrap:anywhere; text-wrap:balance}
.mast h1 {font-size:clamp(3.6rem,8.3vw,7.75rem); font-weight:780; line-height:1.08}
.mast em {font-weight:500; font-family:Georgia,serif; letter-spacing:-.08em}
.more,.empty a,.end a {font-weight:740; display:inline-flex; align-items:center; gap:.65em; min-height:44px}
.empty,.problem {min-height:45vh}
.empty {padding:2rem 0; border-top:1px solid var(--landing-line)}
.empty p,.problem p {max-width:40rem; margin-block:1rem}
.problem h1 {font-size:clamp(2.6rem,6vw,5rem)}
.story-heading {background:var(--landing-section-muted)}
.story-top {padding-top:clamp(1rem,3vw,2rem); padding-bottom:clamp(1.7rem,4vw,4rem)}
.back {color:var(--landing-accent)}
.story h1 {margin:clamp(1.25rem,3vw,2.7rem) 0 1rem; max-width:23ch; font-size:clamp(2.15rem,4.5vw,4.15rem)}
.deck {max-width:56ch; margin:1.1rem 0; font-size:clamp(1.12rem,1.7vw,1.55rem); line-height:1.5; overflow-wrap:anywhere}
.byline {display:flex; gap:.35rem 1.5rem; align-items:center; flex-wrap:wrap}
.cover {margin-top:clamp(1.4rem,3vw,3rem); border-radius:.5rem; overflow:hidden}
.cover img {width:auto; max-height:42rem; margin-inline:auto; border-radius:.5rem; object-fit:contain}
.reading {padding-block:clamp(2.6rem,5vw,5rem); display:grid; grid-template-columns:minmax(0,14rem) minmax(0,43rem); gap:clamp(2rem,5vw,6rem); justify-content:center}
.contents {align-self:start; border-top:1px solid var(--landing-line); padding-top:1rem}
.contents h2 {font-size:1.1rem}
.contents ol {padding:0; list-style:none; margin-top:.5rem}
.contents a {display:flex; align-items:center; min-height:44px; text-decoration:none; line-height:1.45; color:var(--landing-secondary); font-size:.95rem}
.prose {min-width:0; grid-column:2; font-size:clamp(1.05rem,1.4vw,1.2rem); line-height:1.7; overflow-wrap:anywhere}
.reading:not(:has(.contents)) {grid-template-columns:minmax(0,43rem)}
.reading:not(:has(.contents)) .prose {grid-column:1}
.prose > * + * {margin-top:1.15em}
.prose h2,.prose h3 {scroll-margin-top:1.5rem; margin-block:1.65em .45em; line-height:1.16}
.prose h2 {font-size:clamp(1.8rem,3vw,2.55rem)}
.prose h3 {font-size:clamp(1.4rem,2.2vw,1.8rem)}
.prose > :first-child {margin-top:0}
.prose a {text-decoration-thickness:.08em; text-underline-offset:.18em; color:var(--landing-accent)}
.prose blockquote {border-inline-start:3px solid var(--landing-control-line); padding-left:1em; margin-inline:0; font-size:1.18em}
.prose img {border-radius:.4rem; height:auto; max-height:80vh; margin:1.3rem auto; object-fit:contain}
.prose ul,.prose ol {padding-inline-start:1.55em}
.prose pre {overflow:auto; background:var(--landing-panel); padding:.9rem; border-radius:.35rem}
.end {margin-top:3rem; padding-top:1rem; border-top:1px solid var(--landing-line)}
.foot {padding-block:1.6rem; justify-content:space-between; flex-wrap:wrap; gap:.6rem 2rem}
.foot nav {max-width:100%; flex-wrap:wrap; gap:0 1.2rem}
.foot nav a {max-width:100%}
@media(max-width:48rem) {
  .reading {grid-template-columns:minmax(0,1fr)}
  .prose {grid-column:1}
  .contents {padding-bottom:.6rem; border-bottom:1px solid var(--landing-line)}
  .nav {flex-wrap:wrap; gap:0 1rem; padding-block:.2rem}
  .brand {font-size:1.06rem}
  .brand img {width:32px; height:32px}
}
@media(max-width:23rem) {
  .nav {gap:.7rem}
  .nav .download {font-size:.82rem; padding-inline:.65rem}
}

.feed-page {
  display: grid;
  grid-template-columns: minmax(12rem, 15rem) minmax(0, 51rem);
  grid-template-rows: auto 1fr;
  grid-template-areas: "aside heading" "aside content";
  align-items: start;
  justify-content: center;
  column-gap: clamp(1.75rem, 4vw, 4rem);
}
.feed-page .mast { grid-area: heading; display: block; min-width: 0; }
.feed-page .mast h1 { font-size: clamp(2.35rem, 4.35vw, 3.9rem); }
.feed-page .mast p { margin-top: .8rem; color: var(--landing-muted); line-height: 1.5; }
.feed-aside { grid-area: aside; min-width: 0; }
.feed-categories ul { display: grid; gap: .2rem; list-style: none; padding: 0; margin: 0; }
.feed-categories a { display: flex; align-items: center; min-height: 44px; padding: .45rem .75rem; border-radius: .55rem; font-size: .94rem; font-weight: 640; color: var(--landing-secondary); text-decoration: none; }
.feed-categories a:hover { background: var(--landing-panel); color: var(--landing-text); }
.feed-categories a[aria-current] { background: var(--landing-tinted); box-shadow: inset .17rem 0 var(--landing-accent); color: var(--landing-text); font-weight: 800; }
.feed-search { display: grid; gap: .55rem; margin-block-start: 1.25rem; padding-block-start: 1.1rem; border-block-start: 1px solid var(--landing-line); }
.feed-search label { font-weight: 750; }
.feed-search input,.feed-search button { min-width: 0; min-height: 44px; border-radius: .55rem; font: inherit; }
.feed-search input { width: 100%; padding: .55rem .65rem; border: 1px solid var(--landing-control-line); color: var(--landing-text); background: var(--landing-panel); }
.feed-search input::placeholder { color: var(--landing-muted); }
.feed-search button { justify-self: start; padding: .45rem .85rem; border: 1px solid var(--landing-control-line); color: var(--landing-accent); background: var(--landing-tinted); font-weight: 750; cursor: pointer; }
.feed-search button:hover { color: var(--landing-action-text); background: var(--landing-action-hover); }
.feed-search a { display: flex; align-items: center; min-height: 44px; width: fit-content; color: var(--landing-secondary); font-size: .9rem; text-underline-offset: .2em; }
.feed-aside :is(a,button,input):focus-visible { outline: 2px solid var(--landing-accent); outline-offset: -3px; }
.feed-content { grid-area: content; min-width: 0; }
.feed { display: grid; gap: 1rem; }
.feed-entry { min-width: 0; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--landing-line); border-radius: .85rem; background: var(--landing-panel); }
.feed-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .85rem; color: var(--landing-muted); font-size: .84rem; }
.feed-author { display: inline-flex; align-items: center; gap: .45rem; color: var(--landing-text); font-weight: 720; }
.feed-author img { border-radius: .4rem; }
.feed-format { font-weight: 720; color: var(--landing-accent); }
.feed-entry h2 { margin: .65rem 0 .45rem; font-size: clamp(1.2rem, 2vw, 1.7rem); letter-spacing: -.045em; line-height: 1.18; overflow-wrap: anywhere; }
.feed-entry h2 a { text-decoration: none; }
.feed-entry h2 a:hover { text-decoration: underline; text-underline-offset: .12em; }
.feed-entry p { max-width: 65ch; color: var(--landing-secondary); line-height: 1.5; overflow-wrap: anywhere; }
.feed-cover { display: block; margin-top: .9rem; background: var(--landing-background); border-radius: .5rem; overflow: hidden; aspect-ratio: 16 / 9; }
.feed-cover img { width: 100%; height: 100%; object-fit: cover; }
.feed-read { display: inline-flex; align-items: center; gap: .35rem; margin-top: .2rem; min-height: 44px; color: var(--landing-accent); font-size: .93rem; font-weight: 720; text-underline-offset: .18em; }
.feed-content > .more { margin-top: 1.3rem; }
.feed-results .feed { gap: .65rem; }
@media (min-width: 48.01rem) and (min-height: 32rem) {
  .feed-aside { position: sticky; inset-block-start: 1.25rem; max-block-size: calc(100dvh - 2.5rem); overflow-y: auto; scrollbar-width: thin; }
}
@media (max-width: 48rem) {
  .feed-page { grid-template-columns: minmax(0, 51rem); grid-template-rows: auto auto 1fr; grid-template-areas: "heading" "aside" "content"; }
  .feed-aside { margin-block-end: 1.35rem; }
  .feed-categories ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)); gap: .3rem; }
  .feed-search { grid-template-columns: minmax(0, 1fr) auto; }
  .feed-search label,.feed-search a { grid-column: 1 / -1; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
